Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/mmc/core/
Dhost.c254 host->caps2 |= MMC_CAP2_CD_ACTIVE_HIGH; in mmc_of_parse()
267 host->caps2 |= MMC_CAP2_NO_WRITE_PROTECT; in mmc_of_parse()
271 host->caps2 |= MMC_CAP2_RO_ACTIVE_HIGH; in mmc_of_parse()
294 host->caps2 |= MMC_CAP2_FULL_PWR_CYCLE; in mmc_of_parse()
307 host->caps2 |= MMC_CAP2_HS200_1_8V_SDR; in mmc_of_parse()
309 host->caps2 |= MMC_CAP2_HS200_1_2V_SDR; in mmc_of_parse()
311 host->caps2 |= MMC_CAP2_HS400_1_8V | MMC_CAP2_HS200_1_8V_SDR; in mmc_of_parse()
313 host->caps2 |= MMC_CAP2_HS400_1_2V | MMC_CAP2_HS200_1_2V_SDR; in mmc_of_parse()
315 host->caps2 |= MMC_CAP2_HS400_ES; in mmc_of_parse()
317 host->caps2 |= MMC_CAP2_NO_SDIO; in mmc_of_parse()
[all …]
Dmmc.c189 u32 caps = host->caps, caps2 = host->caps2; in mmc_select_card_type() local
217 if (caps2 & MMC_CAP2_HS200_1_8V_SDR && in mmc_select_card_type()
223 if (caps2 & MMC_CAP2_HS200_1_2V_SDR && in mmc_select_card_type()
229 if (caps2 & MMC_CAP2_HS400_1_8V && in mmc_select_card_type()
235 if (caps2 & MMC_CAP2_HS400_1_2V && in mmc_select_card_type()
241 if ((caps2 & MMC_CAP2_HS400_ES) && in mmc_select_card_type()
1836 if (card->ext_csd.cmdq_support && host->caps2 & MMC_CAP2_CQE) { in mmc_init_card()
1867 if (host->caps2 & MMC_CAP2_AVOID_3_3V && in mmc_init_card()
2029 ((host->caps2 & MMC_CAP2_FULL_PWR_CYCLE) || !is_suspend)) in _mmc_suspend()
2095 !(host->caps2 & MMC_CAP2_FULL_PWR_CYCLE)) in mmc_shutdown()
Dhost.h48 return !(host->caps2 & MMC_CAP2_BOOTPART_NOACC); in mmc_boot_partition_access()
Dsdio_irq.c232 if (!(host->caps2 & MMC_CAP2_SDIO_IRQ_NOTHREAD)) { in sdio_card_irq_get()
260 if (!(host->caps2 & MMC_CAP2_SDIO_IRQ_NOTHREAD)) { in sdio_card_irq_put()
Dcore.c1007 if ((host->caps2 & MMC_CAP2_HS400_ES) && in mmc_set_initial_state()
1139 if (host->caps2 & MMC_CAP2_FULL_PWR_CYCLE) { in mmc_select_voltage()
2185 if (!(host->caps2 & MMC_CAP2_NO_SDIO)) in mmc_rescan_try_freq()
2190 if (!(host->caps2 & MMC_CAP2_NO_SD)) in mmc_rescan_try_freq()
2194 if (!(host->caps2 & MMC_CAP2_NO_SDIO)) in mmc_rescan_try_freq()
2198 if (!(host->caps2 & MMC_CAP2_NO_SD)) in mmc_rescan_try_freq()
2202 if (!(host->caps2 & MMC_CAP2_NO_MMC)) in mmc_rescan_try_freq()
2355 if (!(host->caps2 & MMC_CAP2_NO_PRESCAN_POWERUP)) { in mmc_start_host()
Ddebugfs.c234 debugfs_create_x32("caps2", S_IRUSR, root, &host->caps2); in mmc_add_host_debugfs()
Dqueue.c42 return host->caps2 & MMC_CAP2_CQE_DCMD; in mmc_cqe_can_dcmd()
404 return host->caps2 & MMC_CAP2_MERGE_CAPABLE; in mmc_merge_capable()
Dslot-gpio.c87 return !value ^ !!(host->caps2 & MMC_CAP2_CD_ACTIVE_HIGH); in mmc_gpio_get_cd()
Dsdio.c797 if (host->caps2 & MMC_CAP2_AVOID_3_3V && in mmc_sdio_init_card()
1015 if (!(host->caps2 & MMC_CAP2_SDIO_IRQ_NOTHREAD)) in mmc_sdio_resume()
/Linux-v5.4/drivers/mmc/host/
Dsdhci-acpi.c51 unsigned int caps2; member
60 unsigned int caps2; member
597 host->mmc->caps2 = MMC_CAP2_HS400_1_8V; in sdhci_acpi_emmc_amd_probe_slot()
757 host->mmc->caps2 |= c->slot->chip->caps2; in sdhci_acpi_probe()
763 host->mmc->caps2 |= c->slot->caps2; in sdhci_acpi_probe()
767 host->mmc->caps2 |= MMC_CAP2_NO_PRESCAN_POWERUP; in sdhci_acpi_probe()
Dsdhci-pci-gli.c269 slot->host->mmc->caps2 |= MMC_CAP2_NO_SDIO; in gli_probe_slot_gl9750()
279 slot->host->mmc->caps2 |= MMC_CAP2_NO_SDIO; in gli_probe_slot_gl9755()
Dsdhci-esdhc-imx.c1390 host->mmc->caps2 |= MMC_CAP2_RO_ACTIVE_HIGH; in sdhci_esdhc_imx_probe_nondt()
1529 host->mmc->caps2 |= MMC_CAP2_HS400_ES; in sdhci_esdhc_imx_probe()
1535 host->mmc->caps2 |= MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD; in sdhci_esdhc_imx_probe()
1617 if (host->mmc->caps2 & MMC_CAP2_CQE) { in sdhci_esdhc_suspend()
1641 if (host->mmc->caps2 & MMC_CAP2_CQE) in sdhci_esdhc_resume()
1656 if (host->mmc->caps2 & MMC_CAP2_CQE) { in sdhci_esdhc_runtime_suspend()
1710 if (host->mmc->caps2 & MMC_CAP2_CQE) in sdhci_esdhc_runtime_resume()
Dsdhci-pci-core.c410 slot->host->mmc->caps2 |= MMC_CAP2_BOOTPART_NOACC; in mfd_emmc_probe_slot()
789 slot->host->mmc->caps2 |= MMC_CAP2_CQE; in glk_emmc_probe_slot()
792 slot->host->mmc->caps2 |= MMC_CAP2_HS400_ES, in glk_emmc_probe_slot()
795 slot->host->mmc->caps2 |= MMC_CAP2_CQE_DCMD; in glk_emmc_probe_slot()
982 slot->host->mmc->caps2 |= MMC_CAP2_AVOID_3_3V; in byt_sd_probe_slot()
1445 slot->host->mmc->caps2 |= MMC_CAP2_HS200; in rtsx_probe_slot()
1925 host->mmc->caps2 |= MMC_CAP2_NO_PRESCAN_POWERUP; in sdhci_pci_probe_slot()
Dsdhci-omap.c934 u32 *caps2 = &mmc->caps2; in sdhci_omap_config_iodelay_pinctrl_state() local
1008 state = sdhci_omap_iodelay_pinctrl_state(omap_host, "hs200_1_8v", caps2, in sdhci_omap_config_iodelay_pinctrl_state()
1087 mmc->caps2 |= MMC_CAP2_NO_WRITE_PROTECT; in sdhci_omap_probe()
Dsdhci-of-arasan.c846 host->mmc->caps2 |= MMC_CAP2_CQE; in sdhci_arasan_probe()
849 host->mmc->caps2 |= MMC_CAP2_CQE_DCMD; in sdhci_arasan_probe()
Dsdhci-pci-o2micro.c555 host->mmc->caps2 |= MMC_CAP2_NO_SD; in sdhci_pci_o2_probe_slot()
556 host->mmc->caps2 |= MMC_CAP2_NO_SDIO; in sdhci_pci_o2_probe_slot()
Dcqhci.c71 if (tag == DCMD_SLOT && (cq_host->mmc->caps2 & MMC_CAP2_CQE_DCMD)) { in setup_trans_desc()
254 if (mmc->caps2 & MMC_CAP2_CQE_DCMD) in __cqhci_enable()
1123 if (mmc->caps2 & MMC_CAP2_CQE_DCMD) in cqhci_init()
Drenesas_sdhi_core.c725 host->mmc->caps2 &= ~(MMC_CAP2_HS400 | MMC_CAP2_HS400_ES); in renesas_sdhi_probe()
800 host->mmc->caps2 & (MMC_CAP2_HS200_1_8V_SDR | in renesas_sdhi_probe()
Dsdhci.c3375 if ((mmc->caps2 & MMC_CAP2_HS400_ES) && in sdhci_runtime_resume_host()
3948 mmc->caps2 |= MMC_CAP2_SDIO_IRQ_NOTHREAD; in sdhci_setup_host()
4021 mmc->caps2 &= ~(MMC_CAP2_HSX00_1_8V | MMC_CAP2_HS400_ES); in sdhci_setup_host()
4037 mmc->caps2 |= MMC_CAP2_HS200; in sdhci_setup_host()
4044 mmc->caps2 |= MMC_CAP2_HS400; in sdhci_setup_host()
4046 if ((mmc->caps2 & MMC_CAP2_HSX00_1_2V) && in sdhci_setup_host()
4050 mmc->caps2 &= ~MMC_CAP2_HSX00_1_2V; in sdhci_setup_host()
4165 (mmc->caps2 & (MMC_CAP2_HS200_1_8V_SDR | MMC_CAP2_HS400_1_8V))) in sdhci_setup_host()
4168 if (mmc->caps2 & MMC_CAP2_HSX00_1_2V) in sdhci_setup_host()
Ddw_mmc.h253 u32 caps2; /* More capabilities */ member
Dsdhci-tegra.c1473 host->mmc->caps2 |= MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD; in sdhci_tegra_add_host()
1637 if (host->mmc->caps2 & MMC_CAP2_CQE) { in sdhci_tegra_suspend()
1667 if (host->mmc->caps2 & MMC_CAP2_CQE) { in sdhci_tegra_resume()
/Linux-v5.4/include/linux/spi/
Dmmc_spi.h27 unsigned long caps2; member
/Linux-v5.4/drivers/staging/greybus/
Dsdio.c63 u32 caps2 = 0; in _gb_sdio_set_host_caps() local
83 caps2 = ((r & GB_SDIO_CAP_HS200_1_2V) ? MMC_CAP2_HS200_1_2V_SDR : 0) | in _gb_sdio_set_host_caps()
89 host->mmc->caps2 = caps2 | MMC_CAP2_CORE_RUNTIME_PM; in _gb_sdio_set_host_caps()
/Linux-v5.4/arch/arm/mach-ep93xx/
Dvision_ep9307.c202 .caps2 = MMC_CAP2_RO_ACTIVE_HIGH,
/Linux-v5.4/include/linux/mmc/
Dhost.h345 u32 caps2; /* More host capabilities */ member

12