Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/drivers/mmc/core/
Dhost.c274 host->caps2 |= MMC_CAP2_CD_ACTIVE_HIGH; in mmc_of_parse()
294 host->caps2 |= MMC_CAP2_RO_ACTIVE_HIGH; in mmc_of_parse()
303 host->caps2 |= MMC_CAP2_NO_WRITE_PROTECT; in mmc_of_parse()
326 host->caps2 |= MMC_CAP2_FULL_PWR_CYCLE; in mmc_of_parse()
328 host->caps2 |= MMC_CAP2_FULL_PWR_CYCLE_IN_SUSPEND; in mmc_of_parse()
341 host->caps2 |= MMC_CAP2_HS200_1_8V_SDR; in mmc_of_parse()
343 host->caps2 |= MMC_CAP2_HS200_1_2V_SDR; in mmc_of_parse()
345 host->caps2 |= MMC_CAP2_HS400_1_8V | MMC_CAP2_HS200_1_8V_SDR; in mmc_of_parse()
347 host->caps2 |= MMC_CAP2_HS400_1_2V | MMC_CAP2_HS200_1_2V_SDR; in mmc_of_parse()
349 host->caps2 |= MMC_CAP2_HS400_ES; in mmc_of_parse()
[all …]
Dslot-gpio.c192 if (host->caps2 & MMC_CAP2_CD_ACTIVE_HIGH) in mmc_gpiod_request_cd()
235 if (host->caps2 & MMC_CAP2_RO_ACTIVE_HIGH) in mmc_gpiod_request_ro()
Dmmc.c189 u32 caps = host->caps, caps2 = host->caps2; in mmc_select_card_type() local
217 if (caps2 & MMC_CAP2_HS200_1_8V_SDR && in mmc_select_card_type()
223 if (caps2 & MMC_CAP2_HS200_1_2V_SDR && in mmc_select_card_type()
229 if (caps2 & MMC_CAP2_HS400_1_8V && in mmc_select_card_type()
235 if (caps2 & MMC_CAP2_HS400_1_2V && in mmc_select_card_type()
241 if ((caps2 & MMC_CAP2_HS400_ES) && in mmc_select_card_type()
1852 if (card->ext_csd.cmdq_support && host->caps2 & MMC_CAP2_CQE) { in mmc_init_card()
1887 if (host->caps2 & MMC_CAP2_AVOID_3_3V && in mmc_init_card()
2058 ((host->caps2 & MMC_CAP2_FULL_PWR_CYCLE) || !is_suspend || in _mmc_suspend()
2059 (host->caps2 & MMC_CAP2_FULL_PWR_CYCLE_IN_SUSPEND))) in _mmc_suspend()
[all …]
Dhost.h48 return !(host->caps2 & MMC_CAP2_BOOTPART_NOACC); in mmc_boot_partition_access()
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.c993 if ((host->caps2 & MMC_CAP2_HS400_ES) && in mmc_set_initial_state()
1125 if (host->caps2 & MMC_CAP2_FULL_PWR_CYCLE) { in mmc_select_voltage()
2148 if (!(host->caps2 & MMC_CAP2_NO_SDIO)) in mmc_rescan_try_freq()
2153 if (!(host->caps2 & MMC_CAP2_NO_SD)) in mmc_rescan_try_freq()
2157 if (!(host->caps2 & MMC_CAP2_NO_SDIO)) in mmc_rescan_try_freq()
2161 if (!(host->caps2 & MMC_CAP2_NO_SD)) in mmc_rescan_try_freq()
2165 if (!(host->caps2 & MMC_CAP2_NO_MMC)) in mmc_rescan_try_freq()
2320 if (!(host->caps2 & MMC_CAP2_NO_PRESCAN_POWERUP)) { in mmc_start_host()
Ddebugfs.c234 debugfs_create_x32("caps2", S_IRUSR, root, &host->caps2); in mmc_add_host_debugfs()
Dqueue.c42 return host->caps2 & MMC_CAP2_CQE_DCMD; in mmc_cqe_can_dcmd()
414 return host->caps2 & MMC_CAP2_MERGE_CAPABLE; in mmc_merge_capable()
/kernel/linux/linux-5.10/drivers/mmc/host/
Dsdhci-acpi.c52 unsigned int caps2; member
61 unsigned int caps2; member
663 host->mmc->caps2 = MMC_CAP2_HS400_1_8V; in sdhci_acpi_emmc_amd_probe_slot()
901 host->mmc->caps2 |= c->slot->chip->caps2; in sdhci_acpi_probe()
907 host->mmc->caps2 |= c->slot->caps2; in sdhci_acpi_probe()
911 host->mmc->caps2 |= MMC_CAP2_NO_PRESCAN_POWERUP; in sdhci_acpi_probe()
928 host->mmc->caps2 |= MMC_CAP2_NO_WRITE_PROTECT; in sdhci_acpi_probe()
Dsdhci-pci-gli.c527 slot->host->mmc->caps2 |= MMC_CAP2_NO_SDIO; in gli_probe_slot_gl9750()
538 slot->host->mmc->caps2 |= MMC_CAP2_NO_SDIO; in gli_probe_slot_gl9755()
752 if ((host->mmc->caps2 & MMC_CAP2_CQE) && (mask & SDHCI_RESET_ALL) && in sdhci_gl9763e_reset()
787 host->mmc->caps2 |= MMC_CAP2_HS200_1_8V_SDR | in gli_probe_slot_gl9763e()
795 host->mmc->caps2 |= MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD; in gli_probe_slot_gl9763e()
Dsdhci-brcmstb.c183 host->mmc->caps2 |= MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD; in sdhci_brcmstb_add_host()
281 (host->mmc->caps2 & MMC_CAP2_HS400_ES)) in sdhci_brcmstb_probe()
Dsdhci-esdhc-imx.c1564 host->mmc->caps2 |= MMC_CAP2_RO_ACTIVE_HIGH; in sdhci_esdhc_imx_probe_nondt()
1709 host->mmc->caps2 |= MMC_CAP2_HS400_ES; in sdhci_esdhc_imx_probe()
1715 host->mmc->caps2 |= MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD; in sdhci_esdhc_imx_probe()
1798 if (host->mmc->caps2 & MMC_CAP2_CQE) { in sdhci_esdhc_suspend()
1842 if (host->mmc->caps2 & MMC_CAP2_CQE) in sdhci_esdhc_resume()
1860 if (host->mmc->caps2 & MMC_CAP2_CQE) { in sdhci_esdhc_runtime_suspend()
1916 if (host->mmc->caps2 & MMC_CAP2_CQE) in sdhci_esdhc_runtime_resume()
Dsdhci-pci-o2micro.c600 host->mmc->caps2 |= MMC_CAP2_NO_SD; in sdhci_pci_o2_probe_slot()
601 host->mmc->caps2 |= MMC_CAP2_NO_SDIO; in sdhci_pci_o2_probe_slot()
611 host->mmc->caps2 |= MMC_CAP2_NO_SDIO; in sdhci_pci_o2_probe_slot()
Dsdhci-pci-core.c239 if ((host->mmc->caps2 & MMC_CAP2_CQE) && (mask & SDHCI_RESET_ALL) && in sdhci_cqhci_reset()
418 slot->host->mmc->caps2 |= MMC_CAP2_BOOTPART_NOACC; in mfd_emmc_probe_slot()
975 slot->host->mmc->caps2 |= MMC_CAP2_CQE; in glk_emmc_probe_slot()
978 slot->host->mmc->caps2 |= MMC_CAP2_HS400_ES, in glk_emmc_probe_slot()
981 slot->host->mmc->caps2 |= MMC_CAP2_CQE_DCMD; in glk_emmc_probe_slot()
1178 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()
2186 host->mmc->caps2 |= MMC_CAP2_NO_PRESCAN_POWERUP; in sdhci_pci_probe_slot()
Dsdhci-omap.c992 u32 *caps2 = &mmc->caps2; in sdhci_omap_config_iodelay_pinctrl_state() local
1066 state = sdhci_omap_iodelay_pinctrl_state(omap_host, "hs200_1_8v", caps2, in sdhci_omap_config_iodelay_pinctrl_state()
1151 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()
Dsdhci.c3782 if ((mmc->caps2 & MMC_CAP2_HS400_ES) && in sdhci_runtime_resume_host()
4371 mmc->caps2 |= MMC_CAP2_SDIO_IRQ_NOTHREAD; in sdhci_setup_host()
4448 mmc->caps2 &= ~(MMC_CAP2_HSX00_1_8V | MMC_CAP2_HS400_ES); in sdhci_setup_host()
4464 mmc->caps2 |= MMC_CAP2_HS200; in sdhci_setup_host()
4471 mmc->caps2 |= MMC_CAP2_HS400; in sdhci_setup_host()
4473 if ((mmc->caps2 & MMC_CAP2_HSX00_1_2V) && in sdhci_setup_host()
4477 mmc->caps2 &= ~MMC_CAP2_HSX00_1_2V; in sdhci_setup_host()
4588 (mmc->caps2 & (MMC_CAP2_HS200_1_8V_SDR | MMC_CAP2_HS400_1_8V))) in sdhci_setup_host()
4591 if (mmc->caps2 & MMC_CAP2_HSX00_1_2V) in sdhci_setup_host()
4707 if ((mmc->caps2 & MMC_CAP2_CQE) && in __sdhci_add_host()
[all …]
Dcqhci.c72 if (tag == DCMD_SLOT && (cq_host->mmc->caps2 & MMC_CAP2_CQE_DCMD)) { in setup_trans_desc()
255 if (mmc->caps2 & MMC_CAP2_CQE_DCMD) in __cqhci_enable()
1137 if (mmc->caps2 & MMC_CAP2_CQE_DCMD) in cqhci_init()
Dsdhci-of-aspeed.c119 (host->mmc->caps2 & MMC_CAP2_CD_ACTIVE_HIGH)) in aspeed_sdhci_readl()
Dsdhci_am654.c551 host->mmc->caps2 |= MMC_CAP2_CQE; in sdhci_am654_cqe_add_host()
600 host->mmc->caps2 &= ~td[i].capability; in sdhci_am654_get_otap_delay()
Dmtk-sd.c1574 if ((mmc->caps2 & MMC_CAP2_CQE) && in msdc_irq()
2266 if (mmc->caps2 & MMC_CAP2_CD_ACTIVE_HIGH) in msdc_get_cd()
2491 mmc->caps2 |= MMC_CAP2_SDIO_IRQ_NOTHREAD; in msdc_drv_probe()
2495 mmc->caps2 |= MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD; in msdc_drv_probe()
2530 if (mmc->caps2 & MMC_CAP2_CQE) { in msdc_drv_probe()
2697 if (mmc->caps2 & MMC_CAP2_CQE) { in msdc_suspend()
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.10/include/linux/spi/
Dmmc_spi.h27 unsigned long caps2; member
/kernel/linux/linux-5.10/drivers/staging/greybus/
Dsdio.c63 u32 caps2 = 0; in _gb_sdio_set_host_caps() local
82 caps2 = ((r & GB_SDIO_CAP_HS200_1_2V) ? MMC_CAP2_HS200_1_2V_SDR : 0) | in _gb_sdio_set_host_caps()
88 host->mmc->caps2 = caps2 | MMC_CAP2_CORE_RUNTIME_PM; in _gb_sdio_set_host_caps()
/kernel/linux/linux-5.10/arch/arm/mach-ep93xx/
Dvision_ep9307.c202 .caps2 = MMC_CAP2_RO_ACTIVE_HIGH,

123