Searched refs:idxd_wq (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/drivers/dma/idxd/ |
D | idxd.h | 24 struct idxd_wq; 148 struct idxd_wq *wq; 175 struct idxd_wq *wq; 178 struct idxd_wq { struct 282 struct idxd_wq **wqs; 338 struct idxd_wq *wq; 357 #define idxd_dev_to_wq(idxd_dev) container_of(idxd_dev, struct idxd_wq, idxd_dev) 366 static inline struct idxd_wq *confdev_to_wq(struct device *dev) in confdev_to_wq() 409 static inline struct idxd_wq *ie_to_wq(struct idxd_irq_entry *ie) in ie_to_wq() 411 return container_of(ie, struct idxd_wq, ie); in ie_to_wq() [all …]
|
D | cdev.c | 35 struct idxd_wq *wq; 46 struct idxd_wq *wq = idxd_cdev->wq; in idxd_cdev_dev_release() 65 static inline struct idxd_wq *inode_wq(struct inode *inode) in inode_wq() 76 struct idxd_wq *wq; in idxd_cdev_open() 143 struct idxd_wq *wq = ctx->wq; in idxd_cdev_release() 174 static int check_vma(struct idxd_wq *wq, struct vm_area_struct *vma, in check_vma() 193 struct idxd_wq *wq = ctx->wq; in idxd_cdev_mmap() 219 struct idxd_wq *wq = ctx->wq; in idxd_cdev_poll() 245 int idxd_wq_add_cdev(struct idxd_wq *wq) in idxd_wq_add_cdev() 296 void idxd_wq_del_cdev(struct idxd_wq *wq) in idxd_wq_del_cdev() [all …]
|
D | dma.c | 15 static inline struct idxd_wq *to_idxd_wq(struct dma_chan *c) in to_idxd_wq() 72 static inline void idxd_prep_desc_common(struct idxd_wq *wq, in idxd_prep_desc_common() 93 struct idxd_wq *wq = to_idxd_wq(c); in idxd_dma_prep_interrupt() 115 struct idxd_wq *wq = to_idxd_wq(c); in idxd_dma_submit_memcpy() 142 struct idxd_wq *wq = to_idxd_wq(chan); in idxd_dma_alloc_chan_resources() 153 struct idxd_wq *wq = to_idxd_wq(chan); in idxd_dma_free_chan_resources() 179 struct idxd_wq *wq = to_idxd_wq(c); in idxd_dma_tx_submit() 253 static int idxd_register_dma_channel(struct idxd_wq *wq) in idxd_register_dma_channel() 290 static void idxd_unregister_dma_channel(struct idxd_wq *wq) in idxd_unregister_dma_channel() 306 struct idxd_wq *wq = idxd_dev_to_wq(idxd_dev); in idxd_dmaengine_drv_probe() [all …]
|
D | device.c | 19 static void idxd_wq_disable_cleanup(struct idxd_wq *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() [all …]
|
D | submit.c | 11 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()
|
D | sysfs.c | 342 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 …]
|
D | irq.c | 47 struct idxd_wq *wq = idxd->wqs[i]; in idxd_device_reinit() 71 struct idxd_wq *wq = ie_to_wq(ie); in idxd_int_handle_revoke_drain() 154 struct idxd_wq *wq = ie_to_wq(ie); in idxd_int_handle_revoke() 242 struct idxd_wq *wq = idxd->wqs[id]; in process_misc_interrupts() 250 struct idxd_wq *wq = idxd->wqs[i]; in process_misc_interrupts() 361 struct idxd_wq *wq = desc->wq; in idxd_int_handle_resubmit_work() 388 struct idxd_wq *wq = desc->wq; in idxd_queue_int_handle_resubmit()
|
D | compat.c | 49 struct idxd_wq *wq = confdev_to_wq(dev); in bind_store()
|
D | init.c | 145 struct idxd_wq *wq; in idxd_setup_wqs() 149 idxd->wqs = kcalloc_node(idxd->max_wqs, sizeof(struct idxd_wq *), in idxd_setup_wqs() 681 struct idxd_wq *wq; in idxd_wqs_quiesce()
|