/linux/drivers/dma/idxd/ |
H A D | device.c | 21 void idxd_unmask_error_interrupts(struct idxd_device *idxd) in idxd_unmask_error_interrupts() 31 void idxd_mask_error_interrupts(struct idxd_device *idxd) in idxd_mask_error_interrupts() 110 struct idxd_device *idxd = wq->idxd; in idxd_wq_alloc_resources() local 182 struct idxd_device *idxd = wq->idxd; in idxd_wq_enable() local 207 struct idxd_device *idxd = wq->idxd; in idxd_wq_disable() local 236 struct idxd_device *idxd = wq->idxd; in idxd_wq_drain() local 252 struct idxd_device *idxd = wq->idxd; in idxd_wq_reset() local 268 struct idxd_device *idxd = wq->idxd; in idxd_wq_map_portal() local 292 void idxd_wqs_unmap_portal(struct idxd_device *idxd) in idxd_wqs_unmap_portal() 306 struct idxd_device *idxd = wq->idxd; in __idxd_wq_set_pasid_locked() local [all …]
|
H A D | init.c | 85 static int idxd_setup_interrupts(struct idxd_device *idxd) in idxd_setup_interrupts() 140 static void idxd_cleanup_interrupts(struct idxd_device *idxd) in idxd_cleanup_interrupts() 156 static int idxd_setup_wqs(struct idxd_device *idxd) in idxd_setup_wqs() 234 static int idxd_setup_engines(struct idxd_device *idxd) in idxd_setup_engines() 281 static int idxd_setup_groups(struct idxd_device *idxd) in idxd_setup_groups() 339 static void idxd_cleanup_internals(struct idxd_device *idxd) in idxd_cleanup_internals() 352 static int idxd_init_evl(struct idxd_device *idxd) in idxd_init_evl() 388 static int idxd_setup_internals(struct idxd_device *idxd) in idxd_setup_internals() 434 static void idxd_read_table_offsets(struct idxd_device *idxd) in idxd_read_table_offsets() 464 static void idxd_read_caps(struct idxd_device *idxd) in idxd_read_caps() [all …]
|
H A D | perfmon.c | 96 struct idxd_device *idxd = idxd_pmu->idxd; in perfmon_assign_hw_event() local 170 struct idxd_device *idxd; in perfmon_pmu_event_init() local 202 struct idxd_device *idxd; in perfmon_pmu_read_counter() local 212 struct idxd_device *idxd = event_to_idxd(event); in perfmon_pmu_event_update() local 230 void perfmon_counter_overflow(struct idxd_device *idxd) in perfmon_counter_overflow() 271 static inline void perfmon_reset_config(struct idxd_device *idxd) in perfmon_reset_config() 278 static inline void perfmon_reset_counters(struct idxd_device *idxd) in perfmon_reset_counters() 283 static inline void perfmon_reset(struct idxd_device *idxd) in perfmon_reset() 296 struct idxd_device *idxd; in perfmon_pmu_event_start() local 344 struct idxd_device *idxd; in perfmon_pmu_event_stop() local [all …]
|
H A D | sysfs.c | 36 struct idxd_device *idxd = engine->idxd; in engine_group_id_store() local 102 static void idxd_set_free_rdbufs(struct idxd_device *idxd) in idxd_set_free_rdbufs() 137 struct idxd_device *idxd = group->idxd; in group_read_buffers_reserved_store() local 203 struct idxd_device *idxd = group->idxd; in group_read_buffers_allowed_store() local 266 struct idxd_device *idxd = group->idxd; in group_use_read_buffer_limit_store() local 311 struct idxd_device *idxd = group->idxd; in group_engines_show() local 339 struct idxd_device *idxd = group->idxd; in group_work_queues_show() local 376 struct idxd_device *idxd = group->idxd; in group_traffic_class_a_store() local 418 struct idxd_device *idxd = group->idxd; in group_traffic_class_b_store() local 524 struct idxd_device *idxd) in idxd_group_attr_progress_limit_invisible() [all …]
|
H A D | perfmon.h | 87 #define PERFMON_REG_OFFSET(idxd, offset) \ argument 90 #define PERFCAP_REG(idxd) (PERFMON_REG_OFFSET(idxd, IDXD_PERFCAP_OFFSET)) argument 91 #define PERFRST_REG(idxd) (PERFMON_REG_OFFSET(idxd, IDXD_PERFRST_OFFSET)) argument 92 #define OVFSTATUS_REG(idxd) (PERFMON_REG_OFFSET(idxd, IDXD_OVFSTATUS_OFFSET)) argument 93 #define PERFFRZ_REG(idxd) (PERFMON_REG_OFFSET(idxd, IDXD_PERFFRZ_OFFSET)) argument 95 #define FLTCFG_REG(idxd, cntr, flt) \ argument 98 #define CNTRCFG_REG(idxd, cntr) \ argument 100 #define CNTRDATA_REG(idxd, cntr) \ argument 102 #define CNTRCAP_REG(idxd, cntr) \ argument 105 #define EVNTCAP_REG(idxd, category) \ argument
|
H A D | irq.c | 29 struct idxd_device *idxd; member 34 struct idxd_device *idxd = container_of(work, struct idxd_device, work); in idxd_device_reinit() local 74 struct idxd_device *idxd = wq->idxd; in idxd_int_handle_revoke_drain() local 134 struct idxd_device *idxd = revoke->idxd; in idxd_int_handle_revoke() local 226 struct idxd_device *idxd = wq->idxd; in idxd_evl_fault_work() local 311 static void process_evl_entry(struct idxd_device *idxd, in process_evl_entry() 354 static void process_evl_entries(struct idxd_device *idxd) in process_evl_entries() 389 struct idxd_device *idxd = ie_to_idxd(irq_entry); in idxd_misc_thread() local 546 struct idxd_device *idxd = wq->idxd; in idxd_queue_int_handle_resubmit() local
|
H A D | debugfs.c | 15 static void dump_event_entry(struct idxd_device *idxd, struct seq_file *s, in dump_event_entry() 59 struct idxd_device *idxd = s->private; in debugfs_evl_show() local 96 int idxd_device_init_debugfs(struct idxd_device *idxd) in idxd_device_init_debugfs() 119 void idxd_device_remove_debugfs(struct idxd_device *idxd) in idxd_device_remove_debugfs()
|
H A D | dma.c | 27 struct idxd_device *idxd = desc->wq->idxd; in idxd_dma_complete_txd() local 112 struct idxd_device *idxd = wq->idxd; in idxd_dma_submit_memcpy() local 197 int idxd_register_dma_device(struct idxd_device *idxd) in idxd_register_dma_device() 243 void idxd_unregister_dma_device(struct idxd_device *idxd) in idxd_unregister_dma_device() 250 struct idxd_device *idxd = wq->idxd; in idxd_register_dma_channel() local 302 struct idxd_device *idxd = wq->idxd; in idxd_dmaengine_drv_probe() local
|
H A D | submit.c | 14 struct idxd_device *idxd = wq->idxd; in __get_desc() local 30 struct idxd_device *idxd = wq->idxd; in idxd_alloc_desc() local 172 struct idxd_device *idxd = wq->idxd; in idxd_submit_desc() local
|
H A D | idxd.h | 103 struct idxd_device *idxd; member 118 struct idxd_device *idxd; member 203 struct idxd_device *idxd; member 244 struct idxd_device *idxd; member 273 struct idxd_device *idxd; member 379 static inline unsigned int evl_ent_size(struct idxd_device *idxd) in evl_ent_size() 385 static inline unsigned int evl_size(struct idxd_device *idxd) in evl_size() 429 #define idxd_confdev(idxd) &idxd->idxd_dev.conf_dev argument 494 static inline struct idxd_irq_entry *idxd_get_ie(struct idxd_device *idxd, int idx) in idxd_get_ie() 509 static inline void idxd_set_user_intr(struct idxd_device *idxd, bool enable) in idxd_set_user_intr() [all …]
|
H A D | defaults.c | 6 int idxd_load_iaa_device_defaults(struct idxd_device *idxd) in idxd_load_iaa_device_defaults()
|
/linux/drivers/crypto/intel/iaa/ |
H A D | iaa_crypto_main.c | 530 static struct iaa_device *add_iaa_device(struct idxd_device *idxd) in add_iaa_device() 568 struct idxd_device *idxd = iaa_device->idxd; in add_iaa_wq() local 596 struct idxd_device *idxd = iaa_device->idxd; in del_iaa_wq() local 662 struct idxd_device *idxd = wq->idxd; in iaa_wq_get() local 681 struct idxd_device *idxd = wq->idxd; in iaa_wq_put() local 747 struct idxd_device *idxd; in save_iaa_wq() local 836 struct idxd_device *idxd; in wq_table_add_wqs() local 1040 struct idxd_device *idxd; in iaa_desc_complete() local 1147 struct idxd_device *idxd; in iaa_compress() local 1299 struct idxd_device *idxd; in iaa_compress_verify() local [all …]
|
H A D | iaa_crypto.h | 69 struct idxd_device *idxd; member
|