Home
last modified time | relevance | path

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

12

/linux/drivers/mmc/core/
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.is_phy_type_dll) in cadence_nand_set_timings()
[all …]
/linux/drivers/mmc/host/
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 Dsdhci-of-dwcmshc.c522 if ((host->mmc->caps2 & emmc_caps) == emmc_caps) { in th1520_sdhci_set_phy()
894 if ((host->mmc->caps2 & MMC_CAP2_CQE) && (mask & SDHCI_RESET_ALL)) in rk35xx_sdhci_reset()
956 host->mmc->caps2 &= ~(MMC_CAP2_HS200 | MMC_CAP2_HS400); in dwcmshc_rk35xx_postinit()
1095 if ((host->mmc->caps2 & emmc_caps) == emmc_caps) { in cv18xx_sdhci_reset()
1461 if ((host->mmc->caps2 & emmc_caps) == emmc_caps) { in sdhci_eic7700_config_phy()
1485 if ((host->mmc->caps2 & emmc_caps) == emmc_caps) { in sdhci_eic7700_config_phy()
1605 is_emmc = (host->mmc->caps2 & emmc_caps) == emmc_caps; in sdhci_eic7700_phase_code_tuning()
1691 if ((host->mmc->caps2 & emmc_caps) == emmc_caps) { in sdhci_eic7700_executing_tuning()
1758 if ((host->mmc->caps2 & emmc_caps) != emmc_caps) in sdhci_eic7700_set_uhs_wrapper()
1820 if ((host->mmc->caps2 & emmc_caps) == emmc_caps) in eic7700_init()
[all …]
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 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.c2572 allow_invert = !(mmc->caps2 & MMC_CAP2_RO_ACTIVE_HIGH); in sdhci_get_ro()
3911 if ((mmc->caps2 & MMC_CAP2_HS400_ES) && in sdhci_runtime_resume_host()
4517 mmc->caps2 |= MMC_CAP2_SDIO_IRQ_NOTHREAD; in sdhci_setup_host()
4547 mmc->caps2 &= ~(MMC_CAP2_HS200 | MMC_CAP2_HS400 | MMC_CAP2_HS400_ES); in sdhci_setup_host()
4601 mmc->caps2 &= ~(MMC_CAP2_HSX00_1_8V | MMC_CAP2_HS400_ES); in sdhci_setup_host()
4617 mmc->caps2 |= MMC_CAP2_HS200; in sdhci_setup_host()
4624 mmc->caps2 |= MMC_CAP2_HS400; in sdhci_setup_host()
4626 if ((mmc->caps2 & MMC_CAP2_HSX00_1_2V) && in sdhci_setup_host()
4630 mmc->caps2 &= ~MMC_CAP2_HSX00_1_2V; in sdhci_setup_host()
4741 (mmc->caps2 & (MMC_CAP2_HS200_1_8V_SDR | MMC_CAP2_HS400_1_8V))) in sdhci_setup_host()
[all …]
H A Dsdhci-pci-gli.c1578 slot->host->mmc->caps2 |= MMC_CAP2_NO_SDIO; in gli_probe_slot_gl9750()
1590 slot->host->mmc->caps2 |= MMC_CAP2_NO_SDIO; in gli_probe_slot_gl9755()
1604 slot->host->mmc->caps2 |= MMC_CAP2_NO_SDIO; in gli_probe_slot_gl9767()
1605 host->mmc->caps2 |= MMC_CAP2_SD_EXP; in gli_probe_slot_gl9767()
1992 host->mmc->caps2 |= MMC_CAP2_HS200_1_8V_SDR | in gli_probe_slot_gl9763e()
2001 host->mmc->caps2 |= MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD; in gli_probe_slot_gl9763e()
H A Dsdhci-of-sparx5.c216 host->mmc->caps2 |= (MMC_CAP2_NO_SDIO|MMC_CAP2_NO_SD); in sdhci_sparx5_probe()
H A Dsdhci-msm.c1961 mmc->caps2 |= MMC_CAP2_CRYPTO; in sdhci_msm_ice_init()
1967 if (msm_host->mmc->caps2 & MMC_CAP2_CRYPTO) in sdhci_msm_ice_enable()
1973 if (msm_host->mmc->caps2 & MMC_CAP2_CRYPTO) in sdhci_msm_ice_resume()
1981 if (msm_host->mmc->caps2 & MMC_CAP2_CRYPTO) in sdhci_msm_ice_suspend()
2114 if (mmc->caps2 & MMC_CAP2_CRYPTO) in sdhci_msm_request()
2266 msm_host->mmc->caps2 |= MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD; in sdhci_msm_cqe_add_host()
H A Dmmc_spi.c1261 mmc->caps2 |= host->pdata->caps2; in mmc_spi_probe()
H A Dlitex_mmc.c622 mmc->caps2 |= MMC_CAP2_NO_WRITE_PROTECT | in litex_mmc_probe()
H A Dowl-mmc.c607 mmc->caps2 = (MMC_CAP2_BOOTPART_NOACC | MMC_CAP2_NO_SDIO); in owl_mmc_probe()
H A Dpxamci.c730 mmc->caps2 |= MMC_CAP2_RO_ACTIVE_HIGH; in pxamci_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()
/linux/include/linux/spi/
H A Dmmc_spi.h27 unsigned long caps2; member
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_debug.c527 uint32_t caps2; in kfd_dbg_trap_set_flags() local
534 caps2 = topo_dev->node_props.capability2; in kfd_dbg_trap_set_flags()
548 if (!(caps2 & HSA_CAP2_TRAP_DEBUG_LDS_OUT_OF_ADDR_RANGE_SUPPORTED) && in kfd_dbg_trap_set_flags()
/linux/include/linux/mmc/
H A Dhost.h429 u32 caps2; /* More host capabilities */ member

12