Home
last modified time | relevance | path

Searched refs:opmask (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/dma/idxd/
Dsysfs.c1208 static int idxd_verify_supported_opcap(struct idxd_device *idxd, unsigned long *opmask) in idxd_verify_supported_opcap() argument
1218 for_each_set_bit(bit, opmask, IDXD_MAX_OPCAP_BITS) { in idxd_verify_supported_opcap()
1231 unsigned long *opmask; in wq_op_config_store() local
1237 opmask = bitmap_zalloc(IDXD_MAX_OPCAP_BITS, GFP_KERNEL); in wq_op_config_store()
1238 if (!opmask) in wq_op_config_store()
1241 rc = bitmap_parse(buf, count, opmask, IDXD_MAX_OPCAP_BITS); in wq_op_config_store()
1245 rc = idxd_verify_supported_opcap(idxd, opmask); in wq_op_config_store()
1249 bitmap_copy(wq->opcap_bmap, opmask, IDXD_MAX_OPCAP_BITS); in wq_op_config_store()
1251 bitmap_free(opmask); in wq_op_config_store()
1255 bitmap_free(opmask); in wq_op_config_store()
/Linux-v6.6/drivers/infiniband/hw/hfi1/
Dpio.c666 u8 opval, opmask; in sc_alloc() local
744 opmask = USER_OPCODE_CHECK_MASK; in sc_alloc()
747 opmask = OPCODE_CHECK_MASK_DISABLED; in sc_alloc()
752 ((u64)opmask << SC(CHECK_OPCODE_MASK_SHIFT)) | in sc_alloc()
Dsdma.c2014 u8 opval, opmask; in init_sdma_regs() local
2034 opmask = OPCODE_CHECK_MASK_DISABLED; in init_sdma_regs()
2037 (opmask << SEND_CTXT_CHECK_OPCODE_MASK_SHIFT) | in init_sdma_regs()