Home
last modified time | relevance | path

Searched refs:mmc_cmd (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dbcmsdh.c369 struct mmc_command mmc_cmd; in brcmf_sdiod_sglist_rw() local
412 memset(&mmc_cmd, 0, sizeof(struct mmc_command)); in brcmf_sdiod_sglist_rw()
418 mmc_cmd.opcode = SD_IO_RW_EXTENDED; in brcmf_sdiod_sglist_rw()
419 mmc_cmd.arg = write ? 1<<31 : 0; /* write flag */ in brcmf_sdiod_sglist_rw()
420 mmc_cmd.arg |= (func->num & 0x7) << 28; /* SDIO func num */ in brcmf_sdiod_sglist_rw()
421 mmc_cmd.arg |= 1 << 27; /* block mode */ in brcmf_sdiod_sglist_rw()
423 mmc_cmd.arg |= (func->num == 1) ? 1 << 26 : 0; in brcmf_sdiod_sglist_rw()
424 mmc_cmd.flags = MMC_RSP_SPI_R5 | MMC_RSP_R5 | MMC_CMD_ADTC; in brcmf_sdiod_sglist_rw()
425 mmc_req.cmd = &mmc_cmd; in brcmf_sdiod_sglist_rw()
466 mmc_cmd.arg |= (addr & 0x1FFFF) << 9; /* address */ in brcmf_sdiod_sglist_rw()
[all …]