/openbmc/linux/drivers/mmc/core/ |
H A D | host.c | 327 host->caps2 |= MMC_CAP2_CD_ACTIVE_HIGH; in mmc_of_parse() 347 host->caps2 |= MMC_CAP2_RO_ACTIVE_HIGH; in mmc_of_parse() 356 host->caps2 |= MMC_CAP2_NO_WRITE_PROTECT; in mmc_of_parse() 379 host->caps2 |= MMC_CAP2_FULL_PWR_CYCLE; in mmc_of_parse() 381 host->caps2 |= MMC_CAP2_FULL_PWR_CYCLE_IN_SUSPEND; in mmc_of_parse() 394 host->caps2 |= MMC_CAP2_HS200_1_8V_SDR; in mmc_of_parse() 396 host->caps2 |= MMC_CAP2_HS200_1_2V_SDR; in mmc_of_parse() 398 host->caps2 |= MMC_CAP2_HS400_1_8V | MMC_CAP2_HS200_1_8V_SDR; in mmc_of_parse() 400 host->caps2 |= MMC_CAP2_HS400_1_2V | MMC_CAP2_HS200_1_2V_SDR; in mmc_of_parse() 402 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 | mmc.c | 198 u32 caps = host->caps, caps2 = host->caps2; in mmc_select_card_type() local 226 if (caps2 & MMC_CAP2_HS200_1_8V_SDR && in mmc_select_card_type() 232 if (caps2 & MMC_CAP2_HS200_1_2V_SDR && in mmc_select_card_type() 238 if (caps2 & MMC_CAP2_HS400_1_8V && in mmc_select_card_type() 244 if (caps2 & MMC_CAP2_HS400_1_2V && in mmc_select_card_type() 250 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 | 215 if (host->caps2 & MMC_CAP2_CD_ACTIVE_HIGH) in mmc_gpiod_request_cd() 282 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 | 1001 if ((host->caps2 & MMC_CAP2_HS400_ES) && in mmc_set_initial_state() 1135 if (host->caps2 & MMC_CAP2_FULL_PWR_CYCLE) { in mmc_select_voltage() 2075 if (!(host->caps2 & MMC_CAP2_NO_SDIO)) in mmc_rescan_try_freq() 2080 if (!(host->caps2 & MMC_CAP2_NO_SD)) { in mmc_rescan_try_freq() 2088 if (!(host->caps2 & MMC_CAP2_NO_SDIO)) in mmc_rescan_try_freq() 2092 if (!(host->caps2 & MMC_CAP2_NO_SD)) in mmc_rescan_try_freq() 2096 if (!(host->caps2 & MMC_CAP2_NO_MMC)) in mmc_rescan_try_freq() 2176 if ((!(card->host->caps2 & MMC_CAP2_ALT_GPT_TEGRA))) in mmc_card_alternative_gpt_sector() 2287 if (!(host->caps2 & MMC_CAP2_NO_PRESCAN_POWERUP)) { 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 | 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()
|
H A D | queue.c | 40 return host->caps2 & MMC_CAP2_CQE_DCMD; in mmc_cqe_can_dcmd() 397 return host->caps2 & MMC_CAP2_MERGE_CAPABLE; in mmc_merge_capable()
|
/openbmc/linux/drivers/mmc/host/ |
H A D | sdhci-acpi.c | 52 unsigned int caps2; member 61 unsigned int caps2; member 622 host->mmc->caps2 = MMC_CAP2_HS400_1_8V; in sdhci_acpi_emmc_amd_probe_slot() 897 host->mmc->caps2 |= c->slot->chip->caps2; in sdhci_acpi_probe() 903 host->mmc->caps2 |= c->slot->caps2; in sdhci_acpi_probe() 907 host->mmc->caps2 |= MMC_CAP2_NO_PRESCAN_POWERUP; in sdhci_acpi_probe() 913 host->mmc->caps2 |= MMC_CAP2_CD_ACTIVE_HIGH; in sdhci_acpi_probe() 930 host->mmc->caps2 |= MMC_CAP2_NO_WRITE_PROTECT; in sdhci_acpi_probe()
|
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 | 179 if (!(mmc->caps2 & MMC_CAP2_CRYPTO) || in cqhci_crypto_init() 241 mmc->caps2 &= ~MMC_CAP2_CRYPTO; in cqhci_crypto_init()
|
H A D | sdhci-esdhc-imx.c | 1645 host->mmc->caps2 &= ~(MMC_CAP2_HS400 | MMC_CAP2_HS400_ES); in sdhci_esdhc_imx_probe_dt() 1746 host->mmc->caps2 |= MMC_CAP2_HS400; in sdhci_esdhc_imx_probe() 1752 host->mmc->caps2 |= MMC_CAP2_HS400_ES; in sdhci_esdhc_imx_probe() 1758 host->mmc->caps2 |= MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD; in sdhci_esdhc_imx_probe() 1844 if (host->mmc->caps2 & MMC_CAP2_CQE) { in sdhci_esdhc_suspend() 1888 if (host->mmc->caps2 & MMC_CAP2_CQE) in sdhci_esdhc_resume() 1906 if (host->mmc->caps2 & MMC_CAP2_CQE) { in sdhci_esdhc_runtime_suspend() 1962 if (host->mmc->caps2 & MMC_CAP2_CQE) in sdhci_esdhc_runtime_resume()
|
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-brcmstb.c | 214 host->mmc->caps2 |= MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD; in sdhci_brcmstb_add_host() 312 (host->mmc->caps2 & MMC_CAP2_HS400_ES)) in sdhci_brcmstb_probe()
|
H A D | sdhci-pci-gli.c | 1095 slot->host->mmc->caps2 |= MMC_CAP2_NO_SDIO; in gli_probe_slot_gl9750() 1107 slot->host->mmc->caps2 |= MMC_CAP2_NO_SDIO; in gli_probe_slot_gl9755() 1120 slot->host->mmc->caps2 |= MMC_CAP2_NO_SDIO; in gli_probe_slot_gl9767() 1121 host->mmc->caps2 |= MMC_CAP2_SD_EXP; in gli_probe_slot_gl9767() 1504 host->mmc->caps2 |= MMC_CAP2_HS200_1_8V_SDR | in gli_probe_slot_gl9763e() 1513 host->mmc->caps2 |= MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD; in gli_probe_slot_gl9763e()
|
H 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() 1189 if (mmc->caps2 & MMC_CAP2_CQE_DCMD) in cqhci_init()
|
H A D | sdhci-pci-core.c | 368 slot->host->mmc->caps2 |= MMC_CAP2_BOOTPART_NOACC; in mfd_emmc_probe_slot() 924 slot->host->mmc->caps2 |= MMC_CAP2_CQE; in glk_emmc_probe_slot() 928 slot->host->mmc->caps2 |= MMC_CAP2_HS400_ES; in glk_emmc_probe_slot() 932 slot->host->mmc->caps2 |= MMC_CAP2_CQE_DCMD; in glk_emmc_probe_slot() 1129 slot->host->mmc->caps2 |= MMC_CAP2_AVOID_3_3V; in byt_sd_probe_slot() 1633 slot->host->mmc->caps2 |= MMC_CAP2_HS200; in rtsx_probe_slot() 2166 host->mmc->caps2 |= MMC_CAP2_NO_PRESCAN_POWERUP; in sdhci_pci_probe_slot()
|
H A D | rtsx_pci_sdmmc.c | 961 mmc->caps2 |= MMC_CAP2_SD_EXP | MMC_CAP2_SD_EXP_1_2V; in sd_power_on() 970 mmc->caps2 &= ~(MMC_CAP2_SD_EXP | MMC_CAP2_SD_EXP_1_2V); in sd_power_on() 1430 mmc->caps2 |= MMC_CAP2_NO_MMC; in init_extra_caps() 1432 mmc->caps2 |= MMC_CAP2_SD_EXP | MMC_CAP2_SD_EXP_1_2V; in init_extra_caps() 1448 mmc->caps2 = MMC_CAP2_NO_PRESCAN_POWERUP | MMC_CAP2_FULL_PWR_CYCLE | in realtek_init_host()
|
H A D | sdhci-omap.c | 1118 u32 *caps2 = &mmc->caps2; in sdhci_omap_config_iodelay_pinctrl_state() local 1192 state = sdhci_omap_iodelay_pinctrl_state(omap_host, "hs200_1_8v", caps2, in sdhci_omap_config_iodelay_pinctrl_state() 1274 mmc->caps2 |= MMC_CAP2_NO_WRITE_PROTECT; in sdhci_omap_probe()
|
H A D | sdhci-of-sparx5.c | 220 host->mmc->caps2 |= (MMC_CAP2_NO_SDIO|MMC_CAP2_NO_SD); in sdhci_sparx5_probe()
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | cadence-nand-controller.c | 459 struct cdns_nand_caps caps2; member 553 u8 data_dma_width = cdns_ctrl->caps2.data_dma_width; in cadence_nand_dma_buf_ok() 901 cdns_ctrl->caps2.max_banks = 1 << FIELD_GET(CTRL_FEATURES_N_BANKS, reg); in cadence_nand_get_caps() 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() 909 cdns_ctrl->caps2.data_control_supp = true; in cadence_nand_get_caps() 913 cdns_ctrl->caps2.is_phy_type_dll = true; in cadence_nand_get_caps() 1188 if (cdns_ctrl->caps2.data_dma_width == 8) { in cadence_nand_hw_init() 1257 if (cdns_ctrl->caps2.data_control_supp) { in cadence_nand_prepare_data_size() 1328 if (cdns_ctrl->caps2.is_phy_type_dll) in cadence_nand_set_timings() [all …]
|
/openbmc/linux/include/linux/spi/ |
H A D | mmc_spi.h | 27 unsigned long caps2; member
|
/openbmc/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()
|
/openbmc/linux/arch/arm/mach-ep93xx/ |
H A D | vision_ep9307.c | 202 .caps2 = MMC_CAP2_RO_ACTIVE_HIGH,
|