Searched refs:mrw (Results 1 – 3 of 3) sorted by relevance
473 int bnxt_qplib_free_mrw(struct bnxt_qplib_res *res, struct bnxt_qplib_mrw *mrw) in bnxt_qplib_free_mrw() argument481 if (mrw->lkey == 0xFFFFFFFF) { in bnxt_qplib_free_mrw()490 req.mrw_flags = mrw->type; in bnxt_qplib_free_mrw()492 if ((mrw->type == CMDQ_ALLOCATE_MRW_MRW_FLAGS_MW_TYPE1) || in bnxt_qplib_free_mrw()493 (mrw->type == CMDQ_ALLOCATE_MRW_MRW_FLAGS_MW_TYPE2A) || in bnxt_qplib_free_mrw()494 (mrw->type == CMDQ_ALLOCATE_MRW_MRW_FLAGS_MW_TYPE2B)) in bnxt_qplib_free_mrw()495 req.key = cpu_to_le32(mrw->rkey); in bnxt_qplib_free_mrw()497 req.key = cpu_to_le32(mrw->lkey); in bnxt_qplib_free_mrw()506 if (mrw->hwq.max_elements) in bnxt_qplib_free_mrw()507 bnxt_qplib_free_hwq(res, &mrw->hwq); in bnxt_qplib_free_mrw()[all …]
340 struct bnxt_qplib_mrw *mrw);341 int bnxt_qplib_dereg_mrw(struct bnxt_qplib_res *res, struct bnxt_qplib_mrw *mrw,
897 int mrw, mrw_write, ram_write; in cdrom_open_write() local900 mrw = 0; in cdrom_open_write()902 mrw = 1; in cdrom_open_write()909 if (mrw) in cdrom_open_write()