Lines Matching defs:wq
66 static void free_hw_descs(struct idxd_wq *wq) in free_hw_descs()
76 static int alloc_hw_descs(struct idxd_wq *wq, int num) in alloc_hw_descs()
99 static void free_descs(struct idxd_wq *wq) in free_descs()
109 static int alloc_descs(struct idxd_wq *wq, int num) in alloc_descs()
133 int idxd_wq_alloc_resources(struct idxd_wq *wq) in idxd_wq_alloc_resources()
190 void idxd_wq_free_resources(struct idxd_wq *wq) in idxd_wq_free_resources()
203 int idxd_wq_enable(struct idxd_wq *wq) in idxd_wq_enable()
227 int idxd_wq_disable(struct idxd_wq *wq, bool reset_config) in idxd_wq_disable()
255 void idxd_wq_drain(struct idxd_wq *wq) in idxd_wq_drain()
271 void idxd_wq_reset(struct idxd_wq *wq) in idxd_wq_reset()
288 int idxd_wq_map_portal(struct idxd_wq *wq) in idxd_wq_map_portal()
305 void idxd_wq_unmap_portal(struct idxd_wq *wq) in idxd_wq_unmap_portal()
319 struct idxd_wq *wq = idxd->wqs[i]; in idxd_wqs_unmap_portal() local
326 int idxd_wq_set_pasid(struct idxd_wq *wq, int pasid) in idxd_wq_set_pasid()
352 int idxd_wq_disable_pasid(struct idxd_wq *wq) in idxd_wq_disable_pasid()
378 static void idxd_wq_disable_cleanup(struct idxd_wq *wq) in idxd_wq_disable_cleanup()
397 struct idxd_wq *wq = container_of(ref, struct idxd_wq, wq_active); in idxd_wq_ref_release() local
402 int idxd_wq_init_percpu_ref(struct idxd_wq *wq) in idxd_wq_init_percpu_ref()
414 void idxd_wq_quiesce(struct idxd_wq *wq) in idxd_wq_quiesce()
698 struct idxd_wq *wq = idxd->wqs[i]; in idxd_device_wqs_clear_state() local
811 static int idxd_wq_config_write(struct idxd_wq *wq) in idxd_wq_config_write()
901 struct idxd_wq *wq = idxd->wqs[i]; in idxd_wqs_config_write() local
967 struct idxd_wq *wq; in idxd_wqs_setup() local
1031 static int idxd_wq_load_config(struct idxd_wq *wq) in idxd_wq_load_config()
1071 struct idxd_wq *wq; in idxd_group_load_config() local
1135 struct idxd_wq *wq = idxd->wqs[i]; in idxd_device_load_config() local
1145 int __drv_enable_wq(struct idxd_wq *wq) in __drv_enable_wq()
1233 int drv_enable_wq(struct idxd_wq *wq) in drv_enable_wq()
1243 void __drv_disable_wq(struct idxd_wq *wq) in __drv_disable_wq()
1262 void drv_disable_wq(struct idxd_wq *wq) in drv_disable_wq()
1316 struct idxd_wq *wq = idxd->wqs[i]; in idxd_device_drv_remove() local