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

/linux-master/tools/testing/selftests/arm64/pauth/
H A Dexec_target.c13 unsigned long hwcaps; local
21 hwcaps = getauxval(AT_HWCAP);
23 if (hwcaps & HWCAP_PACA) {
29 signed_vals.keyg = (hwcaps & HWCAP_PACG) ? keyg_sign(val) : 0;
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); local
262 if (!(hwcaps & HWCAP_PACG)) {
301 unsigned long hwcaps = getauxval(AT_HWCAP); local
305 if (!(hwcaps & HWCAP_PACG)) {
/linux-master/drivers/mtd/spi-nor/
H A Ddebugfs.c186 u32 hwcaps = params->hwcaps.mask; local
190 for (i = 0; i < sizeof(hwcaps) * BITS_PER_BYTE; i++) {
191 if (!(hwcaps & BIT(i)))
199 hwcaps &= ~BIT(i);
203 for (i = 0; i < sizeof(hwcaps) * BITS_PER_BYTE; i++) {
204 if (!(hwcaps & BIT(i)))
212 hwcaps &= ~BIT(i);
215 if (hwcaps)
216 seq_printf(s, "\nunknown hwcaps
[all...]
H A Dsfdp.c50 /* The Fast Read x-y-z hardware capability in params->hwcaps.mask. */
51 u32 hwcaps; member in struct:sfdp_bfpt_read
131 u32 hwcaps; member in struct:sfdp_4bait
505 params->hwcaps.mask &= ~rd->hwcaps;
509 params->hwcaps.mask |= rd->hwcaps;
510 cmd = spi_nor_hwcaps_read2cmd(rd->hwcaps);
636 params->hwcaps.mask |= SNOR_HWCAPS_READ_1_1_8;
649 params->hwcaps
[all...]
H A Dcore.c2203 static int spi_nor_hwcaps2cmd(u32 hwcaps, const int table[][2], size_t size) argument
2208 if (table[i][0] == (int)hwcaps)
2214 int spi_nor_hwcaps_read2cmd(u32 hwcaps) argument
2235 return spi_nor_hwcaps2cmd(hwcaps, hwcaps_read2cmd,
2239 int spi_nor_hwcaps_pp2cmd(u32 hwcaps) argument
2252 return spi_nor_hwcaps2cmd(hwcaps, hwcaps_pp2cmd,
2333 * @hwcaps: pointer to resulting capabilities after adjusting
2337 spi_nor_spimem_adjust_hwcaps(struct spi_nor *nor, u32 *hwcaps) argument
2343 *hwcaps &= ~SNOR_HWCAPS_X_X_X;
2350 *hwcaps
2584 spi_nor_default_setup(struct spi_nor *nor, const struct spi_nor_hwcaps *hwcaps) argument
2688 spi_nor_setup(struct spi_nor *nor, const struct spi_nor_hwcaps *hwcaps) argument
3478 spi_nor_scan(struct spi_nor *nor, const char *name, const struct spi_nor_hwcaps *hwcaps) argument
3625 const struct spi_nor_hwcaps hwcaps = { .mask = SNOR_HWCAPS_ALL }; local
[all...]
H A Dxilinx.c111 const struct spi_nor_hwcaps *hwcaps)
110 xilinx_nor_setup(struct spi_nor *nor, const struct spi_nor_hwcaps *hwcaps) argument
H A Dcore.h357 * @hwcaps: describes the read and page program hardware
396 struct spi_nor_hwcaps hwcaps; member in struct:spi_nor_flash_parameter
407 int (*setup)(struct spi_nor *nor, const struct spi_nor_hwcaps *hwcaps);
654 int spi_nor_hwcaps_read2cmd(u32 hwcaps);
655 int spi_nor_hwcaps_pp2cmd(u32 hwcaps);
H A Dmicron-st.c138 nor->params->hwcaps.mask |= SNOR_HWCAPS_READ_8_8_8_DTR;
H A Dspansion.c565 params->hwcaps.mask |= SNOR_HWCAPS_PP_1_1_4;
/linux-master/arch/arm/mm/
H A Dproc-v7m.S182 .macro __v7m_proc name, initfunc, cache_fns = nop_cache_fns, hwcaps = 0, proc_fns = v7m_processor_functions
188 .long HWCAP_HALF | HWCAP_THUMB | HWCAP_FAST_MULT | \hwcaps
203 __v7m_proc __v7m_cm55_proc_info, __v7m_cm7_setup, hwcaps = HWCAP_EDSP, cache_fns = v7m_cache_fns, proc_fns = cm7_processor_functions
213 __v7m_proc __v7m_cm33_proc_info, __v7m_setup, hwcaps = HWCAP_EDSP
223 __v7m_proc __v7m_cm7_proc_info, __v7m_cm7_setup, hwcaps = HWCAP_EDSP, cache_fns = v7m_cache_fns, proc_fns = cm7_processor_functions
233 __v7m_proc __v7m_cm4_proc_info, __v7m_setup, hwcaps = HWCAP_EDSP
H A Dproc-v7.S651 .macro __v7_proc name, initfunc, mm_mmuflags = 0, io_mmuflags = 0, hwcaps = 0, proc_fns = v7_processor_functions, cache_fns = v7_cache_fns
662 HWCAP_EDSP | HWCAP_TLS | \hwcaps
814 __v7_proc __krait_proc_info, __v7_setup, hwcaps = HWCAP_IDIV | HWCAP_VFPv4
/linux-master/arch/sparc/kernel/
H A Dsetup_64.c380 static const char *hwcaps[] = { variable
404 for (i = 0; i < ARRAY_SIZE(hwcaps); i++) {
406 if (hwcaps[i] && (caps & bit)) {
408 printed ? "," : "", hwcaps[i]);
458 for (i = 0; i < ARRAY_SIZE(hwcaps); i++) {
460 if (hwcaps[i] && (caps & bit))
461 report_one_hwcap(&printed, hwcaps[i]);
492 for (i = 0; i < ARRAY_SIZE(hwcaps); i++) {
495 if (hwcaps[i] && !strcmp(prop, hwcaps[
[all...]
/linux-master/drivers/net/hyperv/
H A Drndis_filter.c670 struct ndis_offload *hwcaps; local
688 hwcaps = (struct ndis_offload *)
691 hwcaps->header.type = NDIS_OBJECT_TYPE_OFFLOAD;
692 hwcaps->header.revision = ndis_rev;
693 hwcaps->header.size = size;
1352 struct ndis_offload hwcaps; local
1358 ret = rndis_query_hwcaps(rndis_device, nvdev, &hwcaps);
1377 if ((hwcaps.csum.ip4_txcsum & NDIS_TXCSUM_ALL_TCP4) == NDIS_TXCSUM_ALL_TCP4) {
1384 if (hwcaps.lsov2.ip4_encap & NDIS_OFFLOAD_ENCAP_8023) {
1388 if (hwcaps
[all...]
/linux-master/drivers/mtd/spi-nor/controllers/
H A Dnxp-spifi.c282 struct spi_nor_hwcaps hwcaps = { local
320 hwcaps.mask |= SNOR_HWCAPS_READ_1_1_2;
323 hwcaps.mask |= SNOR_HWCAPS_READ_1_1_4;
358 ret = spi_nor_scan(&spifi->nor, NULL, &hwcaps);
H A Dhisi-sfc.c329 const struct spi_nor_hwcaps hwcaps = { local
371 ret = spi_nor_scan(nor, NULL, &hwcaps);
/linux-master/tools/testing/selftests/arm64/abi/
H A Dhwcap.c447 } hwcaps[] = { variable in typeref:struct:hwcap_data
967 ksft_set_plan(ARRAY_SIZE(hwcaps) * TESTS_PER_HWCAP);
969 for (i = 0; i < ARRAY_SIZE(hwcaps); i++) {
970 hwcap = &hwcaps[i];
/linux-master/include/linux/mtd/
H A Dspi-nor.h440 * @hwcaps: the hardware capabilities supported by the controller driver
451 const struct spi_nor_hwcaps *hwcaps);
/linux-master/arch/arm64/kernel/
H A Dcpufeature.c23 * have in the system. These may be in the form of traditional "hwcaps"
3122 static void setup_elf_hwcaps(const struct arm64_cpu_capabilities *hwcaps) argument
3126 for (; hwcaps->matches; hwcaps++)
3127 if (hwcaps->matches(hwcaps, cpucap_default_scope(hwcaps)))
3128 cap_set_elf_hwcap(hwcaps);

Completed in 229 milliseconds