Lines Matching refs:cmd
79 struct mmc_cmd cmd = {0}; in mmc_set_blockcount() local
81 cmd.cmdidx = MMC_CMD_SET_BLOCK_COUNT; in mmc_set_blockcount()
82 cmd.cmdarg = blockcount & 0x0000FFFF; in mmc_set_blockcount()
84 cmd.cmdarg |= 1 << 31; in mmc_set_blockcount()
85 cmd.resp_type = MMC_RSP_R1; in mmc_set_blockcount()
87 return mmc_send_cmd(mmc, &cmd, NULL); in mmc_set_blockcount()
92 struct mmc_cmd cmd = {0}; in mmc_rpmb_request() local
104 cmd.cmdidx = MMC_CMD_WRITE_MULTIPLE_BLOCK; in mmc_rpmb_request()
105 cmd.cmdarg = 0; in mmc_rpmb_request()
106 cmd.resp_type = MMC_RSP_R1b; in mmc_rpmb_request()
113 ret = mmc_send_cmd(mmc, &cmd, &data); in mmc_rpmb_request()
125 struct mmc_cmd cmd = {0}; in mmc_rpmb_response() local
136 cmd.cmdidx = MMC_CMD_READ_MULTIPLE_BLOCK; in mmc_rpmb_response()
137 cmd.cmdarg = 0; in mmc_rpmb_response()
138 cmd.resp_type = MMC_RSP_R1; in mmc_rpmb_response()
145 ret = mmc_send_cmd(mmc, &cmd, &data); in mmc_rpmb_response()
328 struct mmc_cmd cmd = { in send_write_mult_block() local
339 return mmc_send_cmd(mmc, &cmd, &data); in send_write_mult_block()
345 struct mmc_cmd cmd = { in send_read_mult_block() local
356 return mmc_send_cmd(mmc, &cmd, &data); in send_read_mult_block()