Lines Matching refs:idxd_device

102 	struct idxd_device *idxd;
117 struct idxd_device *idxd;
201 struct idxd_device *idxd;
242 struct idxd_device *idxd;
271 struct idxd_device *idxd;
275 typedef int (*load_device_defaults_fn_t) (struct idxd_device *idxd);
312 struct idxd_device { struct
380 struct idxd_device saved_idxd; argument
388 static inline unsigned int evl_ent_size(struct idxd_device *idxd) in evl_ent_size()
394 static inline unsigned int evl_size(struct idxd_device *idxd) in evl_size()
446 #define idxd_dev_to_idxd(idxd_dev) container_of(idxd_dev, struct idxd_device, idxd_dev)
458 static inline struct idxd_device *confdev_to_idxd(struct device *dev) in confdev_to_idxd()
503 static inline struct idxd_irq_entry *idxd_get_ie(struct idxd_device *idxd, int idx) in idxd_get_ie()
513 static inline struct idxd_device *ie_to_idxd(struct idxd_irq_entry *ie) in ie_to_idxd()
515 return container_of(ie, struct idxd_device, ie); in ie_to_idxd()
518 static inline void idxd_set_user_intr(struct idxd_device *idxd, bool enable) in idxd_set_user_intr()
584 static inline bool device_pasid_enabled(struct idxd_device *idxd) in device_pasid_enabled()
589 static inline bool device_user_pasid_enabled(struct idxd_device *idxd) in device_user_pasid_enabled()
674 static inline void idxd_set_max_batch_size(int idxd_type, struct idxd_device *idxd, in idxd_set_max_batch_size()
737 int idxd_register_devices(struct idxd_device *idxd);
738 void idxd_unregister_devices(struct idxd_device *idxd);
739 void idxd_wqs_quiesce(struct idxd_device *idxd);
742 int idxd_load_iaa_device_defaults(struct idxd_device *idxd);
747 void idxd_mask_error_interrupts(struct idxd_device *idxd);
748 void idxd_unmask_error_interrupts(struct idxd_device *idxd);
752 int idxd_pci_probe_alloc(struct idxd_device *idxd, struct pci_dev *pdev,
757 int idxd_device_init_reset(struct idxd_device *idxd);
758 int idxd_device_enable(struct idxd_device *idxd);
759 int idxd_device_disable(struct idxd_device *idxd);
760 void idxd_device_reset(struct idxd_device *idxd);
761 void idxd_device_clear_state(struct idxd_device *idxd);
762 int idxd_device_config(struct idxd_device *idxd);
763 void idxd_device_drain_pasid(struct idxd_device *idxd, int pasid);
764 int idxd_device_load_config(struct idxd_device *idxd);
765 int idxd_device_request_int_handle(struct idxd_device *idxd, int idx, int *handle,
767 int idxd_device_release_int_handle(struct idxd_device *idxd, int handle,
771 void idxd_wqs_unmap_portal(struct idxd_device *idxd);
794 int idxd_register_dma_device(struct idxd_device *idxd);
795 void idxd_unregister_dma_device(struct idxd_device *idxd);
800 int idxd_cdev_get_major(struct idxd_device *idxd);
809 int perfmon_pmu_init(struct idxd_device *idxd);
810 void perfmon_pmu_remove(struct idxd_device *idxd);
811 void perfmon_counter_overflow(struct idxd_device *idxd);
813 static inline int perfmon_pmu_init(struct idxd_device *idxd) { return 0; } in perfmon_pmu_init()
814 static inline void perfmon_pmu_remove(struct idxd_device *idxd) {} in perfmon_pmu_remove()
815 static inline void perfmon_counter_overflow(struct idxd_device *idxd) {} in perfmon_counter_overflow()
819 int idxd_device_init_debugfs(struct idxd_device *idxd);
820 void idxd_device_remove_debugfs(struct idxd_device *idxd);