Lines Matching full:tile
29 struct xe_tile *tile; in tiles_fini() local
32 for_each_remote_tile(tile, xe, id) in tiles_fini()
33 tile->mmio.regs = NULL; in tiles_fini()
37 * On multi-tile devices, partition the BAR space for MMIO on each tile,
51 struct xe_tile *tile; in mmio_multi_tile_setup() local
56 * Nothing to be done as tile 0 has already been setup earlier with the in mmio_multi_tile_setup()
62 /* Possibly override number of tile based on configuration register */ in mmio_multi_tile_setup()
69 * Although the per-tile mmio regs are not yet initialized, this in mmio_multi_tile_setup()
83 * should be impossible with multi-tile for now: in mmio_multi_tile_setup()
84 * multi-tile platform with standalone media doesn't in mmio_multi_tile_setup()
92 for_each_tile(tile, xe, id) { in mmio_multi_tile_setup()
93 tile->mmio.size = tile_mmio_size; in mmio_multi_tile_setup()
94 tile->mmio.regs = regs; in mmio_multi_tile_setup()
100 * On top of all the multi-tile MMIO space there can be a platform-dependent
101 * extension for each tile, resulting in a layout like below:
115 * Set up the tile[]->mmio_ext pointers/sizes.
120 struct xe_tile *tile; in mmio_extension_setup() local
128 for_each_tile(tile, xe, id) { in mmio_extension_setup()
129 tile->mmio_ext.size = tile_mmio_ext_size; in mmio_extension_setup()
130 tile->mmio_ext.regs = regs; in mmio_extension_setup()
164 * The first 16MB of the BAR, belong to the root tile, and include: in xe_mmio_init()
174 /* Setup first tile; other tiles (if present) will be setup later. */ in xe_mmio_init()
184 struct xe_tile *tile = gt_to_tile(gt); in mmio_flush_pending_writes() local
187 if (tile->xe->info.platform != XE_LUNARLAKE) in mmio_flush_pending_writes()
192 writel(0, tile->mmio.regs + DUMMY_REG_OFFSET); in mmio_flush_pending_writes()
197 struct xe_tile *tile = gt_to_tile(gt); in xe_mmio_read8() local
204 val = readb((reg.ext ? tile->mmio_ext.regs : tile->mmio.regs) + addr); in xe_mmio_read8()
212 struct xe_tile *tile = gt_to_tile(gt); in xe_mmio_read16() local
219 val = readw((reg.ext ? tile->mmio_ext.regs : tile->mmio.regs) + addr); in xe_mmio_read16()
227 struct xe_tile *tile = gt_to_tile(gt); in xe_mmio_write32() local
235 writel(val, (reg.ext ? tile->mmio_ext.regs : tile->mmio.regs) + addr); in xe_mmio_write32()
240 struct xe_tile *tile = gt_to_tile(gt); in xe_mmio_read32() local
250 val = readl((reg.ext ? tile->mmio_ext.regs : tile->mmio.regs) + addr); in xe_mmio_read32()