Lines Matching defs: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 {
382 struct idxd_device saved_idxd;
390 static inline unsigned int evl_ent_size(struct idxd_device *idxd)
396 static inline unsigned int evl_size(struct idxd_device *idxd)
448 #define idxd_dev_to_idxd(idxd_dev) container_of(idxd_dev, struct idxd_device, idxd_dev)
460 static inline struct idxd_device *confdev_to_idxd(struct device *dev)
505 static inline struct idxd_irq_entry *idxd_get_ie(struct idxd_device *idxd, int idx)
515 static inline struct idxd_device *ie_to_idxd(struct idxd_irq_entry *ie)
517 return container_of(ie, struct idxd_device, ie);
520 static inline void idxd_set_user_intr(struct idxd_device *idxd, bool enable)
586 static inline bool device_pasid_enabled(struct idxd_device *idxd)
591 static inline bool device_user_pasid_enabled(struct idxd_device *idxd)
676 static inline void idxd_set_max_batch_size(int idxd_type, struct idxd_device *idxd,
739 int idxd_register_devices(struct idxd_device *idxd);
740 void idxd_unregister_devices(struct idxd_device *idxd);
741 void idxd_wqs_quiesce(struct idxd_device *idxd);
744 int idxd_load_iaa_device_defaults(struct idxd_device *idxd);
749 void idxd_mask_error_interrupts(struct idxd_device *idxd);
750 void idxd_unmask_error_interrupts(struct idxd_device *idxd);
754 int idxd_pci_probe_alloc(struct idxd_device *idxd, struct pci_dev *pdev,
759 int idxd_device_init_reset(struct idxd_device *idxd);
760 int idxd_device_enable(struct idxd_device *idxd);
761 int idxd_device_disable(struct idxd_device *idxd);
762 void idxd_device_reset(struct idxd_device *idxd);
763 void idxd_device_clear_state(struct idxd_device *idxd);
764 int idxd_device_config(struct idxd_device *idxd);
765 void idxd_device_drain_pasid(struct idxd_device *idxd, int pasid);
766 int idxd_device_load_config(struct idxd_device *idxd);
767 int idxd_device_request_int_handle(struct idxd_device *idxd, int idx, int *handle,
769 int idxd_device_release_int_handle(struct idxd_device *idxd, int handle,
773 void idxd_wqs_unmap_portal(struct idxd_device *idxd);
796 int idxd_register_dma_device(struct idxd_device *idxd);
797 void idxd_unregister_dma_device(struct idxd_device *idxd);
802 int idxd_cdev_get_major(struct idxd_device *idxd);
811 int perfmon_pmu_init(struct idxd_device *idxd);
812 void perfmon_pmu_remove(struct idxd_device *idxd);
813 void perfmon_counter_overflow(struct idxd_device *idxd);
815 static inline int perfmon_pmu_init(struct idxd_device *idxd) { return 0; }
816 static inline void perfmon_pmu_remove(struct idxd_device *idxd) {}
817 static inline void perfmon_counter_overflow(struct idxd_device *idxd) {}
821 int idxd_device_init_debugfs(struct idxd_device *idxd);
822 void idxd_device_remove_debugfs(struct idxd_device *idxd);