Searched refs:opcap_bmap (Results 1 – 4 of 4) sorted by relevance
| /Linux-v6.1/drivers/dma/idxd/ |
| D | init.c | 196 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()
|
| D | sysfs.c | 1151 return sysfs_emit(buf, "%*pb\n", IDXD_MAX_OPCAP_BITS, wq->opcap_bmap); in wq_op_config_show() 1165 if (!test_bit(bit, idxd->opcap_bmap)) in idxd_verify_supported_opcap() 1195 bitmap_copy(wq->opcap_bmap, opmask, IDXD_MAX_OPCAP_BITS); in wq_op_config_store() 1263 bitmap_free(wq->opcap_bmap); in idxd_conf_wq_release() 1354 return sysfs_emit(buf, "%*pb\n", IDXD_MAX_OPCAP_BITS, idxd->opcap_bmap); in op_cap_show() 1579 bitmap_free(idxd->opcap_bmap); in idxd_conf_device_release()
|
| D | device.c | 394 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()
|
| D | idxd.h | 201 unsigned long *opcap_bmap; member 318 unsigned long *opcap_bmap; member
|