Home
last modified time | relevance | path

Searched refs:wqcfg (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/dma/idxd/
Ddevice.c307 union wqcfg wqcfg; in __idxd_wq_set_pasid_locked() local
312 wqcfg.bits[WQCFG_PASID_IDX] = ioread32(idxd->reg_base + offset); in __idxd_wq_set_pasid_locked()
313 wqcfg.pasid_en = 1; in __idxd_wq_set_pasid_locked()
314 wqcfg.pasid = pasid; in __idxd_wq_set_pasid_locked()
315 wq->wqcfg->bits[WQCFG_PASID_IDX] = wqcfg.bits[WQCFG_PASID_IDX]; in __idxd_wq_set_pasid_locked()
316 iowrite32(wqcfg.bits[WQCFG_PASID_IDX], idxd->reg_base + offset); in __idxd_wq_set_pasid_locked()
341 union wqcfg wqcfg; in idxd_wq_disable_pasid() local
350 wqcfg.bits[WQCFG_PASID_IDX] = ioread32(idxd->reg_base + offset); in idxd_wq_disable_pasid()
351 wqcfg.pasid_en = 0; in idxd_wq_disable_pasid()
352 wqcfg.pasid = 0; in idxd_wq_disable_pasid()
[all …]
Didxd.h215 union wqcfg *wqcfg; member
683 static inline void idxd_wqcfg_set_max_batch_shift(int idxd_type, union wqcfg *wqcfg, in idxd_wqcfg_set_max_batch_shift() argument
687 wqcfg->max_batch_shift = 0; in idxd_wqcfg_set_max_batch_shift()
689 wqcfg->max_batch_shift = max_batch_shift; in idxd_wqcfg_set_max_batch_shift()
Dregisters.h105 u64 wqcfg:16; member
358 union wqcfg { union
Dinit.c202 wq->wqcfg = kzalloc_node(idxd->wqcfg_size, GFP_KERNEL, dev_to_node(dev)); in idxd_setup_wqs()
203 if (!wq->wqcfg) { in idxd_setup_wqs()
443 idxd->wqcfg_offset = offsets.wqcfg * IDXD_TABLE_MULT; in idxd_read_table_offsets()
Dsysfs.c1390 kfree(wq->wqcfg); in idxd_conf_wq_release()