Home
last modified time | relevance | path

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

/linux/drivers/dma/idxd/
H A Dsysfs.c1231 static int idxd_verify_supported_opcap(struct idxd_device *idxd, unsigned long *opmask) in idxd_verify_supported_opcap() argument
1241 for_each_set_bit(bit, opmask, IDXD_MAX_OPCAP_BITS) { in idxd_verify_supported_opcap()
1254 unsigned long *opmask; in wq_op_config_store() local
1260 opmask = bitmap_zalloc(IDXD_MAX_OPCAP_BITS, GFP_KERNEL); in wq_op_config_store()
1261 if (!opmask) in wq_op_config_store()
1264 rc = bitmap_parse(buf, count, opmask, IDXD_MAX_OPCAP_BITS); in wq_op_config_store()
1268 rc = idxd_verify_supported_opcap(idxd, opmask); in wq_op_config_store()
1272 bitmap_copy(wq->opcap_bmap, opmask, IDXD_MAX_OPCAP_BITS); in wq_op_config_store()
1274 bitmap_free(opmask); in wq_op_config_store()
1278 bitmap_free(opmask); in wq_op_config_store()
[all...]
/linux/drivers/infiniband/hw/hfi1/
H A 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()
H A 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()