Home
last modified time | relevance | path

Searched refs:qddev (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/accel/qaic/
Dqaic_drv.c107 struct qaic_drm_device *qddev = to_qaic_drm_device(dev); in qaic_open() local
108 struct qaic_device *qdev = qddev->qdev; in qaic_open()
130 usr->qddev = qddev; in qaic_open()
135 ret = mutex_lock_interruptible(&qddev->users_mutex); in qaic_open()
139 list_add(&usr->node, &qddev->users); in qaic_open()
140 mutex_unlock(&qddev->users_mutex); in qaic_open()
160 struct qaic_drm_device *qddev; in qaic_postclose() local
166 qddev = usr->qddev; in qaic_postclose()
168 if (qddev) { in qaic_postclose()
169 qdev = qddev->qdev; in qaic_postclose()
[all …]
Dqaic.h31 #define to_drm(qddev) (&(qddev)->drm) argument
32 #define to_accel_kdev(qddev) (to_drm(qddev)->accel->kdev) /* Return Linux device of accel node */ argument
51 struct qaic_drm_device *qddev; member
147 struct qaic_drm_device *qddev; member
Dqaic_debugfs.h14 void qaic_debugfs_init(struct qaic_drm_device *qddev);
18 static inline void qaic_debugfs_init(struct qaic_drm_device *qddev) {} in qaic_debugfs_init() argument
Dqaic_debugfs.c131 void qaic_debugfs_init(struct qaic_drm_device *qddev) in qaic_debugfs_init() argument
133 struct qaic_device *qdev = qddev->qdev; in qaic_debugfs_init()
139 debugfs_root = to_drm(qddev)->debugfs_root; in qaic_debugfs_init()
Dqaic_data.c695 if (!usr->qddev) { in qaic_create_bo_ioctl()
700 qdev = usr->qddev->qdev; in qaic_create_bo_ioctl()
756 if (!usr->qddev) { in qaic_mmap_bo_ioctl()
761 qdev = usr->qddev->qdev; in qaic_mmap_bo_ioctl()
964 if (!usr->qddev) { in qaic_attach_slice_bo_ioctl()
969 qdev = usr->qddev->qdev; in qaic_attach_slice_bo_ioctl()
1330 if (!usr->qddev) { in __qaic_execute_bo_ioctl()
1335 qdev = usr->qddev->qdev; in __qaic_execute_bo_ioctl()
1675 if (!usr->qddev) { in qaic_wait_bo_ioctl()
1680 qdev = usr->qddev->qdev; in qaic_wait_bo_ioctl()
[all …]
Dqaic_control.c1213 msg->hdr.partition_id = cpu_to_le32(usr->qddev->partition_id); in qaic_manage_msg_xfer()
1302 if (!usr->qddev) { in qaic_manage_ioctl()
1307 qdev = usr->qddev->qdev; in qaic_manage_ioctl()