Home
last modified time | relevance | path

Searched refs:idxd_wq (Results 1 – 9 of 9) sorted by relevance

/drivers/dma/idxd/
Didxd.h24 struct idxd_wq;
156 struct idxd_wq *wq;
183 struct idxd_wq *wq;
186 struct idxd_wq { struct
296 struct idxd_wq *wq;
322 struct idxd_wq **wqs;
396 struct idxd_wq *wq;
416 #define idxd_dev_to_wq(idxd_dev) container_of(idxd_dev, struct idxd_wq, idxd_dev)
425 static inline struct idxd_wq *confdev_to_wq(struct device *dev) in confdev_to_wq()
468 static inline struct idxd_wq *ie_to_wq(struct idxd_irq_entry *ie) in ie_to_wq()
[all …]
Dcdev.c43 struct idxd_wq *wq;
55 static void idxd_cdev_evl_drain_pasid(struct idxd_wq *wq, u32 pasid);
101 struct idxd_wq *wq = ctx->wq; in cdev_file_attr_visible()
122 struct idxd_wq *wq = ctx->wq; in idxd_file_dev_release()
165 struct idxd_wq *wq = idxd_cdev->wq; in idxd_cdev_dev_release()
184 static inline struct idxd_wq *inode_wq(struct inode *inode) in inode_wq()
193 struct idxd_wq *wq = ctx->wq; in idxd_xa_pasid_remove()
204 void idxd_user_counter_increment(struct idxd_wq *wq, u32 pasid, int index) in idxd_user_counter_increment()
225 struct idxd_wq *wq; in idxd_cdev_open()
333 static void idxd_cdev_evl_drain_pasid(struct idxd_wq *wq, u32 pasid) in idxd_cdev_evl_drain_pasid()
[all …]
Ddma.c15 static inline struct idxd_wq *to_idxd_wq(struct dma_chan *c) in to_idxd_wq()
66 static inline void idxd_prep_desc_common(struct idxd_wq *wq, in idxd_prep_desc_common()
88 struct idxd_wq *wq = to_idxd_wq(c); in idxd_dma_prep_interrupt()
110 struct idxd_wq *wq = to_idxd_wq(c); in idxd_dma_submit_memcpy()
137 struct idxd_wq *wq = to_idxd_wq(chan); in idxd_dma_alloc_chan_resources()
148 struct idxd_wq *wq = to_idxd_wq(chan); in idxd_dma_free_chan_resources()
174 struct idxd_wq *wq = to_idxd_wq(c); in idxd_dma_tx_submit()
248 static int idxd_register_dma_channel(struct idxd_wq *wq) in idxd_register_dma_channel()
285 static void idxd_unregister_dma_channel(struct idxd_wq *wq) in idxd_unregister_dma_channel()
301 struct idxd_wq *wq = idxd_dev_to_wq(idxd_dev); in idxd_dmaengine_drv_probe()
[all …]
Dsysfs.c342 struct idxd_wq *wq = idxd->wqs[i]; in group_work_queues_show()
590 struct idxd_wq *wq = confdev_to_wq(dev); in wq_clients_show()
601 struct idxd_wq *wq = confdev_to_wq(dev); in wq_state_show()
619 struct idxd_wq *wq = confdev_to_wq(dev); in wq_group_id_show()
631 struct idxd_wq *wq = confdev_to_wq(dev); in wq_group_id_store()
674 struct idxd_wq *wq = confdev_to_wq(dev); in wq_mode_show()
683 struct idxd_wq *wq = confdev_to_wq(dev); in wq_mode_store()
710 struct idxd_wq *wq = confdev_to_wq(dev); in wq_size_show()
721 struct idxd_wq *wq = idxd->wqs[i]; in total_claimed_wq_size()
733 struct idxd_wq *wq = confdev_to_wq(dev); in wq_size_store()
[all …]
Ddevice.c18 static void idxd_wq_disable_cleanup(struct idxd_wq *wq);
41 static void free_hw_descs(struct idxd_wq *wq) in free_hw_descs()
51 static int alloc_hw_descs(struct idxd_wq *wq, int num) in alloc_hw_descs()
74 static void free_descs(struct idxd_wq *wq) in free_descs()
84 static int alloc_descs(struct idxd_wq *wq, int num) in alloc_descs()
108 int idxd_wq_alloc_resources(struct idxd_wq *wq) in idxd_wq_alloc_resources()
165 void idxd_wq_free_resources(struct idxd_wq *wq) in idxd_wq_free_resources()
178 int idxd_wq_enable(struct idxd_wq *wq) in idxd_wq_enable()
203 int idxd_wq_disable(struct idxd_wq *wq, bool reset_config) in idxd_wq_disable()
232 void idxd_wq_drain(struct idxd_wq *wq) in idxd_wq_drain()
[all …]
Dsubmit.c11 static struct idxd_desc *__get_desc(struct idxd_wq *wq, int idx, int cpu) in __get_desc()
27 struct idxd_desc *idxd_alloc_desc(struct idxd_wq *wq, enum idxd_op_type optype) in idxd_alloc_desc()
65 void idxd_free_desc(struct idxd_wq *wq, struct idxd_desc *desc) in idxd_free_desc()
73 static struct idxd_desc *list_abort_desc(struct idxd_wq *wq, struct idxd_irq_entry *ie, in list_abort_desc()
95 static void llist_abort_desc(struct idxd_wq *wq, struct idxd_irq_entry *ie, in llist_abort_desc()
151 int idxd_enqcmds(struct idxd_wq *wq, void __iomem *portal, const void *desc) in idxd_enqcmds()
166 int idxd_submit_desc(struct idxd_wq *wq, struct idxd_desc *desc) in idxd_submit_desc()
Dirq.c49 struct idxd_wq *wq = idxd->wqs[i]; in idxd_device_reinit()
73 struct idxd_wq *wq = ie_to_wq(ie); in idxd_int_handle_revoke_drain()
156 struct idxd_wq *wq = ie_to_wq(ie); in idxd_int_handle_revoke()
225 struct idxd_wq *wq = fault->wq; in idxd_evl_fault_work()
336 struct idxd_wq *wq = idxd->wqs[entry_head->wq_idx]; in process_evl_entry()
417 struct idxd_wq *wq = idxd->wqs[id]; in idxd_misc_thread()
425 struct idxd_wq *wq = idxd->wqs[i]; in idxd_misc_thread()
518 struct idxd_wq *wq = desc->wq; in idxd_int_handle_resubmit_work()
545 struct idxd_wq *wq = desc->wq; in idxd_queue_int_handle_resubmit()
Dcompat.c49 struct idxd_wq *wq = confdev_to_wq(dev); in bind_store()
Dinit.c151 struct idxd_wq *wq; in idxd_setup_wqs()
155 idxd->wqs = kcalloc_node(idxd->max_wqs, sizeof(struct idxd_wq *), in idxd_setup_wqs()
789 struct idxd_wq *wq; in idxd_wqs_quiesce()