Searched refs:mrw (Results 1 – 3 of 3) sorted by relevance
557 int bnxt_qplib_free_mrw(struct bnxt_qplib_res *res, struct bnxt_qplib_mrw *mrw) in bnxt_qplib_free_mrw() argument565 if (mrw->lkey == 0xFFFFFFFF) { in bnxt_qplib_free_mrw()572 req.mrw_flags = mrw->type; in bnxt_qplib_free_mrw()574 if ((mrw->type == CMDQ_ALLOCATE_MRW_MRW_FLAGS_MW_TYPE1) || in bnxt_qplib_free_mrw()575 (mrw->type == CMDQ_ALLOCATE_MRW_MRW_FLAGS_MW_TYPE2A) || in bnxt_qplib_free_mrw()576 (mrw->type == CMDQ_ALLOCATE_MRW_MRW_FLAGS_MW_TYPE2B)) in bnxt_qplib_free_mrw()577 req.key = cpu_to_le32(mrw->rkey); in bnxt_qplib_free_mrw()579 req.key = cpu_to_le32(mrw->lkey); in bnxt_qplib_free_mrw()587 if (mrw->hwq.max_elements) in bnxt_qplib_free_mrw()588 bnxt_qplib_free_hwq(res->pdev, &mrw->hwq); in bnxt_qplib_free_mrw()[all …]
254 struct bnxt_qplib_mrw *mrw);255 int bnxt_qplib_dereg_mrw(struct bnxt_qplib_res *res, struct bnxt_qplib_mrw *mrw,
899 int mrw, mrw_write, ram_write; in cdrom_open_write() local902 mrw = 0; in cdrom_open_write()904 mrw = 1; in cdrom_open_write()911 if (mrw) in cdrom_open_write()