Home
last modified time | relevance | path

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

/drivers/infiniband/hw/bnxt_re/
Dqplib_sp.c554 int bnxt_qplib_free_mrw(struct bnxt_qplib_res *res, struct bnxt_qplib_mrw *mrw) in bnxt_qplib_free_mrw() argument
562 if (mrw->lkey == 0xFFFFFFFF) { in bnxt_qplib_free_mrw()
569 req.mrw_flags = mrw->type; in bnxt_qplib_free_mrw()
571 if ((mrw->type == CMDQ_ALLOCATE_MRW_MRW_FLAGS_MW_TYPE1) || in bnxt_qplib_free_mrw()
572 (mrw->type == CMDQ_ALLOCATE_MRW_MRW_FLAGS_MW_TYPE2A) || in bnxt_qplib_free_mrw()
573 (mrw->type == CMDQ_ALLOCATE_MRW_MRW_FLAGS_MW_TYPE2B)) in bnxt_qplib_free_mrw()
574 req.key = cpu_to_le32(mrw->rkey); in bnxt_qplib_free_mrw()
576 req.key = cpu_to_le32(mrw->lkey); in bnxt_qplib_free_mrw()
584 if (mrw->hwq.max_elements) in bnxt_qplib_free_mrw()
585 bnxt_qplib_free_hwq(res, &mrw->hwq); in bnxt_qplib_free_mrw()
[all …]
Dqplib_sp.h253 struct bnxt_qplib_mrw *mrw);
254 int bnxt_qplib_dereg_mrw(struct bnxt_qplib_res *res, struct bnxt_qplib_mrw *mrw,
/drivers/cdrom/
Dcdrom.c902 int mrw, mrw_write, ram_write; in cdrom_open_write() local
905 mrw = 0; in cdrom_open_write()
907 mrw = 1; in cdrom_open_write()
914 if (mrw) in cdrom_open_write()