Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/tools/testing/selftests/arm64/pauth/
H A Dexec_target.c13 unsigned long hwcaps; in main() local
21 hwcaps = getauxval(AT_HWCAP); in main()
23 if (hwcaps & HWCAP_PACA) { in main()
29 signed_vals.keyg = (hwcaps & HWCAP_PACG) ? keyg_sign(val) : 0; in main()
H A Dpac.c26 unsigned long hwcaps = getauxval(AT_HWCAP); \
28 if (!(hwcaps & HWCAP_PACA)) \
33 unsigned long hwcaps = getauxval(AT_HWCAP); \
35 if (!(hwcaps & HWCAP_PACG)) \
258 unsigned long hwcaps = getauxval(AT_HWCAP); in TEST() local
262 if (!(hwcaps & HWCAP_PACG)) { in TEST()
301 unsigned long hwcaps = getauxval(AT_HWCAP); in TEST() local
305 if (!(hwcaps & HWCAP_PACG)) { in TEST()
/OK3568_Linux_fs/kernel/Documentation/arm64/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/mtd/spi-nor/
H A Dsfdp.c39 u32 hwcaps; member
119 u32 hwcaps; member
496 params->hwcaps.mask &= ~rd->hwcaps; in spi_nor_parse_bfpt()
500 params->hwcaps.mask |= rd->hwcaps; in spi_nor_parse_bfpt()
501 cmd = spi_nor_hwcaps_read2cmd(rd->hwcaps); in spi_nor_parse_bfpt()
986 discard_hwcaps |= read->hwcaps; in spi_nor_parse_4bait()
987 if ((params->hwcaps.mask & read->hwcaps) && in spi_nor_parse_4bait()
989 read_hwcaps |= read->hwcaps; in spi_nor_parse_4bait()
1006 discard_hwcaps |= program->hwcaps; in spi_nor_parse_4bait()
1008 pp_hwcaps |= program->hwcaps; in spi_nor_parse_4bait()
[all …]
H A Dcore.c2381 static int spi_nor_hwcaps2cmd(u32 hwcaps, const int table[][2], size_t size) in spi_nor_hwcaps2cmd() argument
2386 if (table[i][0] == (int)hwcaps) in spi_nor_hwcaps2cmd()
2392 int spi_nor_hwcaps_read2cmd(u32 hwcaps) in spi_nor_hwcaps_read2cmd() argument
2412 return spi_nor_hwcaps2cmd(hwcaps, hwcaps_read2cmd, in spi_nor_hwcaps_read2cmd()
2416 static int spi_nor_hwcaps_pp2cmd(u32 hwcaps) in spi_nor_hwcaps_pp2cmd() argument
2428 return spi_nor_hwcaps2cmd(hwcaps, hwcaps_pp2cmd, in spi_nor_hwcaps_pp2cmd()
2520 spi_nor_spimem_adjust_hwcaps(struct spi_nor *nor, u32 *hwcaps) in spi_nor_spimem_adjust_hwcaps() argument
2526 *hwcaps &= ~SNOR_HWCAPS_DTR; in spi_nor_spimem_adjust_hwcaps()
2529 *hwcaps &= ~SNOR_HWCAPS_X_X_X; in spi_nor_spimem_adjust_hwcaps()
2531 for (cap = 0; cap < sizeof(*hwcaps) * BITS_PER_BYTE; cap++) { in spi_nor_spimem_adjust_hwcaps()
[all …]
H A Dcore.h216 struct spi_nor_hwcaps hwcaps; member
225 int (*setup)(struct spi_nor *nor, const struct spi_nor_hwcaps *hwcaps);
427 int spi_nor_hwcaps_read2cmd(u32 hwcaps);
H A Dxilinx.c41 const struct spi_nor_hwcaps *hwcaps) in xilinx_nor_setup() argument
/OK3568_Linux_fs/u-boot/drivers/mtd/spi/
H A Dspi-nor-core.c1545 struct spi_nor_hwcaps hwcaps; member
1755 u32 hwcaps; member
1849 static int spi_nor_hwcaps_read2cmd(u32 hwcaps);
1948 params->hwcaps.mask &= ~rd->hwcaps; in spi_nor_parse_bfpt()
1952 params->hwcaps.mask |= rd->hwcaps; in spi_nor_parse_bfpt()
1953 cmd = spi_nor_hwcaps_read2cmd(rd->hwcaps); in spi_nor_parse_bfpt()
2153 params->hwcaps.mask |= SNOR_HWCAPS_READ; in spi_nor_init_params()
2159 params->hwcaps.mask |= SNOR_HWCAPS_READ_FAST; in spi_nor_init_params()
2166 params->hwcaps.mask |= SNOR_HWCAPS_READ_1_1_2; in spi_nor_init_params()
2173 params->hwcaps.mask |= SNOR_HWCAPS_READ_1_1_4; in spi_nor_init_params()
[all …]
H A Dspi-nor-tiny.c563 struct spi_nor_hwcaps hwcaps; member
585 params->hwcaps.mask = SNOR_HWCAPS_READ; in spi_nor_init_params()
591 params->hwcaps.mask |= SNOR_HWCAPS_READ_FAST; in spi_nor_init_params()
598 params->hwcaps.mask |= SNOR_HWCAPS_READ_1_1_4; in spi_nor_init_params()
645 const struct spi_nor_hwcaps *hwcaps) in spi_nor_setup() argument
654 shared_mask = hwcaps->mask & params->hwcaps.mask; in spi_nor_setup()
717 struct spi_nor_hwcaps hwcaps = { in spi_nor_scan() local
730 hwcaps.mask |= SNOR_HWCAPS_READ_1_1_4; in spi_nor_scan()
758 params.hwcaps.mask &= ~SNOR_HWCAPS_READ_FAST; in spi_nor_scan()
767 ret = spi_nor_setup(nor, info, &params, &hwcaps); in spi_nor_scan()
/OK3568_Linux_fs/kernel/arch/sparc/kernel/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/hyperv/
H A Drndis_filter.c588 struct ndis_offload *hwcaps; in rndis_filter_query_device() local
606 hwcaps = (struct ndis_offload *) in rndis_filter_query_device()
609 hwcaps->header.type = NDIS_OBJECT_TYPE_OFFLOAD; in rndis_filter_query_device()
610 hwcaps->header.revision = ndis_rev; in rndis_filter_query_device()
611 hwcaps->header.size = size; in rndis_filter_query_device()
1251 struct ndis_offload hwcaps; in rndis_netdev_set_hwcaps() local
1257 ret = rndis_query_hwcaps(rndis_device, nvdev, &hwcaps); in rndis_netdev_set_hwcaps()
1276 if ((hwcaps.csum.ip4_txcsum & NDIS_TXCSUM_ALL_TCP4) == NDIS_TXCSUM_ALL_TCP4) { in rndis_netdev_set_hwcaps()
1283 if (hwcaps.lsov2.ip4_encap & NDIS_OFFLOAD_ENCAP_8023) { in rndis_netdev_set_hwcaps()
1287 if (hwcaps.lsov2.ip4_maxsz < gso_max_size) in rndis_netdev_set_hwcaps()
[all …]
/OK3568_Linux_fs/kernel/arch/arm/mm/
H A 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
H A 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
/OK3568_Linux_fs/kernel/drivers/mtd/spi-nor/controllers/
H A Dnxp-spifi.c283 struct spi_nor_hwcaps hwcaps = { in nxp_spifi_setup_flash() local
321 hwcaps.mask |= SNOR_HWCAPS_READ_1_1_2; in nxp_spifi_setup_flash()
324 hwcaps.mask |= SNOR_HWCAPS_READ_1_1_4; in nxp_spifi_setup_flash()
359 ret = spi_nor_scan(&spifi->nor, NULL, &hwcaps); in nxp_spifi_setup_flash()
H A Dhisi-sfc.c329 const struct spi_nor_hwcaps hwcaps = { in hisi_spi_nor_register() local
371 ret = spi_nor_scan(nor, NULL, &hwcaps); in hisi_spi_nor_register()
H A Daspeed-smc.c762 const struct spi_nor_hwcaps hwcaps = { in aspeed_smc_setup_flash() local
829 ret = spi_nor_scan(nor, NULL, &hwcaps); in aspeed_smc_setup_flash()
H A Dintel-spi.c911 const struct spi_nor_hwcaps hwcaps = { in intel_spi_probe() local
942 ret = spi_nor_scan(&ispi->nor, NULL, &hwcaps); in intel_spi_probe()
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/glibc/glibc/
H A D0005-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch64 #include <dl-hwcaps.h>
79 --glibc-hwcaps-prepend LIST\n\
/OK3568_Linux_fs/kernel/arch/arm64/kernel/
H A Dcpufeature.c2561 static void setup_elf_hwcaps(const struct arm64_cpu_capabilities *hwcaps) in setup_elf_hwcaps() argument
2565 for (; hwcaps->matches; hwcaps++) in setup_elf_hwcaps()
2566 if (hwcaps->matches(hwcaps, cpucap_default_scope(hwcaps))) in setup_elf_hwcaps()
2567 cap_set_elf_hwcap(hwcaps); in setup_elf_hwcaps()
/OK3568_Linux_fs/kernel/include/linux/mtd/
H A Dspi-nor.h421 const struct spi_nor_hwcaps *hwcaps);
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/share/info/
H A Dlibc.info-162151 * glibc.cpu.hwcaps: Hardware Capability Tunables.
H A Dlibc.info-156117 * hwcaps tunables: Hardware Capability Tunables.
7118 * tunables, hwcaps: Hardware Capability Tunables.
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/share/info/
H A Dlibc.info-162151 * glibc.cpu.hwcaps: Hardware Capability Tunables.
H A Dlibc.info-156117 * hwcaps tunables: Hardware Capability Tunables.
7118 * tunables, hwcaps: Hardware Capability Tunables.
H A Dlibc.info-135567 glibc.cpu.hwcaps:
5924 -- Tunable: glibc.cpu.hwcaps
5925 The ‘glibc.cpu.hwcaps=-xxx,yyy,-zzz...’ tunable allows the user to

12