Lines Matching refs:idxd_wq

25 struct idxd_wq;
166 struct idxd_wq *wq;
189 struct idxd_wq *wq;
192 struct idxd_wq { struct
307 struct idxd_wq *wq;
333 struct idxd_wq **wqs;
418 struct idxd_wq *wq;
438 #define idxd_dev_to_wq(idxd_dev) container_of(idxd_dev, struct idxd_wq, idxd_dev)
440 static inline struct idxd_device_driver *wq_to_idxd_drv(struct idxd_wq *wq) in wq_to_idxd_drv()
456 static inline struct idxd_wq *confdev_to_wq(struct device *dev) in confdev_to_wq()
499 static inline struct idxd_wq *ie_to_wq(struct idxd_irq_entry *ie) in ie_to_wq()
501 return container_of(ie, struct idxd_wq, ie); in ie_to_wq()
548 static inline bool is_idxd_wq_dmaengine(struct idxd_wq *wq) in is_idxd_wq_dmaengine()
555 static inline bool is_idxd_wq_user(struct idxd_wq *wq) in is_idxd_wq_user()
560 static inline bool is_idxd_wq_kernel(struct idxd_wq *wq) in is_idxd_wq_kernel()
565 static inline bool wq_dedicated(struct idxd_wq *wq) in wq_dedicated()
570 static inline bool wq_shared(struct idxd_wq *wq) in wq_shared()
585 static inline bool wq_pasid_enabled(struct idxd_wq *wq) in wq_pasid_enabled()
591 static inline bool wq_shared_supported(struct idxd_wq *wq) in wq_shared_supported()
627 static inline void __iomem *idxd_wq_portal_addr(struct idxd_wq *wq) in idxd_wq_portal_addr()
635 static inline void idxd_wq_get(struct idxd_wq *wq) in idxd_wq_get()
640 static inline void idxd_wq_put(struct idxd_wq *wq) in idxd_wq_put()
645 static inline int idxd_wq_refcount(struct idxd_wq *wq) in idxd_wq_refcount()
650 static inline void idxd_wq_set_private(struct idxd_wq *wq, void *private) in idxd_wq_set_private()
655 static inline void *idxd_wq_get_private(struct idxd_wq *wq) in idxd_wq_get_private()
674 static inline void idxd_wq_set_max_batch_size(int idxd_type, struct idxd_wq *wq, in idxd_wq_set_max_batch_size()
692 static inline int idxd_wq_driver_name_match(struct idxd_wq *wq, struct device *dev) in idxd_wq_driver_name_match()
710 void idxd_free_desc(struct idxd_wq *wq, struct idxd_desc *desc);
746 int idxd_drv_enable_wq(struct idxd_wq *wq);
747 void idxd_drv_disable_wq(struct idxd_wq *wq);
763 int idxd_wq_alloc_resources(struct idxd_wq *wq);
764 void idxd_wq_free_resources(struct idxd_wq *wq);
765 int idxd_wq_enable(struct idxd_wq *wq);
766 int idxd_wq_disable(struct idxd_wq *wq, bool reset_config);
767 void idxd_wq_drain(struct idxd_wq *wq);
768 void idxd_wq_reset(struct idxd_wq *wq);
769 int idxd_wq_map_portal(struct idxd_wq *wq);
770 void idxd_wq_unmap_portal(struct idxd_wq *wq);
771 int idxd_wq_set_pasid(struct idxd_wq *wq, int pasid);
772 int idxd_wq_disable_pasid(struct idxd_wq *wq);
773 void __idxd_wq_quiesce(struct idxd_wq *wq);
774 void idxd_wq_quiesce(struct idxd_wq *wq);
775 int idxd_wq_init_percpu_ref(struct idxd_wq *wq);
776 void idxd_wq_free_irq(struct idxd_wq *wq);
777 int idxd_wq_request_irq(struct idxd_wq *wq);
780 int idxd_submit_desc(struct idxd_wq *wq, struct idxd_desc *desc);
781 struct idxd_desc *idxd_alloc_desc(struct idxd_wq *wq, enum idxd_op_type optype);
782 int idxd_enqcmds(struct idxd_wq *wq, void __iomem *portal, const void *desc);
792 int idxd_wq_add_cdev(struct idxd_wq *wq);
793 void idxd_wq_del_cdev(struct idxd_wq *wq);
794 int idxd_copy_cr(struct idxd_wq *wq, ioasid_t pasid, unsigned long addr,
796 void idxd_user_counter_increment(struct idxd_wq *wq, u32 pasid, int index);