Home
last modified time | relevance | path

Searched full:constants (Results 1 – 25 of 1333) sorted by relevance

12345678910>>...54

/linux-6.12.1/include/uapi/linux/
Dethtool_netlink.h63 /* add new constants above here */
118 /* add new constants above here */
142 /* add new constants above here */
155 /* add new constants above here */
164 /* add new constants above here */
177 /* add new constants above here */
189 /* add new constants above here */
198 /* add new constants above here */
209 /* add new constants above here */
218 /* add new constants above here */
[all …]
/linux-6.12.1/scripts/gdb/linux/
Dmm.py11 from linux import utils, constants
25 if not constants.LX_CONFIG_SPARSEMEM_VMEMMAP:
27 if constants.LX_CONFIG_ARM64 and utils.is_target_arch('aarch64'):
38 if constants.LX_CONFIG_ARM64_64K_PAGES:
42 self.MAX_PHYSMEM_BITS = constants.LX_CONFIG_ARM64_VA_BITS
44 self.PAGE_SHIFT = constants.LX_CONFIG_PAGE_SHIFT
48 self.VA_BITS = constants.LX_CONFIG_ARM64_VA_BITS
50 if constants.LX_CONFIG_ARM64_16K_PAGES:
64 if str(constants.LX_CONFIG_ARCH_FORCE_MAX_ORDER).isdigit():
65 self.MAX_ORDER = constants.LX_CONFIG_ARCH_FORCE_MAX_ORDER
[all …]
Dproc.py16 from linux import constants
124 FS_INFO = {constants.LX_SB_SYNCHRONOUS: ",sync",
125 constants.LX_SB_MANDLOCK: ",mand",
126 constants.LX_SB_DIRSYNC: ",dirsync",
127 constants.LX_SB_NOATIME: ",noatime",
128 constants.LX_SB_NODIRATIME: ",nodiratime"}
130 MNT_INFO = {constants.LX_MNT_NOSUID: ",nosuid",
131 constants.LX_MNT_NODEV: ",nodev",
132 constants.LX_MNT_NOEXEC: ",noexec",
133 constants.LX_MNT_NOATIME: ",noatime",
[all …]
Dvmalloc.py11 from linux import lists, utils, stackdepot, constants, mm
13 if constants.LX_CONFIG_MMU:
29 if not constants.LX_CONFIG_MMU:
48 if v['flags'] & constants.LX_VM_IOREMAP:
50 if v['flags'] & constants.LX_VM_ALLOC:
52 if v['flags'] & constants.LX_VM_MAP:
54 if v['flags'] & constants.LX_VM_USERMAP:
56 if v['flags'] & constants.LX_VM_DMA_COHERENT:
Dradixtree.py15 from linux import constants
22 …return ((node.cast(long_type) & constants.LX_RADIX_TREE_ENTRY_MASK) == constants.LX_RADIX_TREE_INT…
27 indirect_ptr = node.cast(long_type) & ~constants.LX_RADIX_TREE_INTERNAL_NODE
31 return (constants.LX_RADIX_TREE_MAP_SIZE << node['shift']) - 1
55 shift = node['shift'] + constants.LX_RADIX_TREE_MAP_SHIFT
58 offset = (index >> node['shift']) & constants.LX_RADIX_TREE_MAP_MASK
68 shift -= constants.LX_RADIX_TREE_MAP_SHIFT
Dinterrupts.py7 from linux import constants
15 return desc['status_use_accessors'] & constants.LX_IRQ_HIDDEN
21 return desc['irq_data']['common']['state_use_accessors'] & constants.LX_IRQD_LEVEL
68 if constants.LX_CONFIG_GENERIC_IRQ_SHOW_LEVEL:
120 if constants.LX_CONFIG_X86_LOCAL_APIC:
129 if constants.LX_CONFIG_SMP:
134 if constants.LX_CONFIG_X86_THERMAL_VECTOR:
137 if constants.LX_CONFIG_X86_MCE_THRESHOLD:
140 if constants.LX_CONFIG_X86_MCE_AMD:
143 if constants.LX_CONFIG_X86_MCE:
[all …]
Dslab.py12 from linux import lists, utils, stackdepot, constants, mm
14 SLAB_RED_ZONE = constants.LX_SLAB_RED_ZONE
15 SLAB_POISON = constants.LX_SLAB_POISON
16 SLAB_KMALLOC = constants.LX_SLAB_KMALLOC
17 SLAB_HWCACHE_ALIGN = constants.LX_SLAB_HWCACHE_ALIGN
18 SLAB_CACHE_DMA = constants.LX_SLAB_CACHE_DMA
19 SLAB_CACHE_DMA32 = constants.LX_SLAB_CACHE_DMA32
20 SLAB_STORE_USER = constants.LX_SLAB_STORE_USER
21 SLAB_PANIC = constants.LX_SLAB_PANIC
26 if constants.LX_CONFIG_SLUB_DEBUG:
[all …]
Dkasan.py10 from linux import constants, mm
25 if constants.LX_CONFIG_KASAN_GENERIC or constants.LX_CONFIG_KASAN_SW_TAGS:
29 if not constants.LX_CONFIG_KASAN_GENERIC or constants.LX_CONFIG_KASAN_SW_TAGS:
Dmodules.py16 from linux import cpus, utils, lists, constants
76 text = module['mem'][constants.LX_MOD_TEXT]
80 for i in range(constants.LX_MOD_TEXT, constants.LX_MOD_RO_AFTER_INIT + 1):
122 mod_text_start = mod['mem'][constants.LX_MOD_TEXT]['base']
123 …mod_text_end = mod_text_start + mod['mem'][constants.LX_MOD_TEXT]['size'].cast(utils.get_ulong_typ…
Dtimerlist.py8 from linux import constants
58 text += " .resolution: {} nsecs\n".format(constants.LX_hrtimer_resolution)
61 if constants.LX_CONFIG_HIGH_RES_TIMERS:
79 if constants.LX_CONFIG_HIGH_RES_TIMERS:
89 if constants.LX_CONFIG_TICK_ONESHOT:
153 if constants.LX_NR_CPUS > 1:
199 if constants.LX_CONFIG_GENERIC_CLOCKEVENTS:
200 if constants.LX_CONFIG_GENERIC_CLOCKEVENTS_BROADCAST:
207 if constants.LX_CONFIG_TICK_ONESHOT:
Dstackdepot.py10 from linux import utils, constants
12 if constants.LX_CONFIG_STACKDEPOT:
57 if not constants.LX_CONFIG_STACKDEPOT:
72 if constants.LX_CONFIG_STACKDEPOT:
76 if not constants.LX_CONFIG_STACKDEPOT:
DMakefile21 always-y += constants.py
22 $(obj)/constants.py: $(src)/constants.py.in FORCE
/linux-6.12.1/include/video/
Dradeon.h456 /* MCLK_CNTL bit constants */
464 /* SCLK_CNTL bit constants */
469 /* SCLK_MORE_CNTL bit constants */
472 /* BUS_CNTL bit constants */
510 /* CLOCK_CNTL_INDEX bit constants */
513 /* CNFG_CNTL bit constants */
520 /* CRTC_EXT_CNTL bit constants */
530 /* DSTCACHE_CTLSTAT bit constants */
536 /* DSTCACHE_MODE bits constants */
540 /* CRTC_GEN_CNTL bit constants */
[all …]
Daty128.h236 /* CONSTANTS */
297 /* DAC_CNTL bit constants */
310 /* GEN_RESET_CNTL bit constants */
317 /* PC_GUI_CTLSTAT bit constants */
326 /* DP_DATATYPE bit constants */
335 /* DP_GUI_MASTER_CNTL bit constants */
350 /* DP_GUI_MASTER_CNTL ROP3 named constants */
356 /* DP_CNTL bit constants */
376 /* DP_MIX bit constants */
381 /* LVDS_GEN_CNTL constants */
[all …]
Dmach64.h118 /* CLOCK_CNTL register constants CT LAYOUT */
128 /* CLOCK_CNTL register constants GX LAYOUT */
751 /* Mach64 engine bit constants - these are typically ORed together */
753 /* BUS_CNTL register constants */
758 /* GEN_TEST_CNTL register constants */
764 /* DSP_CONFIG register constants */
769 /* DSP_ON_OFF register constants */
850 /* CNFG_CNTL register constants */
855 /* CNFG_STAT0 register constants (GX, CX) */
860 /* CNFG_STAT0 register constants (CT, ET, VT) */
[all …]
/linux-6.12.1/arch/arm64/kvm/
DMakefile32 always-y := hyp_constants.h hyp-constants.s
38 CFLAGS_hyp-constants.o = -I $(src)/hyp/include
39 $(obj)/hyp-constants.s: $(src)/hyp/hyp-constants.c FORCE
42 $(obj)/hyp_constants.h: $(obj)/hyp-constants.s FORCE
/linux-6.12.1/arch/s390/crypto/
Dcrc32le-vx.c20 /* Vector register range containing CRC-32 constants */
29 * The CRC-32 constant block contains reduction constants to fold and
32 * For the CRC-32 variants, the constants are precomputed according to
83 * @constants: CRC-32 constant pool base pointer.
86 * V0: Initial CRC value and intermediate constants and results.
90 * V10..V14: CRC-32 constants.
92 …u32 crc32_le_vgfm_generic(u32 crc, unsigned char const *buf, size_t size, unsigned long *constants) in crc32_le_vgfm_generic() argument
94 /* Load CRC-32 constants */ in crc32_le_vgfm_generic()
95 fpu_vlm(CONST_PERM_LE2BE, CONST_CRC_POLY, constants); in crc32_le_vgfm_generic()
126 * the R1 and R2 reduction constants in V0. The intermediate in crc32_le_vgfm_generic()
Dcrc32be-vx.c19 /* Vector register range containing CRC-32 constants */
28 * The CRC-32 constant block contains reduction constants to fold and
31 * For the CRC-32 variants, the constants are precomputed according to
75 * V0: Initial CRC value and intermediate constants and results.
78 * V9..V14: CRC-32 constants.
82 /* Load CRC-32 constants */ in crc32_be_vgfm_16()
101 * the reduction constants in V0. The intermediate result is in crc32_be_vgfm_16()
/linux-6.12.1/sound/pci/vx222/
Dvx222.h40 /* Constants used to access the INTCSR register. */
44 /* Constants used to access the CDSP register (0x20). */
57 /* Constants used to access the CFG register (0x24). */
67 /* Constants used to access the STATUS register (0x30). */
80 /* Constants used to access the MICRO INPUT SELECT register (0x40). */
/linux-6.12.1/include/rdma/
Dib_pack.h39 * This macro cleans up the definitions of constants for BTH opcodes.
40 * It is used to define constants such as IB_OPCODE_UD_SEND_ONLY,
44 * In short, user code should use the constants defined using the
45 * macro rather than worrying about adding together other constants.
52 /* transport types -- just used to define real constants */
62 /* operations -- just used to define real constants */
90 /* real constants follow -- see comment about above IB_OPCODE()
/linux-6.12.1/drivers/ntb/hw/idt/
Dntb_hw_idt.h582 * Common registers related constants
592 * PCICMDSTS register fields related constants
602 * PCIEDCAP register fields related constants
620 * PCIEDCTLSTS registers fields related constants
640 * PCIELCAP register fields related constants
648 * PCIELCTLSTS registers fields related constants
662 * NTCTL register fields related constants
674 * NTINTSTS register fields related constants
686 * NTINTMSK register fields related constants
701 * NTGSIGNAL register fields related constants
[all …]
/linux-6.12.1/tools/net/sunrpc/xdrgen/generators/
Dconstant.py4 """Generate code to handle XDR constants"""
10 """Generate source code for XDR constants"""
14 self.environment = create_jinja2_environment(language, "constants")
/linux-6.12.1/drivers/power/supply/
Dab8500-bm.h113 /* GPADC constants from AB8500 spec, UM0836 */
168 /* Backup battery constants */
194 /* Battery OVV constants */
202 /* VBUS OVV constants */
215 /* Fuel Gauge constants */
230 /* RTC constants */
233 /* BatCtrl Current Source Constants */
253 /* USB Power Path constants for ab8540 */
/linux-6.12.1/kernel/
Dbounds.c9 /* Include headers that define the enum constants of interest */
18 /* The enum constants to put into include/generated/bounds.h */ in main()
32 /* End of constants */ in main()
/linux-6.12.1/rust/
Dbindgen_parameters28 # These constants are sometimes not recognized by bindgen depending on config.
29 # We use const helpers to aid bindgen, to avoid conflicts when constants are
30 # recognized, block generation of the non-helper constants.

12345678910>>...54