Lines Matching refs:io_cmd
104 struct mmc_command io_cmd; in ath10k_sdio_func0_cmd52_wr_byte() local
106 memset(&io_cmd, 0, sizeof(io_cmd)); in ath10k_sdio_func0_cmd52_wr_byte()
107 ath10k_sdio_set_cmd52_arg(&io_cmd.arg, 1, 0, address, byte); in ath10k_sdio_func0_cmd52_wr_byte()
108 io_cmd.opcode = SD_IO_RW_DIRECT; in ath10k_sdio_func0_cmd52_wr_byte()
109 io_cmd.flags = MMC_RSP_R5 | MMC_CMD_AC; in ath10k_sdio_func0_cmd52_wr_byte()
111 return mmc_wait_for_cmd(card->host, &io_cmd, 0); in ath10k_sdio_func0_cmd52_wr_byte()
118 struct mmc_command io_cmd; in ath10k_sdio_func0_cmd52_rd_byte() local
121 memset(&io_cmd, 0, sizeof(io_cmd)); in ath10k_sdio_func0_cmd52_rd_byte()
122 ath10k_sdio_set_cmd52_arg(&io_cmd.arg, 0, 0, address, 0); in ath10k_sdio_func0_cmd52_rd_byte()
123 io_cmd.opcode = SD_IO_RW_DIRECT; in ath10k_sdio_func0_cmd52_rd_byte()
124 io_cmd.flags = MMC_RSP_R5 | MMC_CMD_AC; in ath10k_sdio_func0_cmd52_rd_byte()
126 ret = mmc_wait_for_cmd(card->host, &io_cmd, 0); in ath10k_sdio_func0_cmd52_rd_byte()
128 *byte = io_cmd.resp[0]; in ath10k_sdio_func0_cmd52_rd_byte()