Lines Matching refs:idxd_wq

24 struct idxd_wq;
156 struct idxd_wq *wq;
183 struct idxd_wq *wq;
186 struct idxd_wq {
295 struct idxd_wq *wq;
321 struct idxd_wq **wqs;
393 struct idxd_wq *wq;
413 #define idxd_dev_to_wq(idxd_dev) container_of(idxd_dev, struct idxd_wq, idxd_dev)
422 static inline struct idxd_wq *confdev_to_wq(struct device *dev)
465 static inline struct idxd_wq *ie_to_wq(struct idxd_irq_entry *ie)
467 return container_of(ie, struct idxd_wq, ie);
514 static inline bool is_idxd_wq_dmaengine(struct idxd_wq *wq)
521 static inline bool is_idxd_wq_user(struct idxd_wq *wq)
526 static inline bool is_idxd_wq_kernel(struct idxd_wq *wq)
531 static inline bool wq_dedicated(struct idxd_wq *wq)
536 static inline bool wq_shared(struct idxd_wq *wq)
551 static inline bool wq_pasid_enabled(struct idxd_wq *wq)
557 static inline bool wq_shared_supported(struct idxd_wq *wq)
593 static inline void __iomem *idxd_wq_portal_addr(struct idxd_wq *wq)
601 static inline void idxd_wq_get(struct idxd_wq *wq)
606 static inline void idxd_wq_put(struct idxd_wq *wq)
611 static inline int idxd_wq_refcount(struct idxd_wq *wq)
630 static inline void idxd_wq_set_max_batch_size(int idxd_type, struct idxd_wq *wq,
675 int drv_enable_wq(struct idxd_wq *wq);
676 void drv_disable_wq(struct idxd_wq *wq);
692 int idxd_wq_alloc_resources(struct idxd_wq *wq);
693 void idxd_wq_free_resources(struct idxd_wq *wq);
694 int idxd_wq_enable(struct idxd_wq *wq);
695 int idxd_wq_disable(struct idxd_wq *wq, bool reset_config);
696 void idxd_wq_drain(struct idxd_wq *wq);
697 void idxd_wq_reset(struct idxd_wq *wq);
698 int idxd_wq_map_portal(struct idxd_wq *wq);
699 void idxd_wq_unmap_portal(struct idxd_wq *wq);
700 int idxd_wq_set_pasid(struct idxd_wq *wq, int pasid);
701 int idxd_wq_disable_pasid(struct idxd_wq *wq);
702 void __idxd_wq_quiesce(struct idxd_wq *wq);
703 void idxd_wq_quiesce(struct idxd_wq *wq);
704 int idxd_wq_init_percpu_ref(struct idxd_wq *wq);
705 void idxd_wq_free_irq(struct idxd_wq *wq);
706 int idxd_wq_request_irq(struct idxd_wq *wq);
709 int idxd_submit_desc(struct idxd_wq *wq, struct idxd_desc *desc);
710 struct idxd_desc *idxd_alloc_desc(struct idxd_wq *wq, enum idxd_op_type optype);
711 void idxd_free_desc(struct idxd_wq *wq, struct idxd_desc *desc);
712 int idxd_enqcmds(struct idxd_wq *wq, void __iomem *portal, const void *desc);
724 int idxd_wq_add_cdev(struct idxd_wq *wq);
725 void idxd_wq_del_cdev(struct idxd_wq *wq);
726 int idxd_copy_cr(struct idxd_wq *wq, ioasid_t pasid, unsigned long addr,
728 void idxd_user_counter_increment(struct idxd_wq *wq, u32 pasid, int index);