Home
last modified time | relevance | path

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

123

/drivers/mmc/core/
A Dhost.c323 host->caps2 |= MMC_CAP2_CD_ACTIVE_HIGH; in mmc_of_parse()
343 host->caps2 |= MMC_CAP2_RO_ACTIVE_HIGH; in mmc_of_parse()
375 host->caps2 |= MMC_CAP2_FULL_PWR_CYCLE; in mmc_of_parse()
390 host->caps2 |= MMC_CAP2_HS200_1_8V_SDR; in mmc_of_parse()
392 host->caps2 |= MMC_CAP2_HS200_1_2V_SDR; in mmc_of_parse()
398 host->caps2 |= MMC_CAP2_HS400_ES; in mmc_of_parse()
400 host->caps2 |= MMC_CAP2_NO_SDIO; in mmc_of_parse()
402 host->caps2 |= MMC_CAP2_NO_SD; in mmc_of_parse()
404 host->caps2 |= MMC_CAP2_NO_MMC; in mmc_of_parse()
616 u32 caps = host->caps, caps2 = host->caps2; in mmc_validate_host_caps() local
[all …]
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()
A Dmmc.c206 u32 caps = host->caps, caps2 = host->caps2; in mmc_select_card_type() local
234 if (caps2 & MMC_CAP2_HS200_1_8V_SDR && in mmc_select_card_type()
240 if (caps2 & MMC_CAP2_HS200_1_2V_SDR && in mmc_select_card_type()
246 if (caps2 & MMC_CAP2_HS400_1_8V && in mmc_select_card_type()
252 if (caps2 & MMC_CAP2_HS400_1_2V && in mmc_select_card_type()
258 if ((caps2 & MMC_CAP2_HS400_ES) && in mmc_select_card_type()
1904 if (card->ext_csd.cmdq_support && host->caps2 & MMC_CAP2_CQE) { in mmc_init_card()
1938 if (host->caps2 & MMC_CAP2_AVOID_3_3V && in mmc_init_card()
2026 if (host->caps2 & MMC_CAP2_FULL_PWR_CYCLE) in mmc_host_can_poweroff_notify()
2029 if (host->caps2 & MMC_CAP2_FULL_PWR_CYCLE_IN_SUSPEND && in mmc_host_can_poweroff_notify()
A Dslot-gpio.c202 if (host->caps2 & MMC_CAP2_CD_ACTIVE_HIGH) in mmc_gpiod_request_cd()
269 if (host->caps2 & MMC_CAP2_RO_ACTIVE_HIGH) in mmc_gpiod_request_ro()
A Dcore.c1006 if ((host->caps2 & MMC_CAP2_HS400_ES) && in mmc_set_initial_state()
1140 if (!mmc_card_uhs2(host) && host->caps2 & MMC_CAP2_FULL_PWR_CYCLE) { in mmc_select_voltage()
2087 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()
2100 if (!(host->caps2 & MMC_CAP2_NO_SDIO)) in mmc_rescan_try_freq()
2104 if (!(host->caps2 & MMC_CAP2_NO_SD)) in mmc_rescan_try_freq()
2108 if (!(host->caps2 & MMC_CAP2_NO_MMC)) in mmc_rescan_try_freq()
2188 if ((!(card->host->caps2 & MMC_CAP2_ALT_GPT_TEGRA))) in mmc_card_alternative_gpt_sector()
2308 bool power_up = !(host->caps2 & in mmc_start_host()
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()
A Dsd_ops.c261 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()
A Dhost.h54 return !(host->caps2 & MMC_CAP2_BOOTPART_NOACC); in mmc_host_can_access_boot()
A Dqueue.c40 return host->caps2 & MMC_CAP2_CQE_DCMD; in mmc_cqe_can_dcmd()
407 return host->caps2 & MMC_CAP2_MERGE_CAPABLE; in mmc_merge_capable()
/drivers/mmc/host/
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()
883 host->mmc->caps2 |= c->slot->chip->caps2; in sdhci_acpi_probe()
889 host->mmc->caps2 |= c->slot->caps2; in sdhci_acpi_probe()
893 host->mmc->caps2 |= MMC_CAP2_NO_PRESCAN_POWERUP; in sdhci_acpi_probe()
899 host->mmc->caps2 |= MMC_CAP2_CD_ACTIVE_HIGH; in sdhci_acpi_probe()
916 host->mmc->caps2 |= MMC_CAP2_NO_WRITE_PROTECT; in sdhci_acpi_probe()
A Dsdhci-brcmstb.c198 if ((host->mmc->caps & MMC_CAP_UHS_I_SDR_MASK) || (host->mmc->caps2 & MMC_CAP_HSE_MASK)) { in sdhci_brcmstb_cfginit_2712()
330 host->mmc->caps2 |= MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD; in sdhci_brcmstb_add_host()
428 (host->mmc->caps2 & MMC_CAP2_HS400_ES)) in sdhci_brcmstb_probe()
508 if (host->mmc->caps2 & MMC_CAP2_CQE) { in sdhci_brcmstb_suspend()
538 if (host->mmc->caps2 & MMC_CAP2_CQE) in sdhci_brcmstb_resume()
A Dsdhci-of-k1.c101 if (!(host->mmc->caps2 & MMC_CAP2_NO_MMC)) in spacemit_sdhci_reset()
115 if (!(host->mmc->caps2 & MMC_CAP2_NO_SDIO)) in spacemit_sdhci_set_uhs_signaling()
273 if (!(host->mmc->caps2 & MMC_CAP2_NO_MMC)) { in spacemit_sdhci_probe()
A Dcqhci-crypto.c171 if (!(mmc->caps2 & MMC_CAP2_CRYPTO) || in cqhci_crypto_init()
239 mmc->caps2 &= ~MMC_CAP2_CRYPTO; in cqhci_crypto_init()
A Dsdhci-cqhci.h17 if ((host->mmc->caps2 & MMC_CAP2_CQE) && (mask & SDHCI_RESET_ALL) && in sdhci_and_cqhci_reset()
A Dsdhci-of-dwcmshc.c401 if ((host->mmc->caps2 & emmc_caps) == emmc_caps) { in th1520_sdhci_set_phy()
744 host->mmc->caps2 &= ~(MMC_CAP2_HS200 | MMC_CAP2_HS400); in dwcmshc_rk35xx_postinit()
891 if ((host->mmc->caps2 & emmc_caps) == emmc_caps) { in cv18xx_sdhci_reset()
1257 host->mmc->caps2 |= MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD; in dwcmshc_cqhci_init()
1305 host->mmc->caps2 &= ~(MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD); in dwcmshc_cqhci_init()
1512 if (host->mmc->caps2 & MMC_CAP2_CQE) { in dwcmshc_suspend()
1556 if (host->mmc->caps2 & MMC_CAP2_CQE) { in dwcmshc_resume()
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()
A Dsdhci-uhs2.c1166 mmc->caps2 |= MMC_CAP2_SD_UHS2; in __sdhci_uhs2_add_host_v4()
1186 mmc->caps2 &= ~MMC_CAP2_SD_UHS2; in __sdhci_uhs2_add_host_v4()
1210 if ((mmc->caps2 & MMC_CAP2_SD_UHS2) && !host->v4_mode) in sdhci_uhs2_add_host()
1212 mmc->caps2 &= ~MMC_CAP2_SD_UHS2; in sdhci_uhs2_add_host()
1215 if (mmc->caps2 & MMC_CAP2_SD_UHS2) in sdhci_uhs2_add_host()
A Dsdhci-pci-core.c358 slot->host->mmc->caps2 |= MMC_CAP2_BOOTPART_NOACC; in mfd_emmc_probe_slot()
920 slot->host->mmc->caps2 |= MMC_CAP2_CQE; in glk_emmc_probe_slot()
924 slot->host->mmc->caps2 |= MMC_CAP2_HS400_ES; in glk_emmc_probe_slot()
928 slot->host->mmc->caps2 |= MMC_CAP2_CQE_DCMD; in glk_emmc_probe_slot()
1125 slot->host->mmc->caps2 |= MMC_CAP2_AVOID_3_3V; in byt_sd_probe_slot()
1646 slot->host->mmc->caps2 |= MMC_CAP2_HS200; in rtsx_probe_slot()
2179 host->mmc->caps2 |= MMC_CAP2_NO_PRESCAN_POWERUP; in sdhci_pci_probe_slot()
A Dcqhci-core.c84 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()
A Dsdhci-esdhc-imx.c1822 host->mmc->caps2 &= ~(MMC_CAP2_HS400 | MMC_CAP2_HS400_ES); in sdhci_esdhc_imx_probe_dt()
1932 host->mmc->caps2 |= MMC_CAP2_HS400; in sdhci_esdhc_imx_probe()
1938 host->mmc->caps2 |= MMC_CAP2_HS400_ES; in sdhci_esdhc_imx_probe()
1944 host->mmc->caps2 |= MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD; in sdhci_esdhc_imx_probe()
2125 if (host->mmc->caps2 & MMC_CAP2_CQE) { in sdhci_esdhc_runtime_suspend()
2177 if (host->mmc->caps2 & MMC_CAP2_CQE) in sdhci_esdhc_runtime_resume()
A Dsdhci-pci-gli.c1501 slot->host->mmc->caps2 |= MMC_CAP2_NO_SDIO; in gli_probe_slot_gl9750()
1513 slot->host->mmc->caps2 |= MMC_CAP2_NO_SDIO; in gli_probe_slot_gl9755()
1527 slot->host->mmc->caps2 |= MMC_CAP2_NO_SDIO; in gli_probe_slot_gl9767()
1528 host->mmc->caps2 |= MMC_CAP2_SD_EXP; in gli_probe_slot_gl9767()
1912 host->mmc->caps2 |= MMC_CAP2_HS200_1_8V_SDR | in gli_probe_slot_gl9763e()
1921 host->mmc->caps2 |= MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD; in gli_probe_slot_gl9763e()
A Drtsx_pci_sdmmc.c960 mmc->caps2 |= MMC_CAP2_SD_EXP | MMC_CAP2_SD_EXP_1_2V; in sd_power_on()
969 mmc->caps2 &= ~(MMC_CAP2_SD_EXP | MMC_CAP2_SD_EXP_1_2V); in sd_power_on()
1443 mmc->caps2 |= MMC_CAP2_NO_MMC; in init_extra_caps()
1445 mmc->caps2 |= MMC_CAP2_SD_EXP | MMC_CAP2_SD_EXP_1_2V; in init_extra_caps()
1461 mmc->caps2 = MMC_CAP2_NO_PRESCAN_POWERUP | MMC_CAP2_FULL_PWR_CYCLE | in realtek_init_host()
A Dmtk-sd.c1825 if ((mmc->caps2 & MMC_CAP2_CQE) && in msdc_irq()
2035 if (mmc->caps2 & MMC_CAP2_NO_SDIO) { in msdc_init_hw()
2707 if (mmc->caps2 & MMC_CAP2_CD_ACTIVE_HIGH) in msdc_get_cd()
2894 if (mmc->caps2 & MMC_CAP2_NO_MMC) in msdc_of_property_parse()
3007 if (!(mmc->caps2 & MMC_CAP2_NO_MMC)) { in msdc_drv_probe()
3012 mmc->caps2 |= MMC_CAP2_CRYPTO; in msdc_drv_probe()
3072 mmc->caps2 |= MMC_CAP2_SDIO_IRQ_NOTHREAD; in msdc_drv_probe()
3076 mmc->caps2 |= MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD; in msdc_drv_probe()
3115 if (mmc->caps2 & MMC_CAP2_CQE) { in msdc_drv_probe()
3135 } else if (mmc->caps2 & MMC_CAP2_NO_SDIO) { in msdc_drv_probe()
[all …]
/drivers/mtd/nand/raw/
A Dcadence-nand-controller.c461 struct cdns_nand_caps caps2; member
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()
912 cdns_ctrl->caps2.is_phy_type_dll = true; in cadence_nand_get_caps()
1327 if (cdns_ctrl->caps2.is_phy_type_dll) in cadence_nand_set_timings()
1332 if (cdns_ctrl->caps2.is_phy_type_dll) { in cadence_nand_set_timings()
2380 if (cdns_ctrl->caps2.is_phy_type_dll) in cadence_nand_setup_interface()
2567 if (cdns_ctrl->caps2.is_phy_type_dll) { in cadence_nand_setup_interface()
2615 if (cdns_ctrl->caps2.is_phy_type_dll) in cadence_nand_setup_interface()
2620 if (cdns_ctrl->caps2.is_phy_type_dll) { in cadence_nand_setup_interface()
[all …]
/drivers/staging/greybus/
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()

Completed in 85 milliseconds

123