Home
last modified time | relevance | path

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

/linux/drivers/mmc/core/
H A Dhost.c319 host->caps2 |= MMC_CAP2_CD_ACTIVE_HIGH; in mmc_of_parse()
339 host->caps2 |= MMC_CAP2_RO_ACTIVE_HIGH; in mmc_of_parse()
348 host->caps2 |= MMC_CAP2_NO_WRITE_PROTECT; in mmc_of_parse()
371 host->caps2 |= MMC_CAP2_FULL_PWR_CYCLE; in mmc_of_parse()
373 host->caps2 |= MMC_CAP2_FULL_PWR_CYCLE_IN_SUSPEND; in mmc_of_parse()
385 host->caps2 |= MMC_CAP2_HS200_1_8V_SDR; in mmc_of_parse()
387 host->caps2 |= MMC_CAP2_HS200_1_2V_SDR; in mmc_of_parse()
389 host->caps2 |= MMC_CAP2_HS400_1_8V | MMC_CAP2_HS200_1_8V_SDR; in mmc_of_parse()
391 host->caps2 |= MMC_CAP2_HS400_1_2V | MMC_CAP2_HS200_1_2V_SDR; in mmc_of_parse()
393 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 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 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()
1919 if (card->ext_csd.cmdq_support && host->caps2 & MMC_CAP2_CQE) { in mmc_init_card()
1953 if (host->caps2 & MMC_CAP2_AVOID_3_3V && in mmc_init_card()
2041 if (host->caps2 & MMC_CAP2_FULL_PWR_CYCLE) in mmc_host_can_poweroff_notify()
2044 if (host->caps2 & MMC_CAP2_FULL_PWR_CYCLE_IN_SUSPEND && in mmc_host_can_poweroff_notify()
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 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 Dsd_uhs2.c1211 if (!(host->caps2 & MMC_CAP2_SD_UHS2)) in mmc_attach_sd_uhs2()
/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 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 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 Drtsx_pci_sdmmc.c960 mmc->caps2 |= MMC_CAP2_SD_EXP | MMC_CAP2_SD_EXP_1_2V; in sd_power_on()
969 mmc->caps2 &= ~(MMC_CAP2_SD_EXP | MMC_CAP2_SD_EXP_1_2V); in sd_power_on()
1408 mmc->caps2 |= MMC_CAP2_NO_MMC; in init_extra_caps()
1410 mmc->caps2 |= MMC_CAP2_SD_EXP | MMC_CAP2_SD_EXP_1_2V; in init_extra_caps()
1426 mmc->caps2 = MMC_CAP2_NO_PRESCAN_POWERUP | MMC_CAP2_FULL_PWR_CYCLE | in realtek_init_host()
1432 mmc->caps2 |= MMC_CAP2_NO_WRITE_PROTECT; in realtek_init_host()
H A Dsdhci_am654.c731 host->mmc->caps2 |= MMC_CAP2_CQE; in sdhci_am654_cqe_add_host()
761 host->mmc->caps2 &= ~td[i].capability; in sdhci_am654_get_otap_delay()
838 host->mmc->caps2 & (MMC_CAP2_HS400 | MMC_CAP2_HS400_ES)) { in sdhci_am654_init()
840 host->mmc->caps2 &= ~(MMC_CAP2_HS400 | MMC_CAP2_HS400_ES); in sdhci_am654_init()
H A Dsdhci-of-sparx5.c216 host->mmc->caps2 |= (MMC_CAP2_NO_SDIO|MMC_CAP2_NO_SD); in sdhci_sparx5_probe()
H A Dmmc_spi.c1262 mmc->caps2 |= host->pdata->caps2; in mmc_spi_probe()
H A Dlitex_mmc.c554 mmc->caps2 |= MMC_CAP2_NO_WRITE_PROTECT | in litex_mmc_probe()
H A Dsdhci-of-aspeed.c326 (host->mmc->caps2 & MMC_CAP2_CD_ACTIVE_HIGH)) in aspeed_sdhci_readl()
H A Dsunxi-mmc.c1453 mmc->caps2 &= ~MMC_CAP2_HS200; in sunxi_mmc_probe()
1457 mmc->caps2 &= ~MMC_CAP2_HS400; in sunxi_mmc_probe()
H A Dowl-mmc.c606 mmc->caps2 = (MMC_CAP2_BOOTPART_NOACC | MMC_CAP2_NO_SDIO); in owl_mmc_probe()
H A Dusdhi6rol0.c1122 return !status ^ !(mmc->caps2 & MMC_CAP2_CD_ACTIVE_HIGH); in usdhi6_get_cd()
1138 return !status ^ !(mmc->caps2 & MMC_CAP2_RO_ACTIVE_HIGH); in usdhi6_get_ro()
H A Dsh_mmcif.c1470 mmc->caps2 |= MMC_CAP2_NO_SD | MMC_CAP2_NO_SDIO; in sh_mmcif_probe()
H A Dmmci.c2369 mmc->caps2 |= MMC_CAP2_SDIO_IRQ_NOTHREAD; in mmci_probe()
/linux/include/linux/spi/
H A Dmmc_spi.h27 unsigned long caps2; member
/linux/include/linux/mmc/
H A Dhost.h429 u32 caps2; /* More host capabilities */ member