Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/dma/idxd/
Dsysfs.c1173 static int idxd_verify_supported_opcap(struct idxd_device *idxd, unsigned long *opmask) in idxd_verify_supported_opcap() argument
1183 for_each_set_bit(bit, opmask, IDXD_MAX_OPCAP_BITS) { in idxd_verify_supported_opcap()
1196 unsigned long *opmask; in wq_op_config_store() local
1202 opmask = bitmap_zalloc(IDXD_MAX_OPCAP_BITS, GFP_KERNEL); in wq_op_config_store()
1203 if (!opmask) in wq_op_config_store()
1206 rc = bitmap_parse(buf, count, opmask, IDXD_MAX_OPCAP_BITS); in wq_op_config_store()
1210 rc = idxd_verify_supported_opcap(idxd, opmask); in wq_op_config_store()
1214 bitmap_copy(wq->opcap_bmap, opmask, IDXD_MAX_OPCAP_BITS); in wq_op_config_store()
1216 bitmap_free(opmask); in wq_op_config_store()
1220 bitmap_free(opmask); in wq_op_config_store()
/linux-6.1.9/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.c2016 u8 opval, opmask; in init_sdma_regs() local
2036 opmask = OPCODE_CHECK_MASK_DISABLED; in init_sdma_regs()
2039 (opmask << SEND_CTXT_CHECK_OPCODE_MASK_SHIFT) | in init_sdma_regs()