Home
last modified time | relevance | path

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

12

/linux/drivers/mmc/core/
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.c196 u32 caps = host->caps, caps2 = host->caps2; in mmc_select_card_type() local
224 if (caps2 & MMC_CAP2_HS200_1_8V_SDR && in mmc_select_card_type()
230 if (caps2 & MMC_CAP2_HS200_1_2V_SDR && in mmc_select_card_type()
236 if (caps2 & MMC_CAP2_HS400_1_8V && in mmc_select_card_type()
242 if (caps2 & MMC_CAP2_HS400_1_2V && in mmc_select_card_type()
248 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 Dslot-gpio.c214 if (host->caps2 & MMC_CAP2_CD_ACTIVE_HIGH) in mmc_gpiod_request_cd()
281 if (host->caps2 & MMC_CAP2_RO_ACTIVE_HIGH) in mmc_gpiod_request_ro()
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 Dcore.c1007 if ((host->caps2 & MMC_CAP2_HS400_ES) && in mmc_set_initial_state()
1141 if (!mmc_card_uhs2(host) && host->caps2 & MMC_CAP2_FULL_PWR_CYCLE) { in mmc_select_voltage()
2096 if (!(host->caps2 & MMC_CAP2_NO_SDIO)) in mmc_rescan_try_freq()
2101 if (!(host->caps2 & MMC_CAP2_NO_SD)) { in mmc_rescan_try_freq()
2109 if (!(host->caps2 & MMC_CAP2_NO_SDIO)) in mmc_rescan_try_freq()
2113 if (!(host->caps2 & MMC_CAP2_NO_SD)) in mmc_rescan_try_freq()
2117 if (!(host->caps2 & MMC_CAP2_NO_MMC)) in mmc_rescan_try_freq()
2197 if ((!(card->host->caps2 & MMC_CAP2_ALT_GPT_TEGRA))) in mmc_card_alternative_gpt_sector()
2317 bool power_up = !(host->caps2 & in mmc_start_host()
H A Dhost.h54 return !(host->caps2 & MMC_CAP2_BOOTPART_NOACC); in mmc_boot_partition_access()
H 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()
H A Ddebugfs.c356 debugfs_create_file("caps2", 0600, root, &host->caps2, in mmc_add_host_debugfs()
H A Dsd.c915 if (host->caps2 & MMC_CAP2_NO_WRITE_PROTECT) in mmc_sd_get_ro()
1577 if (host->caps2 & MMC_CAP2_AVOID_3_3V && in mmc_sd_init_card()
/linux/drivers/mtd/nand/raw/
H A Dcadence-nand-controller.c461 struct cdns_nand_caps caps2; member
552 u8 data_dma_width = cdns_ctrl->caps2.data_dma_width; in cadence_nand_dma_buf_ok()
900 cdns_ctrl->caps2.max_banks = 1 << FIELD_GET(CTRL_FEATURES_N_BANKS, reg); in cadence_nand_get_caps()
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()
908 cdns_ctrl->caps2.data_control_supp = true; in cadence_nand_get_caps()
912 cdns_ctrl->caps2.is_phy_type_dll = true; in cadence_nand_get_caps()
1187 if (cdns_ctrl->caps2.data_dma_width == 8) { in cadence_nand_hw_init()
1256 if (cdns_ctrl->caps2.data_control_supp) { in cadence_nand_prepare_data_size()
1327 if (cdns_ctrl->caps2.is_phy_type_dll) in cadence_nand_set_timings()
[all …]
/linux/drivers/mmc/host/
H A Dsdhci-cqhci.h17 if ((host->mmc->caps2 & MMC_CAP2_CQE) && (mask & SDHCI_RESET_ALL) && in sdhci_and_cqhci_reset()
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-of-dwcmshc.c442 if ((host->mmc->caps2 & emmc_caps) == emmc_caps) { in th1520_sdhci_set_phy()
785 host->mmc->caps2 &= ~(MMC_CAP2_HS200 | MMC_CAP2_HS400); in dwcmshc_rk35xx_postinit()
909 if ((host->mmc->caps2 & emmc_caps) == emmc_caps) { in cv18xx_sdhci_reset()
1263 host->mmc->caps2 |= MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD; in dwcmshc_cqhci_init()
1311 host->mmc->caps2 &= ~(MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD); in dwcmshc_cqhci_init()
1518 if (host->mmc->caps2 & MMC_CAP2_CQE) { in dwcmshc_suspend()
1562 if (host->mmc->caps2 & MMC_CAP2_CQE) { in dwcmshc_resume()
H 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()
H A Dsdhci-pci-core.c369 slot->host->mmc->caps2 |= MMC_CAP2_BOOTPART_NOACC; in mfd_emmc_probe_slot()
926 slot->host->mmc->caps2 |= MMC_CAP2_CQE; in glk_emmc_probe_slot()
930 slot->host->mmc->caps2 |= MMC_CAP2_HS400_ES; in glk_emmc_probe_slot()
934 slot->host->mmc->caps2 |= MMC_CAP2_CQE_DCMD; in glk_emmc_probe_slot()
1131 slot->host->mmc->caps2 |= MMC_CAP2_AVOID_3_3V; in byt_sd_probe_slot()
1652 slot->host->mmc->caps2 |= MMC_CAP2_HS200; in rtsx_probe_slot()
2185 host->mmc->caps2 |= MMC_CAP2_NO_PRESCAN_POWERUP; in sdhci_pci_probe_slot()
H A Dmtk-sd.c1790 if ((mmc->caps2 & MMC_CAP2_CQE) && in msdc_irq()
1956 if (mmc->caps2 & MMC_CAP2_NO_SDIO) { in msdc_init_hw()
2625 if (mmc->caps2 & MMC_CAP2_CD_ACTIVE_HIGH) in msdc_get_cd()
2812 if (mmc->caps2 & MMC_CAP2_NO_MMC) in msdc_of_property_parse()
2925 if (!(mmc->caps2 & MMC_CAP2_NO_MMC)) { in msdc_drv_probe()
2930 mmc->caps2 |= MMC_CAP2_CRYPTO; in msdc_drv_probe()
2990 mmc->caps2 |= MMC_CAP2_SDIO_IRQ_NOTHREAD; in msdc_drv_probe()
2994 mmc->caps2 |= MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD; in msdc_drv_probe()
3033 if (mmc->caps2 & MMC_CAP2_CQE) { in msdc_drv_probe()
3053 } else if (mmc->caps2 & MMC_CAP2_NO_SDIO) { in msdc_drv_probe()
[all …]
H A Dsdhci-tegra.c1605 host->mmc->caps2 |= MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD; in sdhci_tegra_add_host()
1674 host->mmc->caps2 |= MMC_CAP2_ALT_GPT_TEGRA; in sdhci_tegra_probe()
1861 if (host->mmc->caps2 & MMC_CAP2_CQE) { in sdhci_tegra_suspend()
1902 if (host->mmc->caps2 & MMC_CAP2_CQE) { in sdhci_tegra_resume()
H A Ddw_mmc.h265 u32 caps2; /* More capabilities */ member
H A Dsdhci-msm.c1916 mmc->caps2 |= MMC_CAP2_CRYPTO; in sdhci_msm_ice_init()
1922 if (msm_host->mmc->caps2 & MMC_CAP2_CRYPTO) in sdhci_msm_ice_enable()
1928 if (msm_host->mmc->caps2 & MMC_CAP2_CRYPTO) in sdhci_msm_ice_resume()
1936 if (msm_host->mmc->caps2 & MMC_CAP2_CRYPTO) in sdhci_msm_ice_suspend()
2128 msm_host->mmc->caps2 |= MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD; in sdhci_msm_cqe_add_host()
H A Dsdhci_am654.c686 host->mmc->caps2 |= MMC_CAP2_CQE; in sdhci_am654_cqe_add_host()
716 host->mmc->caps2 &= ~td[i].capability; in sdhci_am654_get_otap_delay()
H A Drenesas_sdhi_core.c999 host->mmc->caps2 &= ~(MMC_CAP2_HS400 | MMC_CAP2_HS400_ES); in renesas_sdhi_probe()
1083 host->mmc->caps2 & MMC_CAP2_HSX00_1_8V)) { in renesas_sdhi_probe()
H A Dsdhci-of-aspeed.c325 (host->mmc->caps2 & MMC_CAP2_CD_ACTIVE_HIGH)) in aspeed_sdhci_readl()
H A Ddw_mmc.c2902 if (host->pdata->caps2) in dw_mci_init_slot_caps()
2903 mmc->caps2 = host->pdata->caps2; in dw_mci_init_slot_caps()
2916 mmc->caps2 |= MMC_CAP2_SDIO_IRQ_NOTHREAD; in dw_mci_init_slot_caps()
/linux/include/linux/spi/
H A Dmmc_spi.h27 unsigned long caps2; member
/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()

12