/linux/drivers/mmc/core/ |
A D | host.c | 328 host->caps2 |= MMC_CAP2_CD_ACTIVE_HIGH; in mmc_of_parse() 348 host->caps2 |= MMC_CAP2_RO_ACTIVE_HIGH; in mmc_of_parse() 357 host->caps2 |= MMC_CAP2_NO_WRITE_PROTECT; in mmc_of_parse() 380 host->caps2 |= MMC_CAP2_FULL_PWR_CYCLE; in mmc_of_parse() 382 host->caps2 |= MMC_CAP2_FULL_PWR_CYCLE_IN_SUSPEND; in mmc_of_parse() 395 host->caps2 |= MMC_CAP2_HS200_1_8V_SDR; in mmc_of_parse() 397 host->caps2 |= MMC_CAP2_HS200_1_2V_SDR; in mmc_of_parse() 403 host->caps2 |= MMC_CAP2_HS400_ES; in mmc_of_parse() 405 host->caps2 |= MMC_CAP2_NO_SDIO; in mmc_of_parse() 407 host->caps2 |= MMC_CAP2_NO_SD; in mmc_of_parse() [all …]
|
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()
|
A D | mmc.c | 190 u32 caps = host->caps, caps2 = host->caps2; in mmc_select_card_type() local 218 if (caps2 & MMC_CAP2_HS200_1_8V_SDR && in mmc_select_card_type() 224 if (caps2 & MMC_CAP2_HS200_1_2V_SDR && in mmc_select_card_type() 230 if (caps2 & MMC_CAP2_HS400_1_8V && in mmc_select_card_type() 236 if (caps2 & MMC_CAP2_HS400_1_2V && in mmc_select_card_type() 242 if ((caps2 & MMC_CAP2_HS400_ES) && in mmc_select_card_type() 1860 if (card->ext_csd.cmdq_support && host->caps2 & MMC_CAP2_CQE) { in mmc_init_card() 1894 if (host->caps2 & MMC_CAP2_AVOID_3_3V && in mmc_init_card() 2085 ((host->caps2 & MMC_CAP2_FULL_PWR_CYCLE) || !is_suspend || in _mmc_suspend() 2086 (host->caps2 & MMC_CAP2_FULL_PWR_CYCLE_IN_SUSPEND))) in _mmc_suspend() [all …]
|
A D | slot-gpio.c | 196 if (host->caps2 & MMC_CAP2_CD_ACTIVE_HIGH) in mmc_gpiod_request_cd() 243 if (host->caps2 & MMC_CAP2_RO_ACTIVE_HIGH) in mmc_gpiod_request_ro()
|
A D | core.c | 995 if ((host->caps2 & MMC_CAP2_HS400_ES) && in mmc_set_initial_state() 1129 if (host->caps2 & MMC_CAP2_FULL_PWR_CYCLE) { in mmc_select_voltage() 2056 if (!(host->caps2 & MMC_CAP2_NO_SDIO)) in mmc_rescan_try_freq() 2061 if (!(host->caps2 & MMC_CAP2_NO_SD)) { in mmc_rescan_try_freq() 2069 if (!(host->caps2 & MMC_CAP2_NO_SDIO)) in mmc_rescan_try_freq() 2073 if (!(host->caps2 & MMC_CAP2_NO_SD)) in mmc_rescan_try_freq() 2077 if (!(host->caps2 & MMC_CAP2_NO_MMC)) in mmc_rescan_try_freq() 2157 if ((!(card->host->caps2 & MMC_CAP2_ALT_GPT_TEGRA))) in mmc_card_alternative_gpt_sector() 2257 if (!(host->caps2 & MMC_CAP2_NO_PRESCAN_POWERUP)) { in mmc_start_host()
|
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()
|
A D | sd_ops.c | 208 if (host->caps2 & MMC_CAP2_SD_EXP) { in mmc_send_if_cond_pcie() 211 if (host->caps2 & MMC_CAP2_SD_EXP_1_2V) in mmc_send_if_cond_pcie()
|
A D | host.h | 54 return !(host->caps2 & MMC_CAP2_BOOTPART_NOACC); in mmc_boot_partition_access()
|
A D | queue.c | 40 return host->caps2 & MMC_CAP2_CQE_DCMD; in mmc_cqe_can_dcmd() 396 return host->caps2 & MMC_CAP2_MERGE_CAPABLE; in mmc_merge_capable()
|
A D | debugfs.c | 235 debugfs_create_x32("caps2", S_IRUSR, root, &host->caps2); in mmc_add_host_debugfs()
|
/linux/drivers/mmc/host/ |
A D | sdhci-acpi.c | 53 unsigned int caps2; member 62 unsigned int caps2; member 683 host->mmc->caps2 = MMC_CAP2_HS400_1_8V; in sdhci_acpi_emmc_amd_probe_slot() 923 host->mmc->caps2 |= c->slot->chip->caps2; in sdhci_acpi_probe() 929 host->mmc->caps2 |= c->slot->caps2; in sdhci_acpi_probe() 933 host->mmc->caps2 |= MMC_CAP2_NO_PRESCAN_POWERUP; in sdhci_acpi_probe() 950 host->mmc->caps2 |= MMC_CAP2_NO_WRITE_PROTECT; in sdhci_acpi_probe()
|
A D | cqhci-crypto.c | 179 if (!(mmc->caps2 & MMC_CAP2_CRYPTO) || in cqhci_crypto_init() 241 mmc->caps2 &= ~MMC_CAP2_CRYPTO; in cqhci_crypto_init()
|
A D | sdhci-pci-gli.c | 598 slot->host->mmc->caps2 |= MMC_CAP2_NO_SDIO; in gli_probe_slot_gl9750() 610 slot->host->mmc->caps2 |= MMC_CAP2_NO_SDIO; in gli_probe_slot_gl9755() 824 if ((host->mmc->caps2 & MMC_CAP2_CQE) && (mask & SDHCI_RESET_ALL) && in sdhci_gl9763e_reset() 874 host->mmc->caps2 |= MMC_CAP2_HS200_1_8V_SDR | in gli_probe_slot_gl9763e() 883 host->mmc->caps2 |= MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD; in gli_probe_slot_gl9763e()
|
A D | sdhci-brcmstb.c | 183 host->mmc->caps2 |= MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD; in sdhci_brcmstb_add_host() 281 (host->mmc->caps2 & MMC_CAP2_HS400_ES)) in sdhci_brcmstb_probe()
|
A D | sdhci-esdhc-imx.c | 1667 host->mmc->caps2 |= MMC_CAP2_HS400; in sdhci_esdhc_imx_probe() 1673 host->mmc->caps2 |= MMC_CAP2_HS400_ES; in sdhci_esdhc_imx_probe() 1679 host->mmc->caps2 |= MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD; in sdhci_esdhc_imx_probe() 1767 if (host->mmc->caps2 & MMC_CAP2_CQE) { in sdhci_esdhc_suspend() 1811 if (host->mmc->caps2 & MMC_CAP2_CQE) in sdhci_esdhc_resume() 1829 if (host->mmc->caps2 & MMC_CAP2_CQE) { in sdhci_esdhc_runtime_suspend() 1885 if (host->mmc->caps2 & MMC_CAP2_CQE) in sdhci_esdhc_runtime_resume()
|
A D | sdhci-pci-core.c | 239 if ((host->mmc->caps2 & MMC_CAP2_CQE) && (mask & SDHCI_RESET_ALL) && in sdhci_cqhci_reset() 351 slot->host->mmc->caps2 |= MMC_CAP2_BOOTPART_NOACC; in mfd_emmc_probe_slot() 901 slot->host->mmc->caps2 |= MMC_CAP2_CQE; in glk_emmc_probe_slot() 904 slot->host->mmc->caps2 |= MMC_CAP2_HS400_ES; in glk_emmc_probe_slot() 907 slot->host->mmc->caps2 |= MMC_CAP2_CQE_DCMD; in glk_emmc_probe_slot() 1104 slot->host->mmc->caps2 |= MMC_CAP2_AVOID_3_3V; in byt_sd_probe_slot() 1586 slot->host->mmc->caps2 |= MMC_CAP2_HS200; in rtsx_probe_slot() 2075 host->mmc->caps2 |= MMC_CAP2_NO_PRESCAN_POWERUP; in sdhci_pci_probe_slot()
|
A D | sdhci-pci-o2micro.c | 600 host->mmc->caps2 |= MMC_CAP2_NO_SD; in sdhci_pci_o2_probe_slot() 601 host->mmc->caps2 |= MMC_CAP2_NO_SDIO; in sdhci_pci_o2_probe_slot() 611 host->mmc->caps2 |= MMC_CAP2_NO_SDIO; in sdhci_pci_o2_probe_slot()
|
A D | cqhci-core.c | 79 if (tag == DCMD_SLOT && (cq_host->mmc->caps2 & MMC_CAP2_CQE_DCMD)) { in setup_trans_desc() 261 if (mmc->caps2 & MMC_CAP2_CQE_DCMD) in __cqhci_enable() 267 if (mmc->caps2 & MMC_CAP2_CRYPTO) in __cqhci_enable() 1182 if (mmc->caps2 & MMC_CAP2_CQE_DCMD) in cqhci_init()
|
A D | rtsx_pci_sdmmc.c | 954 mmc->caps2 |= MMC_CAP2_SD_EXP | MMC_CAP2_SD_EXP_1_2V; in sd_power_on() 963 mmc->caps2 &= ~(MMC_CAP2_SD_EXP | MMC_CAP2_SD_EXP_1_2V); in sd_power_on() 1422 mmc->caps2 |= MMC_CAP2_NO_MMC; in init_extra_caps() 1424 mmc->caps2 |= MMC_CAP2_SD_EXP | MMC_CAP2_SD_EXP_1_2V; in init_extra_caps() 1440 mmc->caps2 = MMC_CAP2_NO_PRESCAN_POWERUP | MMC_CAP2_FULL_PWR_CYCLE | in realtek_init_host()
|
A D | sdhci-omap.c | 1119 u32 *caps2 = &mmc->caps2; in sdhci_omap_config_iodelay_pinctrl_state() local 1193 state = sdhci_omap_iodelay_pinctrl_state(omap_host, "hs200_1_8v", caps2, in sdhci_omap_config_iodelay_pinctrl_state() 1280 mmc->caps2 |= MMC_CAP2_NO_WRITE_PROTECT; in sdhci_omap_probe()
|
A D | sdhci.c | 3802 if ((mmc->caps2 & MMC_CAP2_HS400_ES) && in sdhci_runtime_resume_host() 4397 mmc->caps2 |= MMC_CAP2_SDIO_IRQ_NOTHREAD; in sdhci_setup_host() 4474 mmc->caps2 &= ~(MMC_CAP2_HSX00_1_8V | MMC_CAP2_HS400_ES); in sdhci_setup_host() 4490 mmc->caps2 |= MMC_CAP2_HS200; in sdhci_setup_host() 4497 mmc->caps2 |= MMC_CAP2_HS400; in sdhci_setup_host() 4499 if ((mmc->caps2 & MMC_CAP2_HSX00_1_2V) && in sdhci_setup_host() 4503 mmc->caps2 &= ~MMC_CAP2_HSX00_1_2V; in sdhci_setup_host() 4614 (mmc->caps2 & (MMC_CAP2_HS200_1_8V_SDR | MMC_CAP2_HS400_1_8V))) in sdhci_setup_host() 4617 if (mmc->caps2 & MMC_CAP2_HSX00_1_2V) in sdhci_setup_host() 4729 if ((mmc->caps2 & MMC_CAP2_CQE) && in __sdhci_add_host() [all …]
|
/linux/drivers/mtd/nand/raw/ |
A D | cadence-nand-controller.c | 459 struct cdns_nand_caps caps2; member 904 cdns_ctrl->caps2.data_dma_width = 8; in cadence_nand_get_caps() 906 cdns_ctrl->caps2.data_dma_width = 4; in cadence_nand_get_caps() 913 cdns_ctrl->caps2.is_phy_type_dll = true; in cadence_nand_get_caps() 1320 if (cdns_ctrl->caps2.is_phy_type_dll) in cadence_nand_set_timings() 1325 if (cdns_ctrl->caps2.is_phy_type_dll) { in cadence_nand_set_timings() 2338 if (cdns_ctrl->caps2.is_phy_type_dll) in cadence_nand_setup_interface() 2525 if (cdns_ctrl->caps2.is_phy_type_dll) { in cadence_nand_setup_interface() 2573 if (cdns_ctrl->caps2.is_phy_type_dll) in cadence_nand_setup_interface() 2578 if (cdns_ctrl->caps2.is_phy_type_dll) { in cadence_nand_setup_interface() [all …]
|
/linux/include/linux/spi/ |
A D | mmc_spi.h | 27 unsigned long caps2; member
|
/linux/drivers/staging/greybus/ |
A D | sdio.c | 62 u32 caps2 = 0; in _gb_sdio_set_host_caps() local 81 caps2 = ((r & GB_SDIO_CAP_HS200_1_2V) ? MMC_CAP2_HS200_1_2V_SDR : 0) | in _gb_sdio_set_host_caps() 87 host->mmc->caps2 = caps2 | MMC_CAP2_CORE_RUNTIME_PM; in _gb_sdio_set_host_caps()
|
/linux/arch/arm/mach-ep93xx/ |
A D | vision_ep9307.c | 202 .caps2 = MMC_CAP2_RO_ACTIVE_HIGH,
|