Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/dma/idxd/
Ddevice.c305 union wqcfg wqcfg; in __idxd_wq_set_pasid_locked() local
310 wqcfg.bits[WQCFG_PASID_IDX] = ioread32(idxd->reg_base + offset); in __idxd_wq_set_pasid_locked()
311 wqcfg.pasid_en = 1; in __idxd_wq_set_pasid_locked()
312 wqcfg.pasid = pasid; in __idxd_wq_set_pasid_locked()
313 wq->wqcfg->bits[WQCFG_PASID_IDX] = wqcfg.bits[WQCFG_PASID_IDX]; in __idxd_wq_set_pasid_locked()
314 iowrite32(wqcfg.bits[WQCFG_PASID_IDX], idxd->reg_base + offset); in __idxd_wq_set_pasid_locked()
339 union wqcfg wqcfg; in idxd_wq_disable_pasid() local
348 wqcfg.bits[WQCFG_PASID_IDX] = ioread32(idxd->reg_base + offset); in idxd_wq_disable_pasid()
349 wqcfg.pasid_en = 0; in idxd_wq_disable_pasid()
350 wqcfg.pasid = 0; in idxd_wq_disable_pasid()
[all …]
Didxd.h209 union wqcfg *wqcfg; member
640 static inline void idxd_wqcfg_set_max_batch_shift(int idxd_type, union wqcfg *wqcfg, in idxd_wqcfg_set_max_batch_shift() argument
644 wqcfg->max_batch_shift = 0; in idxd_wqcfg_set_max_batch_shift()
646 wqcfg->max_batch_shift = max_batch_shift; in idxd_wqcfg_set_max_batch_shift()
Dregisters.h108 u64 wqcfg:16; member
361 union wqcfg { union
Dinit.c192 wq->wqcfg = kzalloc_node(idxd->wqcfg_size, GFP_KERNEL, dev_to_node(dev)); in idxd_setup_wqs()
193 if (!wq->wqcfg) { in idxd_setup_wqs()
424 idxd->wqcfg_offset = offsets.wqcfg * IDXD_TABLE_MULT; in idxd_read_table_offsets()
Dsysfs.c1333 kfree(wq->wqcfg); in idxd_conf_wq_release()