Lines Matching refs:idxd_device
15 static void idxd_cmd_exec(struct idxd_device *idxd, int cmd_code, u32 operand,
17 static void idxd_device_wqs_clear_state(struct idxd_device *idxd);
21 void idxd_unmask_error_interrupts(struct idxd_device *idxd) in idxd_unmask_error_interrupts()
31 void idxd_mask_error_interrupts(struct idxd_device *idxd) in idxd_mask_error_interrupts()
110 struct idxd_device *idxd = wq->idxd; in idxd_wq_alloc_resources()
182 struct idxd_device *idxd = wq->idxd; in idxd_wq_enable()
207 struct idxd_device *idxd = wq->idxd; in idxd_wq_disable()
236 struct idxd_device *idxd = wq->idxd; in idxd_wq_drain()
252 struct idxd_device *idxd = wq->idxd; in idxd_wq_reset()
268 struct idxd_device *idxd = wq->idxd; in idxd_wq_map_portal()
292 void idxd_wqs_unmap_portal(struct idxd_device *idxd) in idxd_wqs_unmap_portal()
306 struct idxd_device *idxd = wq->idxd; in __idxd_wq_set_pasid_locked()
339 struct idxd_device *idxd = wq->idxd; in idxd_wq_disable_pasid()
365 struct idxd_device *idxd = wq->idxd; in idxd_wq_disable_cleanup()
431 static inline bool idxd_is_enabled(struct idxd_device *idxd) in idxd_is_enabled()
442 static inline bool idxd_device_is_halted(struct idxd_device *idxd) in idxd_device_is_halted()
456 int idxd_device_init_reset(struct idxd_device *idxd) in idxd_device_init_reset()
479 static void idxd_cmd_exec(struct idxd_device *idxd, int cmd_code, u32 operand, in idxd_cmd_exec()
530 int idxd_device_enable(struct idxd_device *idxd) in idxd_device_enable()
553 int idxd_device_disable(struct idxd_device *idxd) in idxd_device_disable()
576 void idxd_device_reset(struct idxd_device *idxd) in idxd_device_reset()
585 void idxd_device_drain_pasid(struct idxd_device *idxd, int pasid) in idxd_device_drain_pasid()
596 int idxd_device_request_int_handle(struct idxd_device *idxd, int idx, int *handle, in idxd_device_request_int_handle()
626 int idxd_device_release_int_handle(struct idxd_device *idxd, int handle, in idxd_device_release_int_handle()
667 static void idxd_engines_clear_state(struct idxd_device *idxd) in idxd_engines_clear_state()
679 static void idxd_groups_clear_state(struct idxd_device *idxd) in idxd_groups_clear_state()
709 static void idxd_device_wqs_clear_state(struct idxd_device *idxd) in idxd_device_wqs_clear_state()
723 void idxd_device_clear_state(struct idxd_device *idxd) in idxd_device_clear_state()
744 static int idxd_device_evl_setup(struct idxd_device *idxd) in idxd_device_evl_setup()
808 static void idxd_device_evl_free(struct idxd_device *idxd) in idxd_device_evl_free()
846 struct idxd_device *idxd = group->idxd; in idxd_group_config_write()
876 static int idxd_groups_config_write(struct idxd_device *idxd) in idxd_groups_config_write()
902 static bool idxd_device_pasid_priv_enabled(struct idxd_device *idxd) in idxd_device_pasid_priv_enabled()
913 struct idxd_device *idxd = wq->idxd; in idxd_wq_config_write()
1001 static int idxd_wqs_config_write(struct idxd_device *idxd) in idxd_wqs_config_write()
1016 static void idxd_group_flags_setup(struct idxd_device *idxd) in idxd_group_flags_setup()
1040 static int idxd_engines_setup(struct idxd_device *idxd) in idxd_engines_setup()
1068 static int idxd_wqs_setup(struct idxd_device *idxd) in idxd_wqs_setup()
1106 int idxd_device_config(struct idxd_device *idxd) in idxd_device_config()
1134 struct idxd_device *idxd = wq->idxd; in idxd_wq_load_config()
1166 struct idxd_device *idxd = group->idxd; in idxd_group_load_config()
1224 int idxd_device_load_config(struct idxd_device *idxd) in idxd_device_load_config()
1285 static void idxd_device_set_perm_entry(struct idxd_device *idxd, in idxd_device_set_perm_entry()
1299 static void idxd_device_clear_perm_entry(struct idxd_device *idxd, in idxd_device_clear_perm_entry()
1307 struct idxd_device *idxd = wq->idxd; in idxd_wq_free_irq()
1325 struct idxd_device *idxd = wq->idxd; in idxd_wq_request_irq()
1367 struct idxd_device *idxd = wq->idxd; in idxd_drv_enable_wq()
1501 struct idxd_device *idxd = wq->idxd; in idxd_drv_disable_wq()
1523 struct idxd_device *idxd = idxd_dev_to_idxd(idxd_dev); in idxd_device_drv_probe()
1582 struct idxd_device *idxd = idxd_dev_to_idxd(idxd_dev); in idxd_device_drv_remove()