Lines Matching refs:idxd_device
103 struct idxd_device *idxd;
118 struct idxd_device *idxd;
203 struct idxd_device *idxd;
244 struct idxd_device *idxd;
273 struct idxd_device *idxd;
277 typedef int (*load_device_defaults_fn_t) (struct idxd_device *idxd);
314 struct idxd_device { struct
379 static inline unsigned int evl_ent_size(struct idxd_device *idxd) in evl_ent_size() argument
385 static inline unsigned int evl_size(struct idxd_device *idxd) in evl_size()
437 #define idxd_dev_to_idxd(idxd_dev) container_of(idxd_dev, struct idxd_device, idxd_dev)
449 static inline struct idxd_device *confdev_to_idxd(struct device *dev) in confdev_to_idxd()
494 static inline struct idxd_irq_entry *idxd_get_ie(struct idxd_device *idxd, int idx) in idxd_get_ie()
504 static inline struct idxd_device *ie_to_idxd(struct idxd_irq_entry *ie) in ie_to_idxd()
506 return container_of(ie, struct idxd_device, ie); in ie_to_idxd()
509 static inline void idxd_set_user_intr(struct idxd_device *idxd, bool enable) in idxd_set_user_intr()
575 static inline bool device_pasid_enabled(struct idxd_device *idxd) in device_pasid_enabled()
580 static inline bool device_user_pasid_enabled(struct idxd_device *idxd) in device_user_pasid_enabled()
665 static inline void idxd_set_max_batch_size(int idxd_type, struct idxd_device *idxd, in idxd_set_max_batch_size()
730 int idxd_register_devices(struct idxd_device *idxd);
731 void idxd_unregister_devices(struct idxd_device *idxd);
732 void idxd_wqs_quiesce(struct idxd_device *idxd);
735 int idxd_load_iaa_device_defaults(struct idxd_device *idxd);
740 void idxd_mask_error_interrupts(struct idxd_device *idxd);
741 void idxd_unmask_error_interrupts(struct idxd_device *idxd);
748 int idxd_device_init_reset(struct idxd_device *idxd);
749 int idxd_device_enable(struct idxd_device *idxd);
750 int idxd_device_disable(struct idxd_device *idxd);
751 void idxd_device_reset(struct idxd_device *idxd);
752 void idxd_device_clear_state(struct idxd_device *idxd);
753 int idxd_device_config(struct idxd_device *idxd);
754 void idxd_device_drain_pasid(struct idxd_device *idxd, int pasid);
755 int idxd_device_load_config(struct idxd_device *idxd);
756 int idxd_device_request_int_handle(struct idxd_device *idxd, int idx, int *handle,
758 int idxd_device_release_int_handle(struct idxd_device *idxd, int handle,
762 void idxd_wqs_unmap_portal(struct idxd_device *idxd);
785 int idxd_register_dma_device(struct idxd_device *idxd);
786 void idxd_unregister_dma_device(struct idxd_device *idxd);
791 int idxd_cdev_get_major(struct idxd_device *idxd);
800 int perfmon_pmu_init(struct idxd_device *idxd);
801 void perfmon_pmu_remove(struct idxd_device *idxd);
802 void perfmon_counter_overflow(struct idxd_device *idxd);
804 static inline int perfmon_pmu_init(struct idxd_device *idxd) { return 0; } in perfmon_pmu_init()
805 static inline void perfmon_pmu_remove(struct idxd_device *idxd) {} in perfmon_pmu_remove()
806 static inline void perfmon_counter_overflow(struct idxd_device *idxd) {} in perfmon_counter_overflow()
810 int idxd_device_init_debugfs(struct idxd_device *idxd);
811 void idxd_device_remove_debugfs(struct idxd_device *idxd);