Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/mmc/core/
Dhost.c257 host->caps2 |= MMC_CAP2_CD_ACTIVE_HIGH; in mmc_of_parse()
270 host->caps2 |= MMC_CAP2_NO_WRITE_PROTECT; in mmc_of_parse()
274 host->caps2 |= MMC_CAP2_RO_ACTIVE_HIGH; in mmc_of_parse()
297 host->caps2 |= MMC_CAP2_FULL_PWR_CYCLE; in mmc_of_parse()
310 host->caps2 |= MMC_CAP2_HS200_1_8V_SDR; in mmc_of_parse()
312 host->caps2 |= MMC_CAP2_HS200_1_2V_SDR; in mmc_of_parse()
314 host->caps2 |= MMC_CAP2_HS400_1_8V | MMC_CAP2_HS200_1_8V_SDR; in mmc_of_parse()
316 host->caps2 |= MMC_CAP2_HS400_1_2V | MMC_CAP2_HS200_1_2V_SDR; in mmc_of_parse()
318 host->caps2 |= MMC_CAP2_HS400_ES; in mmc_of_parse()
320 host->caps2 |= MMC_CAP2_NO_SDIO; in mmc_of_parse()
[all …]
Dsdio_irq.c216 if (!(host->caps2 & MMC_CAP2_SDIO_IRQ_NOTHREAD)) { in sdio_card_irq_get()
244 if (!(host->caps2 & MMC_CAP2_SDIO_IRQ_NOTHREAD)) { in sdio_card_irq_put()
Dmmc.c191 u32 caps = host->caps, caps2 = host->caps2; in mmc_select_card_type() local
219 if (caps2 & MMC_CAP2_HS200_1_8V_SDR && in mmc_select_card_type()
225 if (caps2 & MMC_CAP2_HS200_1_2V_SDR && in mmc_select_card_type()
231 if (caps2 & MMC_CAP2_HS400_1_8V && in mmc_select_card_type()
237 if (caps2 & MMC_CAP2_HS400_1_2V && in mmc_select_card_type()
243 if ((caps2 & MMC_CAP2_HS400_ES) && in mmc_select_card_type()
1820 if (card->ext_csd.cmdq_support && host->caps2 & MMC_CAP2_CQE) { in mmc_init_card()
1851 if (host->caps2 & MMC_CAP2_AVOID_3_3V && in mmc_init_card()
2019 ((host->caps2 & MMC_CAP2_FULL_PWR_CYCLE) || !is_suspend)) in _mmc_suspend()
2085 !(host->caps2 & MMC_CAP2_FULL_PWR_CYCLE)) in mmc_shutdown()
Dhost.h51 return !(host->caps2 & MMC_CAP2_BOOTPART_NOACC); in mmc_boot_partition_access()
Dslot-gpio.c73 !!(host->caps2 & MMC_CAP2_RO_ACTIVE_HIGH); in mmc_gpio_get_ro()
92 return !value ^ !!(host->caps2 & MMC_CAP2_CD_ACTIVE_HIGH); in mmc_gpio_get_cd()
Dcore.c1033 if ((host->caps2 & MMC_CAP2_HS400_ES) && in mmc_set_initial_state()
1454 if (host->caps2 & MMC_CAP2_FULL_PWR_CYCLE) { in mmc_select_voltage()
2508 if (!(host->caps2 & MMC_CAP2_NO_SDIO)) in mmc_rescan_try_freq()
2513 if (!(host->caps2 & MMC_CAP2_NO_SD)) in mmc_rescan_try_freq()
2517 if (!(host->caps2 & MMC_CAP2_NO_SDIO)) in mmc_rescan_try_freq()
2521 if (!(host->caps2 & MMC_CAP2_NO_SD)) in mmc_rescan_try_freq()
2525 if (!(host->caps2 & MMC_CAP2_NO_MMC)) in mmc_rescan_try_freq()
2678 if (!(host->caps2 & MMC_CAP2_NO_PRESCAN_POWERUP)) { in mmc_start_host()
Ddebugfs.c249 if (!debugfs_create_x32("caps2", S_IRUSR, root, &host->caps2)) in mmc_add_host_debugfs()
Dsdio.c796 if (host->caps2 & MMC_CAP2_AVOID_3_3V && in mmc_sdio_init_card()
986 if (!(host->caps2 & MMC_CAP2_SDIO_IRQ_NOTHREAD)) in mmc_sdio_resume()
Dqueue.c43 return host->caps2 & MMC_CAP2_CQE_DCMD; in mmc_cqe_can_dcmd()
Dsd.c816 if (host->caps2 & MMC_CAP2_NO_WRITE_PROTECT) in mmc_sd_get_ro()
1062 if (host->caps2 & MMC_CAP2_AVOID_3_3V && in mmc_sd_init_card()
/Linux-v4.19/drivers/mmc/host/
Dsdhci-acpi.c64 unsigned int caps2; member
73 unsigned int caps2; member
546 host->mmc->caps2 = MMC_CAP2_HS400_1_8V; in sdhci_acpi_emmc_amd_probe_slot()
706 host->mmc->caps2 |= c->slot->chip->caps2; in sdhci_acpi_probe()
712 host->mmc->caps2 |= c->slot->caps2; in sdhci_acpi_probe()
716 host->mmc->caps2 |= MMC_CAP2_NO_PRESCAN_POWERUP; in sdhci_acpi_probe()
Dof_mmc_spi.c120 oms->pdata.caps2 |= MMC_CAP2_CD_ACTIVE_HIGH; in mmc_spi_get_pdata()
126 oms->pdata.caps2 |= MMC_CAP2_RO_ACTIVE_HIGH; in mmc_spi_get_pdata()
Dsdhci-pci-core.c409 slot->host->mmc->caps2 |= MMC_CAP2_BOOTPART_NOACC; in mfd_emmc_probe_slot()
735 slot->host->mmc->caps2 |= MMC_CAP2_CQE; in glk_emmc_probe_slot()
738 slot->host->mmc->caps2 |= MMC_CAP2_HS400_ES, in glk_emmc_probe_slot()
741 slot->host->mmc->caps2 |= MMC_CAP2_CQE_DCMD; in glk_emmc_probe_slot()
857 slot->host->mmc->caps2 |= MMC_CAP2_AVOID_3_3V; in byt_sd_probe_slot()
1279 slot->host->mmc->caps2 |= MMC_CAP2_HS200; in rtsx_probe_slot()
1756 host->mmc->caps2 |= MMC_CAP2_NO_PRESCAN_POWERUP; in sdhci_pci_probe_slot()
Dsdhci-pci-o2micro.c317 host->mmc->caps2 |= MMC_CAP2_NO_SD; in sdhci_pci_o2_probe_slot()
318 host->mmc->caps2 |= MMC_CAP2_NO_SDIO; in sdhci_pci_o2_probe_slot()
Dsdhci-omap.c793 u32 *caps2 = &mmc->caps2; in sdhci_omap_config_iodelay_pinctrl_state() local
867 state = sdhci_omap_iodelay_pinctrl_state(omap_host, "hs200_1_8v", caps2, in sdhci_omap_config_iodelay_pinctrl_state()
Dcqhci.c79 if (tag == DCMD_SLOT && (cq_host->mmc->caps2 & MMC_CAP2_CQE_DCMD)) { in setup_trans_desc()
253 if (mmc->caps2 & MMC_CAP2_CQE_DCMD) in __cqhci_enable()
1119 if (mmc->caps2 & MMC_CAP2_CQE_DCMD) in cqhci_init()
Dsdhci.c3156 if ((mmc->caps2 & MMC_CAP2_HS400_ES) && in sdhci_runtime_resume_host()
3706 mmc->caps2 |= MMC_CAP2_SDIO_IRQ_NOTHREAD; in sdhci_setup_host()
3776 mmc->caps2 &= ~(MMC_CAP2_HSX00_1_8V | MMC_CAP2_HS400_ES); in sdhci_setup_host()
3792 mmc->caps2 |= MMC_CAP2_HS200; in sdhci_setup_host()
3799 mmc->caps2 |= MMC_CAP2_HS400; in sdhci_setup_host()
3801 if ((mmc->caps2 & MMC_CAP2_HSX00_1_2V) && in sdhci_setup_host()
3805 mmc->caps2 &= ~MMC_CAP2_HSX00_1_2V; in sdhci_setup_host()
3920 (mmc->caps2 & (MMC_CAP2_HS200_1_8V_SDR | MMC_CAP2_HS400_1_8V))) in sdhci_setup_host()
3923 if (mmc->caps2 & MMC_CAP2_HSX00_1_2V) in sdhci_setup_host()
Ddw_mmc.h257 u32 caps2; /* More capabilities */ member
Djz4740_mmc.c982 mmc->caps2 |= MMC_CAP2_CD_ACTIVE_HIGH; in jz4740_mmc_request_gpios()
984 mmc->caps2 |= MMC_CAP2_RO_ACTIVE_HIGH; in jz4740_mmc_request_gpios()
Ds3cmci.c1540 mmc->caps2 |= MMC_CAP2_NO_WRITE_PROTECT; in s3cmci_probe_pdata()
1546 mmc->caps2 |= MMC_CAP2_RO_ACTIVE_HIGH; in s3cmci_probe_pdata()
1549 mmc->caps2 |= MMC_CAP2_CD_ACTIVE_HIGH; in s3cmci_probe_pdata()
Dsdhci-pxav3.c452 host->mmc->caps2 |= pdata->host_caps2; in sdhci_pxav3_probe()
/Linux-v4.19/include/linux/spi/
Dmmc_spi.h42 unsigned long caps2; member
/Linux-v4.19/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-v4.19/arch/arm/mach-ep93xx/
Dvision_ep9307.c209 .caps2 = MMC_CAP2_RO_ACTIVE_HIGH,
/Linux-v4.19/include/linux/mmc/
Dhost.h344 u32 caps2; /* More host capabilities */ member

12