Home
last modified time | relevance | path

Searched refs:caps2 (Results 1 - 25 of 109) sorted by relevance

12345

/kernel/linux/linux-6.6/drivers/mmc/core/
H A 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 | in mmc_of_parse()
620 u32 caps = host->caps, caps2 = host->caps2; mmc_validate_host_caps() local
[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.c215 if (host->caps2 & MMC_CAP2_CD_ACTIVE_HIGH) in mmc_gpiod_request_cd()
262 if (host->caps2 & MMC_CAP2_RO_ACTIVE_HIGH) in mmc_gpiod_request_ro()
H A 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()
1889 if (card->ext_csd.cmdq_support && host->caps2 & MMC_CAP2_CQE) { in mmc_init_card()
1923 if (host->caps2 & MMC_CAP2_AVOID_3_3V && in mmc_init_card()
2118 ((host->caps2 in _mmc_suspend()
[all...]
H A Dhost.h54 return !(host->caps2 & MMC_CAP2_BOOTPART_NOACC); in mmc_boot_partition_access()
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.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()
H A 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()
/kernel/linux/linux-5.10/drivers/mmc/core/
H A 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 | in mmc_of_parse()
[all...]
H A Dslot-gpio.c196 if (host->caps2 & MMC_CAP2_CD_ACTIVE_HIGH) in mmc_gpiod_request_cd()
239 if (host->caps2 & MMC_CAP2_RO_ACTIVE_HIGH) in mmc_gpiod_request_ro()
H A 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()
1867 if (card->ext_csd.cmdq_support && host->caps2 & MMC_CAP2_CQE) { in mmc_init_card()
1902 if (host->caps2 & MMC_CAP2_AVOID_3_3V && in mmc_init_card()
2073 ((host->caps2 in _mmc_suspend()
[all...]
H A Dhost.h48 return !(host->caps2 & MMC_CAP2_BOOTPART_NOACC); in mmc_boot_partition_access()
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()
/kernel/linux/linux-5.10/drivers/mmc/host/
H A 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()
H A Dsdhci-cqhci.h17 if ((host->mmc->caps2 & MMC_CAP2_CQE) && (mask & SDHCI_RESET_ALL) && in sdhci_and_cqhci_reset()
H A 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()
H A Dsdhci-brcmstb.c211 host->mmc->caps2 |= MMC_CAP2_CQE | MMC_CAP2_CQE_DCMD; in sdhci_brcmstb_add_host()
315 (host->mmc->caps2 & MMC_CAP2_HS400_ES)) in sdhci_brcmstb_probe()
/kernel/linux/linux-6.6/drivers/mmc/host/
H A 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()
854 host->mmc->caps2 |= c->slot->chip->caps2; in sdhci_acpi_probe()
860 host->mmc->caps2 |= c->slot->caps2; in sdhci_acpi_probe()
864 host->mmc->caps2 |= MMC_CAP2_NO_PRESCAN_POWERUP; in sdhci_acpi_probe()
881 host->mmc->caps2 |= MMC_CAP2_NO_WRITE_PROTECT; in sdhci_acpi_probe()
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.c179 if (!(mmc->caps2 & MMC_CAP2_CRYPTO) || in cqhci_crypto_init()
241 mmc->caps2 &= ~MMC_CAP2_CRYPTO; in cqhci_crypto_init()
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/
H A 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()
1188 if (cdns_ctrl->caps2.data_dma_width == 8) { in cadence_nand_hw_init()
1257 if (cdns_ctrl->caps2.data_control_supp) { in cadence_nand_prepare_data_size()
1328 if (cdns_ctrl->caps2 in cadence_nand_set_timings()
[all...]
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
H A 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 in cadence_nand_set_timings()
[all...]
/kernel/linux/linux-6.6/include/linux/spi/
H A Dmmc_spi.h27 unsigned long caps2; member
/kernel/linux/linux-5.10/include/linux/spi/
H A Dmmc_spi.h27 unsigned long caps2; member
/kernel/linux/linux-5.10/drivers/staging/greybus/
H A 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()

Completed in 25 milliseconds

12345