Searched refs:mrw (Results 1 – 3 of 3) sorted by relevance
469 int bnxt_qplib_free_mrw(struct bnxt_qplib_res *res, struct bnxt_qplib_mrw *mrw) in bnxt_qplib_free_mrw() argument477 if (mrw->lkey == 0xFFFFFFFF) { in bnxt_qplib_free_mrw()484 req.mrw_flags = mrw->type; in bnxt_qplib_free_mrw()486 if ((mrw->type == CMDQ_ALLOCATE_MRW_MRW_FLAGS_MW_TYPE1) || in bnxt_qplib_free_mrw()487 (mrw->type == CMDQ_ALLOCATE_MRW_MRW_FLAGS_MW_TYPE2A) || in bnxt_qplib_free_mrw()488 (mrw->type == CMDQ_ALLOCATE_MRW_MRW_FLAGS_MW_TYPE2B)) in bnxt_qplib_free_mrw()489 req.key = cpu_to_le32(mrw->rkey); in bnxt_qplib_free_mrw()491 req.key = cpu_to_le32(mrw->lkey); in bnxt_qplib_free_mrw()499 if (mrw->hwq.max_elements) in bnxt_qplib_free_mrw()500 bnxt_qplib_free_hwq(res, &mrw->hwq); in bnxt_qplib_free_mrw()[all …]
268 struct bnxt_qplib_mrw *mrw);269 int bnxt_qplib_dereg_mrw(struct bnxt_qplib_res *res, struct bnxt_qplib_mrw *mrw,
902 int mrw, mrw_write, ram_write; in cdrom_open_write() local905 mrw = 0; in cdrom_open_write()907 mrw = 1; in cdrom_open_write()914 if (mrw) in cdrom_open_write()