Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/infiniband/hw/bnxt_re/
Dqplib_sp.c487 int bnxt_qplib_free_mrw(struct bnxt_qplib_res *res, struct bnxt_qplib_mrw *mrw) in bnxt_qplib_free_mrw() argument
495 if (mrw->lkey == 0xFFFFFFFF) { in bnxt_qplib_free_mrw()
504 req.mrw_flags = mrw->type; in bnxt_qplib_free_mrw()
506 if ((mrw->type == CMDQ_ALLOCATE_MRW_MRW_FLAGS_MW_TYPE1) || in bnxt_qplib_free_mrw()
507 (mrw->type == CMDQ_ALLOCATE_MRW_MRW_FLAGS_MW_TYPE2A) || in bnxt_qplib_free_mrw()
508 (mrw->type == CMDQ_ALLOCATE_MRW_MRW_FLAGS_MW_TYPE2B)) in bnxt_qplib_free_mrw()
509 req.key = cpu_to_le32(mrw->rkey); in bnxt_qplib_free_mrw()
511 req.key = cpu_to_le32(mrw->lkey); in bnxt_qplib_free_mrw()
520 if (mrw->hwq.max_elements) in bnxt_qplib_free_mrw()
521 bnxt_qplib_free_hwq(res, &mrw->hwq); in bnxt_qplib_free_mrw()
[all …]
Dqplib_sp.h334 struct bnxt_qplib_mrw *mrw);
335 int bnxt_qplib_dereg_mrw(struct bnxt_qplib_res *res, struct bnxt_qplib_mrw *mrw,
/Linux-v6.6/drivers/cdrom/
Dcdrom.c903 int mrw, mrw_write, ram_write; in cdrom_open_write() local
906 mrw = 0; in cdrom_open_write()
908 mrw = 1; in cdrom_open_write()
915 if (mrw) in cdrom_open_write()