Home
last modified time | relevance | path

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

123

/linux-5.19.10/drivers/mmc/core/
Dhost.c328 host->caps2 |= MMC_CAP2_CD_ACTIVE_HIGH; in mmc_of_parse()
348 host->caps2 |= MMC_CAP2_RO_ACTIVE_HIGH; in mmc_of_parse()
357 host->caps2 |= MMC_CAP2_NO_WRITE_PROTECT; in mmc_of_parse()
380 host->caps2 |= MMC_CAP2_FULL_PWR_CYCLE; in mmc_of_parse()
382 host->caps2 |= MMC_CAP2_FULL_PWR_CYCLE_IN_SUSPEND; in mmc_of_parse()
395 host->caps2 |= MMC_CAP2_HS200_1_8V_SDR; in mmc_of_parse()
397 host->caps2 |= MMC_CAP2_HS200_1_2V_SDR; in mmc_of_parse()
399 host->caps2 |= MMC_CAP2_HS400_1_8V | MMC_CAP2_HS200_1_8V_SDR; in mmc_of_parse()
401 host->caps2 |= MMC_CAP2_HS400_1_2V | MMC_CAP2_HS200_1_2V_SDR; in mmc_of_parse()
403 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()
Dslot-gpio.c196 if (host->caps2 & MMC_CAP2_CD_ACTIVE_HIGH) in mmc_gpiod_request_cd()
243 if (host->caps2 & MMC_CAP2_RO_ACTIVE_HIGH) in mmc_gpiod_request_ro()
Dmmc.c198 u32 caps = host->caps, caps2 = host->caps2; in mmc_select_card_type() local
226 if (caps2 & MMC_CAP2_HS200_1_8V_SDR && in mmc_select_card_type()
232 if (caps2 & MMC_CAP2_HS200_1_2V_SDR && in mmc_select_card_type()
238 if (caps2 & MMC_CAP2_HS400_1_8V && in mmc_select_card_type()
244 if (caps2 & MMC_CAP2_HS400_1_2V && in mmc_select_card_type()
250 if ((caps2 & MMC_CAP2_HS400_ES) && in mmc_select_card_type()
1887 if (card->ext_csd.cmdq_support && host->caps2 & MMC_CAP2_CQE) { in mmc_init_card()
1921 if (host->caps2 & MMC_CAP2_AVOID_3_3V && in mmc_init_card()
2112 ((host->caps2 & MMC_CAP2_FULL_PWR_CYCLE) || !is_suspend || in _mmc_suspend()
2113 (host->caps2 & MMC_CAP2_FULL_PWR_CYCLE_IN_SUSPEND))) in _mmc_suspend()
[all …]
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()
Dhost.h54 return !(host->caps2 & MMC_CAP2_BOOTPART_NOACC); in mmc_boot_partition_access()
Dcore.c995 if ((host->caps2 & MMC_CAP2_HS400_ES) && in mmc_set_initial_state()
1129 if (host->caps2 & MMC_CAP2_FULL_PWR_CYCLE) { in mmc_select_voltage()
2058 if (!(host->caps2 & MMC_CAP2_NO_SDIO)) in mmc_rescan_try_freq()
2063 if (!(host->caps2 & MMC_CAP2_NO_SD)) { in mmc_rescan_try_freq()
2071 if (!(host->caps2 & MMC_CAP2_NO_SDIO)) in mmc_rescan_try_freq()
2075 if (!(host->caps2 & MMC_CAP2_NO_SD)) in mmc_rescan_try_freq()
2079 if (!(host->caps2 & MMC_CAP2_NO_MMC)) in mmc_rescan_try_freq()
2159 if ((!(card->host->caps2 & MMC_CAP2_ALT_GPT_TEGRA))) in mmc_card_alternative_gpt_sector()
2259 if (!(host->caps2 & MMC_CAP2_NO_PRESCAN_POWERUP)) { in mmc_start_host()
Dsd_ops.c208 if (host->caps2 & MMC_CAP2_SD_EXP) { in mmc_send_if_cond_pcie()
211 if (host->caps2 & MMC_CAP2_SD_EXP_1_2V) in mmc_send_if_cond_pcie()
Ddebugfs.c235 debugfs_create_x32("caps2", S_IRUSR, root, &host->caps2); in mmc_add_host_debugfs()
Dqueue.c40 return host->caps2 & MMC_CAP2_CQE_DCMD; in mmc_cqe_can_dcmd()
397 return host->caps2 & MMC_CAP2_MERGE_CAPABLE; in mmc_merge_capable()
/linux-5.19.10/drivers/mmc/host/
Dsdhci-acpi.c51 unsigned int caps2; member
60 unsigned int caps2; member
619 host->mmc->caps2 = MMC_CAP2_HS400_1_8V; in sdhci_acpi_emmc_amd_probe_slot()
857 host->mmc->caps2 |= c->slot->chip->caps2; in sdhci_acpi_probe()
863 host->mmc->caps2 |= c->slot->caps2; in sdhci_acpi_probe()
867 host->mmc->caps2 |= MMC_CAP2_NO_PRESCAN_POWERUP; in sdhci_acpi_probe()
884 host->mmc->caps2 |= MMC_CAP2_NO_WRITE_PROTECT; in sdhci_acpi_probe()
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.c210 host->mmc->caps2 |= MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD; in sdhci_brcmstb_add_host()
314 (host->mmc->caps2 & MMC_CAP2_HS400_ES)) in sdhci_brcmstb_probe()
Dsdhci-pci-gli.c698 slot->host->mmc->caps2 |= MMC_CAP2_NO_SDIO; in gli_probe_slot_gl9750()
710 slot->host->mmc->caps2 |= MMC_CAP2_NO_SDIO; in gli_probe_slot_gl9755()
924 if ((host->mmc->caps2 & MMC_CAP2_CQE) && (mask & SDHCI_RESET_ALL) && in sdhci_gl9763e_reset()
1018 host->mmc->caps2 |= MMC_CAP2_HS200_1_8V_SDR | in gli_probe_slot_gl9763e()
1027 host->mmc->caps2 |= MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD; in gli_probe_slot_gl9763e()
Dsdhci-esdhc-imx.c1671 host->mmc->caps2 |= MMC_CAP2_HS400; in sdhci_esdhc_imx_probe()
1677 host->mmc->caps2 |= MMC_CAP2_HS400_ES; in sdhci_esdhc_imx_probe()
1683 host->mmc->caps2 |= MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD; in sdhci_esdhc_imx_probe()
1771 if (host->mmc->caps2 & MMC_CAP2_CQE) { in sdhci_esdhc_suspend()
1815 if (host->mmc->caps2 & MMC_CAP2_CQE) in sdhci_esdhc_resume()
1833 if (host->mmc->caps2 & MMC_CAP2_CQE) { in sdhci_esdhc_runtime_suspend()
1889 if (host->mmc->caps2 & MMC_CAP2_CQE) in sdhci_esdhc_runtime_resume()
Dsdhci-pci-core.c239 if ((host->mmc->caps2 & MMC_CAP2_CQE) && (mask & SDHCI_RESET_ALL) && in sdhci_cqhci_reset()
351 slot->host->mmc->caps2 |= MMC_CAP2_BOOTPART_NOACC; in mfd_emmc_probe_slot()
901 slot->host->mmc->caps2 |= MMC_CAP2_CQE; in glk_emmc_probe_slot()
904 slot->host->mmc->caps2 |= MMC_CAP2_HS400_ES; in glk_emmc_probe_slot()
907 slot->host->mmc->caps2 |= MMC_CAP2_CQE_DCMD; in glk_emmc_probe_slot()
1104 slot->host->mmc->caps2 |= MMC_CAP2_AVOID_3_3V; in byt_sd_probe_slot()
1586 slot->host->mmc->caps2 |= MMC_CAP2_HS200; in rtsx_probe_slot()
2076 host->mmc->caps2 |= MMC_CAP2_NO_PRESCAN_POWERUP; in sdhci_pci_probe_slot()
Dsdhci-pci-o2micro.c646 host->mmc->caps2 |= MMC_CAP2_NO_SD; in sdhci_pci_o2_probe_slot()
647 host->mmc->caps2 |= MMC_CAP2_NO_SDIO; in sdhci_pci_o2_probe_slot()
657 host->mmc->caps2 |= MMC_CAP2_NO_SDIO; in sdhci_pci_o2_probe_slot()
Dcqhci-core.c79 if (tag == DCMD_SLOT && (cq_host->mmc->caps2 & MMC_CAP2_CQE_DCMD)) { in setup_trans_desc()
261 if (mmc->caps2 & MMC_CAP2_CQE_DCMD) in __cqhci_enable()
267 if (mmc->caps2 & MMC_CAP2_CRYPTO) in __cqhci_enable()
1182 if (mmc->caps2 & MMC_CAP2_CQE_DCMD) in cqhci_init()
Drtsx_pci_sdmmc.c961 mmc->caps2 |= MMC_CAP2_SD_EXP | MMC_CAP2_SD_EXP_1_2V; in sd_power_on()
970 mmc->caps2 &= ~(MMC_CAP2_SD_EXP | MMC_CAP2_SD_EXP_1_2V); in sd_power_on()
1430 mmc->caps2 |= MMC_CAP2_NO_MMC; in init_extra_caps()
1432 mmc->caps2 |= MMC_CAP2_SD_EXP | MMC_CAP2_SD_EXP_1_2V; in init_extra_caps()
1448 mmc->caps2 = MMC_CAP2_NO_PRESCAN_POWERUP | MMC_CAP2_FULL_PWR_CYCLE | in realtek_init_host()
Dsdhci-omap.c1119 u32 *caps2 = &mmc->caps2; in sdhci_omap_config_iodelay_pinctrl_state() local
1193 state = sdhci_omap_iodelay_pinctrl_state(omap_host, "hs200_1_8v", caps2, in sdhci_omap_config_iodelay_pinctrl_state()
1275 mmc->caps2 |= MMC_CAP2_NO_WRITE_PROTECT; in sdhci_omap_probe()
Dsdhci-of-sparx5.c223 host->mmc->caps2 |= (MMC_CAP2_NO_SDIO|MMC_CAP2_NO_SD); in sdhci_sparx5_probe()
/linux-5.19.10/drivers/mtd/nand/raw/
Dcadence-nand-controller.c459 struct cdns_nand_caps caps2; member
553 u8 data_dma_width = cdns_ctrl->caps2.data_dma_width; in cadence_nand_dma_buf_ok()
901 cdns_ctrl->caps2.max_banks = 1 << FIELD_GET(CTRL_FEATURES_N_BANKS, reg); in cadence_nand_get_caps()
904 cdns_ctrl->caps2.data_dma_width = 8; in cadence_nand_get_caps()
906 cdns_ctrl->caps2.data_dma_width = 4; in cadence_nand_get_caps()
909 cdns_ctrl->caps2.data_control_supp = true; in cadence_nand_get_caps()
913 cdns_ctrl->caps2.is_phy_type_dll = true; in cadence_nand_get_caps()
1249 if (cdns_ctrl->caps2.data_control_supp) { in cadence_nand_prepare_data_size()
1320 if (cdns_ctrl->caps2.is_phy_type_dll) in cadence_nand_set_timings()
1325 if (cdns_ctrl->caps2.is_phy_type_dll) { in cadence_nand_set_timings()
[all …]
/linux-5.19.10/include/linux/spi/
Dmmc_spi.h27 unsigned long caps2; member
/linux-5.19.10/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()
/linux-5.19.10/arch/arm/mach-ep93xx/
Dvision_ep9307.c202 .caps2 = MMC_CAP2_RO_ACTIVE_HIGH,

123