Home
last modified time | relevance | path

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

/Linux-v5.4/Documentation/arm64/
Delf_hwcaps.rst2 ARM64 ELF hwcaps
5 This document describes the usage and semantics of the arm64 ELF hwcaps.
15 of flags called hwcaps, exposed in the auxilliary vector.
23 unsigned long hwcaps = getauxval(AT_HWCAP);
24 if (hwcaps & HWCAP_FP)
40 2. Interpretation of hwcaps
43 The majority of hwcaps are intended to indicate the presence of features
45 userspace code at EL0. These hwcaps are defined in terms of ID register
49 Such hwcaps are described below in the form::
53 Such hwcaps indicate the availability of functionality that the ARM ARM
[all …]
/Linux-v5.4/arch/sparc/kernel/
Dsetup_64.c396 static const char *hwcaps[] = { variable
420 for (i = 0; i < ARRAY_SIZE(hwcaps); i++) { in cpucap_info()
422 if (hwcaps[i] && (caps & bit)) { in cpucap_info()
424 printed ? "," : "", hwcaps[i]); in cpucap_info()
474 for (i = 0; i < ARRAY_SIZE(hwcaps); i++) { in report_hwcaps()
476 if (hwcaps[i] && (caps & bit)) in report_hwcaps()
477 report_one_hwcap(&printed, hwcaps[i]); in report_hwcaps()
508 for (i = 0; i < ARRAY_SIZE(hwcaps); i++) { in mdesc_cpu_hwcap_list()
511 if (hwcaps[i] && !strcmp(prop, hwcaps[i])) { in mdesc_cpu_hwcap_list()
/Linux-v5.4/drivers/net/hyperv/
Drndis_filter.c526 struct ndis_offload *hwcaps; in rndis_filter_query_device() local
544 hwcaps = (struct ndis_offload *) in rndis_filter_query_device()
547 hwcaps->header.type = NDIS_OBJECT_TYPE_OFFLOAD; in rndis_filter_query_device()
548 hwcaps->header.revision = ndis_rev; in rndis_filter_query_device()
549 hwcaps->header.size = size; in rndis_filter_query_device()
1188 struct ndis_offload hwcaps; in rndis_netdev_set_hwcaps() local
1194 ret = rndis_query_hwcaps(rndis_device, nvdev, &hwcaps); in rndis_netdev_set_hwcaps()
1212 if ((hwcaps.csum.ip4_txcsum & NDIS_TXCSUM_ALL_TCP4) == NDIS_TXCSUM_ALL_TCP4) { in rndis_netdev_set_hwcaps()
1219 if (hwcaps.lsov2.ip4_encap & NDIS_OFFLOAD_ENCAP_8023) { in rndis_netdev_set_hwcaps()
1223 if (hwcaps.lsov2.ip4_maxsz < gso_max_size) in rndis_netdev_set_hwcaps()
[all …]
/Linux-v5.4/drivers/mtd/spi-nor/
Dspi-nor.c2736 const struct spi_nor_hwcaps *hwcaps) in s3an_nor_setup() argument
2799 static int spi_nor_hwcaps2cmd(u32 hwcaps, const int table[][2], size_t size) in spi_nor_hwcaps2cmd() argument
2804 if (table[i][0] == (int)hwcaps) in spi_nor_hwcaps2cmd()
2810 static int spi_nor_hwcaps_read2cmd(u32 hwcaps) in spi_nor_hwcaps_read2cmd() argument
2830 return spi_nor_hwcaps2cmd(hwcaps, hwcaps_read2cmd, in spi_nor_hwcaps_read2cmd()
2834 static int spi_nor_hwcaps_pp2cmd(u32 hwcaps) in spi_nor_hwcaps_pp2cmd() argument
2846 return spi_nor_hwcaps2cmd(hwcaps, hwcaps_pp2cmd, in spi_nor_hwcaps_pp2cmd()
3008 spi_nor_spimem_adjust_hwcaps(struct spi_nor *nor, u32 *hwcaps) in spi_nor_spimem_adjust_hwcaps() argument
3014 *hwcaps &= ~SNOR_HWCAPS_DTR; in spi_nor_spimem_adjust_hwcaps()
3017 *hwcaps &= ~SNOR_HWCAPS_X_X_X; in spi_nor_spimem_adjust_hwcaps()
[all …]
Dnxp-spifi.c272 struct spi_nor_hwcaps hwcaps = { in nxp_spifi_setup_flash() local
310 hwcaps.mask |= SNOR_HWCAPS_READ_1_1_2; in nxp_spifi_setup_flash()
313 hwcaps.mask |= SNOR_HWCAPS_READ_1_1_4; in nxp_spifi_setup_flash()
352 ret = spi_nor_scan(&spifi->nor, NULL, &hwcaps); in nxp_spifi_setup_flash()
Dmtk-quadspi.c425 const struct spi_nor_hwcaps hwcaps = { in mtk_nor_init() local
449 ret = spi_nor_scan(nor, NULL, &hwcaps); in mtk_nor_init()
Dhisi-sfc.c320 const struct spi_nor_hwcaps hwcaps = { in hisi_spi_nor_register() local
368 ret = spi_nor_scan(nor, NULL, &hwcaps); in hisi_spi_nor_register()
Daspeed-smc.c752 const struct spi_nor_hwcaps hwcaps = { in aspeed_smc_setup_flash() local
824 ret = spi_nor_scan(nor, NULL, &hwcaps); in aspeed_smc_setup_flash()
Dintel-spi.c870 const struct spi_nor_hwcaps hwcaps = { in intel_spi_probe() local
906 ret = spi_nor_scan(&ispi->nor, NULL, &hwcaps); in intel_spi_probe()
Dcadence-quadspi.c1224 struct spi_nor_hwcaps hwcaps; in cqspi_setup_flash() local
1236 hwcaps.mask = ddata->hwcaps_mask; in cqspi_setup_flash()
1284 ret = spi_nor_scan(nor, NULL, &hwcaps); in cqspi_setup_flash()
/Linux-v5.4/arch/arm/mm/
Dproc-v7m.S182 .macro __v7m_proc name, initfunc, cache_fns = nop_cache_fns, hwcaps = 0, proc_fns = v7m_processor_…
188 .long HWCAP_HALF | HWCAP_THUMB | HWCAP_FAST_MULT | \hwcaps
203 …__v7m_proc __v7m_cm7_proc_info, __v7m_cm7_setup, hwcaps = HWCAP_EDSP, cache_fns = v7m_cache_fns, p…
213 __v7m_proc __v7m_cm4_proc_info, __v7m_setup, hwcaps = HWCAP_EDSP
Dproc-v7.S652 .macro __v7_proc name, initfunc, mm_mmuflags = 0, io_mmuflags = 0, hwcaps = 0, proc_fns = v7_proces…
663 HWCAP_EDSP | HWCAP_TLS | \hwcaps
815 __v7_proc __krait_proc_info, __v7_setup, hwcaps = HWCAP_IDIV | HWCAP_VFPv4
/Linux-v5.4/include/linux/mtd/
Dspi-nor.h511 struct spi_nor_hwcaps hwcaps; member
520 int (*setup)(struct spi_nor *nor, const struct spi_nor_hwcaps *hwcaps);
663 const struct spi_nor_hwcaps *hwcaps);
/Linux-v5.4/arch/arm64/kernel/
Dcpufeature.c1727 static void __init setup_elf_hwcaps(const struct arm64_cpu_capabilities *hwcaps) in setup_elf_hwcaps() argument
1731 for (; hwcaps->matches; hwcaps++) in setup_elf_hwcaps()
1732 if (hwcaps->matches(hwcaps, cpucap_default_scope(hwcaps))) in setup_elf_hwcaps()
1733 cap_set_elf_hwcap(hwcaps); in setup_elf_hwcaps()