Lines Matching refs:req_cnt
360 unsigned short req_cnt, struct s_rpmb *rsp, in rpmb_route_write_req() argument
368 ret = mmc_set_blockcount(mmc, req_cnt, true); in rpmb_route_write_req()
372 ret = send_write_mult_block(mmc, req, req_cnt); in rpmb_route_write_req()
397 unsigned short req_cnt, struct s_rpmb *rsp, in rpmb_route_read_req() argument
425 unsigned short req_cnt, struct s_rpmb *rsp, in rpmb_route_frames() argument
434 for (n = 1; n < req_cnt; n++) in rpmb_route_frames()
440 if (req_cnt != 1 || rsp_cnt != 1) in rpmb_route_frames()
442 return rpmb_route_write_req(mmc, req, req_cnt, rsp, rsp_cnt); in rpmb_route_frames()
445 if (!req_cnt || rsp_cnt != 1) in rpmb_route_frames()
447 return rpmb_route_write_req(mmc, req, req_cnt, rsp, rsp_cnt); in rpmb_route_frames()
450 if (req_cnt != 1 || rsp_cnt != 1) in rpmb_route_frames()
452 return rpmb_route_read_req(mmc, req, req_cnt, rsp, rsp_cnt); in rpmb_route_frames()
455 if (req_cnt != 1 || !req_cnt) in rpmb_route_frames()
457 return rpmb_route_read_req(mmc, req, req_cnt, rsp, rsp_cnt); in rpmb_route_frames()