/linux/drivers/mmc/core/ |
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 | mmc.c | 196 u32 caps = host->caps, caps2 = host->caps2; in mmc_select_card_type() local 224 if (caps2 & MMC_CAP2_HS200_1_8V_SDR && in mmc_select_card_type() 230 if (caps2 & MMC_CAP2_HS200_1_2V_SDR && in mmc_select_card_type() 236 if (caps2 & MMC_CAP2_HS400_1_8V && in mmc_select_card_type() 242 if (caps2 & MMC_CAP2_HS400_1_2V && in mmc_select_card_type() 248 if ((caps2 & MMC_CAP2_HS400_ES) && in mmc_select_card_type() 1894 if (card->ext_csd.cmdq_support && host->caps2 & MMC_CAP2_CQE) { in mmc_init_card() 1928 if (host->caps2 & MMC_CAP2_AVOID_3_3V && in mmc_init_card() 2123 ((host->caps2 & MMC_CAP2_FULL_PWR_CYCLE) || !is_suspend || in _mmc_suspend() 2124 (host->caps2 & MMC_CAP2_FULL_PWR_CYCLE_IN_SUSPEND))) in _mmc_suspend() [all …]
|
H A D | slot-gpio.c | 214 if (host->caps2 & MMC_CAP2_CD_ACTIVE_HIGH) in mmc_gpiod_request_cd() 281 if (host->caps2 & MMC_CAP2_RO_ACTIVE_HIGH) in mmc_gpiod_request_ro()
|
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 | core.c | 1007 if ((host->caps2 & MMC_CAP2_HS400_ES) && in mmc_set_initial_state() 1141 if (!mmc_card_uhs2(host) && host->caps2 & MMC_CAP2_FULL_PWR_CYCLE) { in mmc_select_voltage() 2096 if (!(host->caps2 & MMC_CAP2_NO_SDIO)) in mmc_rescan_try_freq() 2101 if (!(host->caps2 & MMC_CAP2_NO_SD)) { in mmc_rescan_try_freq() 2109 if (!(host->caps2 & MMC_CAP2_NO_SDIO)) in mmc_rescan_try_freq() 2113 if (!(host->caps2 & MMC_CAP2_NO_SD)) in mmc_rescan_try_freq() 2117 if (!(host->caps2 & MMC_CAP2_NO_MMC)) in mmc_rescan_try_freq() 2197 if ((!(card->host->caps2 & MMC_CAP2_ALT_GPT_TEGRA))) in mmc_card_alternative_gpt_sector() 2317 bool power_up = !(host->caps2 & in mmc_start_host()
|
H A D | host.h | 54 return !(host->caps2 & MMC_CAP2_BOOTPART_NOACC); in mmc_boot_partition_access()
|
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 | debugfs.c | 356 debugfs_create_file("caps2", 0600, root, &host->caps2, in mmc_add_host_debugfs()
|
H A D | sd.c | 915 if (host->caps2 & MMC_CAP2_NO_WRITE_PROTECT) in mmc_sd_get_ro() 1577 if (host->caps2 & MMC_CAP2_AVOID_3_3V && in mmc_sd_init_card()
|
/linux/drivers/mtd/nand/raw/ |
H A D | cadence-nand-controller.c | 461 struct cdns_nand_caps caps2; member 552 u8 data_dma_width = cdns_ctrl->caps2.data_dma_width; in cadence_nand_dma_buf_ok() 900 cdns_ctrl->caps2.max_banks = 1 << FIELD_GET(CTRL_FEATURES_N_BANKS, reg); in cadence_nand_get_caps() 903 cdns_ctrl->caps2.data_dma_width = 8; in cadence_nand_get_caps() 905 cdns_ctrl->caps2.data_dma_width = 4; in cadence_nand_get_caps() 908 cdns_ctrl->caps2.data_control_supp = true; in cadence_nand_get_caps() 912 cdns_ctrl->caps2.is_phy_type_dll = true; in cadence_nand_get_caps() 1187 if (cdns_ctrl->caps2.data_dma_width == 8) { in cadence_nand_hw_init() 1256 if (cdns_ctrl->caps2.data_control_supp) { in cadence_nand_prepare_data_size() 1327 if (cdns_ctrl->caps2.is_phy_type_dll) 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 | 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 | sdhci-of-dwcmshc.c | 442 if ((host->mmc->caps2 & emmc_caps) == emmc_caps) { in th1520_sdhci_set_phy() 785 host->mmc->caps2 &= ~(MMC_CAP2_HS200 | MMC_CAP2_HS400); in dwcmshc_rk35xx_postinit() 909 if ((host->mmc->caps2 & emmc_caps) == emmc_caps) { in cv18xx_sdhci_reset() 1263 host->mmc->caps2 |= MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD; in dwcmshc_cqhci_init() 1311 host->mmc->caps2 &= ~(MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD); in dwcmshc_cqhci_init() 1518 if (host->mmc->caps2 & MMC_CAP2_CQE) { in dwcmshc_suspend() 1562 if (host->mmc->caps2 & MMC_CAP2_CQE) { in dwcmshc_resume()
|
H A D | cqhci-core.c | 84 if (tag == DCMD_SLOT && (cq_host->mmc->caps2 & MMC_CAP2_CQE_DCMD)) { in setup_trans_desc() 266 if (mmc->caps2 & MMC_CAP2_CQE_DCMD) in __cqhci_enable() 272 if (mmc->caps2 & MMC_CAP2_CRYPTO) in __cqhci_enable() 1194 if (mmc->caps2 & MMC_CAP2_CQE_DCMD) in cqhci_init()
|
H A D | sdhci-pci-core.c | 369 slot->host->mmc->caps2 |= MMC_CAP2_BOOTPART_NOACC; in mfd_emmc_probe_slot() 926 slot->host->mmc->caps2 |= MMC_CAP2_CQE; in glk_emmc_probe_slot() 930 slot->host->mmc->caps2 |= MMC_CAP2_HS400_ES; in glk_emmc_probe_slot() 934 slot->host->mmc->caps2 |= MMC_CAP2_CQE_DCMD; in glk_emmc_probe_slot() 1131 slot->host->mmc->caps2 |= MMC_CAP2_AVOID_3_3V; in byt_sd_probe_slot() 1652 slot->host->mmc->caps2 |= MMC_CAP2_HS200; in rtsx_probe_slot() 2185 host->mmc->caps2 |= MMC_CAP2_NO_PRESCAN_POWERUP; in sdhci_pci_probe_slot()
|
H A D | mtk-sd.c | 1790 if ((mmc->caps2 & MMC_CAP2_CQE) && in msdc_irq() 1956 if (mmc->caps2 & MMC_CAP2_NO_SDIO) { in msdc_init_hw() 2625 if (mmc->caps2 & MMC_CAP2_CD_ACTIVE_HIGH) in msdc_get_cd() 2812 if (mmc->caps2 & MMC_CAP2_NO_MMC) in msdc_of_property_parse() 2925 if (!(mmc->caps2 & MMC_CAP2_NO_MMC)) { in msdc_drv_probe() 2930 mmc->caps2 |= MMC_CAP2_CRYPTO; in msdc_drv_probe() 2990 mmc->caps2 |= MMC_CAP2_SDIO_IRQ_NOTHREAD; in msdc_drv_probe() 2994 mmc->caps2 |= MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD; in msdc_drv_probe() 3033 if (mmc->caps2 & MMC_CAP2_CQE) { in msdc_drv_probe() 3053 } else if (mmc->caps2 & MMC_CAP2_NO_SDIO) { in msdc_drv_probe() [all …]
|
H A D | sdhci-tegra.c | 1605 host->mmc->caps2 |= MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD; in sdhci_tegra_add_host() 1674 host->mmc->caps2 |= MMC_CAP2_ALT_GPT_TEGRA; in sdhci_tegra_probe() 1861 if (host->mmc->caps2 & MMC_CAP2_CQE) { in sdhci_tegra_suspend() 1902 if (host->mmc->caps2 & MMC_CAP2_CQE) { in sdhci_tegra_resume()
|
H A D | dw_mmc.h | 265 u32 caps2; /* More capabilities */ member
|
H A D | sdhci-msm.c | 1916 mmc->caps2 |= MMC_CAP2_CRYPTO; in sdhci_msm_ice_init() 1922 if (msm_host->mmc->caps2 & MMC_CAP2_CRYPTO) in sdhci_msm_ice_enable() 1928 if (msm_host->mmc->caps2 & MMC_CAP2_CRYPTO) in sdhci_msm_ice_resume() 1936 if (msm_host->mmc->caps2 & MMC_CAP2_CRYPTO) in sdhci_msm_ice_suspend() 2128 msm_host->mmc->caps2 |= MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD; in sdhci_msm_cqe_add_host()
|
H A D | sdhci_am654.c | 686 host->mmc->caps2 |= MMC_CAP2_CQE; in sdhci_am654_cqe_add_host() 716 host->mmc->caps2 &= ~td[i].capability; in sdhci_am654_get_otap_delay()
|
H A D | renesas_sdhi_core.c | 999 host->mmc->caps2 &= ~(MMC_CAP2_HS400 | MMC_CAP2_HS400_ES); in renesas_sdhi_probe() 1083 host->mmc->caps2 & MMC_CAP2_HSX00_1_8V)) { in renesas_sdhi_probe()
|
H A D | sdhci-of-aspeed.c | 325 (host->mmc->caps2 & MMC_CAP2_CD_ACTIVE_HIGH)) in aspeed_sdhci_readl()
|
H A D | dw_mmc.c | 2902 if (host->pdata->caps2) in dw_mci_init_slot_caps() 2903 mmc->caps2 = host->pdata->caps2; in dw_mci_init_slot_caps() 2916 mmc->caps2 |= MMC_CAP2_SDIO_IRQ_NOTHREAD; in dw_mci_init_slot_caps()
|
/linux/include/linux/spi/ |
H A D | mmc_spi.h | 27 unsigned long caps2; member
|
/linux/drivers/staging/greybus/ |
H 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()
|