Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/dma/idxd/
Dinit.c210 wq->opcap_bmap = bitmap_zalloc(IDXD_MAX_OPCAP_BITS, GFP_KERNEL); in idxd_setup_wqs()
211 if (!wq->opcap_bmap) { in idxd_setup_wqs()
216 bitmap_copy(wq->opcap_bmap, idxd->opcap_bmap, IDXD_MAX_OPCAP_BITS); in idxd_setup_wqs()
522 multi_u64_to_bmap(idxd->opcap_bmap, &idxd->hw.opcap.bits[0], 4); in idxd_read_caps()
548 idxd->opcap_bmap = bitmap_zalloc_node(IDXD_MAX_OPCAP_BITS, GFP_KERNEL, dev_to_node(dev)); in idxd_alloc()
549 if (!idxd->opcap_bmap) { in idxd_alloc()
Dsysfs.c1200 static ssize_t op_cap_show_common(struct device *dev, char *buf, unsigned long *opcap_bmap) in op_cap_show_common() argument
1207 unsigned long val = opcap_bmap[i]; in op_cap_show_common()
1228 return op_cap_show_common(dev, buf, wq->opcap_bmap); in wq_op_config_show()
1242 if (!test_bit(bit, idxd->opcap_bmap)) in idxd_verify_supported_opcap()
1272 bitmap_copy(wq->opcap_bmap, opmask, IDXD_MAX_OPCAP_BITS); in wq_op_config_store()
1389 bitmap_free(wq->opcap_bmap); in idxd_conf_wq_release()
1481 return op_cap_show_common(dev, buf, idxd->opcap_bmap); in op_cap_show()
1820 bitmap_free(idxd->opcap_bmap); in idxd_conf_device_release()
Ddevice.c378 if (wq->opcap_bmap) in idxd_wq_disable_cleanup()
379 bitmap_copy(wq->opcap_bmap, idxd->opcap_bmap, IDXD_MAX_OPCAP_BITS); in idxd_wq_disable_cleanup()
979 if (idxd->hw.wq_cap.op_config && wq->opcap_bmap) { in idxd_wq_config_write()
981 for_each_set_bit(n, wq->opcap_bmap, IDXD_MAX_OPCAP_BITS) { in idxd_wq_config_write()
Didxd.h216 unsigned long *opcap_bmap; member
369 unsigned long *opcap_bmap; member