Home
last modified time | relevance | path

Searched refs:opcap_bmap (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/dma/idxd/
Dinit.c196 wq->opcap_bmap = bitmap_zalloc(IDXD_MAX_OPCAP_BITS, GFP_KERNEL); in idxd_setup_wqs()
197 if (!wq->opcap_bmap) { in idxd_setup_wqs()
202 bitmap_copy(wq->opcap_bmap, idxd->opcap_bmap, IDXD_MAX_OPCAP_BITS); in idxd_setup_wqs()
459 multi_u64_to_bmap(idxd->opcap_bmap, &idxd->hw.opcap.bits[0], 4); in idxd_read_caps()
481 idxd->opcap_bmap = bitmap_zalloc_node(IDXD_MAX_OPCAP_BITS, GFP_KERNEL, dev_to_node(dev)); in idxd_alloc()
482 if (!idxd->opcap_bmap) { in idxd_alloc()
Dsysfs.c1170 return sysfs_emit(buf, "%*pb\n", IDXD_MAX_OPCAP_BITS, wq->opcap_bmap); in wq_op_config_show()
1184 if (!test_bit(bit, idxd->opcap_bmap)) in idxd_verify_supported_opcap()
1214 bitmap_copy(wq->opcap_bmap, opmask, IDXD_MAX_OPCAP_BITS); in wq_op_config_store()
1293 bitmap_free(wq->opcap_bmap); in idxd_conf_wq_release()
1384 return sysfs_emit(buf, "%*pb\n", IDXD_MAX_OPCAP_BITS, idxd->opcap_bmap); in op_cap_show()
1647 bitmap_free(idxd->opcap_bmap); in idxd_conf_device_release()
Ddevice.c394 if (wq->opcap_bmap) in idxd_wq_disable_cleanup()
395 bitmap_copy(wq->opcap_bmap, idxd->opcap_bmap, IDXD_MAX_OPCAP_BITS); in idxd_wq_disable_cleanup()
883 if (idxd->hw.wq_cap.op_config && wq->opcap_bmap) { in idxd_wq_config_write()
885 for_each_set_bit(n, wq->opcap_bmap, IDXD_MAX_OPCAP_BITS) { in idxd_wq_config_write()
Didxd.h201 unsigned long *opcap_bmap; member
318 unsigned long *opcap_bmap; member