Searched refs:qaic_device (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/accel/qaic/ |
H A D | qaic.h | 48 struct qaic_device *qdev; 98 struct qaic_device { struct 141 struct qaic_device *qdev; argument 251 int get_cntl_version(struct qaic_device *qdev, struct qaic_user *usr, u16 *major, u16 *minor); 257 int qaic_control_open(struct qaic_device *qdev); 258 void qaic_control_close(struct qaic_device *qdev); 259 void qaic_release_usr(struct qaic_device *qdev, struct qaic_user *usr); 263 int disable_dbc(struct qaic_device *qdev, u32 dbc_id, struct qaic_user *usr); 264 void enable_dbc(struct qaic_device *qdev, u32 dbc_id, struct qaic_user *usr); 265 void wakeup_dbc(struct qaic_device *qdev, u32 dbc_id); [all …]
|
H A D | qaic_drv.c | 44 static int qaic_create_drm_device(struct qaic_device *qdev, s32 partition_id); 45 static void qaic_destroy_drm_device(struct qaic_device *qdev, s32 partition_id); 59 struct qaic_device *qdev = qddev->qdev; in qaic_open() 112 struct qaic_device *qdev; in qaic_postclose() 171 static int qaic_create_drm_device(struct qaic_device *qdev, s32 partition_id) in qaic_create_drm_device() 221 static void qaic_destroy_drm_device(struct qaic_device *qdev, s32 partition_id) in qaic_destroy_drm_device() 269 struct qaic_device *qdev; in qaic_mhi_probe() 318 static void qaic_notify_reset(struct qaic_device *qdev) in qaic_notify_reset() 330 void qaic_dev_reset_clean_local_state(struct qaic_device *qdev, bool exit_reset) in qaic_dev_reset_clean_local_state() 347 static struct qaic_device *create_qdev(struct pci_dev *pdev, const struct pci_device_id *id) in create_qdev() [all …]
|
H A D | qaic_control.c | 236 struct qaic_device *qdev; 297 static void save_dbc_buf(struct qaic_device *qdev, struct ioctl_resources *resources, in save_dbc_buf() 315 static void free_dbc_buf(struct qaic_device *qdev, struct ioctl_resources *resources) in free_dbc_buf() 323 static void free_dma_xfers(struct qaic_device *qdev, struct ioctl_resources *resources) in free_dma_xfers() 353 static int encode_passthrough(struct qaic_device *qdev, void *trans, struct wrapper_list *wrappers, in encode_passthrough() 391 static int find_and_map_user_pages(struct qaic_device *qdev, in find_and_map_user_pages() 548 static void cleanup_xfer(struct qaic_device *qdev, struct dma_xfer *xfer) in cleanup_xfer() 560 static int encode_dma(struct qaic_device *qdev, void *trans, struct wrapper_list *wrappers, in encode_dma() 629 static int encode_activate(struct qaic_device *qdev, void *trans, struct wrapper_list *wrappers, in encode_activate() 705 static int encode_deactivate(struct qaic_device *qdev, void *trans, in encode_deactivate() [all …]
|
H A D | qaic_data.c | 165 static int clone_range_of_sgt_for_slice(struct qaic_device *qdev, struct sg_table **sgt_out, in clone_range_of_sgt_for_slice() 245 static int encode_reqs(struct qaic_device *qdev, struct bo_slice *slice, in encode_reqs() 380 static int qaic_map_one_slice(struct qaic_device *qdev, struct qaic_bo *bo, in qaic_map_one_slice() 433 static int create_sgt(struct qaic_device *qdev, struct sg_table **sgt_out, u64 size) in create_sgt() 547 static int qaic_validate_req(struct qaic_device *qdev, struct qaic_attach_slice_entry *slice_ent, in qaic_validate_req() 657 struct qaic_device *qdev; in qaic_create_bo_ioctl() 727 struct qaic_device *qdev; in qaic_mmap_bo_ioctl() 834 static int qaic_prepare_export_bo(struct qaic_device *qdev, struct qaic_bo *bo, in qaic_prepare_export_bo() 849 static int qaic_prepare_bo(struct qaic_device *qdev, struct qaic_bo *bo, in qaic_prepare_bo() 872 static void qaic_unprepare_export_bo(struct qaic_device *qdev, struct qaic_bo *bo) in qaic_unprepare_export_bo() [all …]
|
H A D | mhi_controller.c | 446 struct qaic_device *qdev = pci_get_drvdata(to_pci_dev(mhi_cntrl->cntrl_dev)); in mhi_status_cb()
|