Lines Matching refs:s_rpmb

66 struct s_rpmb {  struct
91 static int mmc_rpmb_request(struct mmc *mmc, const struct s_rpmb *s, in mmc_rpmb_request() argument
128 static int mmc_rpmb_response(struct mmc *mmc, struct s_rpmb *s, in mmc_rpmb_response()
178 ALLOC_CACHE_ALIGN_BUFFER(struct s_rpmb, rpmb_frame, 1); in mmc_rpmb_status()
180 memset(rpmb_frame, 0, sizeof(struct s_rpmb)); in mmc_rpmb_status()
235 ALLOC_CACHE_ALIGN_BUFFER(struct s_rpmb, rpmb_frame, 1); in mmc_rpmb_get_counter()
238 memset(rpmb_frame, 0, sizeof(struct s_rpmb)); in mmc_rpmb_get_counter()
253 ALLOC_CACHE_ALIGN_BUFFER(struct s_rpmb, rpmb_frame, 1); in mmc_rpmb_set_key()
255 memset(rpmb_frame, 0, sizeof(struct s_rpmb)); in mmc_rpmb_set_key()
268 ALLOC_CACHE_ALIGN_BUFFER(struct s_rpmb, rpmb_frame, 1); in mmc_rpmb_read()
273 memset(rpmb_frame, 0, sizeof(struct s_rpmb)); in mmc_rpmb_read()
301 ALLOC_CACHE_ALIGN_BUFFER(struct s_rpmb, rpmb_frame, 1); in mmc_rpmb_write()
312 memset(rpmb_frame, 0, sizeof(struct s_rpmb)); in mmc_rpmb_write()
331 static int send_write_mult_block(struct mmc *mmc, const struct s_rpmb *frm, in send_write_mult_block()
348 static int send_read_mult_block(struct mmc *mmc, struct s_rpmb *frm, in send_read_mult_block()
365 static int rpmb_route_write_req(struct mmc *mmc, struct s_rpmb *req, in rpmb_route_write_req()
366 unsigned short req_cnt, struct s_rpmb *rsp, in rpmb_route_write_req()
402 static int rpmb_route_read_req(struct mmc *mmc, struct s_rpmb *req, in rpmb_route_read_req()
403 unsigned short req_cnt, struct s_rpmb *rsp, in rpmb_route_read_req()
430 static int rpmb_route_frames(struct mmc *mmc, struct s_rpmb *req, in rpmb_route_frames()
431 unsigned short req_cnt, struct s_rpmb *rsp, in rpmb_route_frames()
484 if (reqlen % sizeof(struct s_rpmb) || rsplen % sizeof(struct s_rpmb)) in mmc_rpmb_route_frames()
487 return rpmb_route_frames(mmc, req, reqlen / sizeof(struct s_rpmb), in mmc_rpmb_route_frames()
488 rsp, rsplen / sizeof(struct s_rpmb)); in mmc_rpmb_route_frames()