/linux/arch/x86/entry/vdso/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 10 vobjs-y := vdso-note.o vclock_gettime.o vgetcpu.o vgetrandom.o vgetrandom-chacha.o 11 vobjs32-y := vdso32/note.o vdso32/system_call.o vdso32/sigreturn.o 12 vobjs32-y += vdso32/vclock_gettime.o vdso32/vgetcpu.o 13 vobjs-$(CONFIG_X86_SGX) += vsgx.o 16 obj-y += vma.o extable.o 19 obj-$(CONFIG_X86_64) += vdso-image-64.o 20 obj-$(CONFIG_X86_X32_ABI) += vdso-image-x32.o 21 obj-$(CONFIG_COMPAT_32) += vdso-image-32.o vdso32-setup.o 23 vobjs := $(addprefix $(obj)/, $(vobjs-y)) [all …]
|
/linux/drivers/hwmon/ |
H A D | ltc2992.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 * LTC2992 - Dual Wide Range Power Monitor 62 #define LTC2992_POWER(x) (LTC2992_POWER1 + ((x) * 0x32)) 63 #define LTC2992_POWER_MAX(x) (LTC2992_POWER1_MAX + ((x) * 0x32)) 64 #define LTC2992_POWER_MIN(x) (LTC2992_POWER1_MIN + ((x) * 0x32)) 65 #define LTC2992_POWER_MAX_THRESH(x) (LTC2992_POWER1_MAX_THRESH + ((x) * 0x32)) 66 #define LTC2992_POWER_MIN_THRESH(x) (LTC2992_POWER1_MIN_THRESH + ((x) * 0x32)) 67 #define LTC2992_DSENSE(x) (LTC2992_DSENSE1 + ((x) * 0x32)) 68 #define LTC2992_DSENSE_MAX(x) (LTC2992_DSENSE1_MAX + ((x) * 0x32)) 69 #define LTC2992_DSENSE_MIN(x) (LTC2992_DSENSE1_MIN + ((x) * 0x32)) [all …]
|
/linux/tools/testing/selftests/x86/ |
H A D | syscall_numbering.c | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * syscall_numbering.c - test calling the x86-64 kernel with various 33 /* x64-only system call numbers */ 37 /* x32-only system call numbers (without X32_BIT) */ 44 static int nullfd = -1; /* File descriptor for /dev/null */ 45 static bool with_x32; /* x32 supported on this kernel? */ 64 [PTP_INTNUM] = "sign-extending the syscall number", 80 unsigned int level = sh ? sh->indent : 0; in offset() 85 #define msg(lvl, fmt, ...) printf("%-*s" fmt, offset(), "[" #lvl "]", \ 95 sh->nerr++; \ [all …]
|
/linux/Documentation/process/ |
H A D | adding-syscalls.rst | 9 :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 …]
|
/linux/Documentation/translations/it_IT/process/ |
H A D | adding-syscalls.rst | 1 .. 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 …]
|
/linux/drivers/staging/media/meson/vdec/ |
H A D | codec_h264.c | 1 // 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 …]
|
/linux/Documentation/translations/sp_SP/process/ |
H A D | adding-syscalls.rst | 1 .. include:: ../disclaimer-sp.rst 3 :Original: :ref:`Documentation/process/adding-syscalls.rst <addsyscalls>` 13 :ref:`Documentation/process/submitting-patches.rst <submittingpatches>` que 17 ----------------------------------- 22 tradicionales, existen otras posibilidades -- elija la que mejor se adecúe 25 - Si se puede hacer que la operación se parezca a un objeto filesystem, 31 - Si la nueva funcionalidad involucra operaciones donde el kernel 36 - Sin embargo, operaciones que no mapean a operaciones similares a 37 :manpage:`read(2)`/:manpage:`write(2)` tienen que ser implementadas 38 como solicitudes :manpage:`ioctl(2)`, las cuales pueden llevar a un [all …]
|
/linux/arch/x86/entry/syscalls/ |
H A D | syscall_64.tbl | 1 # SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note 3 # 64-bit system call numbers and entry vectors 8 # The __x64_sys_*() stubs are created on-the-fly for sys_*() system calls 10 # The abi is "common", "64" or "x32" for this file. 14 2 common open sys_open 72 60 common exit sys_exit - noreturn 243 231 common exit_group sys_exit_group - noreturn 396 # in x32 as compared to native x86_64. These syscalls have numbers 512-547. 398 # for non-x32 use. 400 512 x32 rt_sigaction compat_sys_rt_sigaction [all …]
|
/linux/tools/perf/arch/x86/entry/syscalls/ |
H A D | syscall_64.tbl | 1 # SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note 3 # 64-bit system call numbers and entry vectors 8 # The __x64_sys_*() stubs are created on-the-fly for sys_*() system calls 10 # The abi is "common", "64" or "x32" for this file. 14 2 common open sys_open 72 60 common exit sys_exit - noreturn 243 231 common exit_group sys_exit_group - noreturn 396 # in x32 as compared to native x86_64. These syscalls have numbers 512-547. 398 # for non-x32 use. 400 512 x32 rt_sigaction compat_sys_rt_sigaction [all …]
|
/linux/Documentation/trace/ |
H A D | kprobetrace.rst | 2 Kprobe-based Event Tracing 8 -------- 9 These events are similar to tracepoint-based events. Instead of tracepoints, 13 Unlike the tracepoint-based event, this can be added and removed 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), VFS layer common type(%pd/%pD), "char", [all …]
|
H A D | uprobetracer.rst | 2 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 …]
|
/linux/drivers/gpu/drm/bridge/analogix/ |
H A D | anx7625.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 12 /* Loading OCM re-trying times */ 50 #define INTR_SOFTWARE_INT BIT(3) 51 #define INTR_RECEIVED_MSG BIT(5) 63 #define STORE_AN BIT(7) 64 #define RX_REPEATER BIT(6) 65 #define RE_AUTHEN BIT(5) 66 #define SW_AUTH_OK BIT(4) 67 #define HARD_AUTH_EN BIT(3) 68 #define ENC_EN BIT(2) [all …]
|
/linux/drivers/mfd/ |
H A D | twl-core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * twl_core.c - driver for TWL4030/TWL5030/TWL60X0/TPS659x0 PM 6 * Copyright (C) 2005-2006 Texas Instruments, Inc. 39 #include <linux/mfd/twl4030-audio.h> 41 #include "twl-core.h" 44 * The TWL4030 "Triton 2" is one of a family of a multi-function "Power 62 /* subchip/slave 0 - USB ID */ 65 /* subchip/slave 1 - AUD ID */ 72 /* subchip/slave 2 - AUX ID */ 85 /* subchip/slave 3 - POWER ID */ [all …]
|
/linux/drivers/phy/freescale/ |
H A D | phy-fsl-samsung-hdmi.c | 1 // SPDX-License-Identifier: GPL-2.0+ 10 #include <linux/clk-provider.h> 29 #define REG21_SEL_TX_CK_INV BIT(7) 36 #define REG33_MODE_SET_DONE BIT(7) 37 #define REG33_FIX_DA BIT(1) 39 #define REG34_PHY_READY BIT(7) 40 #define REG34_PLL_LOCK BIT(6) 41 #define REG34_PHY_CLK_READY BIT(5) 170 .pll_div_regs = { 0xd1, 0x4e, 0x32, 0xa7, 0x10, 0x80, 0x40 }, 179 .pll_div_regs = { 0xd1, 0x52, 0x32, 0x82, 0x01, 0x88, 0x47 }, [all …]
|
/linux/include/linux/mfd/ |
H A D | 88pm80x.h | 1 /* 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 …]
|
H A D | 88pm886.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 17 #define PM886_ONKEY_STS1 BIT(0) 22 #define PM886_INT_ENA1_ONKEY BIT(0) 25 #define PM886_SW_PDOWN BIT(5) 28 #define PM886_INT_INV BIT(0) 29 #define PM886_INT_CLEAR BIT(1) 31 #define PM886_INT_WC BIT(1) 32 #define PM886_INT_MASK_MODE BIT(2) 51 #define PM886_REG_LDO4_VOUT 0x32
|
H A D | bd9571mwv.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * ROHM BD9571MWV-M and BD9574MWF-M driver 31 #define BD9571MWV_BKUP_MODE_CNT_KEEPON_DDR0 BIT(0) 32 #define BD9571MWV_BKUP_MODE_CNT_KEEPON_DDR1 BIT(1) 33 #define BD9571MWV_BKUP_MODE_CNT_KEEPON_DDR0C BIT(2) 34 #define BD9571MWV_BKUP_MODE_CNT_KEEPON_DDR1C BIT(3) 44 #define BD9571MWV_AVS_VD09_VID(n) (0x32 + (n)) 80 #define BD9571MWV_INT_INTREQ_MD1_INT BIT(0) 81 #define BD9571MWV_INT_INTREQ_MD2_E1_INT BIT(1) 82 #define BD9571MWV_INT_INTREQ_MD2_E2_INT BIT(2) [all …]
|
/linux/arch/x86/include/asm/ |
H A D | elf.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 27 #define R_386_PC32 2 47 /* x86-64 relocation types */ 49 #define R_X86_64_64 1 /* Direct 64 bit */ 50 #define R_X86_64_PC32 2 /* PC relative 32 bit signed */ 51 #define R_X86_64_GOT32 3 /* 32 bit GOT entry */ 52 #define R_X86_64_PLT32 4 /* 32 bit PLT address */ 57 #define R_X86_64_GOTPCREL 9 /* 32 bit signed pc relative 59 #define R_X86_64_32 10 /* Direct 32 bit zero extended */ 60 #define R_X86_64_32S 11 /* Direct 32 bit sign extended */ [all …]
|
/linux/crypto/ |
H A D | dh.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* Diffie-Hellman Key Agreement Method [RFC2631] 24 mpi_free(ctx->p); in dh_clear_ctx() 25 mpi_free(ctx->g); in dh_clear_ctx() 26 mpi_free(ctx->xa); in dh_clear_ctx() 39 return mpi_powm(val, base, ctx->xa, ctx->p); in _compute_val() 50 return (p_len < 2048) ? -EINVAL : 0; in dh_check_params_length() 52 return (p_len < 1536) ? -EINVAL : 0; in dh_check_params_length() 57 if (dh_check_params_length(params->p_size << 3)) in dh_set_params() 58 return -EINVAL; in dh_set_params() [all …]
|
/linux/drivers/media/cec/platform/seco/ |
H A D | seco-cec.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 30 #define BRA_DONE_STATUS BIT(7) 31 #define BRA_INUSE_STS BIT(6) 32 #define BRA_FAILED_OP BIT(4) 33 #define BRA_BUS_ERR BIT(3) 34 #define BRA_DEV_ERR BIT(2) 35 #define BRA_INTR BIT(1) 36 #define BRA_HOST_BUSY BIT(0) 39 #define BRA_PEC_EN BIT(7) 40 #define BRA_START BIT(6) [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
H A D | dm_common.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2009-2012 Realtek Corporation.*/ 12 #define HAL_DM_DIG_DISABLE BIT(0) 13 #define HAL_DM_HIPWR_DISABLE BIT(1) 24 #define DM_DIG_FA_UPPER 0x32 35 #define DM_RATR_STA_MIDDLE 2 45 #define TXHIGHPWRLEVEL_LEVEL2 2 56 #define DYNAMIC_FUNC_DIG BIT(0) 57 #define DYNAMIC_FUNC_HP BIT(1) 58 #define DYNAMIC_FUNC_SS BIT(2) /*Tx Power Tracking*/ [all …]
|
/linux/drivers/comedi/drivers/ |
H A D | ni_daq_700.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Driver for DAQCard-700 DIO/AI 7 * COMEDI - Linux Control and Measurement Device Interface 13 * Description: National Instruments PCMCIA DAQCard-700 16 * Devices: [National Instruments] PCMCIA DAQ-Card-700 (ni_daq_700) 20 * The daqcard-700 appears in Comedi as a digital I/O subdevice (0) with 21 * 16 channels and a analog input subdevice (1) with 16 single-ended channels 24 * Digital: The channel 0 corresponds to the daqcard-700's output 25 * port, bit 0; channel 8 corresponds to the input port, bit 0. 27 * Digital direction configuration: channels 0-7 output, 8-15 input. [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192d/ |
H A D | dm_common.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2009-2012 Realtek Corporation.*/ 7 #define HAL_DM_DIG_DISABLE BIT(0) 8 #define HAL_DM_HIPWR_DISABLE BIT(1) 19 #define DM_DIG_FA_UPPER 0x32 30 #define DM_RATR_STA_MIDDLE 2 40 #define TXHIGHPWRLEVEL_LEVEL2 2 54 CCA_MAX = 2, 60 RF_MAX = 2, 65 ANS_ANTENNA_A = 2,
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-driver-zynqmp-fpga | 1 What: /sys/bus/platform/drivers/zynqmp_fpga_manager/firmware:zynqmp-firmware:pcap/status 7 of the FPGA device. Each bit position in the status value is 9 https://docs.xilinx.com/v/u/en-US/ug570-ultrascale-configuration 12 BIT(0) 0: No CRC error 15 BIT(1) 0: Decryptor security not set 18 BIT(2) 0: MMCMs/PLLs are not locked 21 BIT(3) 0: DCI not matched 24 BIT(4) 0: Start-up sequence has not finished 25 1: Start-up sequence has finished 27 BIT(5) 0: All I/Os are placed in High-Z state [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
H A D | dm.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2009-2012 Realtek Corporation.*/ 7 #define HAL_DM_DIG_DISABLE BIT(0) 8 #define HAL_DM_HIPWR_DISABLE BIT(1) 19 #define DM_DIG_FA_UPPER 0x32 30 #define DM_RATR_STA_MIDDLE 2 40 #define TXHIGHPWRLEVEL_LEVEL2 2
|