Home
last modified time | relevance | path

Searched refs:hwcaps (Results 1 – 18 of 18) sorted by relevance

/Linux-v4.19/Documentation/arm64/
Delf_hwcaps.txt1 ARM64 ELF hwcaps
4 This document describes the usage and semantics of the arm64 ELF hwcaps.
14 of flags called hwcaps, exposed in the auxilliary vector.
22 unsigned long hwcaps = getauxval(AT_HWCAP);
23 if (hwcaps & HWCAP_FP)
39 2. Interpretation of hwcaps
42 The majority of hwcaps are intended to indicate the presence of features
44 userspace code at EL0. These hwcaps are defined in terms of ID register
48 Such hwcaps are described below in the form:
52 Such hwcaps indicate the availability of functionality that the ARM ARM
[all …]
/Linux-v4.19/arch/sparc/kernel/
Dsetup_64.c395 static const char *hwcaps[] = { variable
419 for (i = 0; i < ARRAY_SIZE(hwcaps); i++) { in cpucap_info()
421 if (hwcaps[i] && (caps & bit)) { in cpucap_info()
423 printed ? "," : "", hwcaps[i]); in cpucap_info()
473 for (i = 0; i < ARRAY_SIZE(hwcaps); i++) { in report_hwcaps()
475 if (hwcaps[i] && (caps & bit)) in report_hwcaps()
476 report_one_hwcap(&printed, hwcaps[i]); in report_hwcaps()
507 for (i = 0; i < ARRAY_SIZE(hwcaps); i++) { in mdesc_cpu_hwcap_list()
510 if (hwcaps[i] && !strcmp(prop, hwcaps[i])) { in mdesc_cpu_hwcap_list()
/Linux-v4.19/drivers/mtd/devices/
Dm25p80.c176 struct spi_nor_hwcaps hwcaps = { in m25p_probe() local
206 hwcaps.mask |= SNOR_HWCAPS_READ_1_1_4; in m25p_probe()
209 hwcaps.mask |= (SNOR_HWCAPS_READ_1_4_4 | in m25p_probe()
213 hwcaps.mask |= SNOR_HWCAPS_READ_1_1_2; in m25p_probe()
216 hwcaps.mask |= SNOR_HWCAPS_READ_1_2_2; in m25p_probe()
237 ret = spi_nor_scan(nor, flash_name, &hwcaps); in m25p_probe()
/Linux-v4.19/drivers/net/hyperv/
Drndis_filter.c478 struct ndis_offload *hwcaps; in rndis_filter_query_device() local
496 hwcaps = (struct ndis_offload *) in rndis_filter_query_device()
499 hwcaps->header.type = NDIS_OBJECT_TYPE_OFFLOAD; in rndis_filter_query_device()
500 hwcaps->header.revision = ndis_rev; in rndis_filter_query_device()
501 hwcaps->header.size = size; in rndis_filter_query_device()
1122 struct ndis_offload hwcaps; in rndis_netdev_set_hwcaps() local
1128 ret = rndis_query_hwcaps(rndis_device, nvdev, &hwcaps); in rndis_netdev_set_hwcaps()
1145 if ((hwcaps.csum.ip4_txcsum & NDIS_TXCSUM_ALL_TCP4) == NDIS_TXCSUM_ALL_TCP4) { in rndis_netdev_set_hwcaps()
1152 if (hwcaps.lsov2.ip4_encap & NDIS_OFFLOAD_ENCAP_8023) { in rndis_netdev_set_hwcaps()
1156 if (hwcaps.lsov2.ip4_maxsz < gso_max_size) in rndis_netdev_set_hwcaps()
[all …]
/Linux-v4.19/drivers/mtd/spi-nor/
Dspi-nor.c1833 struct spi_nor_hwcaps hwcaps; member
2072 u32 hwcaps; member
2166 static int spi_nor_hwcaps_read2cmd(u32 hwcaps);
2265 params->hwcaps.mask &= ~rd->hwcaps; in spi_nor_parse_bfpt()
2269 params->hwcaps.mask |= rd->hwcaps; in spi_nor_parse_bfpt()
2270 cmd = spi_nor_hwcaps_read2cmd(rd->hwcaps); in spi_nor_parse_bfpt()
2466 params->hwcaps.mask |= SNOR_HWCAPS_READ; in spi_nor_init_params()
2472 params->hwcaps.mask |= SNOR_HWCAPS_READ_FAST; in spi_nor_init_params()
2479 params->hwcaps.mask |= SNOR_HWCAPS_READ_1_1_2; in spi_nor_init_params()
2486 params->hwcaps.mask |= SNOR_HWCAPS_READ_1_1_4; in spi_nor_init_params()
[all …]
Dnxp-spifi.c276 struct spi_nor_hwcaps hwcaps = { in nxp_spifi_setup_flash() local
314 hwcaps.mask |= SNOR_HWCAPS_READ_1_1_2; in nxp_spifi_setup_flash()
317 hwcaps.mask |= SNOR_HWCAPS_READ_1_1_4; in nxp_spifi_setup_flash()
356 ret = spi_nor_scan(&spifi->nor, NULL, &hwcaps); in nxp_spifi_setup_flash()
Dstm32-quadspi.c506 struct spi_nor_hwcaps hwcaps = { in stm32_qspi_flash_setup() local
530 hwcaps.mask |= SNOR_HWCAPS_READ_1_1_4; in stm32_qspi_flash_setup()
532 hwcaps.mask |= SNOR_HWCAPS_READ_1_1_2; in stm32_qspi_flash_setup()
568 ret = spi_nor_scan(&flash->nor, NULL, &hwcaps); in stm32_qspi_flash_setup()
Dmtk-quadspi.c433 const struct spi_nor_hwcaps hwcaps = { in mtk_nor_init() local
456 ret = spi_nor_scan(nor, NULL, &hwcaps); in mtk_nor_init()
Dhisi-sfc.c332 const struct spi_nor_hwcaps hwcaps = { in hisi_spi_nor_register() local
380 ret = spi_nor_scan(nor, NULL, &hwcaps); in hisi_spi_nor_register()
Datmel-quadspi.c607 const struct spi_nor_hwcaps hwcaps = { in atmel_qspi_probe() local
710 err = spi_nor_scan(nor, NULL, &hwcaps); in atmel_qspi_probe()
Daspeed-smc.c756 const struct spi_nor_hwcaps hwcaps = { in aspeed_smc_setup_flash() local
828 ret = spi_nor_scan(nor, NULL, &hwcaps); in aspeed_smc_setup_flash()
Dintel-spi.c863 const struct spi_nor_hwcaps hwcaps = { in intel_spi_probe() local
899 ret = spi_nor_scan(&ispi->nor, NULL, &hwcaps); in intel_spi_probe()
Dfsl-quadspi.c971 const struct spi_nor_hwcaps hwcaps = { in fsl_qspi_probe() local
1101 ret = spi_nor_scan(nor, NULL, &hwcaps); in fsl_qspi_probe()
Dcadence-quadspi.c1203 const struct spi_nor_hwcaps hwcaps = { in cqspi_setup_flash() local
1264 ret = spi_nor_scan(nor, NULL, &hwcaps); in cqspi_setup_flash()
/Linux-v4.19/arch/arm/mm/
Dproc-v7m.S184 .macro __v7m_proc name, initfunc, cache_fns = nop_cache_fns, hwcaps = 0, proc_fns = v7m_processor_…
190 .long HWCAP_HALF | HWCAP_THUMB | HWCAP_FAST_MULT | \hwcaps
205 …__v7m_proc __v7m_cm7_proc_info, __v7m_cm7_setup, hwcaps = HWCAP_EDSP, cache_fns = v7m_cache_fns, p…
215 __v7m_proc __v7m_cm4_proc_info, __v7m_setup, hwcaps = HWCAP_EDSP
Dproc-v7.S645 .macro __v7_proc name, initfunc, mm_mmuflags = 0, io_mmuflags = 0, hwcaps = 0, proc_fns = v7_proces…
656 HWCAP_EDSP | HWCAP_TLS | \hwcaps
808 __v7_proc __krait_proc_info, __v7_setup, hwcaps = HWCAP_IDIV | HWCAP_VFPv4
/Linux-v4.19/arch/arm64/kernel/
Dcpufeature.c1329 static void __init setup_elf_hwcaps(const struct arm64_cpu_capabilities *hwcaps) in setup_elf_hwcaps() argument
1333 for (; hwcaps->matches; hwcaps++) in setup_elf_hwcaps()
1334 if (hwcaps->matches(hwcaps, cpucap_default_scope(hwcaps))) in setup_elf_hwcaps()
1335 cap_set_elf_hwcap(hwcaps); in setup_elf_hwcaps()
/Linux-v4.19/include/linux/mtd/
Dspi-nor.h407 const struct spi_nor_hwcaps *hwcaps);