Home
last modified time | relevance | path

Searched +full:c +full:- +full:define +full:- +full:name (Results 1 – 25 of 1088) sorted by relevance

12345678910>>...44

/openbmc/linux/arch/powerpc/xmon/
H A Dansidecl.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /* ANSI and traditional C compatibility macros
4 This file is part of the GNU C Library.
8 /* ANSI and traditional C compatibility macros
10 ANSI C is assumed if __STDC__ is #defined.
12 Macro ANSI C definition Traditional C definition
13 ----- ---- - ---------- ----------- - ----------
23 DEFUN (name, arglist, args)
25 Defines function NAME.
28 parentheses. ARGLIST becomes the argument list in traditional C.
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/gcc/gcc/
H A D0021-gentypes-genmodes-Do-not-use-__LINE__-for-maintainin.patch3 Date: Tue, 10 Mar 2020 08:26:53 -0700
10 Upstream-Status: Inappropriate [OE Reproducibility specific]
12 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 ---
15 gcc/gengtype.cc | 6 +++---
16 gcc/genmodes.cc | 32 ++++++++++++++++----------------
17 2 files changed, 19 insertions(+), 19 deletions(-)
19 diff --git a/gcc/gengtype.cc b/gcc/gengtype.cc
21 --- a/gcc/gengtype.cc
[all …]
/openbmc/linux/tools/testing/selftests/bpf/
H A Dsdt.h1 /* <sys/sdt.h> - Systemtap static probe definition macros.
8 #define _SYS_SDT_H 1
19 the nop, and decode the location operand-strings, like an assembler,
23 They are constrained by gcc inline-assembler codes. The default is:
25 #define STAP_SDT_ARG_CONSTRAINT nor
34 #define STAP_SDT_ARG_CONSTRAINT g
45 # define _SDT_PROBE(provider, name, n, arglist) \ argument
46 _SDT_ASM_BODY(provider, name, _SDT_ASM_SUBSTR_1, (_SDT_DEPAREN_##n arglist)) \
48 # define _SDT_ASM_1(x) x;
49 # define _SDT_ASM_2(a, b) a,b;
[all …]
/openbmc/linux/include/linux/
H A Dlinkage.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 #define _LINUX_LINKAGE_H
12 #define ASM_NL ;
16 #define CPP_ASMLINKAGE extern "C"
18 #define CPP_ASMLINKAGE
22 #define asmlinkage CPP_ASMLINKAGE
26 #define cond_syscall(x) asm( \
33 #define SYSCALL_ALIAS(alias, name) asm( \ argument
36 __stringify(name))
39 #define __page_aligned_data __section(".data..page_aligned") __aligned(PAGE_SIZE)
[all …]
H A Dmoduleparam.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 #define _LINUX_MODULE_PARAMS_H
4 /* (C) Copyright 2001, 2002 Rusty Russell IBM Corporation */
10 module name. */
12 #define MODULE_PARAM_PREFIX /* empty */
13 #define __MODULE_INFO_PREFIX /* empty */
15 #define MODULE_PARAM_PREFIX KBUILD_MODNAME "."
17 #define __MODULE_INFO_PREFIX KBUILD_MODNAME "."
21 #define MAX_PARAM_PREFIX_LEN (64 - sizeof(unsigned long))
23 #define __MODULE_INFO(tag, name, info) \ argument
[all …]
/openbmc/linux/arch/m68k/include/asm/
H A Dbootstd.h1 /* SPDX-License-Identifier: GPL-2.0 */
4 * (c) 1999, Rt-Control, Inc.
8 #define __BOOTSTD_H__
10 #define NR_BSC 21 /* last used bootloader system call */
12 #define __BN_reset 0 /* reset and start the bootloader */
13 #define __BN_test 1 /* tests the system call interface */
14 #define __BN_exec 2 /* executes a bootloader image */
15 #define __BN_exit 3 /* terminates a bootloader image */
16 #define __BN_program 4 /* program FLASH from a chain */
17 #define __BN_erase 5 /* erase sector(s) of FLASH */
[all …]
/openbmc/linux/Documentation/userspace-api/netlink/
H A Dc-code-gen.rst1 .. SPDX-License-Identifier: BSD-3-Clause
4 Netlink spec C code generation
8 C code (uAPI, policies etc.). It also defines the additional properties
9 allowed in older families by the ``genetlink-c`` protocol level,
12 For brevity this document refers to ``name`` properties of various
14 of ``name`` in an attribute, and ``$family`` is the name of the
15 family (the global ``name`` property).
17 The upper case is used to denote literal values, e.g. ``$family-CMD``
22 and with dashes (``-``) replaced by underscores (``_``).
24 If the constructed name is a C keyword, an extra underscore is
[all …]
/openbmc/linux/Documentation/netlink/
H A Dgenetlink-legacy.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/genetlink-legacy.yaml#
5 $schema: https://json-schema.org/draft-07/schema
12 len-or-define:
14 pattern: ^[0-9A-Za-z_]+( - 1)?$
21 required: [ name, doc, attribute-sets, operations ]
24 name:
25 description: Name of the genetlink family.
35 enum: [ genetlink, genetlink-c, genetlink-legacy ] # Trim
[all …]
H A Dgenetlink-c.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/genetlink-c.yaml#
5 $schema: https://json-schema.org/draft-07/schema
12 len-or-define:
14 pattern: ^[0-9A-Za-z_]+( - 1)?$
21 required: [ name, doc, attribute-sets, operations ]
24 name:
25 description: Name of the genetlink family.
35 enum: [ genetlink, genetlink-c ]
[all …]
H A Dnetlink-raw.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/netlink-raw.yaml#
5 $schema: https://json-schema.org/draft-07/schema
12 len-or-define:
14 pattern: ^[0-9A-Za-z_]+( - 1)?$
21 required: [ name, doc, attribute-sets, operations ]
24 name:
25 description: Name of the netlink family.
31 enum: [ netlink-raw ] # Trim
[all …]
/openbmc/linux/arch/arm64/include/asm/
H A Dlinkage.h2 #define __ASM_LINKAGE_H
8 #define __ALIGN .balign CONFIG_FUNCTION_ALIGNMENT
9 #define __ALIGN_STR ".balign " #CONFIG_FUNCTION_ALIGNMENT
12 * When using in-kernel BTI we need to ensure that PCS-conformant
18 #define SYM_FUNC_START(name) \ argument
19 SYM_START(name, SYM_L_GLOBAL, SYM_A_ALIGN) \
20 bti c ;
22 #define SYM_FUNC_START_NOALIGN(name) \ argument
23 SYM_START(name, SYM_L_GLOBAL, SYM_A_NONE) \
24 bti c ;
[all …]
/openbmc/linux/kernel/trace/
H A Dtrace_probe.h1 // SPDX-License-Identifier: GPL-2.0
3 * Common header file for probe-based Dynamic events.
9 * Copyright (C) IBM Corporation, 2010-2011
32 #define MAX_TRACE_ARGS 128
33 #define MAX_ARGSTR_LEN 63
34 #define MAX_ARRAY_LEN 64
35 #define MAX_ARG_NAME_LEN 32
36 #define MAX_BTF_ARGS_LEN 128
37 #define MAX_STRING_SIZE PATH_MAX
38 #define MAX_ARG_BUF_LEN (MAX_TRACE_ARGS * MAX_ARG_NAME_LEN)
[all …]
/openbmc/linux/arch/x86/include/asm/
H A Didtentry.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 #define _ASM_X86_IDTENTRY_H
8 #define IDT_ALIGN (8 * (1 + HAS_KERNEL_IBT))
11 #include <linux/entry-common.h>
19 * DECLARE_IDTENTRY - Declare functions for simple IDT entry points
21 * @vector: Vector number (ignored for C)
22 * @func: Function name of the entry point
25 * - The ASM entry point: asm_##func
26 * - The XEN PV trap entry point: xen_##func (maybe unused)
27 * - The C handler called from the FRED event dispatcher (maybe unused)
[all …]
/openbmc/linux/include/acpi/
H A Dacoutput.h1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
4 * Name: acoutput.h -- debug output
6 * Copyright (C) 2000 - 2023, Intel Corp.
11 #define __ACOUTPUT_H__
15 * granularity of the output of the ACPI_DEBUG_PRINT macro -- on a
16 * per-component basis and a per-exception-type basis.
21 #define ACPI_UTILITIES 0x00000001
22 #define ACPI_HARDWARE 0x00000002
23 #define ACPI_EVENTS 0x00000004
24 #define ACPI_TABLES 0x00000008
[all …]
/openbmc/linux/drivers/clk/renesas/
H A Dclk-sh73a0.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2014 Ulrich Hecht
8 #include <linux/clk-provider.h>
23 #define CPG_FRQCRA 0x00
24 #define CPG_FRQCRB 0x04
25 #define CPG_SD0CKCR 0x74
26 #define CPG_SD1CKCR 0x78
27 #define CPG_SD2CKCR 0x7c
28 #define CPG_PLLECR 0xd0
29 #define CPG_PLL0CR 0xd8
[all …]
H A Dclk-r8a73a4.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2014 Ulrich Hecht
8 #include <linux/clk-provider.h>
23 #define CPG_CKSCR 0xc0
24 #define CPG_FRQCRA 0x00
25 #define CPG_FRQCRB 0x04
26 #define CPG_FRQCRC 0xe0
27 #define CPG_PLL0CR 0xd8
28 #define CPG_PLL1CR 0x28
29 #define CPG_PLL2CR 0x2c
[all …]
/openbmc/qemu/hw/sensor/
H A Dadm1272.c7 * SPDX-License-Identifier: GPL-2.0-or-later
19 #define TYPE_ADM1272 "adm1272"
20 #define ADM1272(obj) OBJECT_CHECK(ADM1272State, (obj), TYPE_ADM1272)
22 #define ADM1272_RESTART_TIME 0xCC
23 #define ADM1272_MFR_PEAK_IOUT 0xD0
24 #define ADM1272_MFR_PEAK_VIN 0xD1
25 #define ADM1272_MFR_PEAK_VOUT 0xD2
26 #define ADM1272_MFR_PMON_CONTROL 0xD3
27 #define ADM1272_MFR_PMON_CONFIG 0xD4
28 #define ADM1272_MFR_ALERT1_CONFIG 0xD5
[all …]
/openbmc/qemu/include/hw/xen/interface/arch-x86/
H A Dxen-x86_32.h1 /* SPDX-License-Identifier: MIT */
3 * xen-x86_32.h
5 * Guest OS interface to x86 32-bit Xen.
7 * Copyright (c) 2004-2007, K A Fraser
11 #define __XEN_PUBLIC_ARCH_X86_XEN_X86_32_H__
15 * Input: %ebx, %ecx, %edx, %esi, %edi, %ebp (arguments 1-6)
18 * call hypercall_page + hypercall-number * 32
19 * Clobbered: Argument registers (e.g., 2-arg hypercall clobbers %ebx,%ecx)
23 * These flat segments are in the Xen-private section of every GDT. Since these
27 #define FLAT_RING1_CS 0xe019 /* GDT index 259 */
[all …]
H A Dxen-x86_64.h1 /* SPDX-License-Identifier: MIT */
3 * xen-x86_64.h
5 * Guest OS interface to x86 64-bit Xen.
7 * Copyright (c) 2004-2006, K A Fraser
11 #define __XEN_PUBLIC_ARCH_X86_XEN_X86_64_H__
15 * Input: %rdi, %rsi, %rdx, %r10, %r8, %r9 (arguments 1-6)
18 * call hypercall_page + hypercall-number * 32
19 * Clobbered: argument registers (e.g., 2-arg hypercall clobbers %rdi,%rsi)
23 * 64-bit segment selectors
24 * These flat segments are in the Xen-private section of every GDT. Since these
[all …]
/openbmc/linux/drivers/mtd/parsers/
H A Dqcomsmempart.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2020, Linaro Ltd.
15 #define SMEM_AARM_PARTITION_TABLE 9
16 #define SMEM_APPS 0
18 #define SMEM_FLASH_PART_MAGIC1 0x55ee73aa
19 #define SMEM_FLASH_PART_MAGIC2 0xe35ebddb
20 #define SMEM_FLASH_PTABLE_V3 3
21 #define SMEM_FLASH_PTABLE_V4 4
22 #define SMEM_FLASH_PTABLE_MAX_PARTS_V3 16
23 #define SMEM_FLASH_PTABLE_MAX_PARTS_V4 48
[all …]
/openbmc/u-boot/include/linux/
H A Dlinkage.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * U-Boot - linkage.h
5 * Copyright (c) 2005-2007 Analog Devices Inc.
9 #define _LINUX_LINKAGE_H
15 #define ASM_NL ;
19 #define CPP_ASMLINKAGE extern "C"
21 #define CPP_ASMLINKAGE
25 #define asmlinkage CPP_ASMLINKAGE
28 #define SYMBOL_NAME_STR(X) #X
29 #define SYMBOL_NAME(X) X
[all …]
/openbmc/linux/tools/perf/arch/x86/util/
H A Ddwarf-regs.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * dwarf-regs.c : Mapping of DWARF debug register numbers into register names.
4 * Extracted from probe-finder.c
14 #include <dwarf-regs.h>
17 * See arch/x86/kernel/ptrace.c.
20 * - Since struct pt_regs is defined differently for user and kernel,
22 * field name of user's pt_regs), we make REG_OFFSET_NAME to accept
23 * both string name and reg field name.
25 * - Since accessing x86_32's pt_regs from x86_64 building is difficult
26 * and vise versa, we simply fill offset with -1, so
[all …]
/openbmc/linux/include/uapi/linux/
H A Dstddef.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 #define _UAPI_LINUX_STDDEF_H
8 #define __always_inline inline
11 /* Not all C++ standards support type declarations inside an anonymous union */
13 #define __struct_group_tag(TAG) TAG
15 #define __struct_group_tag(TAG)
19 * __struct_group() - Create a mirrored named and anonyomous struct
21 * @TAG: The tag name for the named sub-struct (usually empty)
22 * @NAME: The identifier name of the mirrored sub-struct
28 * normally without sub-struct naming, and the latter can be used to
[all …]
/openbmc/u-boot/scripts/dtc/
H A Dchecks.c2 * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2007.
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
24 #define TRACE(c, ...) \ argument
26 fprintf(stderr, "=== %s: ", (c)->name); \
31 #define TRACE(c, fmt, ...) do { } while (0) argument
43 typedef void (*check_fn)(struct check *c, struct dt_info *dti, struct node *node);
46 const char *name; member
56 #define CHECK_ENTRY(nm_, fn_, d_, w_, e_, ...) \
59 .name = #nm_, \
68 #define WARNING(nm_, fn_, d_, ...) \
[all …]
/openbmc/linux/drivers/md/bcache/
H A Dfeatures.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 #define _BCACHE_FEATURES_H
10 #define BCH_FEATURE_COMPAT 0
11 #define BCH_FEATURE_RO_COMPAT 1
12 #define BCH_FEATURE_INCOMPAT 2
13 #define BCH_FEATURE_TYPE_MASK 0x03
18 #define BCH_FEATURE_INCOMPAT_OBSO_LARGE_BUCKET 0x0001
20 #define BCH_FEATURE_INCOMPAT_LOG_LARGE_BUCKET_SIZE 0x0002
22 #define BCH_FEATURE_COMPAT_SUPP 0
23 #define BCH_FEATURE_RO_COMPAT_SUPP 0
[all …]

12345678910>>...44