Lines Matching defs:wq
42 static void free_hw_descs(struct idxd_wq *wq) in free_hw_descs()
52 static int alloc_hw_descs(struct idxd_wq *wq, int num) in alloc_hw_descs()
75 static void free_descs(struct idxd_wq *wq) in free_descs()
85 static int alloc_descs(struct idxd_wq *wq, int num) in alloc_descs()
109 int idxd_wq_alloc_resources(struct idxd_wq *wq) in idxd_wq_alloc_resources()
166 void idxd_wq_free_resources(struct idxd_wq *wq) in idxd_wq_free_resources()
179 int idxd_wq_enable(struct idxd_wq *wq) in idxd_wq_enable()
204 int idxd_wq_disable(struct idxd_wq *wq, bool reset_config) in idxd_wq_disable()
233 void idxd_wq_drain(struct idxd_wq *wq) in idxd_wq_drain()
249 void idxd_wq_reset(struct idxd_wq *wq) in idxd_wq_reset()
265 int idxd_wq_map_portal(struct idxd_wq *wq) in idxd_wq_map_portal()
282 void idxd_wq_unmap_portal(struct idxd_wq *wq) in idxd_wq_unmap_portal()
296 struct idxd_wq *wq = idxd->wqs[i]; in idxd_wqs_unmap_portal() local
303 static void __idxd_wq_set_priv_locked(struct idxd_wq *wq, int priv) in __idxd_wq_set_priv_locked()
318 static void __idxd_wq_set_pasid_locked(struct idxd_wq *wq, int pasid) in __idxd_wq_set_pasid_locked()
334 int idxd_wq_set_pasid(struct idxd_wq *wq, int pasid) in idxd_wq_set_pasid()
351 int idxd_wq_disable_pasid(struct idxd_wq *wq) in idxd_wq_disable_pasid()
377 static void idxd_wq_disable_cleanup(struct idxd_wq *wq) in idxd_wq_disable_cleanup()
398 static void idxd_wq_device_reset_cleanup(struct idxd_wq *wq) in idxd_wq_device_reset_cleanup()
408 struct idxd_wq *wq = container_of(ref, struct idxd_wq, wq_active); in idxd_wq_ref_release() local
413 int idxd_wq_init_percpu_ref(struct idxd_wq *wq) in idxd_wq_init_percpu_ref()
427 void __idxd_wq_quiesce(struct idxd_wq *wq) in __idxd_wq_quiesce()
436 void idxd_wq_quiesce(struct idxd_wq *wq) in idxd_wq_quiesce()
723 struct idxd_wq *wq = idxd->wqs[i]; in idxd_device_wqs_clear_state() local
820 static int idxd_wq_config_write(struct idxd_wq *wq) in idxd_wq_config_write()
911 struct idxd_wq *wq = idxd->wqs[i]; in idxd_wqs_config_write() local
979 struct idxd_wq *wq; in idxd_wqs_setup() local
1041 static int idxd_wq_load_config(struct idxd_wq *wq) in idxd_wq_load_config()
1084 struct idxd_wq *wq; in idxd_group_load_config() local
1148 struct idxd_wq *wq = idxd->wqs[i]; in idxd_device_load_config() local
1214 void idxd_wq_free_irq(struct idxd_wq *wq) in idxd_wq_free_irq()
1232 int idxd_wq_request_irq(struct idxd_wq *wq) in idxd_wq_request_irq()
1274 int drv_enable_wq(struct idxd_wq *wq) in drv_enable_wq()
1412 void drv_disable_wq(struct idxd_wq *wq) in drv_disable_wq()
1480 struct idxd_wq *wq = idxd->wqs[i]; in idxd_device_drv_remove() local