Searched refs:mrw (Results 1 – 3 of 3) sorted by relevance
501 int bnxt_qplib_free_mrw(struct bnxt_qplib_res *res, struct bnxt_qplib_mrw *mrw) in bnxt_qplib_free_mrw() argument509 if (mrw->lkey == 0xFFFFFFFF) { in bnxt_qplib_free_mrw()518 req.mrw_flags = mrw->type; in bnxt_qplib_free_mrw()520 if ((mrw->type == CMDQ_ALLOCATE_MRW_MRW_FLAGS_MW_TYPE1) || in bnxt_qplib_free_mrw()521 (mrw->type == CMDQ_ALLOCATE_MRW_MRW_FLAGS_MW_TYPE2A) || in bnxt_qplib_free_mrw()522 (mrw->type == CMDQ_ALLOCATE_MRW_MRW_FLAGS_MW_TYPE2B)) in bnxt_qplib_free_mrw()523 req.key = cpu_to_le32(mrw->rkey); in bnxt_qplib_free_mrw()525 req.key = cpu_to_le32(mrw->lkey); in bnxt_qplib_free_mrw()534 if (mrw->hwq.max_elements) in bnxt_qplib_free_mrw()535 bnxt_qplib_free_hwq(res, &mrw->hwq); in bnxt_qplib_free_mrw()[all …]
338 struct bnxt_qplib_mrw *mrw);339 int bnxt_qplib_dereg_mrw(struct bnxt_qplib_res *res, struct bnxt_qplib_mrw *mrw,
903 int mrw, mrw_write, ram_write; in cdrom_open_write() local906 mrw = 0; in cdrom_open_write()908 mrw = 1; in cdrom_open_write()915 if (mrw) in cdrom_open_write()