Searched refs:mmc_cmd (Results 1 – 1 of 1) sorted by relevance
389 struct mmc_command mmc_cmd; in brcmf_sdiod_sglist_rw() local429 memset(&mmc_cmd, 0, sizeof(struct mmc_command)); in brcmf_sdiod_sglist_rw()435 mmc_cmd.opcode = SD_IO_RW_EXTENDED; in brcmf_sdiod_sglist_rw()436 mmc_cmd.arg = write ? 1<<31 : 0; /* write flag */ in brcmf_sdiod_sglist_rw()437 mmc_cmd.arg |= (func->num & 0x7) << 28; /* SDIO func num */ in brcmf_sdiod_sglist_rw()438 mmc_cmd.arg |= 1 << 27; /* block mode */ in brcmf_sdiod_sglist_rw()440 mmc_cmd.arg |= (func->num == 1) ? 1 << 26 : 0; in brcmf_sdiod_sglist_rw()441 mmc_cmd.flags = MMC_RSP_SPI_R5 | MMC_RSP_R5 | MMC_CMD_ADTC; in brcmf_sdiod_sglist_rw()442 mmc_req.cmd = &mmc_cmd; in brcmf_sdiod_sglist_rw()465 ret = mmc_submit_one(&mmc_dat, &mmc_req, &mmc_cmd, in brcmf_sdiod_sglist_rw()[all …]