/kernel/linux/linux-6.6/drivers/mmc/core/ |
H A D | host.c | 328 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 D | crypto.c | 18 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 D | slot-gpio.c | 215 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 D | mmc.c | 198 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 D | host.h | 54 return !(host->caps2 & MMC_CAP2_BOOTPART_NOACC); in mmc_boot_partition_access()
|
H A D | sdio_irq.c | 231 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()
|
/third_party/ltp/testcases/kernel/security/filecaps/ |
H A D | check_simple_capset.c | 31 cap_t caps, caps2; in main() local 35 caps2 = cap_from_text("cap_setpcap+ep"); in main() 37 ret = cap_compare(caps, caps2); in main() 41 cap_free(caps2); in main()
|
/kernel/linux/linux-5.10/drivers/mmc/core/ |
H A D | host.c | 274 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 D | slot-gpio.c | 196 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 D | mmc.c | 189 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 D | host.h | 48 return !(host->caps2 & MMC_CAP2_BOOTPART_NOACC); in mmc_boot_partition_access()
|
H A D | sdio_irq.c | 231 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 D | sdhci-acpi.c | 52 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 D | sdhci-cqhci.h | 17 if ((host->mmc->caps2 & MMC_CAP2_CQE) && (mask & SDHCI_RESET_ALL) && in sdhci_and_cqhci_reset()
|
H A D | sdhci-pci-gli.c | 527 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 D | sdhci-brcmstb.c | 211 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 D | sdhci-acpi.c | 51 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 D | sdhci-cqhci.h | 17 if ((host->mmc->caps2 & MMC_CAP2_CQE) && (mask & SDHCI_RESET_ALL) && in sdhci_and_cqhci_reset()
|
H A D | cqhci-crypto.c | 179 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 D | cadence-nand-controller.c | 459 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 D | cadence-nand-controller.c | 459 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 D | mmc_spi.h | 27 unsigned long caps2; member
|
/kernel/linux/linux-5.10/include/linux/spi/ |
H A D | mmc_spi.h | 27 unsigned long caps2; member
|
/third_party/vulkan-loader/tests/ |
H A D | loader_phys_dev_inst_ext_tests.cpp | 4685 bool CompareDisplayPlaneCaps(const VkDisplayPlaneCapabilitiesKHR& caps1, VkDisplayPlaneCapabilitiesKHR& caps2, in CompareDisplayPlaneCaps() argument 4689 equal = equal && caps1.supportedAlpha == caps2.supportedAlpha; in CompareDisplayPlaneCaps() 4690 equal = equal && caps1.minSrcPosition.x == caps2.minSrcPosition.x; in CompareDisplayPlaneCaps() 4691 equal = equal && caps1.minSrcPosition.y == caps2.minSrcPosition.y; in CompareDisplayPlaneCaps() 4692 equal = equal && caps1.maxSrcPosition.x == caps2.maxSrcPosition.x; in CompareDisplayPlaneCaps() 4693 equal = equal && caps1.maxSrcPosition.y == caps2.maxSrcPosition.y; in CompareDisplayPlaneCaps() 4694 equal = equal && caps1.minSrcExtent.width == caps2.minSrcExtent.width; in CompareDisplayPlaneCaps() 4695 equal = equal && caps1.minSrcExtent.height == caps2.minSrcExtent.height; in CompareDisplayPlaneCaps() 4696 equal = equal && caps1.maxSrcExtent.width == caps2.maxSrcExtent.width; in CompareDisplayPlaneCaps() 4697 equal = equal && caps1.maxSrcExtent.height == caps2 in CompareDisplayPlaneCaps() 5398 CompareDisplayPlaneCaps(const VkDisplayPlaneCapabilitiesKHR& caps1, VkDisplayPlaneCapabilities2KHR& caps2) CompareDisplayPlaneCaps() argument [all...] |
/foundation/multimedia/media_foundation/engine/pipeline/filters/muxer/ |
H A D | muxer_filter.cpp | 33 const std::vector<std::pair<std::shared_ptr<Plugin::PluginInfo>, Plugin::Capability>>& caps2) in Intersections() 37 for (const auto& cap2 : caps2) { in Intersections() 31 Intersections( const std::vector<std::shared_ptr<Plugin::PluginInfo>>& caps1, const std::vector<std::pair<std::shared_ptr<Plugin::PluginInfo>, Plugin::Capability>>& caps2) Intersections() argument
|