Home
last modified time | relevance | path

Searched +full:2 +full:x32 +full:- +full:bit (Results 1 – 25 of 1025) sorted by relevance

12345678910>>...41

/kernel/linux/linux-5.10/tools/testing/selftests/x86/
Dsyscall_numbering.c1 /* SPDX-License-Identifier: GPL-2.0 */
3 * syscall_arg_fault.c - tests faults 32-bit fast syscall stack args
40 * Syscalls 512-547 are "x32" syscalls. They are intended to be in test_x32_without_x32_bit()
41 * called with the x32 (0x40000000) bit set. Calling them without in test_x32_without_x32_bit()
42 * the x32 bit set is nonsense and should not work. in test_x32_without_x32_bit()
44 printf("[RUN]\tChecking syscalls 512-547\n"); in test_x32_without_x32_bit()
49 * Check that a handful of 64-bit-only syscalls are rejected if the x32 in test_x32_without_x32_bit()
50 * bit is set. in test_x32_without_x32_bit()
52 printf("[RUN]\tChecking some 64-bit syscalls in x32 range\n"); in test_x32_without_x32_bit()
60 printf("[RUN]\tChecking numbers above 2^32-1\n"); in test_x32_without_x32_bit()
[all …]
/kernel/linux/linux-4.19/arch/x86/entry/vdso/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
14 VDSO64-$(CONFIG_X86_64) := y
15 VDSOX32-$(CONFIG_X86_X32_ABI) := y
16 VDSO32-$(CONFIG_X86_32) := y
17 VDSO32-$(CONFIG_IA32_EMULATION) := y
20 vobjs-y := vdso-note.o vclock_gettime.o vgetcpu.o
23 obj-y += vma.o
27 vdso_img-$(VDSO64-y) += 64
28 vdso_img-$(VDSOX32-y) += x32
29 vdso_img-$(VDSO32-y) += 32
[all …]
/kernel/linux/linux-5.10/arch/x86/entry/vdso/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
21 VDSO64-$(CONFIG_X86_64) := y
22 VDSOX32-$(CONFIG_X86_X32_ABI) := y
23 VDSO32-$(CONFIG_X86_32) := y
24 VDSO32-$(CONFIG_IA32_EMULATION) := y
27 vobjs-y := vdso-note.o vclock_gettime.o vgetcpu.o
28 vobjs32-y := vdso32/note.o vdso32/system_call.o vdso32/sigreturn.o
29 vobjs32-y += vdso32/vclock_gettime.o
32 obj-y += vma.o
39 vdso_img-$(VDSO64-y) += 64
[all …]
/kernel/linux/linux-4.19/drivers/staging/rtlwifi/phydm/
Dphydm_adaptivity.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright(c) 2007 - 2016 Realtek Corporation.
8 * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
28 if (dm->support_ability & ODM_BB_ADAPTIVITY) { in phydm_check_adaptivity()
29 if (adaptivity->dynamic_link_adaptivity || in phydm_check_adaptivity()
30 adaptivity->acs_for_adaptivity) { in phydm_check_adaptivity()
31 if (dm->is_linked && !adaptivity->is_check) { in phydm_check_adaptivity()
34 } else if (!dm->is_linked) { in phydm_check_adaptivity()
35 adaptivity->is_check = false; in phydm_check_adaptivity()
38 dm->adaptivity_enable = true; in phydm_check_adaptivity()
[all …]
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/x86/skylakex/
Dother.json4 "Counter": "0,1,2,3",
5 "CounterHTOff": "0,1,2,3,4,5,6,7",
8 …"PublicDescription": "Core cycles the out-of-order engine was throttled due to a pending power lev…
14 "Counter": "0,1,2,3",
15 "CounterHTOff": "0,1,2,3,4,5,6,7",
24 "Counter": "0,1,2,3",
25 "CounterHTOff": "0,1,2,3,4,5,6,7",
26 "EventCode": "0x32",
32 … where the core was running in a manner where Turbo may be clipped to the Non-AVX turbo schedule.",
33 "Counter": "0,1,2,3",
[all …]
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/x86/icelake/
Dother.json3 "CollectPEBSRecord": "2",
4-width of the narrowest pipeline as employed by the Top-down Microarchitecture Analysis method. Th…
13 "CollectPEBSRecord": "2",
14 … running with power-delivery for baseline license level 0. This includes non-AVX codes, SSE, AVX …
16 "Counter": "0,1,2,3",
18 "PEBScounters": "0,1,2,3",
21 …s where the core was running in a manner where Turbo may be clipped to the Non-AVX turbo schedule."
24 "CollectPEBSRecord": "2",
25 …unning with power-delivery for license level 1. This includes high current AVX 256-bit instructio…
27 "Counter": "0,1,2,3",
[all …]
/kernel/linux/linux-4.19/arch/x86/entry/syscalls/
Dsyscall_64.tbl2 # 64-bit system call numbers and entry vectors
7 # The __x64_sys_*() stubs are created on-the-fly for sys_*() system calls
9 # The abi is "common", "64" or "x32" for this file.
13 2 common open __x64_sys_open
348 # x32-specific system call numbers start at 512 to avoid cache impact
349 # for native 64-bit operation. The __x32_compat_sys stubs are created
350 # on-the-fly for compat_sys_*() compatibility system calls if X86_X32
353 512 x32 rt_sigaction __x32_compat_sys_rt_sigaction
354 513 x32 rt_sigreturn sys32_x32_rt_sigreturn
355 514 x32 ioctl __x32_compat_sys_ioctl
[all …]
Dsyscalltbl.sh2 # SPDX-License-Identifier: GPL-2.0
5 out="$2"
9 nr="$2"
25 nr="$2"
30 if [ "$abi" = "64" -a -n "$compat" ]; then
31 echo "a compat entry for a 64-bit syscall makes no sense" >&2
36 if [ "$abi" = "64" -a "${entry}" != "${entry#__x64_sys}" ]; then
40 if [ -z "$compat" ]; then
41 if [ -n "$entry" -a -z "$umlentry" ]; then
43 elif [ -n "$umlentry" ]; then # implies -n "$entry"
[all …]
/kernel/linux/linux-4.19/tools/perf/arch/x86/entry/syscalls/
Dsyscall_64.tbl2 # 64-bit system call numbers and entry vectors
7 # The __x64_sys_*() stubs are created on-the-fly for sys_*() system calls
9 # The abi is "common", "64" or "x32" for this file.
13 2 common open __x64_sys_open
348 # x32-specific system call numbers start at 512 to avoid cache impact
349 # for native 64-bit operation. The __x32_compat_sys stubs are created
350 # on-the-fly for compat_sys_*() compatibility system calls if X86_X32
353 512 x32 rt_sigaction __x32_compat_sys_rt_sigaction
354 513 x32 rt_sigreturn sys32_x32_rt_sigreturn
355 514 x32 ioctl __x32_compat_sys_ioctl
[all …]
/kernel/linux/linux-4.19/Documentation/process/
Dadding-syscalls.rst6 :ref:`Documentation/process/submitting-patches.rst <submittingpatches>`.
10 ------------------------
15 kernel, there are other possibilities -- choose what fits best for your
18 - If the operations involved can be made to look like a filesystem-like
23 - If the new functionality involves operations where the kernel notifies
27 - However, operations that don't map to
28 :manpage:`read(2)`/:manpage:`write(2)`-like operations
29 have to be implemented as :manpage:`ioctl(2)` requests, which can lead
32 - If you're just exposing runtime system information, a new node in sysfs
38 - If the operation is specific to a particular file or file descriptor, then
[all …]
/kernel/linux/linux-5.10/Documentation/process/
Dadding-syscalls.rst9 :ref:`Documentation/process/submitting-patches.rst <submittingpatches>`.
13 ------------------------
18 kernel, there are other possibilities -- choose what fits best for your
21 - If the operations involved can be made to look like a filesystem-like
26 - If the new functionality involves operations where the kernel notifies
30 - However, operations that don't map to
31 :manpage:`read(2)`/:manpage:`write(2)`-like operations
32 have to be implemented as :manpage:`ioctl(2)` requests, which can lead
35 - If you're just exposing runtime system information, a new node in sysfs
41 - If the operation is specific to a particular file or file descriptor, then
[all …]
/kernel/linux/linux-4.19/tools/perf/pmu-events/arch/x86/skylakex/
Dother.json5 … where the core was running in a manner where Turbo may be clipped to the Non-AVX turbo schedule.",
6 "Counter": "0,1,2,3",
8 … running with power-delivery for baseline license level 0. This includes non-AVX codes, SSE, AVX …
10 "CounterHTOff": "0,1,2,3,4,5,6,7"
16 "Counter": "0,1,2,3",
18 …unning with power-delivery for license level 1. This includes high current AVX 256-bit instructio…
20 "CounterHTOff": "0,1,2,3,4,5,6,7"
26 "Counter": "0,1,2,3",
28 …unning with power-delivery for license level 2 (introduced in Skylake Server michroarchtecture). …
30 "CounterHTOff": "0,1,2,3,4,5,6,7"
[all …]
/kernel/linux/linux-5.10/Documentation/translations/it_IT/process/
Dadding-syscalls.rst1 .. include:: ../disclaimer-ita.rst
3 :Original: :ref:`Documentation/process/adding-syscalls.rst <addsyscalls>`
14 :ref:`Documentation/translations/it_IT/process/submitting-patches.rst <it_submittingpatches>`.
18 ------------------------------------
23 ovvio, esistono altre possibilità - scegliete quella che meglio si adatta alle
26 - Se le operazioni coinvolte possono rassomigliare a quelle di un filesystem,
32 - Se la nuova funzionalità prevede operazioni dove il kernel notifica
36 - Tuttavia, le operazioni che non si sposano bene con operazioni tipo
37 :manpage:`read(2)`/:manpage:`write(2)` dovrebbero essere implementate
38 come chiamate :manpage:`ioctl(2)`, il che potrebbe portare ad un'API in
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/meson/vdec/
Dcodec_h264.c1 // SPDX-License-Identifier: GPL-2.0+
7 #include <media/v4l2-mem2mem.h>
8 #include <media/videobuf2-dma-contig.h>
27 #define CMD_FRAMES_READY 2
32 #define SEI_DATA_READY BIT(15)
43 #define PIC_STRUCT_MASK GENMASK(2, 0)
45 #define ERROR_FLAG BIT(9)
57 #define AR_PRESENT_FLAG BIT(0)
62 * This is a 16x16 encoded picture that will trigger drain firmware-side.
68 0x78, 0x32, 0x36, 0x34, 0x20, 0x2d, 0x20, 0x63, 0x6f, 0x72, 0x65, 0x20,
[all …]
/kernel/linux/linux-5.10/arch/x86/entry/syscalls/
Dsyscall_64.tbl2 # 64-bit system call numbers and entry vectors
7 # The __x64_sys_*() stubs are created on-the-fly for sys_*() system calls
9 # The abi is "common", "64" or "x32" for this file.
13 2 common open sys_open
368 # in x32 as compared to native x86_64. These syscalls have numbers 512-547.
370 # for non-x32 use.
372 512 x32 rt_sigaction compat_sys_rt_sigaction
373 513 x32 rt_sigreturn compat_sys_x32_rt_sigreturn
374 514 x32 ioctl compat_sys_ioctl
375 515 x32 readv sys_readv
[all …]
/kernel/linux/linux-5.10/tools/perf/arch/x86/entry/syscalls/
Dsyscall_64.tbl2 # 64-bit system call numbers and entry vectors
7 # The __x64_sys_*() stubs are created on-the-fly for sys_*() system calls
9 # The abi is "common", "64" or "x32" for this file.
13 2 common open sys_open
368 # in x32 as compared to native x86_64. These syscalls have numbers 512-547.
370 # for non-x32 use.
372 512 x32 rt_sigaction compat_sys_rt_sigaction
373 513 x32 rt_sigreturn compat_sys_x32_rt_sigreturn
374 514 x32 ioctl compat_sys_ioctl
375 515 x32 readv sys_readv
[all …]
/kernel/linux/linux-4.19/include/linux/mfd/
Drk808.h6 * Author: Chris Zhong <zyw@rock-chips.com>
7 * Author: Zhang Qing <zhangqing@rock-chips.com>
15 * version 2, as published by the Free Software Foundation.
92 #define RK808_BUCK2_CONFIG_REG 0x32
163 #define RK818_BUCK2_CONFIG_REG 0x32
203 #define RK818_H5V_EN BIT(0)
204 #define RK818_REF_RDY_CTRL BIT(1)
235 #define RK805_BUCK2_CONFIG_REG 0x32
268 #define RK805_IRQ_PWRON 2
275 #define RK805_IRQ_PWRON_RISE_MSK BIT(0)
[all …]
D88pm80x.h8 * it under the terms of the GNU General Public License version 2 as
64 #define PM800_ONKEY_STS1 BIT(0)
65 #define PM800_EXTON_STS1 BIT(1)
66 #define PM800_CHG_STS1 BIT(2)
67 #define PM800_BAT_STS1 BIT(3)
68 #define PM800_VBUS_STS1 BIT(4)
69 #define PM800_LDO_PGOOD_STS1 BIT(5)
70 #define PM800_BUCK_PGOOD_STS1 BIT(6)
73 #define PM800_RTC_ALARM_STS2 BIT(0)
79 #define PM800_WAKEUP2_INV_INT BIT(0)
[all …]
/kernel/linux/linux-5.10/Documentation/trace/
Dkprobetrace.rst2 Kprobe-based Event Tracing
8 --------
28 -------------------------
34 -:[GRP/]EVENT : Clear a probe
50 @SYM[+|-offs] : Fetch memory at SYM +|- offs (SYM should be a data symbol)
54 $retval : Fetch return value.(\*2)
56 +|-[u]OFFS(FETCHARG) : Fetch memory at FETCHARG +|- OFFS address.(\*3)(\*4)
61 (x8/x16/x32/x64), "string", "ustring" and bitfield
65 (\*2) only for return probe.
67 (\*4) "u" means user-space dereference. See :ref:`user_mem_access`.
[all …]
Duprobetracer.rst2 Uprobe-tracer: Uprobe-based Event Tracing
9 --------
13 Similar to the kprobe-event tracer, this doesn't need to be activated via
18 However unlike kprobe-event tracer, the uprobe event interface expects the
26 -------------------------
32 -:[GRP/]EVENT : Clear uprobe or uretprobe event
49 +|-[u]OFFS(FETCHARG) : Fetch memory at FETCHARG +|- OFFS address.(\*2)(\*3)
54 (x8/x16/x32/x64), "string" and bitfield are supported.
57 (\*2) this is useful for fetching a field of data structures.
59 events can access only user-space memory.
[all …]
/kernel/linux/linux-4.19/Documentation/trace/
Duprobetracer.rst2 Uprobe-tracer: Uprobe-based Event Tracing
9 --------
13 Similar to the kprobe-event tracer, this doesn't need to be activated via
18 However unlike kprobe-event tracer, the uprobe event interface expects the
22 -------------------------
27 -:[GRP/]EVENT : Clear uprobe or uretprobe event
43 +|-offs(FETCHARG) : Fetch memory at FETCHARG +|- offs address.(**)
47 (x8/x16/x32/x64), "string" and bitfield are supported.
53 -----
54 Several types are supported for fetch-args. Uprobe tracer will access memory
[all …]
/kernel/linux/linux-5.10/include/linux/mfd/
Drk808.h1 /* SPDX-License-Identifier: GPL-2.0-only */
7 * Author: Chris Zhong <zyw@rock-chips.com>
8 * Author: Zhang Qing <zhangqing@rock-chips.com>
84 #define RK808_BUCK2_CONFIG_REG 0x32
155 #define RK818_BUCK2_CONFIG_REG 0x32
195 #define RK818_H5V_EN BIT(0)
196 #define RK818_REF_RDY_CTRL BIT(1)
227 #define RK805_BUCK2_CONFIG_REG 0x32
260 #define RK805_IRQ_PWRON 2
267 #define RK805_IRQ_PWRON_RISE_MSK BIT(0)
[all …]
D88pm80x.h1 /* SPDX-License-Identifier: GPL-2.0-only */
61 #define PM800_ONKEY_STS1 BIT(0)
62 #define PM800_EXTON_STS1 BIT(1)
63 #define PM800_CHG_STS1 BIT(2)
64 #define PM800_BAT_STS1 BIT(3)
65 #define PM800_VBUS_STS1 BIT(4)
66 #define PM800_LDO_PGOOD_STS1 BIT(5)
67 #define PM800_BUCK_PGOOD_STS1 BIT(6)
70 #define PM800_RTC_ALARM_STS2 BIT(0)
76 #define PM800_WAKEUP2_INV_INT BIT(0)
[all …]
/kernel/linux/linux-4.19/sound/core/
Dpcm_compat.c2 * 32bit -> 64bit ioctl wrapper for PCM API
7 * the Free Software Foundation; either version 2 of the License, or
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
36 return -EFAULT; in snd_pcm_ioctl_delay_compat()
47 return -EFAULT; in snd_pcm_ioctl_rewind_compat()
50 return -EFAULT; in snd_pcm_ioctl_rewind_compat()
61 return -EFAULT; in snd_pcm_ioctl_forward_compat()
64 return -EFAULT; in snd_pcm_ioctl_forward_compat()
70 …struct snd_mask masks[SNDRV_PCM_HW_PARAM_LAST_MASK - SNDRV_PCM_HW_PARAM_FIRST_MASK + 1]; /* this m…
72 …struct snd_interval intervals[SNDRV_PCM_HW_PARAM_LAST_INTERVAL - SNDRV_PCM_HW_PARAM_FIRST_INTERVAL…
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/tiny/
Dili9486.c1 // SPDX-License-Identifier: GPL-2.0+
32 #define ILI9486_MADCTL_BGR BIT(3)
33 #define ILI9486_MADCTL_MV BIT(5)
34 #define ILI9486_MADCTL_MX BIT(6)
35 #define ILI9486_MADCTL_MY BIT(7)
38 * The PiScreen/waveshare rpi-lcd-35 has a SPI to 16-bit parallel bus converter
39 * in front of the display controller. This means that 8-bit values have to be
40 * transferred as 16-bit.
45 struct spi_device *spi = mipi->spi; in waveshare_command()
53 return -ENOMEM; in waveshare_command()
[all …]

12345678910>>...41