Lines Matching refs:idxd_device
90 struct idxd_device *idxd;
105 struct idxd_device *idxd;
197 struct idxd_device *idxd;
236 struct idxd_device *idxd;
265 struct idxd_device *idxd;
303 struct idxd_device { struct
368 static inline unsigned int evl_ent_size(struct idxd_device *idxd) in evl_ent_size() argument
374 static inline unsigned int evl_size(struct idxd_device *idxd) in evl_size()
415 #define idxd_dev_to_idxd(idxd_dev) container_of(idxd_dev, struct idxd_device, idxd_dev)
418 static inline struct idxd_device *confdev_to_idxd(struct device *dev) in confdev_to_idxd()
463 static inline struct idxd_irq_entry *idxd_get_ie(struct idxd_device *idxd, int idx) in idxd_get_ie()
473 static inline struct idxd_device *ie_to_idxd(struct idxd_irq_entry *ie) in ie_to_idxd()
475 return container_of(ie, struct idxd_device, ie); in ie_to_idxd()
478 static inline void idxd_set_user_intr(struct idxd_device *idxd, bool enable) in idxd_set_user_intr()
544 static inline bool device_pasid_enabled(struct idxd_device *idxd) in device_pasid_enabled()
549 static inline bool device_user_pasid_enabled(struct idxd_device *idxd) in device_user_pasid_enabled()
624 static inline void idxd_set_max_batch_size(int idxd_type, struct idxd_device *idxd, in idxd_set_max_batch_size()
663 int idxd_register_devices(struct idxd_device *idxd);
664 void idxd_unregister_devices(struct idxd_device *idxd);
665 void idxd_wqs_quiesce(struct idxd_device *idxd);
672 void idxd_mask_error_interrupts(struct idxd_device *idxd);
673 void idxd_unmask_error_interrupts(struct idxd_device *idxd);
680 int idxd_device_init_reset(struct idxd_device *idxd);
681 int idxd_device_enable(struct idxd_device *idxd);
682 int idxd_device_disable(struct idxd_device *idxd);
683 void idxd_device_reset(struct idxd_device *idxd);
684 void idxd_device_clear_state(struct idxd_device *idxd);
685 int idxd_device_config(struct idxd_device *idxd);
686 void idxd_device_drain_pasid(struct idxd_device *idxd, int pasid);
687 int idxd_device_load_config(struct idxd_device *idxd);
688 int idxd_device_request_int_handle(struct idxd_device *idxd, int idx, int *handle,
690 int idxd_device_release_int_handle(struct idxd_device *idxd, int handle,
694 void idxd_wqs_unmap_portal(struct idxd_device *idxd);
718 int idxd_register_dma_device(struct idxd_device *idxd);
719 void idxd_unregister_dma_device(struct idxd_device *idxd);
726 int idxd_cdev_get_major(struct idxd_device *idxd);
735 int perfmon_pmu_init(struct idxd_device *idxd);
736 void perfmon_pmu_remove(struct idxd_device *idxd);
737 void perfmon_counter_overflow(struct idxd_device *idxd);
741 static inline int perfmon_pmu_init(struct idxd_device *idxd) { return 0; } in perfmon_pmu_init()
742 static inline void perfmon_pmu_remove(struct idxd_device *idxd) {} in perfmon_pmu_remove()
743 static inline void perfmon_counter_overflow(struct idxd_device *idxd) {} in perfmon_counter_overflow()
749 int idxd_device_init_debugfs(struct idxd_device *idxd);
750 void idxd_device_remove_debugfs(struct idxd_device *idxd);