Home
last modified time | relevance | path

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

123

/linux/drivers/mmc/core/
H A Dhost.c325 host->caps2 |= MMC_CAP2_CD_ACTIVE_HIGH; in mmc_of_parse()
345 host->caps2 |= MMC_CAP2_RO_ACTIVE_HIGH; in mmc_of_parse()
354 host->caps2 |= MMC_CAP2_NO_WRITE_PROTECT; in mmc_of_parse()
377 host->caps2 |= MMC_CAP2_FULL_PWR_CYCLE; in mmc_of_parse()
379 host->caps2 |= MMC_CAP2_FULL_PWR_CYCLE_IN_SUSPEND; in mmc_of_parse()
392 host->caps2 |= MMC_CAP2_HS200_1_8V_SDR; in mmc_of_parse()
394 host->caps2 |= MMC_CAP2_HS200_1_2V_SDR; in mmc_of_parse()
396 host->caps2 |= MMC_CAP2_HS400_1_8V | MMC_CAP2_HS200_1_8V_SDR; in mmc_of_parse()
398 host->caps2 |= MMC_CAP2_HS400_1_2V | MMC_CAP2_HS200_1_2V_SDR; in mmc_of_parse()
400 host->caps2 |= MMC_CAP2_HS400_ES; in mmc_of_parse()
[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.c207 u32 caps = host->caps, caps2 = host->caps2; in mmc_select_card_type() local
235 if (caps2 & MMC_CAP2_HS200_1_8V_SDR && in mmc_select_card_type()
241 if (caps2 & MMC_CAP2_HS200_1_2V_SDR && in mmc_select_card_type()
247 if (caps2 & MMC_CAP2_HS400_1_8V && in mmc_select_card_type()
253 if (caps2 & MMC_CAP2_HS400_1_2V && in mmc_select_card_type()
259 if ((caps2 & MMC_CAP2_HS400_ES) && in mmc_select_card_type()
1905 if (card->ext_csd.cmdq_support && host->caps2 & MMC_CAP2_CQE) { in mmc_init_card()
1939 if (host->caps2 & MMC_CAP2_AVOID_3_3V && in mmc_init_card()
2027 if (host->caps2 & MMC_CAP2_FULL_PWR_CYCLE) in mmc_host_can_poweroff_notify()
2030 if (host->caps2 & MMC_CAP2_FULL_PWR_CYCLE_IN_SUSPEND && in mmc_host_can_poweroff_notify()
H 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()
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.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()
2119 if (!(host->caps2 & MMC_CAP2_NO_SDIO)) in mmc_rescan_try_freq()
2124 if (!(host->caps2 & MMC_CAP2_NO_SD)) { in mmc_rescan_try_freq()
2132 if (!(host->caps2 & MMC_CAP2_NO_SDIO)) in mmc_rescan_try_freq()
2136 if (!(host->caps2 & MMC_CAP2_NO_SD)) in mmc_rescan_try_freq()
2140 if (!(host->caps2 & MMC_CAP2_NO_MMC)) in mmc_rescan_try_freq()
2220 if ((!(card->host->caps2 & MMC_CAP2_ALT_GPT_TEGRA))) in mmc_card_alternative_gpt_sector()
2340 bool power_up = !(host->caps2 & in mmc_start_host()
H A Dhost.h54 return !(host->caps2 & MMC_CAP2_BOOTPART_NOACC); in mmc_host_can_access_boot()
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 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()
/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()
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()
H 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()
H A Dsdhci-of-dwcmshc.c477 if ((host->mmc->caps2 & emmc_caps) == emmc_caps) { in th1520_sdhci_set_phy()
835 if ((host->mmc->caps2 & MMC_CAP2_CQE) && (mask & SDHCI_RESET_ALL)) in rk35xx_sdhci_reset()
902 host->mmc->caps2 &= ~(MMC_CAP2_HS200 | MMC_CAP2_HS400); in dwcmshc_rk35xx_postinit()
1041 if ((host->mmc->caps2 & emmc_caps) == emmc_caps) { in cv18xx_sdhci_reset()
1290 if ((host->mmc->caps2 & emmc_caps) == emmc_caps) { in sdhci_eic7700_config_phy()
1314 if ((host->mmc->caps2 & emmc_caps) == emmc_caps) { in sdhci_eic7700_config_phy()
1434 if ((host->mmc->caps2 & sd_caps) == sd_caps) in sdhci_eic7700_phase_code_tuning()
1521 if ((host->mmc->caps2 & emmc_caps) == emmc_caps) { in sdhci_eic7700_executing_tuning()
1588 if ((host->mmc->caps2 & sd_caps) == sd_caps) in sdhci_eic7700_set_uhs_wrapper()
1649 if ((host->mmc->caps2 & emmc_caps) == emmc_caps) in eic7700_init()
[all …]
H A Dsdhci-brcmstb.c279 if ((host->mmc->caps & MMC_CAP_UHS_I_SDR_MASK) || (host->mmc->caps2 & MMC_CAP_HSE_MASK)) { in sdhci_brcmstb_cfginit_2712()
449 host->mmc->caps2 |= MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD; in sdhci_brcmstb_add_host()
555 (host->mmc->caps2 & MMC_CAP2_HS400_ES)) in sdhci_brcmstb_probe()
639 if (host->mmc->caps2 & MMC_CAP2_CQE) { in sdhci_brcmstb_suspend()
673 if (host->mmc->caps2 & MMC_CAP2_CQE) in sdhci_brcmstb_resume()
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.c171 if (!(mmc->caps2 & MMC_CAP2_CRYPTO) || in cqhci_crypto_init()
239 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-uhs2.c1167 mmc->caps2 |= MMC_CAP2_SD_UHS2; in __sdhci_uhs2_add_host_v4()
1187 mmc->caps2 &= ~MMC_CAP2_SD_UHS2; in __sdhci_uhs2_add_host_v4()
1211 if ((mmc->caps2 & MMC_CAP2_SD_UHS2) && !host->v4_mode) in sdhci_uhs2_add_host()
1213 mmc->caps2 &= ~MMC_CAP2_SD_UHS2; in sdhci_uhs2_add_host()
1216 if (mmc->caps2 & MMC_CAP2_SD_UHS2) in sdhci_uhs2_add_host()
H A Dsdhci_am654.c720 host->mmc->caps2 |= MMC_CAP2_CQE; in sdhci_am654_cqe_add_host()
750 host->mmc->caps2 &= ~td[i].capability; in sdhci_am654_get_otap_delay()
825 host->mmc->caps2 & (MMC_CAP2_HS400 | MMC_CAP2_HS400_ES)) { in sdhci_am654_init()
827 host->mmc->caps2 &= ~(MMC_CAP2_HS400 | MMC_CAP2_HS400_ES); in sdhci_am654_init()
H A Dsdhci-pci-core.c358 slot->host->mmc->caps2 |= MMC_CAP2_BOOTPART_NOACC; in mfd_emmc_probe_slot()
931 slot->host->mmc->caps2 |= MMC_CAP2_CQE; in glk_emmc_probe_slot()
935 slot->host->mmc->caps2 |= MMC_CAP2_HS400_ES; in glk_emmc_probe_slot()
939 slot->host->mmc->caps2 |= MMC_CAP2_CQE_DCMD; in glk_emmc_probe_slot()
1136 slot->host->mmc->caps2 |= MMC_CAP2_AVOID_3_3V; in byt_sd_probe_slot()
1657 slot->host->mmc->caps2 |= MMC_CAP2_HS200; in rtsx_probe_slot()
2190 host->mmc->caps2 |= MMC_CAP2_NO_PRESCAN_POWERUP; in sdhci_pci_probe_slot()
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-esdhc-imx.c1820 host->mmc->caps2 &= ~(MMC_CAP2_HS400 | MMC_CAP2_HS400_ES); in sdhci_esdhc_imx_probe_dt()
1930 host->mmc->caps2 |= MMC_CAP2_HS400; in sdhci_esdhc_imx_probe()
1936 host->mmc->caps2 |= MMC_CAP2_HS400_ES; in sdhci_esdhc_imx_probe()
1942 host->mmc->caps2 |= MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD; in sdhci_esdhc_imx_probe()
2120 if (host->mmc->caps2 & MMC_CAP2_CQE) { in sdhci_esdhc_runtime_suspend()
2172 if (host->mmc->caps2 & MMC_CAP2_CQE) in sdhci_esdhc_runtime_resume()
H A Dsdhci.c2572 allow_invert = !(mmc->caps2 & MMC_CAP2_RO_ACTIVE_HIGH); in sdhci_get_ro()
3910 if ((mmc->caps2 & MMC_CAP2_HS400_ES) && in sdhci_runtime_resume_host()
4509 mmc->caps2 |= MMC_CAP2_SDIO_IRQ_NOTHREAD; in sdhci_setup_host()
4539 mmc->caps2 &= ~(MMC_CAP2_HS200 | MMC_CAP2_HS400 | MMC_CAP2_HS400_ES); in sdhci_setup_host()
4593 mmc->caps2 &= ~(MMC_CAP2_HSX00_1_8V | MMC_CAP2_HS400_ES); in sdhci_setup_host()
4609 mmc->caps2 |= MMC_CAP2_HS200; in sdhci_setup_host()
4616 mmc->caps2 |= MMC_CAP2_HS400; in sdhci_setup_host()
4618 if ((mmc->caps2 & MMC_CAP2_HSX00_1_2V) && in sdhci_setup_host()
4622 mmc->caps2 &= ~MMC_CAP2_HSX00_1_2V; in sdhci_setup_host()
4733 (mmc->caps2 & (MMC_CAP2_HS200_1_8V_SDR | MMC_CAP2_HS400_1_8V))) in sdhci_setup_host()
[all …]
/linux/drivers/mtd/nand/raw/
H A Dcadence-nand-controller.c512 struct cdns_nand_caps caps2; member
603 u8 data_dma_width = cdns_ctrl->caps2.data_dma_width; in cadence_nand_dma_buf_ok()
951 cdns_ctrl->caps2.max_banks = 1 << FIELD_GET(CTRL_FEATURES_N_BANKS, reg); in cadence_nand_get_caps()
954 cdns_ctrl->caps2.data_dma_width = 8; in cadence_nand_get_caps()
956 cdns_ctrl->caps2.data_dma_width = 4; in cadence_nand_get_caps()
959 cdns_ctrl->caps2.data_control_supp = true; in cadence_nand_get_caps()
963 cdns_ctrl->caps2.is_phy_type_dll = true; in cadence_nand_get_caps()
1238 if (cdns_ctrl->caps2.data_dma_width == 8) { in cadence_nand_hw_init()
1307 if (cdns_ctrl->caps2.data_control_supp) { in cadence_nand_prepare_data_size()
1378 if (cdns_ctrl->caps2.is_phy_type_dll) in cadence_nand_set_timings()
[all …]
/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()

123