hwcaps 1758 arch/arm64/kernel/cpufeature.c static void __init setup_elf_hwcaps(const struct arm64_cpu_capabilities *hwcaps) hwcaps 1762 arch/arm64/kernel/cpufeature.c for (; hwcaps->matches; hwcaps++) hwcaps 1763 arch/arm64/kernel/cpufeature.c if (hwcaps->matches(hwcaps, cpucap_default_scope(hwcaps))) hwcaps 1764 arch/arm64/kernel/cpufeature.c cap_set_elf_hwcap(hwcaps); hwcaps 396 arch/sparc/kernel/setup_64.c static const char *hwcaps[] = { hwcaps 420 arch/sparc/kernel/setup_64.c for (i = 0; i < ARRAY_SIZE(hwcaps); i++) { hwcaps 422 arch/sparc/kernel/setup_64.c if (hwcaps[i] && (caps & bit)) { hwcaps 424 arch/sparc/kernel/setup_64.c printed ? "," : "", hwcaps[i]); hwcaps 474 arch/sparc/kernel/setup_64.c for (i = 0; i < ARRAY_SIZE(hwcaps); i++) { hwcaps 476 arch/sparc/kernel/setup_64.c if (hwcaps[i] && (caps & bit)) hwcaps 477 arch/sparc/kernel/setup_64.c report_one_hwcap(&printed, hwcaps[i]); hwcaps 508 arch/sparc/kernel/setup_64.c for (i = 0; i < ARRAY_SIZE(hwcaps); i++) { hwcaps 511 arch/sparc/kernel/setup_64.c if (hwcaps[i] && !strcmp(prop, hwcaps[i])) { hwcaps 752 drivers/mtd/spi-nor/aspeed-smc.c const struct spi_nor_hwcaps hwcaps = { hwcaps 824 drivers/mtd/spi-nor/aspeed-smc.c ret = spi_nor_scan(nor, NULL, &hwcaps); hwcaps 1224 drivers/mtd/spi-nor/cadence-quadspi.c struct spi_nor_hwcaps hwcaps; hwcaps 1236 drivers/mtd/spi-nor/cadence-quadspi.c hwcaps.mask = ddata->hwcaps_mask; hwcaps 1284 drivers/mtd/spi-nor/cadence-quadspi.c ret = spi_nor_scan(nor, NULL, &hwcaps); hwcaps 320 drivers/mtd/spi-nor/hisi-sfc.c const struct spi_nor_hwcaps hwcaps = { hwcaps 368 drivers/mtd/spi-nor/hisi-sfc.c ret = spi_nor_scan(nor, NULL, &hwcaps); hwcaps 870 drivers/mtd/spi-nor/intel-spi.c const struct spi_nor_hwcaps hwcaps = { hwcaps 906 drivers/mtd/spi-nor/intel-spi.c ret = spi_nor_scan(&ispi->nor, NULL, &hwcaps); hwcaps 425 drivers/mtd/spi-nor/mtk-quadspi.c const struct spi_nor_hwcaps hwcaps = { hwcaps 449 drivers/mtd/spi-nor/mtk-quadspi.c ret = spi_nor_scan(nor, NULL, &hwcaps); hwcaps 272 drivers/mtd/spi-nor/nxp-spifi.c struct spi_nor_hwcaps hwcaps = { hwcaps 310 drivers/mtd/spi-nor/nxp-spifi.c hwcaps.mask |= SNOR_HWCAPS_READ_1_1_2; hwcaps 313 drivers/mtd/spi-nor/nxp-spifi.c hwcaps.mask |= SNOR_HWCAPS_READ_1_1_4; hwcaps 352 drivers/mtd/spi-nor/nxp-spifi.c ret = spi_nor_scan(&spifi->nor, NULL, &hwcaps); hwcaps 2737 drivers/mtd/spi-nor/spi-nor.c const struct spi_nor_hwcaps *hwcaps) hwcaps 2800 drivers/mtd/spi-nor/spi-nor.c static int spi_nor_hwcaps2cmd(u32 hwcaps, const int table[][2], size_t size) hwcaps 2805 drivers/mtd/spi-nor/spi-nor.c if (table[i][0] == (int)hwcaps) hwcaps 2811 drivers/mtd/spi-nor/spi-nor.c static int spi_nor_hwcaps_read2cmd(u32 hwcaps) hwcaps 2831 drivers/mtd/spi-nor/spi-nor.c return spi_nor_hwcaps2cmd(hwcaps, hwcaps_read2cmd, hwcaps 2835 drivers/mtd/spi-nor/spi-nor.c static int spi_nor_hwcaps_pp2cmd(u32 hwcaps) hwcaps 2847 drivers/mtd/spi-nor/spi-nor.c return spi_nor_hwcaps2cmd(hwcaps, hwcaps_pp2cmd, hwcaps 3009 drivers/mtd/spi-nor/spi-nor.c spi_nor_spimem_adjust_hwcaps(struct spi_nor *nor, u32 *hwcaps) hwcaps 3015 drivers/mtd/spi-nor/spi-nor.c *hwcaps &= ~SNOR_HWCAPS_DTR; hwcaps 3018 drivers/mtd/spi-nor/spi-nor.c *hwcaps &= ~SNOR_HWCAPS_X_X_X; hwcaps 3020 drivers/mtd/spi-nor/spi-nor.c for (cap = 0; cap < sizeof(*hwcaps) * BITS_PER_BYTE; cap++) { hwcaps 3023 drivers/mtd/spi-nor/spi-nor.c if (!(*hwcaps & BIT(cap))) hwcaps 3029 drivers/mtd/spi-nor/spi-nor.c *hwcaps &= ~BIT(cap); hwcaps 3037 drivers/mtd/spi-nor/spi-nor.c *hwcaps &= ~BIT(cap); hwcaps 3086 drivers/mtd/spi-nor/spi-nor.c u32 hwcaps; hwcaps 3424 drivers/mtd/spi-nor/spi-nor.c params->hwcaps.mask &= ~rd->hwcaps; hwcaps 3428 drivers/mtd/spi-nor/spi-nor.c params->hwcaps.mask |= rd->hwcaps; hwcaps 3429 drivers/mtd/spi-nor/spi-nor.c cmd = spi_nor_hwcaps_read2cmd(rd->hwcaps); hwcaps 3860 drivers/mtd/spi-nor/spi-nor.c u32 hwcaps; hwcaps 3942 drivers/mtd/spi-nor/spi-nor.c discard_hwcaps |= read->hwcaps; hwcaps 3943 drivers/mtd/spi-nor/spi-nor.c if ((params->hwcaps.mask & read->hwcaps) && hwcaps 3945 drivers/mtd/spi-nor/spi-nor.c read_hwcaps |= read->hwcaps; hwcaps 3962 drivers/mtd/spi-nor/spi-nor.c discard_hwcaps |= program->hwcaps; hwcaps 3964 drivers/mtd/spi-nor/spi-nor.c pp_hwcaps |= program->hwcaps; hwcaps 3994 drivers/mtd/spi-nor/spi-nor.c params->hwcaps.mask &= ~discard_hwcaps; hwcaps 3995 drivers/mtd/spi-nor/spi-nor.c params->hwcaps.mask |= (read_hwcaps | pp_hwcaps); hwcaps 4316 drivers/mtd/spi-nor/spi-nor.c const struct spi_nor_hwcaps *hwcaps) hwcaps 4326 drivers/mtd/spi-nor/spi-nor.c shared_mask = hwcaps->mask & params->hwcaps.mask; hwcaps 4377 drivers/mtd/spi-nor/spi-nor.c const struct spi_nor_hwcaps *hwcaps) hwcaps 4382 drivers/mtd/spi-nor/spi-nor.c return nor->params.setup(nor, hwcaps); hwcaps 4479 drivers/mtd/spi-nor/spi-nor.c params->hwcaps.mask |= SNOR_HWCAPS_READ_FAST; hwcaps 4483 drivers/mtd/spi-nor/spi-nor.c params->hwcaps.mask &= ~SNOR_HWCAPS_READ_FAST; hwcaps 4487 drivers/mtd/spi-nor/spi-nor.c params->hwcaps.mask |= SNOR_HWCAPS_READ; hwcaps 4492 drivers/mtd/spi-nor/spi-nor.c if (params->hwcaps.mask & SNOR_HWCAPS_READ_FAST) hwcaps 4498 drivers/mtd/spi-nor/spi-nor.c params->hwcaps.mask |= SNOR_HWCAPS_READ_1_1_2; hwcaps 4505 drivers/mtd/spi-nor/spi-nor.c params->hwcaps.mask |= SNOR_HWCAPS_READ_1_1_4; hwcaps 4512 drivers/mtd/spi-nor/spi-nor.c params->hwcaps.mask |= SNOR_HWCAPS_READ_1_1_8; hwcaps 4519 drivers/mtd/spi-nor/spi-nor.c params->hwcaps.mask |= SNOR_HWCAPS_PP; hwcaps 4827 drivers/mtd/spi-nor/spi-nor.c const struct spi_nor_hwcaps *hwcaps) hwcaps 4942 drivers/mtd/spi-nor/spi-nor.c ret = spi_nor_setup(nor, hwcaps); hwcaps 4990 drivers/mtd/spi-nor/spi-nor.c const struct spi_nor_hwcaps hwcaps = { .mask = SNOR_HWCAPS_ALL }; hwcaps 5023 drivers/mtd/spi-nor/spi-nor.c ret = spi_nor_scan(nor, flash_name, &hwcaps); hwcaps 526 drivers/net/hyperv/rndis_filter.c struct ndis_offload *hwcaps; hwcaps 544 drivers/net/hyperv/rndis_filter.c hwcaps = (struct ndis_offload *) hwcaps 547 drivers/net/hyperv/rndis_filter.c hwcaps->header.type = NDIS_OBJECT_TYPE_OFFLOAD; hwcaps 548 drivers/net/hyperv/rndis_filter.c hwcaps->header.revision = ndis_rev; hwcaps 549 drivers/net/hyperv/rndis_filter.c hwcaps->header.size = size; hwcaps 1189 drivers/net/hyperv/rndis_filter.c struct ndis_offload hwcaps; hwcaps 1195 drivers/net/hyperv/rndis_filter.c ret = rndis_query_hwcaps(rndis_device, nvdev, &hwcaps); hwcaps 1213 drivers/net/hyperv/rndis_filter.c if ((hwcaps.csum.ip4_txcsum & NDIS_TXCSUM_ALL_TCP4) == NDIS_TXCSUM_ALL_TCP4) { hwcaps 1220 drivers/net/hyperv/rndis_filter.c if (hwcaps.lsov2.ip4_encap & NDIS_OFFLOAD_ENCAP_8023) { hwcaps 1224 drivers/net/hyperv/rndis_filter.c if (hwcaps.lsov2.ip4_maxsz < gso_max_size) hwcaps 1225 drivers/net/hyperv/rndis_filter.c gso_max_size = hwcaps.lsov2.ip4_maxsz; hwcaps 1228 drivers/net/hyperv/rndis_filter.c if (hwcaps.csum.ip4_txcsum & NDIS_TXCSUM_CAP_UDP4) { hwcaps 1234 drivers/net/hyperv/rndis_filter.c if ((hwcaps.csum.ip6_txcsum & NDIS_TXCSUM_ALL_TCP6) == NDIS_TXCSUM_ALL_TCP6) { hwcaps 1240 drivers/net/hyperv/rndis_filter.c if ((hwcaps.lsov2.ip6_encap & NDIS_OFFLOAD_ENCAP_8023) && hwcaps 1241 drivers/net/hyperv/rndis_filter.c (hwcaps.lsov2.ip6_opts & NDIS_LSOV2_CAP_IP6) == NDIS_LSOV2_CAP_IP6) { hwcaps 1245 drivers/net/hyperv/rndis_filter.c if (hwcaps.lsov2.ip6_maxsz < gso_max_size) hwcaps 1246 drivers/net/hyperv/rndis_filter.c gso_max_size = hwcaps.lsov2.ip6_maxsz; hwcaps 1249 drivers/net/hyperv/rndis_filter.c if (hwcaps.csum.ip6_txcsum & NDIS_TXCSUM_CAP_UDP6) { hwcaps 1255 drivers/net/hyperv/rndis_filter.c if (hwcaps.rsc.ip4 && hwcaps.rsc.ip6) { hwcaps 511 include/linux/mtd/spi-nor.h struct spi_nor_hwcaps hwcaps; hwcaps 520 include/linux/mtd/spi-nor.h int (*setup)(struct spi_nor *nor, const struct spi_nor_hwcaps *hwcaps); hwcaps 663 include/linux/mtd/spi-nor.h const struct spi_nor_hwcaps *hwcaps);