Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/dma/idxd/ !
Dinit.c200 wq->opcap_bmap = bitmap_zalloc(IDXD_MAX_OPCAP_BITS, GFP_KERNEL); in idxd_setup_wqs()
201 if (!wq->opcap_bmap) { in idxd_setup_wqs()
206 bitmap_copy(wq->opcap_bmap, idxd->opcap_bmap, IDXD_MAX_OPCAP_BITS); in idxd_setup_wqs()
512 multi_u64_to_bmap(idxd->opcap_bmap, &idxd->hw.opcap.bits[0], 4); in idxd_read_caps()
538 idxd->opcap_bmap = bitmap_zalloc_node(IDXD_MAX_OPCAP_BITS, GFP_KERNEL, dev_to_node(dev)); in idxd_alloc()
539 if (!idxd->opcap_bmap) { in idxd_alloc()
Dsysfs.c1205 return sysfs_emit(buf, "%*pb\n", IDXD_MAX_OPCAP_BITS, wq->opcap_bmap); in wq_op_config_show()
1219 if (!test_bit(bit, idxd->opcap_bmap)) in idxd_verify_supported_opcap()
1249 bitmap_copy(wq->opcap_bmap, opmask, IDXD_MAX_OPCAP_BITS); in wq_op_config_store()
1332 bitmap_free(wq->opcap_bmap); in idxd_conf_wq_release()
1424 return sysfs_emit(buf, "%*pb\n", IDXD_MAX_OPCAP_BITS, idxd->opcap_bmap); in op_cap_show()
1763 bitmap_free(idxd->opcap_bmap); in idxd_conf_device_release()
Didxd.h210 unsigned long *opcap_bmap; member
357 unsigned long *opcap_bmap; member
Ddevice.c376 if (wq->opcap_bmap) in idxd_wq_disable_cleanup()
377 bitmap_copy(wq->opcap_bmap, idxd->opcap_bmap, IDXD_MAX_OPCAP_BITS); in idxd_wq_disable_cleanup()
974 if (idxd->hw.wq_cap.op_config && wq->opcap_bmap) { in idxd_wq_config_write()
976 for_each_set_bit(n, wq->opcap_bmap, IDXD_MAX_OPCAP_BITS) { in idxd_wq_config_write()