| /linux/drivers/mmc/core/ |
| H A D | host.c | 319 host->caps2 |= MMC_CAP2_CD_ACTIVE_HIGH; in mmc_of_parse() 339 host->caps2 |= MMC_CAP2_RO_ACTIVE_HIGH; in mmc_of_parse() 348 host->caps2 |= MMC_CAP2_NO_WRITE_PROTECT; in mmc_of_parse() 371 host->caps2 |= MMC_CAP2_FULL_PWR_CYCLE; in mmc_of_parse() 373 host->caps2 |= MMC_CAP2_FULL_PWR_CYCLE_IN_SUSPEND; in mmc_of_parse() 385 host->caps2 |= MMC_CAP2_HS200_1_8V_SDR; in mmc_of_parse() 387 host->caps2 |= MMC_CAP2_HS200_1_2V_SDR; in mmc_of_parse() 389 host->caps2 |= MMC_CAP2_HS400_1_8V | MMC_CAP2_HS200_1_8V_SDR; in mmc_of_parse() 391 host->caps2 |= MMC_CAP2_HS400_1_2V | MMC_CAP2_HS200_1_2V_SDR; in mmc_of_parse() 393 host->caps2 |= MMC_CAP2_HS400_ES; in mmc_of_parse() [all …]
|
| H A D | crypto.c | 18 if (host->caps2 & MMC_CAP2_CRYPTO) in mmc_crypto_set_initial_state() 24 if (host->caps2 & MMC_CAP2_CRYPTO) in mmc_crypto_setup_queue()
|
| H A D | slot-gpio.c | 202 if (host->caps2 & MMC_CAP2_CD_ACTIVE_HIGH) in mmc_gpiod_request_cd() 269 if (host->caps2 & MMC_CAP2_RO_ACTIVE_HIGH) in mmc_gpiod_request_ro()
|
| H A D | mmc.c | 207 u32 caps = host->caps, caps2 = host->caps2; in mmc_select_card_type() local 235 if (caps2 & MMC_CAP2_HS200_1_8V_SDR && in mmc_select_card_type() 241 if (caps2 & MMC_CAP2_HS200_1_2V_SDR && in mmc_select_card_type() 247 if (caps2 & MMC_CAP2_HS400_1_8V && in mmc_select_card_type() 253 if (caps2 & MMC_CAP2_HS400_1_2V && in mmc_select_card_type() 259 if ((caps2 & MMC_CAP2_HS400_ES) && in mmc_select_card_type() 1919 if (card->ext_csd.cmdq_support && host->caps2 & MMC_CAP2_CQE) { in mmc_init_card() 1953 if (host->caps2 & MMC_CAP2_AVOID_3_3V && in mmc_init_card() 2041 if (host->caps2 & MMC_CAP2_FULL_PWR_CYCLE) in mmc_host_can_poweroff_notify() 2044 if (host->caps2 & MMC_CAP2_FULL_PWR_CYCLE_IN_SUSPEND && in mmc_host_can_poweroff_notify()
|
| H A D | sdio_irq.c | 231 if (!(host->caps2 & MMC_CAP2_SDIO_IRQ_NOTHREAD)) { in sdio_card_irq_get() 259 if (!(host->caps2 & MMC_CAP2_SDIO_IRQ_NOTHREAD)) { in sdio_card_irq_put()
|
| H A D | sd_ops.c | 261 if (host->caps2 & MMC_CAP2_SD_EXP) { in mmc_send_if_cond_pcie() 264 if (host->caps2 & MMC_CAP2_SD_EXP_1_2V) in mmc_send_if_cond_pcie()
|
| H A D | sd_uhs2.c | 1211 if (!(host->caps2 & MMC_CAP2_SD_UHS2)) in mmc_attach_sd_uhs2()
|
| /linux/drivers/mtd/nand/raw/ |
| H A D | cadence-nand-controller.c | 512 struct cdns_nand_caps caps2; member 603 u8 data_dma_width = cdns_ctrl->caps2.data_dma_width; in cadence_nand_dma_buf_ok() 951 cdns_ctrl->caps2.max_banks = 1 << FIELD_GET(CTRL_FEATURES_N_BANKS, reg); in cadence_nand_get_caps() 954 cdns_ctrl->caps2.data_dma_width = 8; in cadence_nand_get_caps() 956 cdns_ctrl->caps2.data_dma_width = 4; in cadence_nand_get_caps() 959 cdns_ctrl->caps2.data_control_supp = true; in cadence_nand_get_caps() 963 cdns_ctrl->caps2.is_phy_type_dll = true; in cadence_nand_get_caps() 1238 if (cdns_ctrl->caps2.data_dma_width == 8) { in cadence_nand_hw_init() 1307 if (cdns_ctrl->caps2.data_control_supp) { in cadence_nand_prepare_data_size() 1378 if (cdns_ctrl->caps2 in cadence_nand_set_timings() [all...] |
| /linux/drivers/mmc/host/ |
| H A D | sdhci-cqhci.h | 17 if ((host->mmc->caps2 & MMC_CAP2_CQE) && (mask & SDHCI_RESET_ALL) && in sdhci_and_cqhci_reset()
|
| H A D | cqhci-crypto.c | 171 if (!(mmc->caps2 & MMC_CAP2_CRYPTO) || in cqhci_crypto_init() 239 mmc->caps2 &= ~MMC_CAP2_CRYPTO; in cqhci_crypto_init()
|
| H A D | sdhci-pci-o2micro.c | 651 host->mmc->caps2 & MMC_CAP2_SD_EXP_1_2V) { in sdhci_pci_o2_init_sd_express() 771 host->mmc->caps2 |= MMC_CAP2_NO_SD; in sdhci_pci_o2_probe_slot() 772 host->mmc->caps2 |= MMC_CAP2_NO_SDIO; in sdhci_pci_o2_probe_slot() 782 host->mmc->caps2 |= MMC_CAP2_NO_SDIO; in sdhci_pci_o2_probe_slot() 797 host->mmc->caps2 |= MMC_CAP2_NO_SDIO | MMC_CAP2_SD_EXP | MMC_CAP2_SD_EXP_1_2V; in sdhci_pci_o2_probe_slot()
|
| H A D | rtsx_pci_sdmmc.c | 960 mmc->caps2 |= MMC_CAP2_SD_EXP | MMC_CAP2_SD_EXP_1_2V; in sd_power_on() 969 mmc->caps2 &= ~(MMC_CAP2_SD_EXP | MMC_CAP2_SD_EXP_1_2V); in sd_power_on() 1408 mmc->caps2 |= MMC_CAP2_NO_MMC; in init_extra_caps() 1410 mmc->caps2 |= MMC_CAP2_SD_EXP | MMC_CAP2_SD_EXP_1_2V; in init_extra_caps() 1426 mmc->caps2 = MMC_CAP2_NO_PRESCAN_POWERUP | MMC_CAP2_FULL_PWR_CYCLE | in realtek_init_host() 1432 mmc->caps2 |= MMC_CAP2_NO_WRITE_PROTECT; in realtek_init_host()
|
| H A D | sdhci_am654.c | 731 host->mmc->caps2 |= MMC_CAP2_CQE; in sdhci_am654_cqe_add_host() 761 host->mmc->caps2 &= ~td[i].capability; in sdhci_am654_get_otap_delay() 838 host->mmc->caps2 & (MMC_CAP2_HS400 | MMC_CAP2_HS400_ES)) { in sdhci_am654_init() 840 host->mmc->caps2 &= ~(MMC_CAP2_HS400 | MMC_CAP2_HS400_ES); in sdhci_am654_init()
|
| H A D | sdhci-of-sparx5.c | 216 host->mmc->caps2 |= (MMC_CAP2_NO_SDIO|MMC_CAP2_NO_SD); in sdhci_sparx5_probe()
|
| H A D | mmc_spi.c | 1262 mmc->caps2 |= host->pdata->caps2; in mmc_spi_probe()
|
| H A D | litex_mmc.c | 554 mmc->caps2 |= MMC_CAP2_NO_WRITE_PROTECT | in litex_mmc_probe()
|
| H A D | sdhci-of-aspeed.c | 326 (host->mmc->caps2 & MMC_CAP2_CD_ACTIVE_HIGH)) in aspeed_sdhci_readl()
|
| H A D | sunxi-mmc.c | 1453 mmc->caps2 &= ~MMC_CAP2_HS200; in sunxi_mmc_probe() 1457 mmc->caps2 &= ~MMC_CAP2_HS400; in sunxi_mmc_probe()
|
| H A D | owl-mmc.c | 606 mmc->caps2 = (MMC_CAP2_BOOTPART_NOACC | MMC_CAP2_NO_SDIO); in owl_mmc_probe()
|
| H A D | usdhi6rol0.c | 1122 return !status ^ !(mmc->caps2 & MMC_CAP2_CD_ACTIVE_HIGH); in usdhi6_get_cd() 1138 return !status ^ !(mmc->caps2 & MMC_CAP2_RO_ACTIVE_HIGH); in usdhi6_get_ro()
|
| H A D | sh_mmcif.c | 1470 mmc->caps2 |= MMC_CAP2_NO_SD | MMC_CAP2_NO_SDIO; in sh_mmcif_probe()
|
| H A D | mmci.c | 2369 mmc->caps2 |= MMC_CAP2_SDIO_IRQ_NOTHREAD; in mmci_probe()
|
| /linux/include/linux/spi/ |
| H A D | mmc_spi.h | 27 unsigned long caps2; member
|
| /linux/include/linux/mmc/ |
| H A D | host.h | 429 u32 caps2; /* More host capabilities */ member
|