Lines Matching refs:io_cmd
63 struct mmc_command io_cmd; in rsi_cmd52writebyte() local
66 memset(&io_cmd, 0, sizeof(io_cmd)); in rsi_cmd52writebyte()
68 io_cmd.opcode = SD_IO_RW_DIRECT; in rsi_cmd52writebyte()
69 io_cmd.arg = arg; in rsi_cmd52writebyte()
70 io_cmd.flags = MMC_RSP_R5 | MMC_CMD_AC; in rsi_cmd52writebyte()
72 return mmc_wait_for_cmd(card->host, &io_cmd, 0); in rsi_cmd52writebyte()
87 struct mmc_command io_cmd; in rsi_cmd52readbyte() local
91 memset(&io_cmd, 0, sizeof(io_cmd)); in rsi_cmd52readbyte()
93 io_cmd.opcode = SD_IO_RW_DIRECT; in rsi_cmd52readbyte()
94 io_cmd.arg = arg; in rsi_cmd52readbyte()
95 io_cmd.flags = MMC_RSP_R5 | MMC_CMD_AC; in rsi_cmd52readbyte()
97 err = mmc_wait_for_cmd(card->host, &io_cmd, 0); in rsi_cmd52readbyte()
99 *byte = io_cmd.resp[0] & 0xFF; in rsi_cmd52readbyte()