Lines Matching defs:device
148 struct tu_device *device;
202 #define global_iova(cmd, member) ((cmd)->device->global_bo->iova + gb_offset(member))
251 /* Lazily allocated, protected by the device mutex. */
273 * was already allocated in this device using its GEM handle. This is
278 * device that created it), the kernel will give us the same BO handle
285 * allocated on the device.
417 tu_physical_device_init(struct tu_physical_device *device,
424 tu_device_lookup_bo(struct tu_device *device, uint32_t handle)
426 return (struct tu_bo *) util_sparse_array_get(&device->bo_map, handle);
477 struct tu_device *device,
484 struct tu_device *device,