Home
last modified time | relevance | path

Searched refs:caps2 (Results 1 – 25 of 56) sorted by relevance

123

/openbmc/linux/drivers/mmc/core/
H A Dhost.c327 host->caps2 |= MMC_CAP2_CD_ACTIVE_HIGH; in mmc_of_parse()
347 host->caps2 |= MMC_CAP2_RO_ACTIVE_HIGH; in mmc_of_parse()
379 host->caps2 |= MMC_CAP2_FULL_PWR_CYCLE; 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()
402 host->caps2 |= MMC_CAP2_HS400_ES; in mmc_of_parse()
404 host->caps2 |= MMC_CAP2_NO_SDIO; in mmc_of_parse()
406 host->caps2 |= MMC_CAP2_NO_SD; in mmc_of_parse()
408 host->caps2 |= MMC_CAP2_NO_MMC; in mmc_of_parse()
619 u32 caps = host->caps, caps2 = host->caps2; in mmc_validate_host_caps() local
[all …]
H A Dcrypto.c18 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 Dmmc.c198 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 Dsdio_irq.c231 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 Dslot-gpio.c215 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 Dhost.h54 return !(host->caps2 & MMC_CAP2_BOOTPART_NOACC); in mmc_boot_partition_access()
H A Dsd_ops.c208 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 Dcore.c1001 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 Dqueue.c40 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 Dsdhci-acpi.c52 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 Dsdhci-cqhci.h17 if ((host->mmc->caps2 & MMC_CAP2_CQE) && (mask & SDHCI_RESET_ALL) && in sdhci_and_cqhci_reset()
H A Dcqhci-crypto.c179 if (!(mmc->caps2 & MMC_CAP2_CRYPTO) || in cqhci_crypto_init()
241 mmc->caps2 &= ~MMC_CAP2_CRYPTO; in cqhci_crypto_init()
H A Dsdhci-pci-o2micro.c651 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 Dsdhci-esdhc-imx.c1640 host->mmc->caps2 &= ~(MMC_CAP2_HS400 | MMC_CAP2_HS400_ES); in sdhci_esdhc_imx_probe_dt()
1740 host->mmc->caps2 |= MMC_CAP2_HS400; in sdhci_esdhc_imx_probe()
1746 host->mmc->caps2 |= MMC_CAP2_HS400_ES; in sdhci_esdhc_imx_probe()
1752 host->mmc->caps2 |= MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD; in sdhci_esdhc_imx_probe()
1838 if (host->mmc->caps2 & MMC_CAP2_CQE) { in sdhci_esdhc_suspend()
1882 if (host->mmc->caps2 & MMC_CAP2_CQE) in sdhci_esdhc_resume()
1900 if (host->mmc->caps2 & MMC_CAP2_CQE) { in sdhci_esdhc_runtime_suspend()
1956 if (host->mmc->caps2 & MMC_CAP2_CQE) in sdhci_esdhc_runtime_resume()
H A Dsdhci-brcmstb.c213 host->mmc->caps2 |= MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD; in sdhci_brcmstb_add_host()
311 (host->mmc->caps2 & MMC_CAP2_HS400_ES)) in sdhci_brcmstb_probe()
H A Dsdhci-pci-gli.c1085 slot->host->mmc->caps2 |= MMC_CAP2_NO_SDIO; in gli_probe_slot_gl9750()
1097 slot->host->mmc->caps2 |= MMC_CAP2_NO_SDIO; in gli_probe_slot_gl9755()
1110 slot->host->mmc->caps2 |= MMC_CAP2_NO_SDIO; in gli_probe_slot_gl9767()
1111 host->mmc->caps2 |= MMC_CAP2_SD_EXP; in gli_probe_slot_gl9767()
1494 host->mmc->caps2 |= MMC_CAP2_HS200_1_8V_SDR | in gli_probe_slot_gl9763e()
1503 host->mmc->caps2 |= MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD; in gli_probe_slot_gl9763e()
H A Dsdhci-pci-core.c367 slot->host->mmc->caps2 |= MMC_CAP2_BOOTPART_NOACC; in mfd_emmc_probe_slot()
923 slot->host->mmc->caps2 |= MMC_CAP2_CQE; in glk_emmc_probe_slot()
927 slot->host->mmc->caps2 |= MMC_CAP2_HS400_ES; in glk_emmc_probe_slot()
931 slot->host->mmc->caps2 |= MMC_CAP2_CQE_DCMD; in glk_emmc_probe_slot()
1128 slot->host->mmc->caps2 |= MMC_CAP2_AVOID_3_3V; in byt_sd_probe_slot()
1605 slot->host->mmc->caps2 |= MMC_CAP2_HS200; in rtsx_probe_slot()
2102 host->mmc->caps2 |= MMC_CAP2_NO_PRESCAN_POWERUP; in sdhci_pci_probe_slot()
H A Dcqhci-core.c79 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 Drtsx_pci_sdmmc.c961 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 Dsdhci-omap.c1118 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 Dsdhci-of-sparx5.c220 host->mmc->caps2 |= (MMC_CAP2_NO_SDIO|MMC_CAP2_NO_SD); in sdhci_sparx5_probe()
/openbmc/linux/drivers/mtd/nand/raw/
H A Dcadence-nand-controller.c459 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()
1328 if (cdns_ctrl->caps2.is_phy_type_dll) in cadence_nand_set_timings()
1333 if (cdns_ctrl->caps2.is_phy_type_dll) { in cadence_nand_set_timings()
2381 if (cdns_ctrl->caps2.is_phy_type_dll) in cadence_nand_setup_interface()
2568 if (cdns_ctrl->caps2.is_phy_type_dll) { in cadence_nand_setup_interface()
2616 if (cdns_ctrl->caps2.is_phy_type_dll) in cadence_nand_setup_interface()
2621 if (cdns_ctrl->caps2.is_phy_type_dll) { in cadence_nand_setup_interface()
[all …]
/openbmc/linux/include/linux/spi/
H A Dmmc_spi.h27 unsigned long caps2; member
/openbmc/linux/drivers/staging/greybus/
H A Dsdio.c62 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 Dvision_ep9307.c202 .caps2 = MMC_CAP2_RO_ACTIVE_HIGH,

123