| /linux-6.15/Documentation/translations/zh_TW/arch/arm64/ |
| H A D | elf_hwcaps.rst | 11 ARM64 ELF hwcaps 14 這篇文檔描述了 arm64 ELF hwcaps 的用法和語義。 22 公開一組稱爲 hwcaps 的標誌而把這些功能暴露給用戶空間。 29 unsigned long hwcaps = getauxval(AT_HWCAP); 30 if (hwcaps & HWCAP_FP) 46 大多數 hwcaps 旨在說明通過架構 ID 寄存器(處於 EL0 的用戶空間代碼無法訪問) 50 這些 hwcaps 以下面的形式描述:: 54 當 idreg.field 中有 val 時,hwcaps 表示 ARM ARM 定義的功能是有效的,但是 57 其他 hwcaps 可能表明無法僅由 ID 寄存器描述的功能的存在。這些 hwcaps 可能 61 3. AT_HWCAP 中揭示的 hwcaps
|
| /linux-6.15/Documentation/translations/zh_CN/arch/arm64/ |
| H A D | elf_hwcaps.rst | 8 ARM64 ELF hwcaps 11 这篇文档描述了 arm64 ELF hwcaps 的用法和语义。 19 公开一组称为 hwcaps 的标志而把这些功能暴露给用户空间。 26 unsigned long hwcaps = getauxval(AT_HWCAP); 27 if (hwcaps & HWCAP_FP) 43 大多数 hwcaps 旨在说明通过架构 ID 寄存器(处于 EL0 的用户空间代码无法访问) 47 这些 hwcaps 以下面的形式描述:: 51 当 idreg.field 中有 val 时,hwcaps 表示 ARM ARM 定义的功能是有效的,但是 54 其他 hwcaps 可能表明无法仅由 ID 寄存器描述的功能的存在。这些 hwcaps 可能 58 3. AT_HWCAP 中揭示的 hwcaps
|
| /linux-6.15/drivers/mtd/spi-nor/ |
| H A D | debugfs.c | 186 u32 hwcaps = params->hwcaps.mask; in spi_nor_capabilities_show() local 190 for (i = 0; i < sizeof(hwcaps) * BITS_PER_BYTE; i++) { in spi_nor_capabilities_show() 191 if (!(hwcaps & BIT(i))) in spi_nor_capabilities_show() 199 hwcaps &= ~BIT(i); in spi_nor_capabilities_show() 203 for (i = 0; i < sizeof(hwcaps) * BITS_PER_BYTE; i++) { in spi_nor_capabilities_show() 204 if (!(hwcaps & BIT(i))) in spi_nor_capabilities_show() 212 hwcaps &= ~BIT(i); in spi_nor_capabilities_show() 215 if (hwcaps) in spi_nor_capabilities_show() 216 seq_printf(s, "\nunknown hwcaps 0x%x\n", hwcaps); in spi_nor_capabilities_show()
|
| H A D | sfdp.c | 51 u32 hwcaps; member 131 u32 hwcaps; member 505 params->hwcaps.mask &= ~rd->hwcaps; in spi_nor_parse_bfpt() 509 params->hwcaps.mask |= rd->hwcaps; in spi_nor_parse_bfpt() 510 cmd = spi_nor_hwcaps_read2cmd(rd->hwcaps); in spi_nor_parse_bfpt() 1039 discard_hwcaps |= read->hwcaps; in spi_nor_parse_4bait() 1040 if ((params->hwcaps.mask & read->hwcaps) && in spi_nor_parse_4bait() 1042 read_hwcaps |= read->hwcaps; in spi_nor_parse_4bait() 1059 discard_hwcaps |= program->hwcaps; in spi_nor_parse_4bait() 1061 pp_hwcaps |= program->hwcaps; in spi_nor_parse_4bait() [all …]
|
| H A D | core.c | 2158 if (table[i][0] == (int)hwcaps) in spi_nor_hwcaps2cmd() 2164 int spi_nor_hwcaps_read2cmd(u32 hwcaps) in spi_nor_hwcaps_read2cmd() argument 2189 int spi_nor_hwcaps_pp2cmd(u32 hwcaps) in spi_nor_hwcaps_pp2cmd() argument 2293 *hwcaps &= ~SNOR_HWCAPS_X_X_X; in spi_nor_spimem_adjust_hwcaps() 2305 if (!(*hwcaps & BIT(cap))) in spi_nor_spimem_adjust_hwcaps() 2311 *hwcaps &= ~BIT(cap); in spi_nor_spimem_adjust_hwcaps() 2319 *hwcaps &= ~BIT(cap); in spi_nor_spimem_adjust_hwcaps() 2588 shared_mask = hwcaps->mask & params->hwcaps.mask; in spi_nor_setup() 2918 params->hwcaps.mask |= SNOR_HWCAPS_PP; in spi_nor_init_default_params() 3413 const struct spi_nor_hwcaps *hwcaps) in spi_nor_scan() argument [all …]
|
| H A D | everspin.c | 40 nor->params->hwcaps.mask &= ~SNOR_HWCAPS_READ_FAST; in everspin_nor_default_init()
|
| H A D | core.h | 390 struct spi_nor_hwcaps hwcaps; member 647 int spi_nor_hwcaps_read2cmd(u32 hwcaps); 648 int spi_nor_hwcaps_pp2cmd(u32 hwcaps);
|
| H A D | macronix.c | 54 params->hwcaps.mask |= SNOR_HWCAPS_PP_1_1_4; in macronix_qpp4b_post_sfdp_fixups()
|
| H A D | micron-st.c | 138 nor->params->hwcaps.mask |= SNOR_HWCAPS_READ_8_8_8_DTR; in mt35xu512aba_post_sfdp_fixup()
|
| H A D | spansion.c | 566 params->hwcaps.mask |= SNOR_HWCAPS_PP_1_1_4; in s25fs256t_post_sfdp_fixup()
|
| /linux-6.15/tools/testing/selftests/arm64/pauth/ |
| H A D | exec_target.c | 13 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 D | pac.c | 26 unsigned long hwcaps = getauxval(AT_HWCAP); \ 28 if (!(hwcaps & HWCAP_PACA)) \ 33 unsigned long hwcaps = getauxval(AT_HWCAP); \ 35 if (!(hwcaps & HWCAP_PACG)) \ 261 unsigned long hwcaps = getauxval(AT_HWCAP); in TEST() local 265 if (!(hwcaps & HWCAP_PACG)) { in TEST() 304 unsigned long hwcaps = getauxval(AT_HWCAP); in TEST() local 308 if (!(hwcaps & HWCAP_PACG)) { in TEST()
|
| /linux-6.15/arch/sparc/kernel/ |
| H A D | setup_64.c | 380 static const char *hwcaps[] = { variable 404 for (i = 0; i < ARRAY_SIZE(hwcaps); i++) { in cpucap_info() 406 if (hwcaps[i] && (caps & bit)) { in cpucap_info() 408 printed ? "," : "", hwcaps[i]); in cpucap_info() 458 for (i = 0; i < ARRAY_SIZE(hwcaps); i++) { in report_hwcaps() 460 if (hwcaps[i] && (caps & bit)) in report_hwcaps() 461 report_one_hwcap(&printed, hwcaps[i]); in report_hwcaps() 492 for (i = 0; i < ARRAY_SIZE(hwcaps); i++) { in mdesc_cpu_hwcap_list() 495 if (hwcaps[i] && !strcmp(prop, hwcaps[i])) { in mdesc_cpu_hwcap_list()
|
| /linux-6.15/arch/arm/mm/ |
| H A D | proc-v7m.S | 183 .macro __v7m_proc name, initfunc, cache_fns = nop_cache_fns, hwcaps = 0, proc_fns = v7m_processor_… 189 .long HWCAP_HALF | HWCAP_THUMB | HWCAP_FAST_MULT | \hwcaps 204 …__v7m_proc __v7m_cm55_proc_info, __v7m_cm7_setup, hwcaps = HWCAP_EDSP, cache_fns = v7m_cache_fns, … 214 __v7m_proc __v7m_cm33_proc_info, __v7m_setup, hwcaps = HWCAP_EDSP 224 …__v7m_proc __v7m_cm7_proc_info, __v7m_cm7_setup, hwcaps = HWCAP_EDSP, cache_fns = v7m_cache_fns, p… 234 __v7m_proc __v7m_cm4_proc_info, __v7m_setup, hwcaps = HWCAP_EDSP
|
| H A D | proc-v7.S | 653 .macro __v7_proc name, initfunc, mm_mmuflags = 0, io_mmuflags = 0, hwcaps = 0, proc_fns = v7_proces… 664 HWCAP_EDSP | HWCAP_TLS | \hwcaps 816 __v7_proc __krait_proc_info, __v7_setup, hwcaps = HWCAP_IDIV | HWCAP_VFPv4
|
| /linux-6.15/Documentation/arch/arm64/ |
| H A D | elf_hwcaps.rst | 4 ARM64 ELF hwcaps 7 This document describes the usage and semantics of the arm64 ELF hwcaps. 17 of flags called hwcaps, exposed in the auxiliary vector. 25 unsigned long hwcaps = getauxval(AT_HWCAP); 26 if (hwcaps & HWCAP_FP) 42 2. Interpretation of hwcaps 47 userspace code at EL0. These hwcaps are defined in terms of ID register 51 Such hwcaps are described below in the form:: 55 Such hwcaps indicate the availability of functionality that the ARM ARM 61 Other hwcaps may indicate the presence of features which cannot be [all …]
|
| /linux-6.15/drivers/net/hyperv/ |
| H A D | rndis_filter.c | 656 struct ndis_offload *hwcaps; in rndis_filter_query_device() local 674 hwcaps = (struct ndis_offload *) in rndis_filter_query_device() 677 hwcaps->header.type = NDIS_OBJECT_TYPE_OFFLOAD; in rndis_filter_query_device() 678 hwcaps->header.revision = ndis_rev; in rndis_filter_query_device() 679 hwcaps->header.size = size; in rndis_filter_query_device() 1343 struct ndis_offload hwcaps; in rndis_netdev_set_hwcaps() local 1350 ret = rndis_query_hwcaps(rndis_device, nvdev, &hwcaps); in rndis_netdev_set_hwcaps() 1381 nvdev->netvsc_gso_max_size = hwcaps.lsov2.ip4_maxsz; in rndis_netdev_set_hwcaps() 1384 if (hwcaps.csum.ip4_txcsum & NDIS_TXCSUM_CAP_UDP4) { in rndis_netdev_set_hwcaps() 1405 if (hwcaps.csum.ip6_txcsum & NDIS_TXCSUM_CAP_UDP6) { in rndis_netdev_set_hwcaps() [all …]
|
| /linux-6.15/drivers/mtd/spi-nor/controllers/ |
| H A D | nxp-spifi.c | 282 struct spi_nor_hwcaps hwcaps = { in nxp_spifi_setup_flash() local 320 hwcaps.mask |= SNOR_HWCAPS_READ_1_1_2; in nxp_spifi_setup_flash() 323 hwcaps.mask |= SNOR_HWCAPS_READ_1_1_4; in nxp_spifi_setup_flash() 358 ret = spi_nor_scan(&spifi->nor, NULL, &hwcaps); in nxp_spifi_setup_flash()
|
| H A D | hisi-sfc.c | 329 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()
|
| /linux-6.15/tools/testing/selftests/arm64/abi/ |
| H A D | hwcap.c | 590 } hwcaps[] = { variable 1231 ksft_set_plan(ARRAY_SIZE(hwcaps) * TESTS_PER_HWCAP); in main() 1233 for (i = 0; i < ARRAY_SIZE(hwcaps); i++) { in main() 1234 hwcap = &hwcaps[i]; in main()
|
| /linux-6.15/include/linux/mtd/ |
| H A D | spi-nor.h | 451 const struct spi_nor_hwcaps *hwcaps);
|
| /linux-6.15/arch/arm64/kernel/ |
| H A D | cpufeature.c | 3344 static void setup_elf_hwcaps(const struct arm64_cpu_capabilities *hwcaps) in setup_elf_hwcaps() argument 3348 for (; hwcaps->matches; hwcaps++) in setup_elf_hwcaps() 3349 if (hwcaps->matches(hwcaps, cpucap_default_scope(hwcaps))) in setup_elf_hwcaps() 3350 cap_set_elf_hwcap(hwcaps); in setup_elf_hwcaps()
|
| /linux-6.15/arch/arm64/ |
| H A D | Kconfig | 1133 from hwcaps and EL0 reads of ID_AA64PFR1_EL1, such that userspace
|