Home
last modified time | relevance | path

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

123

/linux-6.12.1/drivers/mmc/core/
Dhost.c324 host->caps2 |= MMC_CAP2_CD_ACTIVE_HIGH; in mmc_of_parse()
344 host->caps2 |= MMC_CAP2_RO_ACTIVE_HIGH; in mmc_of_parse()
353 host->caps2 |= MMC_CAP2_NO_WRITE_PROTECT; in mmc_of_parse()
376 host->caps2 |= MMC_CAP2_FULL_PWR_CYCLE; in mmc_of_parse()
378 host->caps2 |= MMC_CAP2_FULL_PWR_CYCLE_IN_SUSPEND; in mmc_of_parse()
391 host->caps2 |= MMC_CAP2_HS200_1_8V_SDR; in mmc_of_parse()
393 host->caps2 |= MMC_CAP2_HS200_1_2V_SDR; in mmc_of_parse()
395 host->caps2 |= MMC_CAP2_HS400_1_8V | MMC_CAP2_HS200_1_8V_SDR; in mmc_of_parse()
397 host->caps2 |= MMC_CAP2_HS400_1_2V | MMC_CAP2_HS200_1_2V_SDR; in mmc_of_parse()
399 host->caps2 |= MMC_CAP2_HS400_ES; in mmc_of_parse()
[all …]
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()
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 …]
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()
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()
Dcore.c1001 if ((host->caps2 & MMC_CAP2_HS400_ES) && in mmc_set_initial_state()
1135 if (host->caps2 & MMC_CAP2_FULL_PWR_CYCLE) { in mmc_select_voltage()
2075 if (!(host->caps2 & MMC_CAP2_NO_SDIO)) in mmc_rescan_try_freq()
2080 if (!(host->caps2 & MMC_CAP2_NO_SD)) { in mmc_rescan_try_freq()
2088 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()
2096 if (!(host->caps2 & MMC_CAP2_NO_MMC)) in mmc_rescan_try_freq()
2176 if ((!(card->host->caps2 & MMC_CAP2_ALT_GPT_TEGRA))) in mmc_card_alternative_gpt_sector()
2287 if (!(host->caps2 & MMC_CAP2_NO_PRESCAN_POWERUP)) { in mmc_start_host()
Dhost.h54 return !(host->caps2 & MMC_CAP2_BOOTPART_NOACC); in mmc_boot_partition_access()
Dsd_ops.c237 if (host->caps2 & MMC_CAP2_SD_EXP) { in mmc_send_if_cond_pcie()
240 if (host->caps2 & MMC_CAP2_SD_EXP_1_2V) in mmc_send_if_cond_pcie()
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-6.12.1/drivers/mmc/host/
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()
897 host->mmc->caps2 |= c->slot->chip->caps2; in sdhci_acpi_probe()
903 host->mmc->caps2 |= c->slot->caps2; in sdhci_acpi_probe()
907 host->mmc->caps2 |= MMC_CAP2_NO_PRESCAN_POWERUP; in sdhci_acpi_probe()
913 host->mmc->caps2 |= MMC_CAP2_CD_ACTIVE_HIGH; in sdhci_acpi_probe()
930 host->mmc->caps2 |= MMC_CAP2_NO_WRITE_PROTECT; in sdhci_acpi_probe()
Dsdhci-cqhci.h17 if ((host->mmc->caps2 & MMC_CAP2_CQE) && (mask & SDHCI_RESET_ALL) && in sdhci_and_cqhci_reset()
Dcqhci-crypto.c179 if (!(mmc->caps2 & MMC_CAP2_CRYPTO) || in cqhci_crypto_init()
241 mmc->caps2 &= ~MMC_CAP2_CRYPTO; in cqhci_crypto_init()
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()
Dsdhci-esdhc-imx.c1663 host->mmc->caps2 &= ~(MMC_CAP2_HS400 | MMC_CAP2_HS400_ES); in sdhci_esdhc_imx_probe_dt()
1770 host->mmc->caps2 |= MMC_CAP2_HS400; in sdhci_esdhc_imx_probe()
1776 host->mmc->caps2 |= MMC_CAP2_HS400_ES; in sdhci_esdhc_imx_probe()
1782 host->mmc->caps2 |= MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD; in sdhci_esdhc_imx_probe()
1868 if (host->mmc->caps2 & MMC_CAP2_CQE) { in sdhci_esdhc_suspend()
1912 if (host->mmc->caps2 & MMC_CAP2_CQE) in sdhci_esdhc_resume()
1930 if (host->mmc->caps2 & MMC_CAP2_CQE) { in sdhci_esdhc_runtime_suspend()
1986 if (host->mmc->caps2 & MMC_CAP2_CQE) in sdhci_esdhc_runtime_resume()
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()
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()
Dsdhci-pci-gli.c1085 slot->host->mmc->caps2 |= MMC_CAP2_NO_SDIO; in gli_probe_slot_gl9750()
1097 slot->host->mmc->caps2 |= MMC_CAP2_NO_SDIO; in gli_probe_slot_gl9755()
1110 slot->host->mmc->caps2 |= MMC_CAP2_NO_SDIO; in gli_probe_slot_gl9767()
1111 host->mmc->caps2 |= MMC_CAP2_SD_EXP; in gli_probe_slot_gl9767()
1494 host->mmc->caps2 |= MMC_CAP2_HS200_1_8V_SDR | in gli_probe_slot_gl9763e()
1503 host->mmc->caps2 |= MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD; in gli_probe_slot_gl9763e()
Dsdhci-pci-core.c367 slot->host->mmc->caps2 |= MMC_CAP2_BOOTPART_NOACC; in mfd_emmc_probe_slot()
924 slot->host->mmc->caps2 |= MMC_CAP2_CQE; in glk_emmc_probe_slot()
928 slot->host->mmc->caps2 |= MMC_CAP2_HS400_ES; in glk_emmc_probe_slot()
932 slot->host->mmc->caps2 |= MMC_CAP2_CQE_DCMD; in glk_emmc_probe_slot()
1129 slot->host->mmc->caps2 |= MMC_CAP2_AVOID_3_3V; in byt_sd_probe_slot()
1626 slot->host->mmc->caps2 |= MMC_CAP2_HS200; in rtsx_probe_slot()
2123 host->mmc->caps2 |= MMC_CAP2_NO_PRESCAN_POWERUP; in sdhci_pci_probe_slot()
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()
Drtsx_pci_sdmmc.c962 mmc->caps2 |= MMC_CAP2_SD_EXP | MMC_CAP2_SD_EXP_1_2V; in sd_power_on()
971 mmc->caps2 &= ~(MMC_CAP2_SD_EXP | MMC_CAP2_SD_EXP_1_2V); in sd_power_on()
1445 mmc->caps2 |= MMC_CAP2_NO_MMC; in init_extra_caps()
1447 mmc->caps2 |= MMC_CAP2_SD_EXP | MMC_CAP2_SD_EXP_1_2V; in init_extra_caps()
1463 mmc->caps2 = MMC_CAP2_NO_PRESCAN_POWERUP | MMC_CAP2_FULL_PWR_CYCLE | in realtek_init_host()
Dsdhci-omap.c1118 u32 *caps2 = &mmc->caps2; in sdhci_omap_config_iodelay_pinctrl_state() local
1192 state = sdhci_omap_iodelay_pinctrl_state(omap_host, "hs200_1_8v", caps2, in sdhci_omap_config_iodelay_pinctrl_state()
1274 mmc->caps2 |= MMC_CAP2_NO_WRITE_PROTECT; in sdhci_omap_probe()
Dmtk-sd.c1668 if ((mmc->caps2 & MMC_CAP2_CQE) && in msdc_irq()
1815 if (mmc->caps2 & MMC_CAP2_NO_SDIO) { in msdc_init_hw()
2473 if (mmc->caps2 & MMC_CAP2_CD_ACTIVE_HIGH) in msdc_get_cd()
2660 if (mmc->caps2 & MMC_CAP2_NO_MMC) in msdc_of_property_parse()
2777 if (!(mmc->caps2 & MMC_CAP2_NO_MMC)) { in msdc_drv_probe()
2782 mmc->caps2 |= MMC_CAP2_CRYPTO; in msdc_drv_probe()
2849 mmc->caps2 |= MMC_CAP2_SDIO_IRQ_NOTHREAD; in msdc_drv_probe()
2853 mmc->caps2 |= MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD; in msdc_drv_probe()
2892 if (mmc->caps2 & MMC_CAP2_CQE) { in msdc_drv_probe()
3079 if (mmc->caps2 & MMC_CAP2_CQE) { in msdc_suspend()
/linux-6.12.1/drivers/mtd/nand/raw/
Dcadence-nand-controller.c461 struct cdns_nand_caps caps2; member
550 u8 data_dma_width = cdns_ctrl->caps2.data_dma_width; in cadence_nand_dma_buf_ok()
898 cdns_ctrl->caps2.max_banks = 1 << FIELD_GET(CTRL_FEATURES_N_BANKS, reg); in cadence_nand_get_caps()
901 cdns_ctrl->caps2.data_dma_width = 8; in cadence_nand_get_caps()
903 cdns_ctrl->caps2.data_dma_width = 4; in cadence_nand_get_caps()
906 cdns_ctrl->caps2.data_control_supp = true; in cadence_nand_get_caps()
910 cdns_ctrl->caps2.is_phy_type_dll = true; in cadence_nand_get_caps()
1185 if (cdns_ctrl->caps2.data_dma_width == 8) { in cadence_nand_hw_init()
1254 if (cdns_ctrl->caps2.data_control_supp) { in cadence_nand_prepare_data_size()
1325 if (cdns_ctrl->caps2.is_phy_type_dll) in cadence_nand_set_timings()
[all …]
/linux-6.12.1/include/linux/spi/
Dmmc_spi.h27 unsigned long caps2; member
/linux-6.12.1/drivers/staging/greybus/
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