summaryrefslogtreecommitdiff
path: root/include/arch/x86_64
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-09 19:20:15 +0100
committerKacper <kacper@mail.openlinux.dev>2025-12-09 19:20:15 +0100
commit885f5974cdf65b59415837ae97f5a14ef1350670 (patch)
tree66ac13de29c7f4932c5fcae11773df574e4e256a /include/arch/x86_64
parent8f9e448b2ef6db7cd905540c21f3c5b190e7a1e7 (diff)
feat: add gzip and new headers
Diffstat (limited to 'include/arch/x86_64')
-rw-r--r--include/arch/x86_64/asm-generic/mman-common.h5
-rw-r--r--include/arch/x86_64/asm/kvm.h3
-rw-r--r--include/arch/x86_64/drm/drm.h2
-rw-r--r--include/arch/x86_64/drm/drm_mode.h7
-rw-r--r--include/arch/x86_64/drm/i915_drm.h8
-rw-r--r--include/arch/x86_64/drm/msm_drm.h5
-rw-r--r--include/arch/x86_64/drm/radeon_drm.h7
-rw-r--r--include/arch/x86_64/drm/virtgpu_drm.h7
-rw-r--r--include/arch/x86_64/linux/acct.h22
-rw-r--r--include/arch/x86_64/linux/atmlec.h2
-rw-r--r--include/arch/x86_64/linux/audit.h5
-rw-r--r--include/arch/x86_64/linux/can/error.h2
-rw-r--r--include/arch/x86_64/linux/can/isotp.h10
-rw-r--r--include/arch/x86_64/linux/cramfs_fs.h5
-rw-r--r--include/arch/x86_64/linux/dqblk_xfs.h7
-rw-r--r--include/arch/x86_64/linux/elf.h10
-rw-r--r--include/arch/x86_64/linux/fb.h7
-rw-r--r--include/arch/x86_64/linux/fcntl.h10
-rw-r--r--include/arch/x86_64/linux/fd.h10
-rw-r--r--include/arch/x86_64/linux/fs.h24
-rw-r--r--include/arch/x86_64/linux/hdlcdrv.h2
-rw-r--r--include/arch/x86_64/linux/hdreg.h31
-rw-r--r--include/arch/x86_64/linux/icmpv6.h4
-rw-r--r--include/arch/x86_64/linux/if_bridge.h27
-rw-r--r--include/arch/x86_64/linux/if_ether.h5
-rw-r--r--include/arch/x86_64/linux/if_packet.h19
-rw-r--r--include/arch/x86_64/linux/in.h18
-rw-r--r--include/arch/x86_64/linux/input-event-codes.h5
-rw-r--r--include/arch/x86_64/linux/ioam6.h10
-rw-r--r--include/arch/x86_64/linux/keyctl.h80
-rw-r--r--include/arch/x86_64/linux/magic.h5
-rw-r--r--include/arch/x86_64/linux/mdio.h10
-rw-r--r--include/arch/x86_64/linux/mount.h14
-rw-r--r--include/arch/x86_64/linux/mroute.h8
-rw-r--r--include/arch/x86_64/linux/mroute6.h31
-rw-r--r--include/arch/x86_64/linux/msg.h9
-rw-r--r--include/arch/x86_64/linux/netfilter_bridge/ebt_log.h5
-rw-r--r--include/arch/x86_64/linux/netlink.h24
-rw-r--r--include/arch/x86_64/linux/pci_regs.h201
-rw-r--r--include/arch/x86_64/linux/perf_event.h5
-rw-r--r--include/arch/x86_64/linux/pidfd.h12
-rw-r--r--include/arch/x86_64/linux/ppp-ioctl.h7
-rw-r--r--include/arch/x86_64/linux/prctl.h8
-rw-r--r--include/arch/x86_64/linux/rtc.h3
-rw-r--r--include/arch/x86_64/linux/rxrpc.h27
-rw-r--r--include/arch/x86_64/linux/scc.h2
-rw-r--r--include/arch/x86_64/linux/sched.h11
-rw-r--r--include/arch/x86_64/linux/seccomp.h5
-rw-r--r--include/arch/x86_64/linux/sem.h15
-rw-r--r--include/arch/x86_64/linux/serial_reg.h8
-rw-r--r--include/arch/x86_64/linux/sonet.h13
-rw-r--r--include/arch/x86_64/linux/soundcard.h28
-rw-r--r--include/arch/x86_64/linux/stat.h55
-rw-r--r--include/arch/x86_64/linux/tee.h5
-rw-r--r--include/arch/x86_64/linux/tipc_config.h11
-rw-r--r--include/arch/x86_64/linux/un.h5
-rw-r--r--include/arch/x86_64/linux/vfio_zdev.h5
-rw-r--r--include/arch/x86_64/linux/videodev2.h76
-rw-r--r--include/arch/x86_64/linux/virtio_balloon.h5
-rw-r--r--include/arch/x86_64/linux/virtio_console.h9
-rw-r--r--include/arch/x86_64/linux/virtio_net.h22
-rw-r--r--include/arch/x86_64/misc/ocxl.h5
-rw-r--r--include/arch/x86_64/mtd/mtd-abi.h13
-rw-r--r--include/arch/x86_64/rdma/hfi/hfi1_user.h38
-rw-r--r--include/arch/x86_64/sound/asequencer.h3
-rw-r--r--include/arch/x86_64/sound/asoc.h26
-rw-r--r--include/arch/x86_64/sound/asound.h39
-rw-r--r--include/arch/x86_64/sound/compress_offload.h5
-rw-r--r--include/arch/x86_64/sound/emu10k1.h39
69 files changed, 651 insertions, 520 deletions
diff --git a/include/arch/x86_64/asm-generic/mman-common.h b/include/arch/x86_64/asm-generic/mman-common.h
index 2c258a78..cbcba366 100644
--- a/include/arch/x86_64/asm-generic/mman-common.h
+++ b/include/arch/x86_64/asm-generic/mman-common.h
@@ -32,8 +32,9 @@
0x020000 /* give out an address that is best suited for process/thread \
stacks */
#define MAP_HUGETLB 0x040000 /* create a huge page mapping */
-#define MAP_SYNC 0x080000 /* perform synchronous page faults for the mapping \
- */
+#define MAP_SYNC \
+ 0x080000 /* perform synchronous page faults for the mapping \
+ */
#define MAP_FIXED_NOREPLACE \
0x100000 /* MAP_FIXED which doesn't unmap underlying mapping */
diff --git a/include/arch/x86_64/asm/kvm.h b/include/arch/x86_64/asm/kvm.h
index cac27ba0..f37ee487 100644
--- a/include/arch/x86_64/asm/kvm.h
+++ b/include/arch/x86_64/asm/kvm.h
@@ -912,7 +912,8 @@ struct kvm_hyperv_eventfd {
#define KVM_PMU_MASKED_ENTRY_UMASK_MASK_SHIFT (56)
/* for KVM_{GET,SET,HAS}_DEVICE_ATTR */
-#define KVM_VCPU_TSC_CTRL 0 /* control group for the timestamp counter (TSC) \
+#define KVM_VCPU_TSC_CTRL \
+ 0 /* control group for the timestamp counter (TSC) \
*/
#define KVM_VCPU_TSC_OFFSET 0 /* attribute for the TSC offset */
diff --git a/include/arch/x86_64/drm/drm.h b/include/arch/x86_64/drm/drm.h
index ebd6ebb5..a928f61f 100644
--- a/include/arch/x86_64/drm/drm.h
+++ b/include/arch/x86_64/drm/drm.h
@@ -253,7 +253,7 @@ enum drm_stat_type {
_DRM_STAT_DMA, /**< DMA */
_DRM_STAT_SPECIAL, /**< Special DMA (e.g., priority or polled) */
_DRM_STAT_MISSED /**< Missed DMA opportunity */
- /* Add to the *END* of the list */
+ /* Add to the *END* of the list */
};
/*
diff --git a/include/arch/x86_64/drm/drm_mode.h b/include/arch/x86_64/drm/drm_mode.h
index 8b6da7da..8517ff0c 100644
--- a/include/arch/x86_64/drm/drm_mode.h
+++ b/include/arch/x86_64/drm/drm_mode.h
@@ -48,9 +48,10 @@ extern "C" {
#define DRM_MODE_TYPE_BUILTIN (1 << 0) /* deprecated */
#define DRM_MODE_TYPE_CLOCK_C \
- ((1 << 1) | DRM_MODE_TYPE_BUILTIN) /* deprecated */
-#define DRM_MODE_TYPE_CRTC_C ((1 << 2) | DRM_MODE_TYPE_BUILTIN) /* deprecated \
- */
+ ((1 << 1) | DRM_MODE_TYPE_BUILTIN) /* deprecated */
+#define DRM_MODE_TYPE_CRTC_C \
+ ((1 << 2) | DRM_MODE_TYPE_BUILTIN) /* deprecated \
+ */
#define DRM_MODE_TYPE_PREFERRED (1 << 3)
#define DRM_MODE_TYPE_DEFAULT (1 << 4) /* deprecated */
#define DRM_MODE_TYPE_USERDEF (1 << 5)
diff --git a/include/arch/x86_64/drm/i915_drm.h b/include/arch/x86_64/drm/i915_drm.h
index 68f08e16..e0403cb6 100644
--- a/include/arch/x86_64/drm/i915_drm.h
+++ b/include/arch/x86_64/drm/i915_drm.h
@@ -2115,10 +2115,10 @@ struct drm_i915_gem_context_param {
#define I915_CONTEXT_MAX_USER_PRIORITY 1023 /* inclusive */
#define I915_CONTEXT_DEFAULT_PRIORITY 0
#define I915_CONTEXT_MIN_USER_PRIORITY -1023 /* inclusive */
- /*
- * When using the following param, value should be a pointer to
- * drm_i915_gem_context_param_sseu.
- */
+ /*
+ * When using the following param, value should be a pointer to
+ * drm_i915_gem_context_param_sseu.
+ */
#define I915_CONTEXT_PARAM_SSEU 0x7
/*
diff --git a/include/arch/x86_64/drm/msm_drm.h b/include/arch/x86_64/drm/msm_drm.h
index 762aef57..efc01123 100644
--- a/include/arch/x86_64/drm/msm_drm.h
+++ b/include/arch/x86_64/drm/msm_drm.h
@@ -306,8 +306,9 @@ struct drm_msm_gem_submit_bo {
#define MSM_SUBMIT_SUDO 0x10000000 /* run submitted cmds from RB */
#define MSM_SUBMIT_SYNCOBJ_IN 0x08000000 /* enable input syncobj */
#define MSM_SUBMIT_SYNCOBJ_OUT 0x04000000 /* enable output syncobj */
-#define MSM_SUBMIT_FENCE_SN_IN 0x02000000 /* userspace passes in seqno fence \
- */
+#define MSM_SUBMIT_FENCE_SN_IN \
+ 0x02000000 /* userspace passes in seqno fence \
+ */
#define MSM_SUBMIT_FLAGS \
(MSM_SUBMIT_NO_IMPLICIT | MSM_SUBMIT_FENCE_FD_IN | \
MSM_SUBMIT_FENCE_FD_OUT | MSM_SUBMIT_SUDO | MSM_SUBMIT_SYNCOBJ_IN | \
diff --git a/include/arch/x86_64/drm/radeon_drm.h b/include/arch/x86_64/drm/radeon_drm.h
index 825b8919..6ac625ab 100644
--- a/include/arch/x86_64/drm/radeon_drm.h
+++ b/include/arch/x86_64/drm/radeon_drm.h
@@ -1055,9 +1055,10 @@ struct drm_radeon_cs {
#define RADEON_INFO_WANT_HYPERZ 0x07
#define RADEON_INFO_WANT_CMASK 0x08 /* get access to CMASK on r300 */
#define RADEON_INFO_CLOCK_CRYSTAL_FREQ 0x09 /* clock crystal frequency */
-#define RADEON_INFO_NUM_BACKENDS 0x0a /* DB/backends for r600+ - need for OQ \
- */
-#define RADEON_INFO_NUM_TILE_PIPES 0x0b /* tile pipes for r600+ */
+#define RADEON_INFO_NUM_BACKENDS \
+ 0x0a /* DB/backends for r600+ - need for OQ \
+ */
+#define RADEON_INFO_NUM_TILE_PIPES 0x0b /* tile pipes for r600+ */
#define RADEON_INFO_FUSION_GART_WORKING \
0x0c /* fusion writes to GTT were broken before this */
#define RADEON_INFO_BACKEND_MAP 0x0d /* pipe to backend map, needed by mesa */
diff --git a/include/arch/x86_64/drm/virtgpu_drm.h b/include/arch/x86_64/drm/virtgpu_drm.h
index 4f9458d6..77b8c034 100644
--- a/include/arch/x86_64/drm/virtgpu_drm.h
+++ b/include/arch/x86_64/drm/virtgpu_drm.h
@@ -92,9 +92,10 @@ struct drm_virtgpu_execbuffer {
#define VIRTGPU_PARAM_CAPSET_QUERY_FIX 2 /* do we have the capset fix */
#define VIRTGPU_PARAM_RESOURCE_BLOB 3 /* DRM_VIRTGPU_RESOURCE_CREATE_BLOB */
#define VIRTGPU_PARAM_HOST_VISIBLE 4 /* Host blob resources are mappable */
-#define VIRTGPU_PARAM_CROSS_DEVICE 5 /* Cross virtio-device resource sharing \
- */
-#define VIRTGPU_PARAM_CONTEXT_INIT 6 /* DRM_VIRTGPU_CONTEXT_INIT */
+#define VIRTGPU_PARAM_CROSS_DEVICE \
+ 5 /* Cross virtio-device resource sharing \
+ */
+#define VIRTGPU_PARAM_CONTEXT_INIT 6 /* DRM_VIRTGPU_CONTEXT_INIT */
#define VIRTGPU_PARAM_SUPPORTED_CAPSET_IDs \
7 /* Bitmask of supported capability set ids */
#define VIRTGPU_PARAM_EXPLICIT_DEBUG_NAME \
diff --git a/include/arch/x86_64/linux/acct.h b/include/arch/x86_64/linux/acct.h
index 28772df2..6f27a6a2 100644
--- a/include/arch/x86_64/linux/acct.h
+++ b/include/arch/x86_64/linux/acct.h
@@ -49,17 +49,17 @@ struct acct {
__u16 ac_gid16; /* LSB of Real Group ID */
__u16 ac_tty; /* Control Terminal */
/* __u32 range means times from 1970 to 2106 */
- __u32 ac_btime; /* Process Creation Time */
- comp_t ac_utime; /* User Time */
- comp_t ac_stime; /* System Time */
- comp_t ac_etime; /* Elapsed Time */
- comp_t ac_mem; /* Average Memory Usage */
- comp_t ac_io; /* Chars Transferred */
- comp_t ac_rw; /* Blocks Read or Written */
- comp_t ac_minflt; /* Minor Pagefaults */
- comp_t ac_majflt; /* Major Pagefaults */
- comp_t ac_swaps; /* Number of Swaps */
- /* m68k had no padding here. */
+ __u32 ac_btime; /* Process Creation Time */
+ comp_t ac_utime; /* User Time */
+ comp_t ac_stime; /* System Time */
+ comp_t ac_etime; /* Elapsed Time */
+ comp_t ac_mem; /* Average Memory Usage */
+ comp_t ac_io; /* Chars Transferred */
+ comp_t ac_rw; /* Blocks Read or Written */
+ comp_t ac_minflt; /* Minor Pagefaults */
+ comp_t ac_majflt; /* Major Pagefaults */
+ comp_t ac_swaps; /* Number of Swaps */
+ /* m68k had no padding here. */
__u16 ac_ahz; /* AHZ */
__u32 ac_exitcode; /* Exitcode */
char ac_comm[ACCT_COMM + 1]; /* Command Name */
diff --git a/include/arch/x86_64/linux/atmlec.h b/include/arch/x86_64/linux/atmlec.h
index 366b53fb..0dd3cf37 100644
--- a/include/arch/x86_64/linux/atmlec.h
+++ b/include/arch/x86_64/linux/atmlec.h
@@ -75,7 +75,7 @@ struct atmlec_msg {
struct {
__u16 lec_id; /* requestor lec_id */
__u32 tran_id; /* transaction id */
- unsigned char mac_addr[ETH_ALEN]; /* dst mac addr */
+ unsigned char mac_addr[ETH_ALEN]; /* dst mac addr */
unsigned char atm_addr[ATM_ESA_LEN]; /* reqestor ATM
addr */
} proxy; /*
diff --git a/include/arch/x86_64/linux/audit.h b/include/arch/x86_64/linux/audit.h
index cbee3511..76ca9e66 100644
--- a/include/arch/x86_64/linux/audit.h
+++ b/include/arch/x86_64/linux/audit.h
@@ -175,8 +175,9 @@
#define AUDIT_FILTER_WATCH 0x03 /* Apply rule to file system watches */
#define AUDIT_FILTER_EXIT 0x04 /* Apply rule at syscall exit */
#define AUDIT_FILTER_EXCLUDE 0x05 /* Apply rule before record creation */
-#define AUDIT_FILTER_TYPE AUDIT_FILTER_EXCLUDE /* obsolete misleading naming \
- */
+#define AUDIT_FILTER_TYPE \
+ AUDIT_FILTER_EXCLUDE /* obsolete misleading naming \
+ */
#define AUDIT_FILTER_FS 0x06 /* Apply rule at __audit_inode_child */
#define AUDIT_FILTER_URING_EXIT 0x07 /* Apply rule at io_uring op exit */
diff --git a/include/arch/x86_64/linux/can/error.h b/include/arch/x86_64/linux/can/error.h
index e2fe2400..e4ed236e 100644
--- a/include/arch/x86_64/linux/can/error.h
+++ b/include/arch/x86_64/linux/can/error.h
@@ -63,7 +63,7 @@
/* arbitration lost in bit ... / data[0] */
#define CAN_ERR_LOSTARB_UNSPEC 0x00 /* unspecified */
- /* else bit number in bitstream */
+/* else bit number in bitstream */
/* error status of CAN-controller / data[1] */
#define CAN_ERR_CRTL_UNSPEC 0x00 /* unspecified */
diff --git a/include/arch/x86_64/linux/can/isotp.h b/include/arch/x86_64/linux/can/isotp.h
index 7d46f53b..d986173d 100644
--- a/include/arch/x86_64/linux/can/isotp.h
+++ b/include/arch/x86_64/linux/can/isotp.h
@@ -59,12 +59,12 @@
/* sockopts to force stmin timer values for protocol regression tests */
#define CAN_ISOTP_TX_STMIN 3 /* pass __u32 value in nano secs */
- /* use this time instead of value */
- /* provided in FC from the receiver */
+/* use this time instead of value */
+/* provided in FC from the receiver */
#define CAN_ISOTP_RX_STMIN 4 /* pass __u32 value in nano secs */
- /* ignore received CF frames which */
- /* timestamps differ less than val */
+/* ignore received CF frames which */
+/* timestamps differ less than val */
#define CAN_ISOTP_LL_OPTS 5 /* pass struct can_isotp_ll_options */
@@ -85,7 +85,7 @@ struct can_isotp_options {
/* __u8 value : content on rx path */
__u8 rx_ext_address; /* set address for extended addressing */
- /* __u8 value : extended address (rx) */
+ /* __u8 value : extended address (rx) */
};
struct can_isotp_fc_options {
diff --git a/include/arch/x86_64/linux/cramfs_fs.h b/include/arch/x86_64/linux/cramfs_fs.h
index f340f3b9..08d399f9 100644
--- a/include/arch/x86_64/linux/cramfs_fs.h
+++ b/include/arch/x86_64/linux/cramfs_fs.h
@@ -74,8 +74,9 @@ struct cramfs_super {
#define CRAMFS_FLAG_HOLES 0x00000100 /* support for holes */
#define CRAMFS_FLAG_WRONG_SIGNATURE 0x00000200 /* reserved */
#define CRAMFS_FLAG_SHIFTED_ROOT_OFFSET 0x00000400 /* shifted root fs */
-#define CRAMFS_FLAG_EXT_BLOCK_POINTERS 0x00000800 /* block pointer extensions \
- */
+#define CRAMFS_FLAG_EXT_BLOCK_POINTERS \
+ 0x00000800 /* block pointer extensions \
+ */
/*
* Valid values in super.flags. Currently we refuse to mount
diff --git a/include/arch/x86_64/linux/dqblk_xfs.h b/include/arch/x86_64/linux/dqblk_xfs.h
index ee0eb805..e1c5b142 100644
--- a/include/arch/x86_64/linux/dqblk_xfs.h
+++ b/include/arch/x86_64/linux/dqblk_xfs.h
@@ -24,9 +24,10 @@
* Disk quota - quotactl(2) commands for the XFS Quota Manager (XQM).
*/
-#define XQM_CMD(x) (('X' << 8) + (x)) /* note: forms first QCMD argument */
-#define XQM_COMMAND(x) (((x) & (0xff << 8)) == ('X' << 8)) /* test if for XFS \
- */
+#define XQM_CMD(x) (('X' << 8) + (x)) /* note: forms first QCMD argument */
+#define XQM_COMMAND(x) \
+ (((x) & (0xff << 8)) == ('X' << 8)) /* test if for XFS \
+ */
#define XQM_USRQUOTA 0 /* system call user quota type */
#define XQM_GRPQUOTA 1 /* system call group quota type */
diff --git a/include/arch/x86_64/linux/elf.h b/include/arch/x86_64/linux/elf.h
index 0265ed9a..77e3e2d3 100644
--- a/include/arch/x86_64/linux/elf.h
+++ b/include/arch/x86_64/linux/elf.h
@@ -445,8 +445,9 @@ typedef struct elf64_shdr {
#define NN_PPC_TM_CPPR "LINUX"
#define NT_PPC_TM_CPPR 0x10e /* TM checkpointed Program Priority Register */
#define NN_PPC_TM_CDSCR "LINUX"
-#define NT_PPC_TM_CDSCR 0x10f /* TM checkpointed Data Stream Control Register \
- */
+#define NT_PPC_TM_CDSCR \
+ 0x10f /* TM checkpointed Data Stream Control Register \
+ */
#define NN_PPC_PKEY "LINUX"
#define NT_PPC_PKEY 0x110 /* Memory Protection Keys registers */
#define NN_PPC_DEXCR "LINUX"
@@ -552,8 +553,9 @@ typedef struct elf64_shdr {
#define NN_LOONGARCH_CSR "LINUX"
#define NT_LOONGARCH_CSR 0xa01 /* LoongArch control and status registers */
#define NN_LOONGARCH_LSX "LINUX"
-#define NT_LOONGARCH_LSX 0xa02 /* LoongArch Loongson SIMD Extension registers \
- */
+#define NT_LOONGARCH_LSX \
+ 0xa02 /* LoongArch Loongson SIMD Extension registers \
+ */
#define NN_LOONGARCH_LASX "LINUX"
#define NT_LOONGARCH_LASX \
0xa03 /* LoongArch Loongson Advanced SIMD Extension registers */
diff --git a/include/arch/x86_64/linux/fb.h b/include/arch/x86_64/linux/fb.h
index 205917bd..a0ac9036 100644
--- a/include/arch/x86_64/linux/fb.h
+++ b/include/arch/x86_64/linux/fb.h
@@ -196,9 +196,10 @@ struct fb_bitfield {
/* right */
};
-#define FB_NONSTD_HAM 1 /* Hold-And-Modify (HAM) */
-#define FB_NONSTD_REV_PIX_IN_B 2 /* order of pixels in each byte is reversed \
- */
+#define FB_NONSTD_HAM 1 /* Hold-And-Modify (HAM) */
+#define FB_NONSTD_REV_PIX_IN_B \
+ 2 /* order of pixels in each byte is reversed \
+ */
#define FB_ACTIVATE_NOW 0 /* set values immediately (or vbl)*/
#define FB_ACTIVATE_NXTOPEN 1 /* activate on next open */
diff --git a/include/arch/x86_64/linux/fcntl.h b/include/arch/x86_64/linux/fcntl.h
index ad6752fb..6339c5f1 100644
--- a/include/arch/x86_64/linux/fcntl.h
+++ b/include/arch/x86_64/linux/fcntl.h
@@ -112,8 +112,9 @@
#define PIDFD_SELF_THREAD_GROUP -10001 /* Current thread group leader. */
#define FD_PIDFS_ROOT -10002 /* Root of the pidfs filesystem */
-#define FD_INVALID -10009 /* Invalid file descriptor: -10000 - EBADF = -10009 \
- */
+#define FD_INVALID \
+ -10009 /* Invalid file descriptor: -10000 - EBADF = -10009 \
+ */
/* Generic flags for the *at(2) family of syscalls. */
@@ -139,8 +140,9 @@
#define AT_STATX_SYNC_AS_STAT 0x0000 /* - Do whatever stat() does */
#define AT_STATX_FORCE_SYNC \
0x2000 /* - Force the attributes to be sync'd with the server */
-#define AT_STATX_DONT_SYNC 0x4000 /* - Don't sync attributes with the server \
- */
+#define AT_STATX_DONT_SYNC \
+ 0x4000 /* - Don't sync attributes with the server \
+ */
#define AT_RECURSIVE 0x8000 /* Apply to the entire subtree */
diff --git a/include/arch/x86_64/linux/fd.h b/include/arch/x86_64/linux/fd.h
index d2841051..bdebcc4f 100644
--- a/include/arch/x86_64/linux/fd.h
+++ b/include/arch/x86_64/linux/fd.h
@@ -144,11 +144,11 @@ struct floppy_drive_params {
struct floppy_max_errors max_errors;
char flags; /* various flags, including ftd_msg */
- /*
- * Announce successful media type detection and media information loss
- * after disk changes. Also used to enable/disable printing of overrun
- * warnings.
- */
+ /*
+ * Announce successful media type detection and media information loss
+ * after disk changes. Also used to enable/disable printing of overrun
+ * warnings.
+ */
#define FTD_MSG 0x10
#define FD_BROKEN_DCL 0x20
diff --git a/include/arch/x86_64/linux/fs.h b/include/arch/x86_64/linux/fs.h
index 23114c88..86ead53c 100644
--- a/include/arch/x86_64/linux/fs.h
+++ b/include/arch/x86_64/linux/fs.h
@@ -253,17 +253,19 @@ struct file_attr {
/* the read-only stuff doesn't really belong here, but any other place is
probably as bad and I don't want to create yet another include file. */
-#define BLKROSET _IO(0x12, 93) /* set device read-only (0 = read-write) */
-#define BLKROGET _IO(0x12, 94) /* get read-only status (0 = read_write) */
-#define BLKRRPART _IO(0x12, 95) /* re-read partition table */
-#define BLKGETSIZE _IO(0x12, 96) /* return device size /512 (long *arg) */
-#define BLKFLSBUF _IO(0x12, 97) /* flush buffer cache */
-#define BLKRASET _IO(0x12, 98) /* set read ahead for block device */
-#define BLKRAGET _IO(0x12, 99) /* get current read ahead setting */
-#define BLKFRASET _IO(0x12, 100) /* set filesystem (mm/filemap.c) read-ahead \
- */
-#define BLKFRAGET _IO(0x12, 101) /* get filesystem (mm/filemap.c) read-ahead \
- */
+#define BLKROSET _IO(0x12, 93) /* set device read-only (0 = read-write) */
+#define BLKROGET _IO(0x12, 94) /* get read-only status (0 = read_write) */
+#define BLKRRPART _IO(0x12, 95) /* re-read partition table */
+#define BLKGETSIZE _IO(0x12, 96) /* return device size /512 (long *arg) */
+#define BLKFLSBUF _IO(0x12, 97) /* flush buffer cache */
+#define BLKRASET _IO(0x12, 98) /* set read ahead for block device */
+#define BLKRAGET _IO(0x12, 99) /* get current read ahead setting */
+#define BLKFRASET \
+ _IO(0x12, 100) /* set filesystem (mm/filemap.c) read-ahead \
+ */
+#define BLKFRAGET \
+ _IO(0x12, 101) /* get filesystem (mm/filemap.c) read-ahead \
+ */
#define BLKSECTSET \
_IO(0x12, 102) /* set max sectors per request (ll_rw_blk.c) */
#define BLKSECTGET \
diff --git a/include/arch/x86_64/linux/hdlcdrv.h b/include/arch/x86_64/linux/hdlcdrv.h
index 0d3f0ba7..784d1dcf 100644
--- a/include/arch/x86_64/linux/hdlcdrv.h
+++ b/include/arch/x86_64/linux/hdlcdrv.h
@@ -29,7 +29,7 @@ struct hdlcdrv_channel_params {
int slottime; /* the slottime in 10ms; usually 10 = 100ms */
int ppersist; /* the p-persistence 0..255 */
int fulldup; /* some driver do not support full duplex, setting */
- /* this just makes them send even if DCD is on */
+ /* this just makes them send even if DCD is on */
};
struct hdlcdrv_old_channel_state {
diff --git a/include/arch/x86_64/linux/hdreg.h b/include/arch/x86_64/linux/hdreg.h
index 070ae119..ce171ac3 100644
--- a/include/arch/x86_64/linux/hdreg.h
+++ b/include/arch/x86_64/linux/hdreg.h
@@ -201,21 +201,22 @@ typedef struct hd_drive_hob_hdr {
/*
* 0x9A VENDOR
*/
-#define WIN_PACKETCMD 0xA0 /* Send a packet command. */
-#define WIN_PIDENTIFY 0xA1 /* identify ATAPI device */
-#define WIN_QUEUED_SERVICE 0xA2
-#define WIN_SMART 0xB0 /* self-monitoring and reporting */
-#define CFA_ERASE_SECTORS 0xC0
-#define WIN_MULTREAD 0xC4 /* read sectors using multiple mode*/
-#define WIN_MULTWRITE 0xC5 /* write sectors using multiple mode */
-#define WIN_SETMULT 0xC6 /* enable/disable multiple mode */
-#define WIN_READDMA_QUEUED 0xC7 /* read sectors using Queued DMA transfers */
-#define WIN_READDMA 0xC8 /* read sectors using DMA transfers */
-#define WIN_READDMA_ONCE 0xC9 /* 28-Bit - without retries */
-#define WIN_WRITEDMA 0xCA /* write sectors using DMA transfers */
-#define WIN_WRITEDMA_ONCE 0xCB /* 28-Bit - without retries */
-#define WIN_WRITEDMA_QUEUED 0xCC /* write sectors using Queued DMA transfers \
- */
+#define WIN_PACKETCMD 0xA0 /* Send a packet command. */
+#define WIN_PIDENTIFY 0xA1 /* identify ATAPI device */
+#define WIN_QUEUED_SERVICE 0xA2
+#define WIN_SMART 0xB0 /* self-monitoring and reporting */
+#define CFA_ERASE_SECTORS 0xC0
+#define WIN_MULTREAD 0xC4 /* read sectors using multiple mode*/
+#define WIN_MULTWRITE 0xC5 /* write sectors using multiple mode */
+#define WIN_SETMULT 0xC6 /* enable/disable multiple mode */
+#define WIN_READDMA_QUEUED 0xC7 /* read sectors using Queued DMA transfers */
+#define WIN_READDMA 0xC8 /* read sectors using DMA transfers */
+#define WIN_READDMA_ONCE 0xC9 /* 28-Bit - without retries */
+#define WIN_WRITEDMA 0xCA /* write sectors using DMA transfers */
+#define WIN_WRITEDMA_ONCE 0xCB /* 28-Bit - without retries */
+#define WIN_WRITEDMA_QUEUED \
+ 0xCC /* write sectors using Queued DMA transfers \
+ */
#define CFA_WRITE_MULTI_WO_ERASE 0xCD /* CFA Write multiple without erase */
#define WIN_GETMEDIASTATUS 0xDA
#define WIN_ACKMEDIACHANGE 0xDB /* ATA-1, ATA-2 vendor */
diff --git a/include/arch/x86_64/linux/icmpv6.h b/include/arch/x86_64/linux/icmpv6.h
index e86a513a..f5645526 100644
--- a/include/arch/x86_64/linux/icmpv6.h
+++ b/include/arch/x86_64/linux/icmpv6.h
@@ -159,8 +159,8 @@ struct icmp6_filter {
#define MLD2_ALLOW_NEW_SOURCES 5
#define MLD2_BLOCK_OLD_SOURCES 6
-#define MLD2_ALL_MCR_INIT \
- { \
+#define MLD2_ALL_MCR_INIT \
+ { \
{ { 0xff,0x02,0,0,0,0,0,0,0,0,0,0,0,0,0,0x16 } } \
}
diff --git a/include/arch/x86_64/linux/if_bridge.h b/include/arch/x86_64/linux/if_bridge.h
index 141b1bdb..8650d78e 100644
--- a/include/arch/x86_64/linux/if_bridge.h
+++ b/include/arch/x86_64/linux/if_bridge.h
@@ -127,15 +127,17 @@ enum {
};
#define IFLA_BRIDGE_MAX (__IFLA_BRIDGE_MAX - 1)
-#define BRIDGE_VLAN_INFO_MASTER (1 << 0) /* Operate on Bridge device as well \
- */
-#define BRIDGE_VLAN_INFO_PVID (1 << 1) /* VLAN is PVID, ingress untagged */
-#define BRIDGE_VLAN_INFO_UNTAGGED (1 << 2) /* VLAN egresses untagged */
-#define BRIDGE_VLAN_INFO_RANGE_BEGIN (1 << 3) /* VLAN is start of vlan range \
- */
-#define BRIDGE_VLAN_INFO_RANGE_END (1 << 4) /* VLAN is end of vlan range */
-#define BRIDGE_VLAN_INFO_BRENTRY (1 << 5) /* Global bridge VLAN entry */
-#define BRIDGE_VLAN_INFO_ONLY_OPTS (1 << 6) /* Skip create/delete/flags */
+#define BRIDGE_VLAN_INFO_MASTER \
+ (1 << 0) /* Operate on Bridge device as well \
+ */
+#define BRIDGE_VLAN_INFO_PVID (1 << 1) /* VLAN is PVID, ingress untagged */
+#define BRIDGE_VLAN_INFO_UNTAGGED (1 << 2) /* VLAN egresses untagged */
+#define BRIDGE_VLAN_INFO_RANGE_BEGIN \
+ (1 << 3) /* VLAN is start of vlan range \
+ */
+#define BRIDGE_VLAN_INFO_RANGE_END (1 << 4) /* VLAN is end of vlan range */
+#define BRIDGE_VLAN_INFO_BRENTRY (1 << 5) /* Global bridge VLAN entry */
+#define BRIDGE_VLAN_INFO_ONLY_OPTS (1 << 6) /* Skip create/delete/flags */
struct bridge_vlan_info {
__u16 flags;
@@ -498,9 +500,10 @@ enum {
#define BRIDGE_VLANDB_DUMP_MAX (__BRIDGE_VLANDB_DUMP_MAX - 1)
/* flags used in BRIDGE_VLANDB_DUMP_FLAGS attribute to affect dumps */
-#define BRIDGE_VLANDB_DUMPF_STATS (1 << 0) /* Include stats in the dump */
-#define BRIDGE_VLANDB_DUMPF_GLOBAL (1 << 1) /* Dump global vlan options only \
- */
+#define BRIDGE_VLANDB_DUMPF_STATS (1 << 0) /* Include stats in the dump */
+#define BRIDGE_VLANDB_DUMPF_GLOBAL \
+ (1 << 1) /* Dump global vlan options only \
+ */
/* Bridge vlan RTM attributes
* [BRIDGE_VLANDB_ENTRY] = {
diff --git a/include/arch/x86_64/linux/if_ether.h b/include/arch/x86_64/linux/if_ether.h
index 0f5a904a..6ead4a8d 100644
--- a/include/arch/x86_64/linux/if_ether.h
+++ b/include/arch/x86_64/linux/if_ether.h
@@ -113,8 +113,9 @@
#define ETH_P_IBOE 0x8915 /* Infiniband over Ethernet */
#define ETH_P_TDLS 0x890D /* TDLS */
#define ETH_P_FIP 0x8914 /* FCoE Initialization Protocol */
-#define ETH_P_80221 0x8917 /* IEEE 802.21 Media Independent Handover Protocol \
- */
+#define ETH_P_80221 \
+ 0x8917 /* IEEE 802.21 Media Independent Handover Protocol \
+ */
#define ETH_P_HSR 0x892F /* IEC 62439-3 HSRv1 */
#define ETH_P_NSH 0x894F /* Network Service Header */
#define ETH_P_LOOPBACK 0x9000 /* Ethernet loopback packet, per IEEE 802.3 */
diff --git a/include/arch/x86_64/linux/if_packet.h b/include/arch/x86_64/linux/if_packet.h
index baf93764..2bd0e81b 100644
--- a/include/arch/x86_64/linux/if_packet.h
+++ b/include/arch/x86_64/linux/if_packet.h
@@ -107,15 +107,16 @@ struct tpacket_auxdata {
};
/* Rx ring - header status */
-#define TP_STATUS_KERNEL 0
-#define TP_STATUS_USER (1 << 0)
-#define TP_STATUS_COPY (1 << 1)
-#define TP_STATUS_LOSING (1 << 2)
-#define TP_STATUS_CSUMNOTREADY (1 << 3)
-#define TP_STATUS_VLAN_VALID (1 << 4) /* auxdata has valid tp_vlan_tci */
-#define TP_STATUS_BLK_TMO (1 << 5)
-#define TP_STATUS_VLAN_TPID_VALID (1 << 6) /* auxdata has valid tp_vlan_tpid \
- */
+#define TP_STATUS_KERNEL 0
+#define TP_STATUS_USER (1 << 0)
+#define TP_STATUS_COPY (1 << 1)
+#define TP_STATUS_LOSING (1 << 2)
+#define TP_STATUS_CSUMNOTREADY (1 << 3)
+#define TP_STATUS_VLAN_VALID (1 << 4) /* auxdata has valid tp_vlan_tci */
+#define TP_STATUS_BLK_TMO (1 << 5)
+#define TP_STATUS_VLAN_TPID_VALID \
+ (1 << 6) /* auxdata has valid tp_vlan_tpid \
+ */
#define TP_STATUS_CSUM_VALID (1 << 7)
#define TP_STATUS_GSO_TCP (1 << 8)
diff --git a/include/arch/x86_64/linux/in.h b/include/arch/x86_64/linux/in.h
index f818f0b2..9ada02e3 100644
--- a/include/arch/x86_64/linux/in.h
+++ b/include/arch/x86_64/linux/in.h
@@ -225,11 +225,12 @@ struct group_filter {
union {
struct {
__u32 gf_interface_aux; /* interface index */
- struct __kernel_sockaddr_storage gf_group_aux; /* multicast
- address
- */
- __u32 gf_fmode_aux; /* filter mode */
- __u32 gf_numsrc_aux; /* number of sources */
+ struct __kernel_sockaddr_storage
+ gf_group_aux; /* multicast
+ address
+ */
+ __u32 gf_fmode_aux; /* filter mode */
+ __u32 gf_numsrc_aux; /* number of sources */
struct __kernel_sockaddr_storage gf_slist[1]; /* interface
index
*/
@@ -240,9 +241,10 @@ struct group_filter {
address */
__u32 gf_fmode; /* filter mode */
__u32 gf_numsrc; /* number of sources */
- struct __kernel_sockaddr_storage gf_slist_flex[]; /* interface
- index
- */
+ struct __kernel_sockaddr_storage
+ gf_slist_flex[]; /* interface
+ index
+ */
};
};
};
diff --git a/include/arch/x86_64/linux/input-event-codes.h b/include/arch/x86_64/linux/input-event-codes.h
index 94c6e4c6..e357a68e 100644
--- a/include/arch/x86_64/linux/input-event-codes.h
+++ b/include/arch/x86_64/linux/input-event-codes.h
@@ -622,8 +622,9 @@
#define KEY_ASSISTANT 0x247 /* AL Context-aware desktop assistant */
#define KEY_KBD_LAYOUT_NEXT 0x248 /* AC Next Keyboard Layout Select */
#define KEY_EMOJI_PICKER 0x249 /* Show/hide emoji picker (HUTRR101) */
-#define KEY_DICTATE 0x24a /* Start or Stop Voice Dictation Session (HUTRR99) \
- */
+#define KEY_DICTATE \
+ 0x24a /* Start or Stop Voice Dictation Session (HUTRR99) \
+ */
#define KEY_CAMERA_ACCESS_ENABLE \
0x24b /* Enables programmatic access to camera devices. (HUTRR72) */
#define KEY_CAMERA_ACCESS_DISABLE \
diff --git a/include/arch/x86_64/linux/ioam6.h b/include/arch/x86_64/linux/ioam6.h
index 80f23d2d..4f47fe83 100644
--- a/include/arch/x86_64/linux/ioam6.h
+++ b/include/arch/x86_64/linux/ioam6.h
@@ -51,8 +51,9 @@ struct ioam6_trace_hdr {
struct {
__u32 bit7 : 1, bit6 : 1, bit5 : 1, bit4 : 1, bit3 : 1,
- bit2 : 1, bit1 : 1, bit0 : 1, bit15 : 1, /* unused
- */
+ bit2 : 1, bit1 : 1, bit0 : 1,
+ bit15 : 1, /* unused
+ */
bit14 : 1, /* unused */
bit13 : 1, /* unused */
bit12 : 1, /* unused */
@@ -82,8 +83,9 @@ struct ioam6_trace_hdr {
struct {
__u32 bit0 : 1, bit1 : 1, bit2 : 1, bit3 : 1, bit4 : 1,
bit5 : 1, bit6 : 1, bit7 : 1, bit8 : 1,
- bit9 : 1, bit10 : 1, bit11 : 1, bit12 : 1, /* unused
- */
+ bit9 : 1, bit10 : 1, bit11 : 1,
+ bit12 : 1, /* unused
+ */
bit13 : 1, /* unused */
bit14 : 1, /* unused */
bit15 : 1, /* unused */
diff --git a/include/arch/x86_64/linux/keyctl.h b/include/arch/x86_64/linux/keyctl.h
index c9280bbe..eb9750e9 100644
--- a/include/arch/x86_64/linux/keyctl.h
+++ b/include/arch/x86_64/linux/keyctl.h
@@ -16,15 +16,18 @@
#include <linux/types.h>
/* special process keyring shortcut IDs */
-#define KEY_SPEC_THREAD_KEYRING -1 /* - key ID for thread-specific keyring */
-#define KEY_SPEC_PROCESS_KEYRING -2 /* - key ID for process-specific keyring \
- */
-#define KEY_SPEC_SESSION_KEYRING -3 /* - key ID for session-specific keyring \
- */
-#define KEY_SPEC_USER_KEYRING -4 /* - key ID for UID-specific keyring */
-#define KEY_SPEC_USER_SESSION_KEYRING -5 /* - key ID for UID-session keyring \
- */
-#define KEY_SPEC_GROUP_KEYRING -6 /* - key ID for GID-specific keyring */
+#define KEY_SPEC_THREAD_KEYRING -1 /* - key ID for thread-specific keyring */
+#define KEY_SPEC_PROCESS_KEYRING \
+ -2 /* - key ID for process-specific keyring \
+ */
+#define KEY_SPEC_SESSION_KEYRING \
+ -3 /* - key ID for session-specific keyring \
+ */
+#define KEY_SPEC_USER_KEYRING -4 /* - key ID for UID-specific keyring */
+#define KEY_SPEC_USER_SESSION_KEYRING \
+ -5 /* - key ID for UID-session keyring \
+ */
+#define KEY_SPEC_GROUP_KEYRING -6 /* - key ID for GID-specific keyring */
#define KEY_SPEC_REQKEY_AUTH_KEY \
-7 /* - key ID for assumed request_key auth key */
#define KEY_SPEC_REQUESTOR_KEYRING \
@@ -42,19 +45,20 @@
#define KEY_REQKEY_DEFL_REQUESTOR_KEYRING 7
/* keyctl commands */
-#define KEYCTL_GET_KEYRING_ID 0 /* ask for a keyring's ID */
-#define KEYCTL_JOIN_SESSION_KEYRING 1 /* join or start named session keyring \
- */
-#define KEYCTL_UPDATE 2 /* update a key */
-#define KEYCTL_REVOKE 3 /* revoke a key */
-#define KEYCTL_CHOWN 4 /* set ownership of a key */
-#define KEYCTL_SETPERM 5 /* set perms on a key */
-#define KEYCTL_DESCRIBE 6 /* describe a key */
-#define KEYCTL_CLEAR 7 /* clear contents of a keyring */
-#define KEYCTL_LINK 8 /* link a key into a keyring */
-#define KEYCTL_UNLINK 9 /* unlink a key from a keyring */
-#define KEYCTL_SEARCH 10 /* search for a key in a keyring */
-#define KEYCTL_READ 11 /* read a key or keyring's contents */
+#define KEYCTL_GET_KEYRING_ID 0 /* ask for a keyring's ID */
+#define KEYCTL_JOIN_SESSION_KEYRING \
+ 1 /* join or start named session keyring \
+ */
+#define KEYCTL_UPDATE 2 /* update a key */
+#define KEYCTL_REVOKE 3 /* revoke a key */
+#define KEYCTL_CHOWN 4 /* set ownership of a key */
+#define KEYCTL_SETPERM 5 /* set perms on a key */
+#define KEYCTL_DESCRIBE 6 /* describe a key */
+#define KEYCTL_CLEAR 7 /* clear contents of a keyring */
+#define KEYCTL_LINK 8 /* link a key into a keyring */
+#define KEYCTL_UNLINK 9 /* unlink a key from a keyring */
+#define KEYCTL_SEARCH 10 /* search for a key in a keyring */
+#define KEYCTL_READ 11 /* read a key or keyring's contents */
#define KEYCTL_INSTANTIATE 12 /* instantiate a partially constructed key */
#define KEYCTL_NEGATE 13 /* negate a partially constructed key */
#define KEYCTL_SET_REQKEY_KEYRING 14 /* set default request-key keyring */
@@ -62,18 +66,19 @@
#define KEYCTL_ASSUME_AUTHORITY 16 /* assume request_key() authorisation */
#define KEYCTL_GET_SECURITY 17 /* get key security label */
#define KEYCTL_SESSION_TO_PARENT \
- 18 /* apply session keyring to parent process */
-#define KEYCTL_REJECT 19 /* reject a partially constructed key */
-#define KEYCTL_INSTANTIATE_IOV 20 /* instantiate a partially constructed key \
- */
-#define KEYCTL_INVALIDATE 21 /* invalidate a key */
-#define KEYCTL_GET_PERSISTENT 22 /* get a user's persistent keyring */
-#define KEYCTL_DH_COMPUTE 23 /* Compute Diffie-Hellman values */
-#define KEYCTL_PKEY_QUERY 24 /* Query public key parameters */
-#define KEYCTL_PKEY_ENCRYPT 25 /* Encrypt a blob using a public key */
-#define KEYCTL_PKEY_DECRYPT 26 /* Decrypt a blob using a public key */
-#define KEYCTL_PKEY_SIGN 27 /* Create a public key signature */
-#define KEYCTL_PKEY_VERIFY 28 /* Verify a public key signature */
+ 18 /* apply session keyring to parent process */
+#define KEYCTL_REJECT 19 /* reject a partially constructed key */
+#define KEYCTL_INSTANTIATE_IOV \
+ 20 /* instantiate a partially constructed key \
+ */
+#define KEYCTL_INVALIDATE 21 /* invalidate a key */
+#define KEYCTL_GET_PERSISTENT 22 /* get a user's persistent keyring */
+#define KEYCTL_DH_COMPUTE 23 /* Compute Diffie-Hellman values */
+#define KEYCTL_PKEY_QUERY 24 /* Query public key parameters */
+#define KEYCTL_PKEY_ENCRYPT 25 /* Encrypt a blob using a public key */
+#define KEYCTL_PKEY_DECRYPT 26 /* Decrypt a blob using a public key */
+#define KEYCTL_PKEY_SIGN 27 /* Create a public key signature */
+#define KEYCTL_PKEY_VERIFY 28 /* Verify a public key signature */
#define KEYCTL_RESTRICT_KEYRING \
29 /* Restrict keys allowed to link to a keyring */
#define KEYCTL_MOVE 30 /* Move keys between keyrings */
@@ -130,9 +135,10 @@ struct keyctl_pkey_params {
* Capabilities flags. The capabilities list is an array of 8-bit integers;
* each integer can carry up to 8 flags.
*/
-#define KEYCTL_CAPS0_CAPABILITIES 0x01 /* KEYCTL_CAPABILITIES supported */
-#define KEYCTL_CAPS0_PERSISTENT_KEYRINGS 0x02 /* Persistent keyrings enabled \
- */
+#define KEYCTL_CAPS0_CAPABILITIES 0x01 /* KEYCTL_CAPABILITIES supported */
+#define KEYCTL_CAPS0_PERSISTENT_KEYRINGS \
+ 0x02 /* Persistent keyrings enabled \
+ */
#define KEYCTL_CAPS0_DIFFIE_HELLMAN \
0x04 /* Diffie-Hellman computation enabled */
#define KEYCTL_CAPS0_PUBLIC_KEY 0x08 /* Public key ops enabled */
diff --git a/include/arch/x86_64/linux/magic.h b/include/arch/x86_64/linux/magic.h
index 6ef2a2b2..fe3f04ac 100644
--- a/include/arch/x86_64/linux/magic.h
+++ b/include/arch/x86_64/linux/magic.h
@@ -9,8 +9,9 @@
#define CEPH_SUPER_MAGIC 0x00c36400
#define CODA_SUPER_MAGIC 0x73757245
#define CRAMFS_MAGIC 0x28cd3d45 /* some random number */
-#define CRAMFS_MAGIC_WEND 0x453dcd28 /* magic number with the wrong endianess \
- */
+#define CRAMFS_MAGIC_WEND \
+ 0x453dcd28 /* magic number with the wrong endianess \
+ */
#define DEBUGFS_MAGIC 0x64626720
#define SECURITYFS_MAGIC 0x73636673
#define SELINUX_MAGIC 0xf97cff8c
diff --git a/include/arch/x86_64/linux/mdio.h b/include/arch/x86_64/linux/mdio.h
index 77c5bc00..a05b1eac 100644
--- a/include/arch/x86_64/linux/mdio.h
+++ b/include/arch/x86_64/linux/mdio.h
@@ -354,15 +354,17 @@
/* BASE-T1 auto-negotiation advertisement register [15:0] */
#define MDIO_AN_T1_ADV_L_PAUSE_CAP ADVERTISE_PAUSE_CAP
#define MDIO_AN_T1_ADV_L_PAUSE_ASYM ADVERTISE_PAUSE_ASYM
-#define MDIO_AN_T1_ADV_L_FORCE_MS 0x1000 /* Force Master/slave Configuration \
- */
+#define MDIO_AN_T1_ADV_L_FORCE_MS \
+ 0x1000 /* Force Master/slave Configuration \
+ */
#define MDIO_AN_T1_ADV_L_REMOTE_FAULT ADVERTISE_RFAULT
#define MDIO_AN_T1_ADV_L_ACK ADVERTISE_LPACK
#define MDIO_AN_T1_ADV_L_NEXT_PAGE_REQ ADVERTISE_NPAGE
/* BASE-T1 auto-negotiation advertisement register [31:16] */
-#define MDIO_AN_T1_ADV_M_B10L 0x4000 /* device is compatible with 10BASE-T1L \
- */
+#define MDIO_AN_T1_ADV_M_B10L \
+ 0x4000 /* device is compatible with 10BASE-T1L \
+ */
#define MDIO_AN_T1_ADV_M_1000BT1 0x0080 /* advertise 1000BASE-T1 */
#define MDIO_AN_T1_ADV_M_100BT1 0x0020 /* advertise 100BASE-T1 */
#define MDIO_AN_T1_ADV_M_MST 0x0010 /* advertise master preference */
diff --git a/include/arch/x86_64/linux/mount.h b/include/arch/x86_64/linux/mount.h
index 8e6ac41d..4baac606 100644
--- a/include/arch/x86_64/linux/mount.h
+++ b/include/arch/x86_64/linux/mount.h
@@ -68,8 +68,9 @@
/*
* move_mount() flags.
*/
-#define MOVE_MOUNT_F_SYMLINKS 0x00000001 /* Follow symlinks on from path */
-#define MOVE_MOUNT_F_AUTOMOUNTS 0x00000002 /* Follow automounts on from path \
+#define MOVE_MOUNT_F_SYMLINKS 0x00000001 /* Follow symlinks on from path */
+#define MOVE_MOUNT_F_AUTOMOUNTS \
+ 0x00000002 /* Follow automounts on from path \
*/
#define MOVE_MOUNT_F_EMPTY_PATH 0x00000004 /* Empty from path permitted */
#define MOVE_MOUNT_T_SYMLINKS 0x00000010 /* Follow symlinks on to path */
@@ -234,10 +235,11 @@ struct mnt_id_req {
#define STATMOUNT_SB_SOURCE 0x00000200U /* Want/got sb_source */
#define STATMOUNT_OPT_ARRAY 0x00000400U /* Want/got opt_... */
#define STATMOUNT_OPT_SEC_ARRAY 0x00000800U /* Want/got opt_sec... */
-#define STATMOUNT_SUPPORTED_MASK 0x00001000U /* Want/got supported mask flags \
- */
-#define STATMOUNT_MNT_UIDMAP 0x00002000U /* Want/got uidmap... */
-#define STATMOUNT_MNT_GIDMAP 0x00004000U /* Want/got gidmap... */
+#define STATMOUNT_SUPPORTED_MASK \
+ 0x00001000U /* Want/got supported mask flags \
+ */
+#define STATMOUNT_MNT_UIDMAP 0x00002000U /* Want/got uidmap... */
+#define STATMOUNT_MNT_GIDMAP 0x00004000U /* Want/got gidmap... */
/*
* Special @mnt_id values that can be passed to listmount
diff --git a/include/arch/x86_64/linux/mroute.h b/include/arch/x86_64/linux/mroute.h
index 40bd575e..df833684 100644
--- a/include/arch/x86_64/linux/mroute.h
+++ b/include/arch/x86_64/linux/mroute.h
@@ -19,11 +19,13 @@
#define MRT_INIT (MRT_BASE) /* Activate the kernel mroute code */
#define MRT_DONE (MRT_BASE + 1) /* Shutdown the kernel mroute */
#define MRT_ADD_VIF (MRT_BASE + 2) /* Add a virtual interface */
-#define MRT_DEL_VIF (MRT_BASE + 3) /* Delete a virtual interface \
+#define MRT_DEL_VIF \
+ (MRT_BASE + 3) /* Delete a virtual interface \
*/
#define MRT_ADD_MFC (MRT_BASE + 4) /* Add a multicast forwarding entry */
-#define MRT_DEL_MFC (MRT_BASE + 5) /* Delete a multicast forwarding entry \
- */
+#define MRT_DEL_MFC \
+ (MRT_BASE + 5) /* Delete a multicast forwarding entry \
+ */
#define MRT_VERSION (MRT_BASE + 6) /* Get the kernel multicast version */
#define MRT_ASSERT (MRT_BASE + 7) /* Activate PIM assert mode */
#define MRT_PIM (MRT_BASE + 8) /* enable PIM code */
diff --git a/include/arch/x86_64/linux/mroute6.h b/include/arch/x86_64/linux/mroute6.h
index 195627c5..262f1e10 100644
--- a/include/arch/x86_64/linux/mroute6.h
+++ b/include/arch/x86_64/linux/mroute6.h
@@ -22,21 +22,26 @@
#define MRT6_INIT (MRT6_BASE) /* Activate the kernel mroute code */
#define MRT6_DONE (MRT6_BASE + 1) /* Shutdown the kernel mroute */
#define MRT6_ADD_MIF (MRT6_BASE + 2) /* Add a virtual interface */
-#define MRT6_DEL_MIF (MRT6_BASE + 3) /* Delete a virtual interface \
- */
-#define MRT6_ADD_MFC (MRT6_BASE + 4) /* Add a multicast forwarding entry \
- */
-#define MRT6_DEL_MFC (MRT6_BASE + 5) /* Delete a multicast forwarding entry \
- */
-#define MRT6_VERSION (MRT6_BASE + 6) /* Get the kernel multicast version \
- */
-#define MRT6_ASSERT (MRT6_BASE + 7) /* Activate PIM assert mode */
-#define MRT6_PIM (MRT6_BASE + 8) /* enable PIM code */
-#define MRT6_TABLE (MRT6_BASE + 9) /* Specify mroute table ID */
+#define MRT6_DEL_MIF \
+ (MRT6_BASE + 3) /* Delete a virtual interface \
+ */
+#define MRT6_ADD_MFC \
+ (MRT6_BASE + 4) /* Add a multicast forwarding entry \
+ */
+#define MRT6_DEL_MFC \
+ (MRT6_BASE + 5) /* Delete a multicast forwarding entry \
+ */
+#define MRT6_VERSION \
+ (MRT6_BASE + 6) /* Get the kernel multicast version \
+ */
+#define MRT6_ASSERT (MRT6_BASE + 7) /* Activate PIM assert mode */
+#define MRT6_PIM (MRT6_BASE + 8) /* enable PIM code */
+#define MRT6_TABLE (MRT6_BASE + 9) /* Specify mroute table ID */
#define MRT6_ADD_MFC_PROXY (MRT6_BASE + 10) /* Add a (*,*|G) mfc entry */
#define MRT6_DEL_MFC_PROXY (MRT6_BASE + 11) /* Del a (*,*|G) mfc entry */
-#define MRT6_FLUSH (MRT6_BASE + 12) /* Flush all mfc entries and/or vifs \
- */
+#define MRT6_FLUSH \
+ (MRT6_BASE + 12) /* Flush all mfc entries and/or vifs \
+ */
#define MRT6_MAX (MRT6_BASE + 12)
#define SIOCGETMIFCNT_IN6 SIOCPROTOPRIVATE /* IP protocol privates */
diff --git a/include/arch/x86_64/linux/msg.h b/include/arch/x86_64/linux/msg.h
index f82b27eb..11769746 100644
--- a/include/arch/x86_64/linux/msg.h
+++ b/include/arch/x86_64/linux/msg.h
@@ -74,10 +74,11 @@ struct msginfo {
* the queue. This is also an arbitrary choice (since 2.6.0).
*/
-#define MSGMNI 32000 /* <= IPCMNI */ /* max # of msg queue identifiers */
-#define MSGMAX 8192 /* <= INT_MAX */ /* max size of message (bytes) */
-#define MSGMNB 16384 /* <= INT_MAX */ /* default max size of a message queue \
- */
+#define MSGMNI 32000 /* <= IPCMNI */ /* max # of msg queue identifiers */
+#define MSGMAX 8192 /* <= INT_MAX */ /* max size of message (bytes) */
+#define MSGMNB \
+ 16384 /* <= INT_MAX */ /* default max size of a message queue \
+ */
/* unused */
#define MSGPOOL (MSGMNI * MSGMNB / 1024) /* size in kbytes of message pool */
diff --git a/include/arch/x86_64/linux/netfilter_bridge/ebt_log.h b/include/arch/x86_64/linux/netfilter_bridge/ebt_log.h
index 9d225848..6f3ad507 100644
--- a/include/arch/x86_64/linux/netfilter_bridge/ebt_log.h
+++ b/include/arch/x86_64/linux/netfilter_bridge/ebt_log.h
@@ -4,8 +4,9 @@
#include <linux/types.h>
-#define EBT_LOG_IP 0x01 /* if the frame is made by ip, log the ip information \
- */
+#define EBT_LOG_IP \
+ 0x01 /* if the frame is made by ip, log the ip information \
+ */
#define EBT_LOG_ARP 0x02
#define EBT_LOG_NFLOG 0x04
#define EBT_LOG_IP6 0x08
diff --git a/include/arch/x86_64/linux/netlink.h b/include/arch/x86_64/linux/netlink.h
index ccf100fa..a740fb7c 100644
--- a/include/arch/x86_64/linux/netlink.h
+++ b/include/arch/x86_64/linux/netlink.h
@@ -6,11 +6,12 @@
#include <linux/socket.h> /* for __kernel_sa_family_t */
#include <linux/types.h>
-#define NETLINK_ROUTE 0 /* Routing/device hook */
-#define NETLINK_UNUSED 1 /* Unused number */
-#define NETLINK_USERSOCK 2 /* Reserved for user mode socket protocols */
-#define NETLINK_FIREWALL 3 /* Unused number, formerly ip_queue */
-#define NETLINK_SOCK_DIAG 4 /* socket monitoring \
+#define NETLINK_ROUTE 0 /* Routing/device hook */
+#define NETLINK_UNUSED 1 /* Unused number */
+#define NETLINK_USERSOCK 2 /* Reserved for user mode socket protocols */
+#define NETLINK_FIREWALL 3 /* Unused number, formerly ip_queue */
+#define NETLINK_SOCK_DIAG \
+ 4 /* socket monitoring \
*/
#define NETLINK_NFLOG 5 /* netfilter/iptables ULOG */
#define NETLINK_XFRM 6 /* ipsec */
@@ -60,12 +61,13 @@ struct nlmsghdr {
/* Flags values */
-#define NLM_F_REQUEST 0x01 /* It is request message. */
-#define NLM_F_MULTI 0x02 /* Multipart message, terminated by NLMSG_DONE */
-#define NLM_F_ACK 0x04 /* Reply with ack, with zero or error code */
-#define NLM_F_ECHO 0x08 /* Receive resulting notifications */
-#define NLM_F_DUMP_INTR 0x10 /* Dump was inconsistent due to sequence change \
- */
+#define NLM_F_REQUEST 0x01 /* It is request message. */
+#define NLM_F_MULTI 0x02 /* Multipart message, terminated by NLMSG_DONE */
+#define NLM_F_ACK 0x04 /* Reply with ack, with zero or error code */
+#define NLM_F_ECHO 0x08 /* Receive resulting notifications */
+#define NLM_F_DUMP_INTR \
+ 0x10 /* Dump was inconsistent due to sequence change \
+ */
#define NLM_F_DUMP_FILTERED 0x20 /* Dump was filtered as requested */
/* Modifiers to GET request */
diff --git a/include/arch/x86_64/linux/pci_regs.h b/include/arch/x86_64/linux/pci_regs.h
index b584007f..69e48abb 100644
--- a/include/arch/x86_64/linux/pci_regs.h
+++ b/include/arch/x86_64/linux/pci_regs.h
@@ -150,8 +150,9 @@
#define PCI_PREF_RANGE_TYPE_32 0x00
#define PCI_PREF_RANGE_TYPE_64 0x01
#define PCI_PREF_RANGE_MASK (~0x0fUL)
-#define PCI_PREF_BASE_UPPER32 0x28 /* Upper half of prefetchable memory range \
- */
+#define PCI_PREF_BASE_UPPER32 \
+ 0x28 /* Upper half of prefetchable memory range \
+ */
#define PCI_PREF_LIMIT_UPPER32 0x2c
#define PCI_IO_BASE_UPPER16 0x30 /* Upper half of I/O addresses */
#define PCI_IO_LIMIT_UPPER16 0x32
@@ -200,8 +201,9 @@
#define PCI_CB_BRIDGE_CTL_VGA 0x08
#define PCI_CB_BRIDGE_CTL_MASTER_ABORT 0x20
#define PCI_CB_BRIDGE_CTL_CB_RESET 0x40 /* CardBus reset */
-#define PCI_CB_BRIDGE_CTL_16BIT_INT 0x80 /* Enable interrupt for 16-bit cards \
- */
+#define PCI_CB_BRIDGE_CTL_16BIT_INT \
+ 0x80 /* Enable interrupt for 16-bit cards \
+ */
#define PCI_CB_BRIDGE_CTL_PREFETCH_MEM0 \
0x100 /* Prefetch enable for both memory regions */
#define PCI_CB_BRIDGE_CTL_PREFETCH_MEM1 0x200
@@ -285,10 +287,11 @@
#define PCI_AGP_STATUS_RATE1 0x0001 /* 1x transfer rate supported */
#define PCI_AGP_COMMAND 8 /* Control register */
#define PCI_AGP_COMMAND_RQ_MASK \
- 0xff000000 /* Master: Maximum number of requests */
-#define PCI_AGP_COMMAND_SBA 0x0200 /* Sideband addressing enabled */
-#define PCI_AGP_COMMAND_AGP 0x0100 /* Allow processing of AGP transactions */
-#define PCI_AGP_COMMAND_64BIT 0x0020 /* Allow processing of 64-bit addresses \
+ 0xff000000 /* Master: Maximum number of requests */
+#define PCI_AGP_COMMAND_SBA 0x0200 /* Sideband addressing enabled */
+#define PCI_AGP_COMMAND_AGP 0x0100 /* Allow processing of AGP transactions */
+#define PCI_AGP_COMMAND_64BIT \
+ 0x0020 /* Allow processing of 64-bit addresses \
*/
#define PCI_AGP_COMMAND_FW 0x0010 /* Force FW transfers */
#define PCI_AGP_COMMAND_RATE4 0x0004 /* Use 4x rate */
@@ -321,14 +324,15 @@
#define PCI_MSI_FLAGS_MASKBIT 0x0100 /* Per-vector masking capable */
#define PCI_MSI_RFU 3 /* Rest of capability flags */
#define PCI_MSI_ADDRESS_LO 0x04 /* Lower 32 bits */
-#define PCI_MSI_ADDRESS_HI 0x08 /* Upper 32 bits (if PCI_MSI_FLAGS_64BIT set) \
- */
-#define PCI_MSI_DATA_32 0x08 /* 16 bits of data for 32-bit devices */
-#define PCI_MSI_MASK_32 0x0c /* Mask bits register for 32-bit devices */
-#define PCI_MSI_PENDING_32 0x10 /* Pending intrs for 32-bit devices */
-#define PCI_MSI_DATA_64 0x0c /* 16 bits of data for 64-bit devices */
-#define PCI_MSI_MASK_64 0x10 /* Mask bits register for 64-bit devices */
-#define PCI_MSI_PENDING_64 0x14 /* Pending intrs for 64-bit devices */
+#define PCI_MSI_ADDRESS_HI \
+ 0x08 /* Upper 32 bits (if PCI_MSI_FLAGS_64BIT set) \
+ */
+#define PCI_MSI_DATA_32 0x08 /* 16 bits of data for 32-bit devices */
+#define PCI_MSI_MASK_32 0x0c /* Mask bits register for 32-bit devices */
+#define PCI_MSI_PENDING_32 0x10 /* Pending intrs for 32-bit devices */
+#define PCI_MSI_DATA_64 0x0c /* 16 bits of data for 64-bit devices */
+#define PCI_MSI_MASK_64 0x10 /* Mask bits register for 64-bit devices */
+#define PCI_MSI_PENDING_64 0x14 /* Pending intrs for 64-bit devices */
/* MSI-X registers (in MSI-X capability) */
#define PCI_MSIX_FLAGS 2 /* Message Control */
@@ -454,7 +458,8 @@
#define PCI_X_STATUS_MAX_READ 0x00600000 /* Designed Max Memory Read Count */
#define PCI_X_STATUS_MAX_SPLIT \
0x03800000 /* Designed Max Outstanding Split Transactions */
-#define PCI_X_STATUS_MAX_CUM 0x1c000000 /* Designed Max Cumulative Read Size \
+#define PCI_X_STATUS_MAX_CUM \
+ 0x1c000000 /* Designed Max Cumulative Read Size \
*/
#define PCI_X_STATUS_SPL_ERR 0x20000000 /* Rcvd Split Completion Error Msg */
#define PCI_X_STATUS_266MHZ 0x40000000 /* 266 MHz capable */
@@ -585,39 +590,41 @@
0x0400 /* Link Bandwidth Management Interrupt Enable */
#define PCI_EXP_LNKCTL_LABIE \
0x0800 /* Link Autonomous Bandwidth Interrupt Enable */
-#define PCI_EXP_LNKSTA 0x12 /* Link Status */
-#define PCI_EXP_LNKSTA_CLS 0x000f /* Current Link Speed */
-#define PCI_EXP_LNKSTA_CLS_2_5GB 0x0001 /* Current Link Speed 2.5GT/s */
-#define PCI_EXP_LNKSTA_CLS_5_0GB 0x0002 /* Current Link Speed 5.0GT/s */
-#define PCI_EXP_LNKSTA_CLS_8_0GB 0x0003 /* Current Link Speed 8.0GT/s */
-#define PCI_EXP_LNKSTA_CLS_16_0GB 0x0004 /* Current Link Speed 16.0GT/s */
-#define PCI_EXP_LNKSTA_CLS_32_0GB 0x0005 /* Current Link Speed 32.0GT/s */
-#define PCI_EXP_LNKSTA_CLS_64_0GB 0x0006 /* Current Link Speed 64.0GT/s */
-#define PCI_EXP_LNKSTA_NLW 0x03f0 /* Negotiated Link Width */
-#define PCI_EXP_LNKSTA_NLW_X1 0x0010 /* Current Link Width x1 */
-#define PCI_EXP_LNKSTA_NLW_X2 0x0020 /* Current Link Width x2 */
-#define PCI_EXP_LNKSTA_NLW_X4 0x0040 /* Current Link Width x4 */
-#define PCI_EXP_LNKSTA_NLW_X8 0x0080 /* Current Link Width x8 */
-#define PCI_EXP_LNKSTA_NLW_SHIFT 4 /* start of NLW mask in link status */
-#define PCI_EXP_LNKSTA_LT 0x0800 /* Link Training */
-#define PCI_EXP_LNKSTA_SLC 0x1000 /* Slot Clock Configuration */
-#define PCI_EXP_LNKSTA_DLLLA 0x2000 /* Data Link Layer Link Active */
-#define PCI_EXP_LNKSTA_LBMS 0x4000 /* Link Bandwidth Management Status */
-#define PCI_EXP_LNKSTA_LABS 0x8000 /* Link Autonomous Bandwidth Status */
-#define PCI_CAP_EXP_ENDPOINT_SIZEOF_V1 20 /* v1 endpoints with link end here \
- */
-#define PCI_EXP_SLTCAP 0x14 /* Slot Capabilities */
-#define PCI_EXP_SLTCAP_ABP 0x00000001 /* Attention Button Present */
-#define PCI_EXP_SLTCAP_PCP 0x00000002 /* Power Controller Present */
-#define PCI_EXP_SLTCAP_MRLSP 0x00000004 /* MRL Sensor Present */
-#define PCI_EXP_SLTCAP_AIP 0x00000008 /* Attention Indicator Present */
-#define PCI_EXP_SLTCAP_PIP 0x00000010 /* Power Indicator Present */
-#define PCI_EXP_SLTCAP_HPS 0x00000020 /* Hot-Plug Surprise */
-#define PCI_EXP_SLTCAP_HPC 0x00000040 /* Hot-Plug Capable */
-#define PCI_EXP_SLTCAP_SPLV 0x00007f80 /* Slot Power Limit Value */
-#define PCI_EXP_SLTCAP_SPLS 0x00018000 /* Slot Power Limit Scale */
-#define PCI_EXP_SLTCAP_EIP 0x00020000 /* Electromechanical Interlock Present \
+#define PCI_EXP_LNKSTA 0x12 /* Link Status */
+#define PCI_EXP_LNKSTA_CLS 0x000f /* Current Link Speed */
+#define PCI_EXP_LNKSTA_CLS_2_5GB 0x0001 /* Current Link Speed 2.5GT/s */
+#define PCI_EXP_LNKSTA_CLS_5_0GB 0x0002 /* Current Link Speed 5.0GT/s */
+#define PCI_EXP_LNKSTA_CLS_8_0GB 0x0003 /* Current Link Speed 8.0GT/s */
+#define PCI_EXP_LNKSTA_CLS_16_0GB 0x0004 /* Current Link Speed 16.0GT/s */
+#define PCI_EXP_LNKSTA_CLS_32_0GB 0x0005 /* Current Link Speed 32.0GT/s */
+#define PCI_EXP_LNKSTA_CLS_64_0GB 0x0006 /* Current Link Speed 64.0GT/s */
+#define PCI_EXP_LNKSTA_NLW 0x03f0 /* Negotiated Link Width */
+#define PCI_EXP_LNKSTA_NLW_X1 0x0010 /* Current Link Width x1 */
+#define PCI_EXP_LNKSTA_NLW_X2 0x0020 /* Current Link Width x2 */
+#define PCI_EXP_LNKSTA_NLW_X4 0x0040 /* Current Link Width x4 */
+#define PCI_EXP_LNKSTA_NLW_X8 0x0080 /* Current Link Width x8 */
+#define PCI_EXP_LNKSTA_NLW_SHIFT 4 /* start of NLW mask in link status */
+#define PCI_EXP_LNKSTA_LT 0x0800 /* Link Training */
+#define PCI_EXP_LNKSTA_SLC 0x1000 /* Slot Clock Configuration */
+#define PCI_EXP_LNKSTA_DLLLA 0x2000 /* Data Link Layer Link Active */
+#define PCI_EXP_LNKSTA_LBMS 0x4000 /* Link Bandwidth Management Status */
+#define PCI_EXP_LNKSTA_LABS 0x8000 /* Link Autonomous Bandwidth Status */
+#define PCI_CAP_EXP_ENDPOINT_SIZEOF_V1 \
+ 20 /* v1 endpoints with link end here \
*/
+#define PCI_EXP_SLTCAP 0x14 /* Slot Capabilities */
+#define PCI_EXP_SLTCAP_ABP 0x00000001 /* Attention Button Present */
+#define PCI_EXP_SLTCAP_PCP 0x00000002 /* Power Controller Present */
+#define PCI_EXP_SLTCAP_MRLSP 0x00000004 /* MRL Sensor Present */
+#define PCI_EXP_SLTCAP_AIP 0x00000008 /* Attention Indicator Present */
+#define PCI_EXP_SLTCAP_PIP 0x00000010 /* Power Indicator Present */
+#define PCI_EXP_SLTCAP_HPS 0x00000020 /* Hot-Plug Surprise */
+#define PCI_EXP_SLTCAP_HPC 0x00000040 /* Hot-Plug Capable */
+#define PCI_EXP_SLTCAP_SPLV 0x00007f80 /* Slot Power Limit Value */
+#define PCI_EXP_SLTCAP_SPLS 0x00018000 /* Slot Power Limit Scale */
+#define PCI_EXP_SLTCAP_EIP \
+ 0x00020000 /* Electromechanical Interlock Present \
+ */
#define PCI_EXP_SLTCAP_NCCS 0x00040000 /* No Command Completed Support */
#define PCI_EXP_SLTCAP_PSN 0xfff80000 /* Physical Slot Number */
#define PCI_EXP_SLTCTL 0x18 /* Slot Control */
@@ -630,19 +637,21 @@
#define PCI_EXP_SLTCTL_AIC 0x00c0 /* Attention Indicator Control */
#define PCI_EXP_SLTCTL_ATTN_IND_SHIFT 6 /* Attention Indicator shift */
#define PCI_EXP_SLTCTL_ATTN_IND_ON 0x0040 /* Attention Indicator on */
-#define PCI_EXP_SLTCTL_ATTN_IND_BLINK 0x0080 /* Attention Indicator blinking \
- */
-#define PCI_EXP_SLTCTL_ATTN_IND_OFF 0x00c0 /* Attention Indicator off */
-#define PCI_EXP_SLTCTL_PIC 0x0300 /* Power Indicator Control */
-#define PCI_EXP_SLTCTL_PWR_IND_ON 0x0100 /* Power Indicator on */
-#define PCI_EXP_SLTCTL_PWR_IND_BLINK 0x0200 /* Power Indicator blinking */
-#define PCI_EXP_SLTCTL_PWR_IND_OFF 0x0300 /* Power Indicator off */
-#define PCI_EXP_SLTCTL_PCC 0x0400 /* Power Controller Control */
-#define PCI_EXP_SLTCTL_PWR_ON 0x0000 /* Power On */
-#define PCI_EXP_SLTCTL_PWR_OFF 0x0400 /* Power Off */
-#define PCI_EXP_SLTCTL_EIC 0x0800 /* Electromechanical Interlock Control */
-#define PCI_EXP_SLTCTL_DLLSCE 0x1000 /* Data Link Layer State Changed Enable \
+#define PCI_EXP_SLTCTL_ATTN_IND_BLINK \
+ 0x0080 /* Attention Indicator blinking \
*/
+#define PCI_EXP_SLTCTL_ATTN_IND_OFF 0x00c0 /* Attention Indicator off */
+#define PCI_EXP_SLTCTL_PIC 0x0300 /* Power Indicator Control */
+#define PCI_EXP_SLTCTL_PWR_IND_ON 0x0100 /* Power Indicator on */
+#define PCI_EXP_SLTCTL_PWR_IND_BLINK 0x0200 /* Power Indicator blinking */
+#define PCI_EXP_SLTCTL_PWR_IND_OFF 0x0300 /* Power Indicator off */
+#define PCI_EXP_SLTCTL_PCC 0x0400 /* Power Controller Control */
+#define PCI_EXP_SLTCTL_PWR_ON 0x0000 /* Power On */
+#define PCI_EXP_SLTCTL_PWR_OFF 0x0400 /* Power Off */
+#define PCI_EXP_SLTCTL_EIC 0x0800 /* Electromechanical Interlock Control */
+#define PCI_EXP_SLTCTL_DLLSCE \
+ 0x1000 /* Data Link Layer State Changed Enable \
+ */
#define PCI_EXP_SLTCTL_ASPL_DISABLE 0x2000 /* Auto Slot Power Limit Disable */
#define PCI_EXP_SLTCTL_IBPD_DISABLE 0x4000 /* In-band PD disable */
#define PCI_EXP_SLTSTA 0x1a /* Slot Status */
@@ -660,8 +669,9 @@
#define PCI_EXP_RTCTL_SENFEE 0x0002 /* System Error on Non-Fatal Error */
#define PCI_EXP_RTCTL_SEFEE 0x0004 /* System Error on Fatal Error */
#define PCI_EXP_RTCTL_PMEIE 0x0008 /* PME Interrupt Enable */
-#define PCI_EXP_RTCTL_RRS_SVE 0x0010 /* Config RRS Software Visibility Enable \
- */
+#define PCI_EXP_RTCTL_RRS_SVE \
+ 0x0010 /* Config RRS Software Visibility Enable \
+ */
#define PCI_EXP_RTCTL_CRSSVE PCI_EXP_RTCTL_RRS_SVE /* compatibility */
#define PCI_EXP_RTCAP 0x1e /* Root Capabilities */
#define PCI_EXP_RTCAP_RRS_SV 0x0001 /* Config RRS Software Visibility */
@@ -681,19 +691,21 @@
#define PCI_EXP_DEVCAP2 0x24 /* Device Capabilities 2 */
#define PCI_EXP_DEVCAP2_COMP_TMOUT_DIS \
0x00000010 /* Completion Timeout Disable supported */
-#define PCI_EXP_DEVCAP2_ARI 0x00000020 /* Alternative Routing-ID */
-#define PCI_EXP_DEVCAP2_ATOMIC_ROUTE 0x00000040 /* Atomic Op routing */
-#define PCI_EXP_DEVCAP2_ATOMIC_COMP32 0x00000080 /* 32b AtomicOp completion */
-#define PCI_EXP_DEVCAP2_ATOMIC_COMP64 0x00000100 /* 64b AtomicOp completion */
-#define PCI_EXP_DEVCAP2_ATOMIC_COMP128 0x00000200 /* 128b AtomicOp completion \
- */
+#define PCI_EXP_DEVCAP2_ARI 0x00000020 /* Alternative Routing-ID */
+#define PCI_EXP_DEVCAP2_ATOMIC_ROUTE 0x00000040 /* Atomic Op routing */
+#define PCI_EXP_DEVCAP2_ATOMIC_COMP32 0x00000080 /* 32b AtomicOp completion */
+#define PCI_EXP_DEVCAP2_ATOMIC_COMP64 0x00000100 /* 64b AtomicOp completion */
+#define PCI_EXP_DEVCAP2_ATOMIC_COMP128 \
+ 0x00000200 /* 128b AtomicOp completion \
+ */
#define PCI_EXP_DEVCAP2_LTR 0x00000800 /* Latency tolerance reporting */
-#define PCI_EXP_DEVCAP2_TPH_COMP_MASK 0x00003000 /* TPH completer support */
-#define PCI_EXP_DEVCAP2_OBFF_MASK 0x000c0000 /* OBFF support mechanism */
-#define PCI_EXP_DEVCAP2_OBFF_MSG 0x00040000 /* New message signaling */
-#define PCI_EXP_DEVCAP2_OBFF_WAKE 0x00080000 /* Re-use WAKE# for OBFF */
-#define PCI_EXP_DEVCAP2_EE_PREFIX 0x00200000 /* End-End TLP Prefix */
-#define PCI_EXP_DEVCAP2_EE_PREFIX_MAX 0x00c00000 /* Max End-End TLP Prefixes \
+#define PCI_EXP_DEVCAP2_TPH_COMP_MASK 0x00003000 /* TPH completer support */
+#define PCI_EXP_DEVCAP2_OBFF_MASK 0x000c0000 /* OBFF support mechanism */
+#define PCI_EXP_DEVCAP2_OBFF_MSG 0x00040000 /* New message signaling */
+#define PCI_EXP_DEVCAP2_OBFF_WAKE 0x00080000 /* Re-use WAKE# for OBFF */
+#define PCI_EXP_DEVCAP2_EE_PREFIX 0x00200000 /* End-End TLP Prefix */
+#define PCI_EXP_DEVCAP2_EE_PREFIX_MAX \
+ 0x00c00000 /* Max End-End TLP Prefixes \
*/
#define PCI_EXP_DEVCTL2 0x28 /* Device Control 2 */
#define PCI_EXP_DEVCTL2_COMP_TIMEOUT 0x000f /* Completion Timeout Value */
@@ -1157,24 +1169,27 @@
#define PCI_L1SS_CAP_L1_PM_SS 0x00000010 /* L1 PM Substates Supported */
#define PCI_L1SS_CAP_CM_RESTORE_TIME \
0x0000ff00 /* Port Common_Mode_Restore_Time */
-#define PCI_L1SS_CAP_P_PWR_ON_SCALE 0x00030000 /* Port T_POWER_ON scale */
-#define PCI_L1SS_CAP_P_PWR_ON_VALUE 0x00f80000 /* Port T_POWER_ON value */
-#define PCI_L1SS_CTL1 0x08 /* Control 1 Register */
-#define PCI_L1SS_CTL1_PCIPM_L1_2 0x00000001 /* PCI-PM L1.2 Enable */
-#define PCI_L1SS_CTL1_PCIPM_L1_1 0x00000002 /* PCI-PM L1.1 Enable */
-#define PCI_L1SS_CTL1_ASPM_L1_2 0x00000004 /* ASPM L1.2 Enable */
-#define PCI_L1SS_CTL1_ASPM_L1_1 0x00000008 /* ASPM L1.1 Enable */
-#define PCI_L1SS_CTL1_L1_2_MASK 0x00000005
-#define PCI_L1SS_CTL1_L1SS_MASK 0x0000000f
-#define PCI_L1SS_CTL1_CM_RESTORE_TIME 0x0000ff00 /* Common_Mode_Restore_Time \
- */
-#define PCI_L1SS_CTL1_LTR_L12_TH_VALUE 0x03ff0000 /* LTR_L1.2_THRESHOLD_Value \
- */
-#define PCI_L1SS_CTL1_LTR_L12_TH_SCALE 0xe0000000 /* LTR_L1.2_THRESHOLD_Scale \
- */
-#define PCI_L1SS_CTL2 0x0c /* Control 2 Register */
-#define PCI_L1SS_CTL2_T_PWR_ON_SCALE 0x00000003 /* T_POWER_ON Scale */
-#define PCI_L1SS_CTL2_T_PWR_ON_VALUE 0x000000f8 /* T_POWER_ON Value */
+#define PCI_L1SS_CAP_P_PWR_ON_SCALE 0x00030000 /* Port T_POWER_ON scale */
+#define PCI_L1SS_CAP_P_PWR_ON_VALUE 0x00f80000 /* Port T_POWER_ON value */
+#define PCI_L1SS_CTL1 0x08 /* Control 1 Register */
+#define PCI_L1SS_CTL1_PCIPM_L1_2 0x00000001 /* PCI-PM L1.2 Enable */
+#define PCI_L1SS_CTL1_PCIPM_L1_1 0x00000002 /* PCI-PM L1.1 Enable */
+#define PCI_L1SS_CTL1_ASPM_L1_2 0x00000004 /* ASPM L1.2 Enable */
+#define PCI_L1SS_CTL1_ASPM_L1_1 0x00000008 /* ASPM L1.1 Enable */
+#define PCI_L1SS_CTL1_L1_2_MASK 0x00000005
+#define PCI_L1SS_CTL1_L1SS_MASK 0x0000000f
+#define PCI_L1SS_CTL1_CM_RESTORE_TIME \
+ 0x0000ff00 /* Common_Mode_Restore_Time \
+ */
+#define PCI_L1SS_CTL1_LTR_L12_TH_VALUE \
+ 0x03ff0000 /* LTR_L1.2_THRESHOLD_Value \
+ */
+#define PCI_L1SS_CTL1_LTR_L12_TH_SCALE \
+ 0xe0000000 /* LTR_L1.2_THRESHOLD_Scale \
+ */
+#define PCI_L1SS_CTL2 0x0c /* Control 2 Register */
+#define PCI_L1SS_CTL2_T_PWR_ON_SCALE 0x00000003 /* T_POWER_ON Scale */
+#define PCI_L1SS_CTL2_T_PWR_ON_VALUE 0x000000f8 /* T_POWER_ON Value */
/* Designated Vendor-Specific (DVSEC, PCI_EXT_CAP_ID_DVSEC) */
#define PCI_DVSEC_HEADER1 0x4 /* Designated Vendor-Specific Header1 */
diff --git a/include/arch/x86_64/linux/perf_event.h b/include/arch/x86_64/linux/perf_event.h
index 92785018..8711e65f 100644
--- a/include/arch/x86_64/linux/perf_event.h
+++ b/include/arch/x86_64/linux/perf_event.h
@@ -1309,8 +1309,9 @@ enum perf_callchain_context {
/* CoreSight PMU AUX buffer formats */
#define PERF_AUX_FLAG_CORESIGHT_FORMAT_CORESIGHT \
0x0000 /* Default for backward compatibility */
-#define PERF_AUX_FLAG_CORESIGHT_FORMAT_RAW 0x0100 /* Raw format of the source \
- */
+#define PERF_AUX_FLAG_CORESIGHT_FORMAT_RAW \
+ 0x0100 /* Raw format of the source \
+ */
#define PERF_FLAG_FD_NO_GROUP (1UL << 0)
#define PERF_FLAG_FD_OUTPUT (1UL << 1)
diff --git a/include/arch/x86_64/linux/pidfd.h b/include/arch/x86_64/linux/pidfd.h
index cb92c2a3..0f91b663 100644
--- a/include/arch/x86_64/linux/pidfd.h
+++ b/include/arch/x86_64/linux/pidfd.h
@@ -17,9 +17,10 @@
#define PIDFD_SIGNAL_PROCESS_GROUP (1UL << 2)
/* Flags for pidfd_info. */
-#define PIDFD_INFO_PID (1UL << 0) /* Always returned, even if not requested */
-#define PIDFD_INFO_CREDS (1UL << 1) /* Always returned, even if not requested \
- */
+#define PIDFD_INFO_PID (1UL << 0) /* Always returned, even if not requested */
+#define PIDFD_INFO_CREDS \
+ (1UL << 1) /* Always returned, even if not requested \
+ */
#define PIDFD_INFO_CGROUPID \
(1UL << 2) /* Always returned if available, even if not requested */
#define PIDFD_INFO_EXIT (1UL << 3) /* Only returned if requested. */
@@ -35,8 +36,9 @@
* coredump should be treated as sensitive and access should only be
* granted to privileged users.
*/
-#define PIDFD_COREDUMPED (1U << 0) /* Did crash and... */
-#define PIDFD_COREDUMP_SKIP (1U << 1) /* coredumping generation was skipped. \
+#define PIDFD_COREDUMPED (1U << 0) /* Did crash and... */
+#define PIDFD_COREDUMP_SKIP \
+ (1U << 1) /* coredumping generation was skipped. \
*/
#define PIDFD_COREDUMP_USER (1U << 2) /* coredump was done as the user. */
#define PIDFD_COREDUMP_ROOT (1U << 3) /* coredump was done as root. */
diff --git a/include/arch/x86_64/linux/ppp-ioctl.h b/include/arch/x86_64/linux/ppp-ioctl.h
index 2b69f2a6..06d7c1f5 100644
--- a/include/arch/x86_64/linux/ppp-ioctl.h
+++ b/include/arch/x86_64/linux/ppp-ioctl.h
@@ -116,9 +116,10 @@ struct pppol2tp_ioc_stats {
#define PPPIOCATTCHAN _IOW('t', 56, int) /* attach to ppp channel */
#define PPPIOCGCHAN _IOR('t', 55, int) /* get ppp channel number */
#define PPPIOCGL2TPSTATS _IOR('t', 54, struct pppol2tp_ioc_stats)
-#define PPPIOCBRIDGECHAN _IOW('t', 53, int) /* bridge one channel to another \
- */
-#define PPPIOCUNBRIDGECHAN _IO('t', 52) /* unbridge channel */
+#define PPPIOCBRIDGECHAN \
+ _IOW('t', 53, int) /* bridge one channel to another \
+ */
+#define PPPIOCUNBRIDGECHAN _IO('t', 52) /* unbridge channel */
#define SIOCGPPPSTATS (SIOCDEVPRIVATE + 0)
#define SIOCGPPPVER (SIOCDEVPRIVATE + 1) /* NEVER change this!! */
diff --git a/include/arch/x86_64/linux/prctl.h b/include/arch/x86_64/linux/prctl.h
index 9981f034..2c2e38fc 100644
--- a/include/arch/x86_64/linux/prctl.h
+++ b/include/arch/x86_64/linux/prctl.h
@@ -28,8 +28,9 @@
#define PR_GET_FPEMU 9
#define PR_SET_FPEMU 10
#define PR_FPEMU_NOPRINT 1 /* silently emulate fp operations accesses */
-#define PR_FPEMU_SIGFPE 2 /* don't emulate fp operations, send SIGFPE instead \
- */
+#define PR_FPEMU_SIGFPE \
+ 2 /* don't emulate fp operations, send SIGFPE instead \
+ */
/* Get/set floating-point exception mode (if meaningful) */
#define PR_GET_FPEXC 11
@@ -332,7 +333,8 @@ struct prctl_mm_map {
#define PR_PPC_DEXCR_SBHE 0 /* Speculative branch hint enable */
#define PR_PPC_DEXCR_IBRTPD \
1 /* Indirect branch recurrent target prediction disable */
-#define PR_PPC_DEXCR_SRAPD 2 /* Subroutine return address prediction disable \
+#define PR_PPC_DEXCR_SRAPD \
+ 2 /* Subroutine return address prediction disable \
*/
#define PR_PPC_DEXCR_NPHIE 3 /* Non-privileged hash instruction enable */
/* Action to apply / return */
diff --git a/include/arch/x86_64/linux/rtc.h b/include/arch/x86_64/linux/rtc.h
index 4c30e4be..0f9c0d99 100644
--- a/include/arch/x86_64/linux/rtc.h
+++ b/include/arch/x86_64/linux/rtc.h
@@ -112,7 +112,8 @@ struct rtc_param {
#define RTC_PARAM_GET _IOW('p', 0x13, struct rtc_param) /* Get parameter */
#define RTC_PARAM_SET _IOW('p', 0x14, struct rtc_param) /* Set parameter */
-#define RTC_VL_DATA_INVALID _BITUL(0) /* Voltage too low, RTC data is invalid \
+#define RTC_VL_DATA_INVALID \
+ _BITUL(0) /* Voltage too low, RTC data is invalid \
*/
#define RTC_VL_BACKUP_LOW _BITUL(1) /* Backup voltage is low */
#define RTC_VL_BACKUP_EMPTY _BITUL(2) /* Backup empty or not present */
diff --git a/include/arch/x86_64/linux/rxrpc.h b/include/arch/x86_64/linux/rxrpc.h
index b09d56d7..dda19740 100644
--- a/include/arch/x86_64/linux/rxrpc.h
+++ b/include/arch/x86_64/linux/rxrpc.h
@@ -36,9 +36,10 @@ struct sockaddr_rxrpc {
3 /* Deprecated; use RXRPC_EXCLUSIVE_CALL instead */
#define RXRPC_MIN_SECURITY_LEVEL 4 /* minimum security level */
#define RXRPC_UPGRADEABLE_SERVICE 5 /* Upgrade service[0] -> service[1] */
-#define RXRPC_SUPPORTED_CMSG 6 /* Get highest supported control message type \
- */
-#define RXRPC_MANAGE_RESPONSE 7 /* [clnt] Want to manage RESPONSE packets */
+#define RXRPC_SUPPORTED_CMSG \
+ 6 /* Get highest supported control message type \
+ */
+#define RXRPC_MANAGE_RESPONSE 7 /* [clnt] Want to manage RESPONSE packets */
/*
* RxRPC control messages
@@ -118,9 +119,11 @@ enum rxrpc_cmsg_type {
* like "unsupported security", so we have to use these instead and hope the
* other side understands
*/
-#define RXKADINCONSISTENCY 19270400 /* security module structure inconsistent \
- */
-#define RXKADPACKETSHORT 19270401 /* packet too short for security challenge \
+#define RXKADINCONSISTENCY \
+ 19270400 /* security module structure inconsistent \
+ */
+#define RXKADPACKETSHORT \
+ 19270401 /* packet too short for security challenge \
*/
#define RXKADLEVELFAIL 19270402 /* security level negotiation failed */
#define RXKADTICKETLEN 19270403 /* ticket length too short or too long */
@@ -145,8 +148,9 @@ enum rxrpc_cmsg_type {
#define RXGK_PACKETSHORT \
1233242881 /* Packet too short for security challenge */
#define RXGK_BADCHALLENGE 1233242882 /* Invalid security challenge */
-#define RXGK_BADETYPE 1233242883 /* Invalid or impermissible encryption type \
- */
+#define RXGK_BADETYPE \
+ 1233242883 /* Invalid or impermissible encryption type \
+ */
#define RXGK_BADLEVEL 1233242884 /* Invalid or impermissible security level */
#define RXGK_BADKEYNO 1233242885 /* Key version number not found */
#define RXGK_EXPIRED 1233242886 /* Token has expired */
@@ -154,9 +158,10 @@ enum rxrpc_cmsg_type {
#define RXGK_BAD_TOKEN 1233242888 /* Security object was passed a bad token */
#define RXGK_SEALED_INCON 1233242889 /* Sealed data inconsistent */
#define RXGK_DATA_LEN 1233242890 /* User data too long */
-#define RXGK_BAD_QOP 1233242891 /* Inadequate quality of protection available \
- */
-#else /* Revised standard abort codes (used by YFS) */
+#define RXGK_BAD_QOP \
+ 1233242891 /* Inadequate quality of protection available \
+ */
+#else /* Revised standard abort codes (used by YFS) */
#define RXGK_INCONSISTENCY \
1233242880 /* Security module structure inconsistent */
#define RXGK_PACKETSHORT \
diff --git a/include/arch/x86_64/linux/scc.h b/include/arch/x86_64/linux/scc.h
index ac19e3ef..ce9c783b 100644
--- a/include/arch/x86_64/linux/scc.h
+++ b/include/arch/x86_64/linux/scc.h
@@ -87,7 +87,7 @@ enum CLOCK_sources {
CLK_DIVIDER, /* Rx = DPLL, Tx = divider (fullduplex with */
/* modems without clock regeneration */
CLK_BRG /* experimental fullduplex mode with DPLL/BRG for */
- /* MODEMs without clock recovery */
+ /* MODEMs without clock recovery */
};
/* Tx state */
diff --git a/include/arch/x86_64/linux/sched.h b/include/arch/x86_64/linux/sched.h
index 975f4a1d..8d0aaa11 100644
--- a/include/arch/x86_64/linux/sched.h
+++ b/include/arch/x86_64/linux/sched.h
@@ -7,11 +7,12 @@
/*
* cloning flags:
*/
-#define CSIGNAL 0x000000ff /* signal mask to be sent at exit */
-#define CLONE_VM 0x00000100 /* set if VM shared between processes */
-#define CLONE_FS 0x00000200 /* set if fs info shared between processes */
-#define CLONE_FILES 0x00000400 /* set if open files shared between processes \
- */
+#define CSIGNAL 0x000000ff /* signal mask to be sent at exit */
+#define CLONE_VM 0x00000100 /* set if VM shared between processes */
+#define CLONE_FS 0x00000200 /* set if fs info shared between processes */
+#define CLONE_FILES \
+ 0x00000400 /* set if open files shared between processes \
+ */
#define CLONE_SIGHAND \
0x00000800 /* set if signal handlers and blocked signals shared */
#define CLONE_PIDFD 0x00001000 /* set if a pidfd should be placed in parent */
diff --git a/include/arch/x86_64/linux/seccomp.h b/include/arch/x86_64/linux/seccomp.h
index 521798dc..fea448f5 100644
--- a/include/arch/x86_64/linux/seccomp.h
+++ b/include/arch/x86_64/linux/seccomp.h
@@ -118,8 +118,9 @@ struct seccomp_notif_resp {
/* valid flags for seccomp_notif_addfd */
#define SECCOMP_ADDFD_FLAG_SETFD (1UL << 0) /* Specify remote fd */
-#define SECCOMP_ADDFD_FLAG_SEND (1UL << 1) /* Addfd and return it, atomically \
- */
+#define SECCOMP_ADDFD_FLAG_SEND \
+ (1UL << 1) /* Addfd and return it, atomically \
+ */
/**
* struct seccomp_notif_addfd
diff --git a/include/arch/x86_64/linux/sem.h b/include/arch/x86_64/linux/sem.h
index a555806f..38685e75 100644
--- a/include/arch/x86_64/linux/sem.h
+++ b/include/arch/x86_64/linux/sem.h
@@ -76,13 +76,14 @@ struct seminfo {
* allocating the sop array.
*/
-#define SEMMNI 32000 /* <= IPCMNI max # of semaphore identifiers */
-#define SEMMSL 32000 /* <= INT_MAX max num of semaphores per id */
-#define SEMMNS (SEMMNI * SEMMSL) /* <= INT_MAX max # of semaphores in system \
- */
-#define SEMOPM 500 /* <= 1 000 max num of ops per semop call */
-#define SEMVMX 32767 /* <= 32767 semaphore maximum value */
-#define SEMAEM SEMVMX /* adjust on exit max value */
+#define SEMMNI 32000 /* <= IPCMNI max # of semaphore identifiers */
+#define SEMMSL 32000 /* <= INT_MAX max num of semaphores per id */
+#define SEMMNS \
+ (SEMMNI * SEMMSL) /* <= INT_MAX max # of semaphores in system \
+ */
+#define SEMOPM 500 /* <= 1 000 max num of ops per semop call */
+#define SEMVMX 32767 /* <= 32767 semaphore maximum value */
+#define SEMAEM SEMVMX /* adjust on exit max value */
/* unused */
#define SEMUME SEMOPM /* max num of undo entries per process */
diff --git a/include/arch/x86_64/linux/serial_reg.h b/include/arch/x86_64/linux/serial_reg.h
index 0740d860..981d703b 100644
--- a/include/arch/x86_64/linux/serial_reg.h
+++ b/include/arch/x86_64/linux/serial_reg.h
@@ -300,14 +300,16 @@
#define UART_RSA_MSR ((UART_RSA_BASE) + 0) /* I/O: Mode Select Register */
-#define UART_RSA_MSR_SWAP (1 << 0) /* Swap low/high 8 bytes in I/O port addr \
+#define UART_RSA_MSR_SWAP \
+ (1 << 0) /* Swap low/high 8 bytes in I/O port addr \
*/
#define UART_RSA_MSR_FIFO (1 << 2) /* Enable the external FIFO */
#define UART_RSA_MSR_FLOW (1 << 3) /* Enable the auto RTS/CTS flow control */
#define UART_RSA_MSR_ITYP (1 << 4) /* Level (1) / Edge triger (0) */
-#define UART_RSA_IER ((UART_RSA_BASE) + 1) /* I/O: Interrupt Enable Register \
- */
+#define UART_RSA_IER \
+ ((UART_RSA_BASE) + 1) /* I/O: Interrupt Enable Register \
+ */
#define UART_RSA_IER_Rx_FIFO_H (1 << 0) /* Enable Rx FIFO half full int. */
#define UART_RSA_IER_Tx_FIFO_H (1 << 1) /* Enable Tx FIFO half full int. */
diff --git a/include/arch/x86_64/linux/sonet.h b/include/arch/x86_64/linux/sonet.h
index 239435bf..98828b2e 100644
--- a/include/arch/x86_64/linux/sonet.h
+++ b/include/arch/x86_64/linux/sonet.h
@@ -37,12 +37,13 @@ struct sonet_stats {
/* set framing mode (SONET/SDH) */
#define SONET_GETFRAMING _IOR('a', ATMIOC_PHYTYP + 6, int)
/* get framing mode */
-#define SONET_GETFRSENSE \
- _IOR('a', ATMIOC_PHYTYP + 7, unsigned char[SONET_FRSENSE_SIZE]) /* get \
- framing \
- sense \
- information \
- */
+#define SONET_GETFRSENSE \
+ _IOR('a', ATMIOC_PHYTYP + 7, \
+ unsigned char[SONET_FRSENSE_SIZE]) /* get \
+ framing \
+ sense \
+ information \
+ */
#define SONET_INS_SBIP 1 /* section BIP */
#define SONET_INS_LBIP 2 /* line BIP */
diff --git a/include/arch/x86_64/linux/soundcard.h b/include/arch/x86_64/linux/soundcard.h
index d291c9b0..d204e873 100644
--- a/include/arch/x86_64/linux/soundcard.h
+++ b/include/arch/x86_64/linux/soundcard.h
@@ -225,16 +225,17 @@ struct patch_info {
* The least significant byte has the same format than the GUS .PAT
* files
*/
-#define WAVE_16_BITS 0x01 /* bit 0 = 8 or 16 bit wave data. */
-#define WAVE_UNSIGNED 0x02 /* bit 1 = Signed - Unsigned data. */
-#define WAVE_LOOPING 0x04 /* bit 2 = looping enabled-1. */
-#define WAVE_BIDIR_LOOP 0x08 /* bit 3 = Set is bidirectional looping. */
-#define WAVE_LOOP_BACK 0x10 /* bit 4 = Set is looping backward. */
-#define WAVE_SUSTAIN_ON 0x20 /* bit 5 = Turn sustaining on. (Env. pts. 3)*/
-#define WAVE_ENVELOPES 0x40 /* bit 6 = Enable envelopes - 1 */
-#define WAVE_FAST_RELEASE 0x80 /* bit 7 = Shut off immediately after note off \
- */
- /* (use the env_rate/env_offs fields). */
+#define WAVE_16_BITS 0x01 /* bit 0 = 8 or 16 bit wave data. */
+#define WAVE_UNSIGNED 0x02 /* bit 1 = Signed - Unsigned data. */
+#define WAVE_LOOPING 0x04 /* bit 2 = looping enabled-1. */
+#define WAVE_BIDIR_LOOP 0x08 /* bit 3 = Set is bidirectional looping. */
+#define WAVE_LOOP_BACK 0x10 /* bit 4 = Set is looping backward. */
+#define WAVE_SUSTAIN_ON 0x20 /* bit 5 = Turn sustaining on. (Env. pts. 3)*/
+#define WAVE_ENVELOPES 0x40 /* bit 6 = Enable envelopes - 1 */
+#define WAVE_FAST_RELEASE \
+ 0x80 /* bit 7 = Shut off immediately after note off \
+ */
+ /* (use the env_rate/env_offs fields). */
/* Linux specific bits */
#define WAVE_VIBRATO 0x00010000 /* The vibrato info is valid */
#define WAVE_TREMOLO 0x00020000 /* The tremolo info is valid */
@@ -243,7 +244,7 @@ struct patch_info {
/* Reserved bits */
#define WAVE_ROM 0x40000000 /* For future use */
#define WAVE_MULAW 0x20000000 /* For future use */
- /* Other bits must be zeroed */
+ /* Other bits must be zeroed */
int len; /* Size of the wave data in bytes */
int loop_start, loop_end; /* Byte offsets from the beginning */
@@ -666,8 +667,9 @@ typedef struct buffmem_desc {
#define SNDCTL_DSP_PROFILE _SIOW('P', 23, int)
#define APF_NORMAL 0 /* Normal applications */
#define APF_NETWORK 1 /* Underruns probably caused by an "external" delay */
-#define APF_CPUINTENS 2 /* Underruns probably caused by "overheating" the CPU \
- */
+#define APF_CPUINTENS \
+ 2 /* Underruns probably caused by "overheating" the CPU \
+ */
#define SOUND_PCM_READ_RATE _SIOR('P', 2, int)
#define SOUND_PCM_READ_CHANNELS _SIOR('P', 6, int)
diff --git a/include/arch/x86_64/linux/stat.h b/include/arch/x86_64/linux/stat.h
index 05d09f99..f324012a 100644
--- a/include/arch/x86_64/linux/stat.h
+++ b/include/arch/x86_64/linux/stat.h
@@ -200,27 +200,29 @@ struct statx {
* These bits should be set in the mask argument of statx() to request
* particular items when calling statx().
*/
-#define STATX_TYPE 0x00000001U /* Want/got stx_mode & S_IFMT */
-#define STATX_MODE 0x00000002U /* Want/got stx_mode & ~S_IFMT */
-#define STATX_NLINK 0x00000004U /* Want/got stx_nlink */
-#define STATX_UID 0x00000008U /* Want/got stx_uid */
-#define STATX_GID 0x00000010U /* Want/got stx_gid */
-#define STATX_ATIME 0x00000020U /* Want/got stx_atime */
-#define STATX_MTIME 0x00000040U /* Want/got stx_mtime */
-#define STATX_CTIME 0x00000080U /* Want/got stx_ctime */
-#define STATX_INO 0x00000100U /* Want/got stx_ino */
-#define STATX_SIZE 0x00000200U /* Want/got stx_size */
-#define STATX_BLOCKS 0x00000400U /* Want/got stx_blocks */
-#define STATX_BASIC_STATS 0x000007ffU /* The stuff in the normal stat struct \
- */
-#define STATX_BTIME 0x00000800U /* Want/got stx_btime */
-#define STATX_MNT_ID 0x00001000U /* Got stx_mnt_id */
-#define STATX_DIOALIGN 0x00002000U /* Want/got direct I/O alignment info */
-#define STATX_MNT_ID_UNIQUE 0x00004000U /* Want/got extended stx_mount_id */
-#define STATX_SUBVOL 0x00008000U /* Want/got stx_subvol */
-#define STATX_WRITE_ATOMIC 0x00010000U /* Want/got atomic_write_* fields */
-#define STATX_DIO_READ_ALIGN 0x00020000U /* Want/got dio read alignment info \
- */
+#define STATX_TYPE 0x00000001U /* Want/got stx_mode & S_IFMT */
+#define STATX_MODE 0x00000002U /* Want/got stx_mode & ~S_IFMT */
+#define STATX_NLINK 0x00000004U /* Want/got stx_nlink */
+#define STATX_UID 0x00000008U /* Want/got stx_uid */
+#define STATX_GID 0x00000010U /* Want/got stx_gid */
+#define STATX_ATIME 0x00000020U /* Want/got stx_atime */
+#define STATX_MTIME 0x00000040U /* Want/got stx_mtime */
+#define STATX_CTIME 0x00000080U /* Want/got stx_ctime */
+#define STATX_INO 0x00000100U /* Want/got stx_ino */
+#define STATX_SIZE 0x00000200U /* Want/got stx_size */
+#define STATX_BLOCKS 0x00000400U /* Want/got stx_blocks */
+#define STATX_BASIC_STATS \
+ 0x000007ffU /* The stuff in the normal stat struct \
+ */
+#define STATX_BTIME 0x00000800U /* Want/got stx_btime */
+#define STATX_MNT_ID 0x00001000U /* Got stx_mnt_id */
+#define STATX_DIOALIGN 0x00002000U /* Want/got direct I/O alignment info */
+#define STATX_MNT_ID_UNIQUE 0x00004000U /* Want/got extended stx_mount_id */
+#define STATX_SUBVOL 0x00008000U /* Want/got stx_subvol */
+#define STATX_WRITE_ATOMIC 0x00010000U /* Want/got atomic_write_* fields */
+#define STATX_DIO_READ_ALIGN \
+ 0x00020000U /* Want/got dio read alignment info \
+ */
#define STATX__RESERVED \
0x80000000U /* Reserved for future struct statx expansion */
@@ -246,11 +248,12 @@ struct statx {
* some filesystems support.
*
*/
-#define STATX_ATTR_COMPRESSED 0x00000004 /* [I] File is compressed by the fs \
- */
-#define STATX_ATTR_IMMUTABLE 0x00000010 /* [I] File is marked immutable */
-#define STATX_ATTR_APPEND 0x00000020 /* [I] File is append-only */
-#define STATX_ATTR_NODUMP 0x00000040 /* [I] File is not to be dumped */
+#define STATX_ATTR_COMPRESSED \
+ 0x00000004 /* [I] File is compressed by the fs \
+ */
+#define STATX_ATTR_IMMUTABLE 0x00000010 /* [I] File is marked immutable */
+#define STATX_ATTR_APPEND 0x00000020 /* [I] File is append-only */
+#define STATX_ATTR_NODUMP 0x00000040 /* [I] File is not to be dumped */
#define STATX_ATTR_ENCRYPTED \
0x00000800 /* [I] File requires key to decrypt in fs */
#define STATX_ATTR_AUTOMOUNT 0x00001000 /* Dir: Automount trigger */
diff --git a/include/arch/x86_64/linux/tee.h b/include/arch/x86_64/linux/tee.h
index 7d19733a..6576abad 100644
--- a/include/arch/x86_64/linux/tee.h
+++ b/include/arch/x86_64/linux/tee.h
@@ -44,8 +44,9 @@
#define TEE_MAX_ARG_SIZE 1024
-#define TEE_GEN_CAP_GP (1 << 0) /* GlobalPlatform compliant TEE */
-#define TEE_GEN_CAP_PRIVILEGED (1 << 1) /* Privileged device (for supplicant) \
+#define TEE_GEN_CAP_GP (1 << 0) /* GlobalPlatform compliant TEE */
+#define TEE_GEN_CAP_PRIVILEGED \
+ (1 << 1) /* Privileged device (for supplicant) \
*/
#define TEE_GEN_CAP_REG_MEM (1 << 2) /* Supports registering shared memory */
#define TEE_GEN_CAP_MEMREF_NULL (1 << 3) /* NULL MemRef support */
diff --git a/include/arch/x86_64/linux/tipc_config.h b/include/arch/x86_64/linux/tipc_config.h
index 0a2a8d3d..c19eda61 100644
--- a/include/arch/x86_64/linux/tipc_config.h
+++ b/include/arch/x86_64/linux/tipc_config.h
@@ -74,11 +74,12 @@
#define TIPC_CMD_GET_MEDIA_NAMES 0x0002 /* tx none, rx media_name(s) */
#define TIPC_CMD_GET_BEARER_NAMES 0x0003 /* tx none, rx bearer_name(s) */
#define TIPC_CMD_GET_LINKS 0x0004 /* tx net_addr, rx link_info(s) */
-#define TIPC_CMD_SHOW_NAME_TABLE 0x0005 /* tx name_tbl_query, rx ultra_string \
- */
-#define TIPC_CMD_SHOW_PORTS 0x0006 /* tx none, rx ultra_string */
-#define TIPC_CMD_SHOW_LINK_STATS 0x000B /* tx link_name, rx ultra_string */
-#define TIPC_CMD_SHOW_STATS 0x000F /* tx unsigned, rx ultra_string */
+#define TIPC_CMD_SHOW_NAME_TABLE \
+ 0x0005 /* tx name_tbl_query, rx ultra_string \
+ */
+#define TIPC_CMD_SHOW_PORTS 0x0006 /* tx none, rx ultra_string */
+#define TIPC_CMD_SHOW_LINK_STATS 0x000B /* tx link_name, rx ultra_string */
+#define TIPC_CMD_SHOW_STATS 0x000F /* tx unsigned, rx ultra_string */
/*
* Protected commands:
diff --git a/include/arch/x86_64/linux/un.h b/include/arch/x86_64/linux/un.h
index 84bf357b..e9e96f2d 100644
--- a/include/arch/x86_64/linux/un.h
+++ b/include/arch/x86_64/linux/un.h
@@ -11,7 +11,8 @@ struct sockaddr_un {
char sun_path[UNIX_PATH_MAX]; /* pathname */
};
-#define SIOCUNIXFILE (SIOCPROTOPRIVATE + 0) /* open a socket file with O_PATH \
- */
+#define SIOCUNIXFILE \
+ (SIOCPROTOPRIVATE + 0) /* open a socket file with O_PATH \
+ */
#endif /* _LINUX_UN_H */
diff --git a/include/arch/x86_64/linux/vfio_zdev.h b/include/arch/x86_64/linux/vfio_zdev.h
index 594538fb..60d915d3 100644
--- a/include/arch/x86_64/linux/vfio_zdev.h
+++ b/include/arch/x86_64/linux/vfio_zdev.h
@@ -45,8 +45,9 @@ struct vfio_device_info_cap_zpci_group {
__u64 dasm; /* DMA Address space mask */
__u64 msi_addr; /* MSI address */
__u64 flags;
-#define VFIO_DEVICE_INFO_ZPCI_FLAG_REFRESH 1 /* Program-specified TLB refresh \
- */
+#define VFIO_DEVICE_INFO_ZPCI_FLAG_REFRESH \
+ 1 /* Program-specified TLB refresh \
+ */
__u16 mui; /* Measurement Block Update Interval */
__u16 noi; /* Maximum number of MSIs */
__u16 maxstbl; /* Maximum Store Block Length */
diff --git a/include/arch/x86_64/linux/videodev2.h b/include/arch/x86_64/linux/videodev2.h
index d3eb32d3..e0643d14 100644
--- a/include/arch/x86_64/linux/videodev2.h
+++ b/include/arch/x86_64/linux/videodev2.h
@@ -919,8 +919,9 @@ struct v4l2_pix_format {
v4l2_fourcc('A', 'V', '1', 'F') /* AV1 parsed frame */
#define V4L2_PIX_FMT_SPK v4l2_fourcc('S', 'P', 'K', '0') /* Sorenson Spark */
#define V4L2_PIX_FMT_RV30 v4l2_fourcc('R', 'V', '3', '0') /* RealVideo 8 */
-#define V4L2_PIX_FMT_RV40 v4l2_fourcc('R', 'V', '4', '0') /* RealVideo 9 & 10 \
- */
+#define V4L2_PIX_FMT_RV40 \
+ v4l2_fourcc('R', 'V', '4', '0') /* RealVideo 9 & 10 \
+ */
/* Vendor-specific formats */
#define V4L2_PIX_FMT_CPIA1 v4l2_fourcc('C', 'P', 'I', 'A') /* cpia1 YUV */
@@ -930,18 +931,23 @@ struct v4l2_pix_format {
v4l2_fourcc('S', '9', '1', '0') /* SN9C10x compression */
#define V4L2_PIX_FMT_SN9C20X_I420 \
v4l2_fourcc('S', '9', '2', '0') /* SN9C20x YUV 4:2:0 */
-#define V4L2_PIX_FMT_PWC1 v4l2_fourcc('P', 'W', 'C', '1') /* pwc older webcam \
- */
-#define V4L2_PIX_FMT_PWC2 v4l2_fourcc('P', 'W', 'C', '2') /* pwc newer webcam \
- */
+#define V4L2_PIX_FMT_PWC1 \
+ v4l2_fourcc('P', 'W', 'C', '1') /* pwc older webcam \
+ */
+#define V4L2_PIX_FMT_PWC2 \
+ v4l2_fourcc('P', 'W', 'C', '2') /* pwc newer webcam \
+ */
#define V4L2_PIX_FMT_ET61X251 \
v4l2_fourcc('E', '6', '2', '5') /* ET61X251 compression */
-#define V4L2_PIX_FMT_SPCA501 v4l2_fourcc('S', '5', '0', '1') /* YUYV per line \
- */
-#define V4L2_PIX_FMT_SPCA505 v4l2_fourcc('S', '5', '0', '5') /* YYUV per line \
- */
-#define V4L2_PIX_FMT_SPCA508 v4l2_fourcc('S', '5', '0', '8') /* YUVY per line \
- */
+#define V4L2_PIX_FMT_SPCA501 \
+ v4l2_fourcc('S', '5', '0', '1') /* YUYV per line \
+ */
+#define V4L2_PIX_FMT_SPCA505 \
+ v4l2_fourcc('S', '5', '0', '5') /* YYUV per line \
+ */
+#define V4L2_PIX_FMT_SPCA508 \
+ v4l2_fourcc('S', '5', '0', '8') /* YUVY per line \
+ */
#define V4L2_PIX_FMT_SPCA561 \
v4l2_fourcc('S', '5', '6', '1') /* compressed GBRG bayer */
#define V4L2_PIX_FMT_PAC207 \
@@ -954,14 +960,17 @@ struct v4l2_pix_format {
v4l2_fourcc('S', 'O', 'N', 'X') /* compressed GBRG bayer */
#define V4L2_PIX_FMT_SQ905C \
v4l2_fourcc('9', '0', '5', 'C') /* compressed RGGB bayer */
-#define V4L2_PIX_FMT_PJPG v4l2_fourcc('P', 'J', 'P', 'G') /* Pixart 73xx JPEG \
- */
-#define V4L2_PIX_FMT_OV511 v4l2_fourcc('O', '5', '1', '1') /* ov511 JPEG */
-#define V4L2_PIX_FMT_OV518 v4l2_fourcc('O', '5', '1', '8') /* ov518 JPEG */
-#define V4L2_PIX_FMT_STV0680 v4l2_fourcc('S', '6', '8', '0') /* stv0680 bayer \
- */
-#define V4L2_PIX_FMT_TM6000 v4l2_fourcc('T', 'M', '6', '0') /* tm5600/tm60x0 \
- */
+#define V4L2_PIX_FMT_PJPG \
+ v4l2_fourcc('P', 'J', 'P', 'G') /* Pixart 73xx JPEG \
+ */
+#define V4L2_PIX_FMT_OV511 v4l2_fourcc('O', '5', '1', '1') /* ov511 JPEG */
+#define V4L2_PIX_FMT_OV518 v4l2_fourcc('O', '5', '1', '8') /* ov518 JPEG */
+#define V4L2_PIX_FMT_STV0680 \
+ v4l2_fourcc('S', '6', '8', '0') /* stv0680 bayer \
+ */
+#define V4L2_PIX_FMT_TM6000 \
+ v4l2_fourcc('T', 'M', '6', '0') /* tm5600/tm60x0 \
+ */
#define V4L2_PIX_FMT_CIT_YYVYUY \
v4l2_fourcc('C', 'I', 'T', 'V') /* one line of Y then 1 line of VYUY \
*/
@@ -979,8 +988,9 @@ struct v4l2_pix_format {
v4l2_fourcc('Y', '1', '2', 'I') /* Greyscale 12-bit L/R interleaved */
#define V4L2_PIX_FMT_Y16I \
v4l2_fourcc('Y', '1', '6', 'I') /* Greyscale 16-bit L/R interleaved */
-#define V4L2_PIX_FMT_Z16 v4l2_fourcc('Z', '1', '6', ' ') /* Depth data 16-bit \
- */
+#define V4L2_PIX_FMT_Z16 \
+ v4l2_fourcc('Z', '1', '6', ' ') /* Depth data 16-bit \
+ */
#define V4L2_PIX_FMT_MT21C \
v4l2_fourcc('M', 'T', '2', '1') /* Mediatek compressed block mode */
#define V4L2_PIX_FMT_MM21 \
@@ -1059,7 +1069,8 @@ struct v4l2_pix_format {
#define V4L2_SDR_FMT_CU8 v4l2_fourcc('C', 'U', '0', '8') /* IQ u8 */
#define V4L2_SDR_FMT_CU16LE v4l2_fourcc('C', 'U', '1', '6') /* IQ u16le */
#define V4L2_SDR_FMT_CS8 v4l2_fourcc('C', 'S', '0', '8') /* complex s8 */
-#define V4L2_SDR_FMT_CS14LE v4l2_fourcc('C', 'S', '1', '4') /* complex s14le \
+#define V4L2_SDR_FMT_CS14LE \
+ v4l2_fourcc('C', 'S', '1', '4') /* complex s14le \
*/
#define V4L2_SDR_FMT_RU12LE v4l2_fourcc('R', 'U', '1', '2') /* real u12le */
#define V4L2_SDR_FMT_PCU16BE \
@@ -1090,8 +1101,9 @@ struct v4l2_pix_format {
v4l2_fourcc('D', '4', 'X', 'X') /* D4XX Payload Header metadata */
#define V4L2_META_FMT_UVC_MSXU_1_5 \
v4l2_fourcc('U', 'V', 'C', 'M') /* UVC MSXU metadata */
-#define V4L2_META_FMT_VIVID v4l2_fourcc('V', 'I', 'V', 'D') /* Vivid Metadata \
- */
+#define V4L2_META_FMT_VIVID \
+ v4l2_fourcc('V', 'I', 'V', 'D') /* Vivid Metadata \
+ */
/* Vendor specific - used for RK_ISP1 camera sub-system */
#define V4L2_META_FMT_RK_ISP1_PARAMS \
@@ -2674,13 +2686,15 @@ struct v4l2_format {
__u32 type;
union {
struct v4l2_pix_format pix; /* V4L2_BUF_TYPE_VIDEO_CAPTURE */
- struct v4l2_pix_format_mplane pix_mp; /* V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE
- */
- struct v4l2_window win; /* V4L2_BUF_TYPE_VIDEO_OVERLAY */
+ struct v4l2_pix_format_mplane
+ pix_mp; /* V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE
+ */
+ struct v4l2_window win; /* V4L2_BUF_TYPE_VIDEO_OVERLAY */
struct v4l2_vbi_format vbi; /* V4L2_BUF_TYPE_VBI_CAPTURE */
- struct v4l2_sliced_vbi_format sliced; /* V4L2_BUF_TYPE_SLICED_VBI_CAPTURE
- */
- struct v4l2_sdr_format sdr; /* V4L2_BUF_TYPE_SDR_CAPTURE */
+ struct v4l2_sliced_vbi_format
+ sliced; /* V4L2_BUF_TYPE_SLICED_VBI_CAPTURE
+ */
+ struct v4l2_sdr_format sdr; /* V4L2_BUF_TYPE_SDR_CAPTURE */
struct v4l2_meta_format meta; /* V4L2_BUF_TYPE_META_CAPTURE */
__u8 raw_data[200]; /* user-defined */
} fmt;
diff --git a/include/arch/x86_64/linux/virtio_balloon.h b/include/arch/x86_64/linux/virtio_balloon.h
index c899a13a..20e877d5 100644
--- a/include/arch/x86_64/linux/virtio_balloon.h
+++ b/include/arch/x86_64/linux/virtio_balloon.h
@@ -75,8 +75,9 @@ struct virtio_balloon_config {
#define VIRTIO_BALLOON_S_ALLOC_STALL 11 /* Stall count of memory allocatoin */
#define VIRTIO_BALLOON_S_ASYNC_SCAN \
12 /* Amount of memory scanned asynchronously */
-#define VIRTIO_BALLOON_S_DIRECT_SCAN 13 /* Amount of memory scanned directly \
- */
+#define VIRTIO_BALLOON_S_DIRECT_SCAN \
+ 13 /* Amount of memory scanned directly \
+ */
#define VIRTIO_BALLOON_S_ASYNC_RECLAIM \
14 /* Amount of memory reclaimed asynchronously */
#define VIRTIO_BALLOON_S_DIRECT_RECLAIM \
diff --git a/include/arch/x86_64/linux/virtio_console.h b/include/arch/x86_64/linux/virtio_console.h
index 9d1eb43b..a5c78eda 100644
--- a/include/arch/x86_64/linux/virtio_console.h
+++ b/include/arch/x86_64/linux/virtio_console.h
@@ -37,10 +37,11 @@
#include <linux/virtio_config.h>
/* Feature bits */
-#define VIRTIO_CONSOLE_F_SIZE 0 /* Does host provide console size? */
-#define VIRTIO_CONSOLE_F_MULTIPORT 1 /* Does host provide multiple ports? */
-#define VIRTIO_CONSOLE_F_EMERG_WRITE 2 /* Does host support emergency write? \
- */
+#define VIRTIO_CONSOLE_F_SIZE 0 /* Does host provide console size? */
+#define VIRTIO_CONSOLE_F_MULTIPORT 1 /* Does host provide multiple ports? */
+#define VIRTIO_CONSOLE_F_EMERG_WRITE \
+ 2 /* Does host support emergency write? \
+ */
#define VIRTIO_CONSOLE_BAD_ID (~(__u32)0)
diff --git a/include/arch/x86_64/linux/virtio_net.h b/include/arch/x86_64/linux/virtio_net.h
index db6398f3..a74191c2 100644
--- a/include/arch/x86_64/linux/virtio_net.h
+++ b/include/arch/x86_64/linux/virtio_net.h
@@ -32,14 +32,15 @@
#include <linux/if_ether.h>
/* The feature bitmap for virtio net */
-#define VIRTIO_NET_F_CSUM 0 /* Host handles pkts w/ partial csum */
-#define VIRTIO_NET_F_GUEST_CSUM 1 /* Guest handles pkts w/ partial csum */
-#define VIRTIO_NET_F_CTRL_GUEST_OFFLOADS 2 /* Dynamic offload configuration. \
- */
-#define VIRTIO_NET_F_MTU 3 /* Initial MTU advice */
-#define VIRTIO_NET_F_MAC 5 /* Host has given MAC address. */
-#define VIRTIO_NET_F_GUEST_TSO4 7 /* Guest can handle TSOv4 in. */
-#define VIRTIO_NET_F_GUEST_TSO6 8 /* Guest can handle TSOv6 in. */
+#define VIRTIO_NET_F_CSUM 0 /* Host handles pkts w/ partial csum */
+#define VIRTIO_NET_F_GUEST_CSUM 1 /* Guest handles pkts w/ partial csum */
+#define VIRTIO_NET_F_CTRL_GUEST_OFFLOADS \
+ 2 /* Dynamic offload configuration. \
+ */
+#define VIRTIO_NET_F_MTU 3 /* Initial MTU advice */
+#define VIRTIO_NET_F_MAC 5 /* Host has given MAC address. */
+#define VIRTIO_NET_F_GUEST_TSO4 7 /* Guest can handle TSOv4 in. */
+#define VIRTIO_NET_F_GUEST_TSO6 8 /* Guest can handle TSOv6 in. */
#define VIRTIO_NET_F_GUEST_ECN 9 /* Guest can handle TSO[6] w/ ECN in. */
#define VIRTIO_NET_F_GUEST_UFO 10 /* Guest can handle UFO in. */
#define VIRTIO_NET_F_HOST_TSO4 11 /* Host can handle TSOv4 in. */
@@ -63,8 +64,9 @@
50 /* Device can provide device-level statistics. */
#define VIRTIO_NET_F_VQ_NOTF_COAL \
52 /* Device supports virtqueue notification coalescing */
-#define VIRTIO_NET_F_NOTF_COAL 53 /* Device supports notifications coalescing \
- */
+#define VIRTIO_NET_F_NOTF_COAL \
+ 53 /* Device supports notifications coalescing \
+ */
#define VIRTIO_NET_F_GUEST_USO4 54 /* Guest can handle USOv4 in. */
#define VIRTIO_NET_F_GUEST_USO6 55 /* Guest can handle USOv6 in. */
#define VIRTIO_NET_F_HOST_USO 56 /* Host can handle USO in. */
diff --git a/include/arch/x86_64/misc/ocxl.h b/include/arch/x86_64/misc/ocxl.h
index 046d7079..9ba66e01 100644
--- a/include/arch/x86_64/misc/ocxl.h
+++ b/include/arch/x86_64/misc/ocxl.h
@@ -10,8 +10,9 @@ enum ocxl_event_type {
OCXL_AFU_EVENT_XSL_FAULT_ERROR = 0,
};
-#define OCXL_KERNEL_EVENT_FLAG_LAST 0x0001 /* This is the last event pending \
- */
+#define OCXL_KERNEL_EVENT_FLAG_LAST \
+ 0x0001 /* This is the last event pending \
+ */
struct ocxl_kernel_event_header {
__u16 type;
diff --git a/include/arch/x86_64/mtd/mtd-abi.h b/include/arch/x86_64/mtd/mtd-abi.h
index dc98d120..a239dac9 100644
--- a/include/arch/x86_64/mtd/mtd-abi.h
+++ b/include/arch/x86_64/mtd/mtd-abi.h
@@ -147,12 +147,13 @@ struct mtd_read_req {
#define MTD_UBIVOLUME 7
#define MTD_MLCNANDFLASH 8 /* MLC NAND (including TLC) */
-#define MTD_WRITEABLE 0x400 /* Device is writeable */
-#define MTD_BIT_WRITEABLE 0x800 /* Single bits can be flipped */
-#define MTD_NO_ERASE 0x1000 /* No erase necessary */
-#define MTD_POWERUP_LOCK 0x2000 /* Always locked after reset */
-#define MTD_SLC_ON_MLC_EMULATION 0x4000 /* Emulate SLC behavior on MLC NANDs \
- */
+#define MTD_WRITEABLE 0x400 /* Device is writeable */
+#define MTD_BIT_WRITEABLE 0x800 /* Single bits can be flipped */
+#define MTD_NO_ERASE 0x1000 /* No erase necessary */
+#define MTD_POWERUP_LOCK 0x2000 /* Always locked after reset */
+#define MTD_SLC_ON_MLC_EMULATION \
+ 0x4000 /* Emulate SLC behavior on MLC NANDs \
+ */
/* Some common devices / combinations of capabilities */
#define MTD_CAP_ROM 0
diff --git a/include/arch/x86_64/rdma/hfi/hfi1_user.h b/include/arch/x86_64/rdma/hfi/hfi1_user.h
index d28848b1..31e9eb3c 100644
--- a/include/arch/x86_64/rdma/hfi/hfi1_user.h
+++ b/include/arch/x86_64/rdma/hfi/hfi1_user.h
@@ -91,24 +91,26 @@
* driver features. The same set of bits are communicated to user
* space.
*/
-#define HFI1_CAP_DMA_RTAIL (1UL << 0) /* Use DMA'ed RTail value */
-#define HFI1_CAP_SDMA (1UL << 1) /* Enable SDMA support */
-#define HFI1_CAP_SDMA_AHG (1UL << 2) /* Enable SDMA AHG support */
-#define HFI1_CAP_EXTENDED_PSN (1UL << 3) /* Enable Extended PSN support */
-#define HFI1_CAP_HDRSUPP (1UL << 4) /* Enable Header Suppression */
-#define HFI1_CAP_TID_RDMA (1UL << 5) /* Enable TID RDMA operations */
-#define HFI1_CAP_USE_SDMA_HEAD (1UL << 6) /* DMA Hdr Q tail vs. use CSR */
-#define HFI1_CAP_MULTI_PKT_EGR (1UL << 7) /* Enable multi-packet Egr buffs*/
-#define HFI1_CAP_NODROP_RHQ_FULL (1UL << 8) /* Don't drop on Hdr Q full */
-#define HFI1_CAP_NODROP_EGR_FULL (1UL << 9) /* Don't drop on EGR buffs full */
-#define HFI1_CAP_TID_UNMAP (1UL << 10) /* Disable Expected TID caching */
-#define HFI1_CAP_PRINT_UNIMPL (1UL << 11) /* Show for unimplemented feats */
-#define HFI1_CAP_ALLOW_PERM_JKEY (1UL << 12) /* Allow use of permissive JKEY \
- */
-#define HFI1_CAP_NO_INTEGRITY (1UL << 13) /* Enable ctxt integrity checks */
-#define HFI1_CAP_PKEY_CHECK (1UL << 14) /* Enable ctxt PKey checking */
-#define HFI1_CAP_STATIC_RATE_CTRL (1UL << 15) /* Allow PBC.StaticRateControl \
- */
+#define HFI1_CAP_DMA_RTAIL (1UL << 0) /* Use DMA'ed RTail value */
+#define HFI1_CAP_SDMA (1UL << 1) /* Enable SDMA support */
+#define HFI1_CAP_SDMA_AHG (1UL << 2) /* Enable SDMA AHG support */
+#define HFI1_CAP_EXTENDED_PSN (1UL << 3) /* Enable Extended PSN support */
+#define HFI1_CAP_HDRSUPP (1UL << 4) /* Enable Header Suppression */
+#define HFI1_CAP_TID_RDMA (1UL << 5) /* Enable TID RDMA operations */
+#define HFI1_CAP_USE_SDMA_HEAD (1UL << 6) /* DMA Hdr Q tail vs. use CSR */
+#define HFI1_CAP_MULTI_PKT_EGR (1UL << 7) /* Enable multi-packet Egr buffs*/
+#define HFI1_CAP_NODROP_RHQ_FULL (1UL << 8) /* Don't drop on Hdr Q full */
+#define HFI1_CAP_NODROP_EGR_FULL (1UL << 9) /* Don't drop on EGR buffs full */
+#define HFI1_CAP_TID_UNMAP (1UL << 10) /* Disable Expected TID caching */
+#define HFI1_CAP_PRINT_UNIMPL (1UL << 11) /* Show for unimplemented feats */
+#define HFI1_CAP_ALLOW_PERM_JKEY \
+ (1UL << 12) /* Allow use of permissive JKEY \
+ */
+#define HFI1_CAP_NO_INTEGRITY (1UL << 13) /* Enable ctxt integrity checks */
+#define HFI1_CAP_PKEY_CHECK (1UL << 14) /* Enable ctxt PKey checking */
+#define HFI1_CAP_STATIC_RATE_CTRL \
+ (1UL << 15) /* Allow PBC.StaticRateControl \
+ */
#define HFI1_CAP_OPFN (1UL << 16) /* Enable the OPFN protocol */
#define HFI1_CAP_SDMA_HEAD_CHECK (1UL << 17) /* SDMA head checking */
#define HFI1_CAP_EARLY_CREDIT_RETURN (1UL << 18) /* early credit return */
diff --git a/include/arch/x86_64/sound/asequencer.h b/include/arch/x86_64/sound/asequencer.h
index e5332cd9..61e31e42 100644
--- a/include/arch/x86_64/sound/asequencer.h
+++ b/include/arch/x86_64/sound/asequencer.h
@@ -121,7 +121,8 @@
* event data type = snd_seq_ev_ext
* (SNDRV_SEQ_EVENT_LENGTH_VARIABLE must be set)
*/
-#define SNDRV_SEQ_EVENT_SYSEX 130 /* system exclusive data (variable length) \
+#define SNDRV_SEQ_EVENT_SYSEX \
+ 130 /* system exclusive data (variable length) \
*/
#define SNDRV_SEQ_EVENT_BOUNCE 131 /* error event */
/* 132-134: reserved */
diff --git a/include/arch/x86_64/sound/asoc.h b/include/arch/x86_64/sound/asoc.h
index 38c6d428..5a48620a 100644
--- a/include/arch/x86_64/sound/asoc.h
+++ b/include/arch/x86_64/sound/asoc.h
@@ -520,11 +520,12 @@ struct snd_soc_tplg_pcm {
__le32 playback; /* supports playback mode */
__le32 capture; /* supports capture mode */
__le32 compress; /* 1 = compressed; 0 = PCM */
- struct snd_soc_tplg_stream stream[SND_SOC_TPLG_STREAM_CONFIG_MAX]; /* for
- DAI
- link
- */
- __le32 num_streams; /* number of streams */
+ struct snd_soc_tplg_stream
+ stream[SND_SOC_TPLG_STREAM_CONFIG_MAX]; /* for
+ DAI
+ link
+ */
+ __le32 num_streams; /* number of streams */
struct snd_soc_tplg_stream_caps caps[2]; /* playback and capture for DAI
*/
__le32 flag_mask; /* bitmask of flags to configure */
@@ -548,13 +549,14 @@ struct snd_soc_tplg_link_config {
char name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN]; /* name - used to match */
char stream_name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN]; /* stream name - used
to match */
- struct snd_soc_tplg_stream stream[SND_SOC_TPLG_STREAM_CONFIG_MAX]; /* supported
- configs
- playback
- and
- captrure
- */
- __le32 num_streams; /* number of streams */
+ struct snd_soc_tplg_stream
+ stream[SND_SOC_TPLG_STREAM_CONFIG_MAX]; /* supported
+ configs
+ playback
+ and
+ captrure
+ */
+ __le32 num_streams; /* number of streams */
struct snd_soc_tplg_hw_config
hw_config[SND_SOC_TPLG_HW_CONFIG_MAX]; /* hw configs */
__le32 num_hw_configs; /* number of hw configs */
diff --git a/include/arch/x86_64/sound/asound.h b/include/arch/x86_64/sound/asound.h
index ae70988c..46a4e3fa 100644
--- a/include/arch/x86_64/sound/asound.h
+++ b/include/arch/x86_64/sound/asound.h
@@ -178,9 +178,10 @@ typedef int __bitwise snd_pcm_access_t;
((snd_pcm_access_t)0) /* interleaved mmap */
#define SNDRV_PCM_ACCESS_MMAP_NONINTERLEAVED \
((snd_pcm_access_t)1) /* noninterleaved mmap */
-#define SNDRV_PCM_ACCESS_MMAP_COMPLEX ((snd_pcm_access_t)2) /* complex mmap */
-#define SNDRV_PCM_ACCESS_RW_INTERLEAVED ((snd_pcm_access_t)3) /* readi/writei \
- */
+#define SNDRV_PCM_ACCESS_MMAP_COMPLEX ((snd_pcm_access_t)2) /* complex mmap */
+#define SNDRV_PCM_ACCESS_RW_INTERLEAVED \
+ ((snd_pcm_access_t)3) /* readi/writei \
+ */
#define SNDRV_PCM_ACCESS_RW_NONINTERLEAVED \
((snd_pcm_access_t)4) /* readn/writen */
#define SNDRV_PCM_ACCESS_LAST SNDRV_PCM_ACCESS_RW_NONINTERLEAVED
@@ -632,8 +633,9 @@ struct __snd_pcm_mmap_control {
};
#define SNDRV_PCM_SYNC_PTR_HWSYNC (1 << 0) /* execute hwsync */
-#define SNDRV_PCM_SYNC_PTR_APPL (1 << 1) /* get appl_ptr from driver (r/w op) \
- */
+#define SNDRV_PCM_SYNC_PTR_APPL \
+ (1 << 1) /* get appl_ptr from driver (r/w op) \
+ */
#define SNDRV_PCM_SYNC_PTR_AVAIL_MIN (1 << 2) /* get avail_min from driver */
struct __snd_pcm_sync_ptr {
@@ -1174,11 +1176,13 @@ struct snd_ctl_card_info {
};
typedef int __bitwise snd_ctl_elem_type_t;
-#define SNDRV_CTL_ELEM_TYPE_NONE ((snd_ctl_elem_type_t)0) /* invalid */
-#define SNDRV_CTL_ELEM_TYPE_BOOLEAN ((snd_ctl_elem_type_t)1) /* boolean type \
- */
-#define SNDRV_CTL_ELEM_TYPE_INTEGER ((snd_ctl_elem_type_t)2) /* integer type \
- */
+#define SNDRV_CTL_ELEM_TYPE_NONE ((snd_ctl_elem_type_t)0) /* invalid */
+#define SNDRV_CTL_ELEM_TYPE_BOOLEAN \
+ ((snd_ctl_elem_type_t)1) /* boolean type \
+ */
+#define SNDRV_CTL_ELEM_TYPE_INTEGER \
+ ((snd_ctl_elem_type_t)2) /* integer type \
+ */
#define SNDRV_CTL_ELEM_TYPE_ENUMERATED \
((snd_ctl_elem_type_t)3) /* enumerated type */
#define SNDRV_CTL_ELEM_TYPE_BYTES ((snd_ctl_elem_type_t)4) /* byte array */
@@ -1189,8 +1193,9 @@ typedef int __bitwise snd_ctl_elem_type_t;
#define SNDRV_CTL_ELEM_TYPE_LAST SNDRV_CTL_ELEM_TYPE_INTEGER64
typedef int __bitwise snd_ctl_elem_iface_t;
-#define SNDRV_CTL_ELEM_IFACE_CARD ((snd_ctl_elem_iface_t)0) /* global control \
- */
+#define SNDRV_CTL_ELEM_IFACE_CARD \
+ ((snd_ctl_elem_iface_t)0) /* global control \
+ */
#define SNDRV_CTL_ELEM_IFACE_HWDEP \
((snd_ctl_elem_iface_t)1) /* hardware dependent device */
#define SNDRV_CTL_ELEM_IFACE_MIXER \
@@ -1198,8 +1203,9 @@ typedef int __bitwise snd_ctl_elem_iface_t;
#define SNDRV_CTL_ELEM_IFACE_PCM ((snd_ctl_elem_iface_t)3) /* PCM device */
#define SNDRV_CTL_ELEM_IFACE_RAWMIDI \
((snd_ctl_elem_iface_t)4) /* RawMidi device */
-#define SNDRV_CTL_ELEM_IFACE_TIMER ((snd_ctl_elem_iface_t)5) /* timer device \
- */
+#define SNDRV_CTL_ELEM_IFACE_TIMER \
+ ((snd_ctl_elem_iface_t)5) /* timer device \
+ */
#define SNDRV_CTL_ELEM_IFACE_SEQUENCER \
((snd_ctl_elem_iface_t)6) /* sequencer client */
#define SNDRV_CTL_ELEM_IFACE_LAST SNDRV_CTL_ELEM_IFACE_SEQUENCER
@@ -1215,8 +1221,9 @@ typedef int __bitwise snd_ctl_elem_iface_t;
#define SNDRV_CTL_ELEM_ACCESS_TLV_WRITE (1 << 5) /* TLV write is possible */
#define SNDRV_CTL_ELEM_ACCESS_TLV_READWRITE \
(SNDRV_CTL_ELEM_ACCESS_TLV_READ | SNDRV_CTL_ELEM_ACCESS_TLV_WRITE)
-#define SNDRV_CTL_ELEM_ACCESS_TLV_COMMAND (1 << 6) /* TLV command is possible \
- */
+#define SNDRV_CTL_ELEM_ACCESS_TLV_COMMAND \
+ (1 << 6) /* TLV command is possible \
+ */
#define SNDRV_CTL_ELEM_ACCESS_INACTIVE \
(1 << 8) /* control does actually nothing, but may be updated */
#define SNDRV_CTL_ELEM_ACCESS_LOCK (1 << 9) /* write lock */
diff --git a/include/arch/x86_64/sound/compress_offload.h b/include/arch/x86_64/sound/compress_offload.h
index 435fbbd8..7f7c6747 100644
--- a/include/arch/x86_64/sound/compress_offload.h
+++ b/include/arch/x86_64/sound/compress_offload.h
@@ -128,8 +128,9 @@ struct snd_compr_metadata {
} __attribute__((packed, aligned(4)));
/* flags for struct snd_compr_task */
-#define SND_COMPRESS_TFLG_NEW_STREAM (1 << 0) /* mark for the new stream data \
- */
+#define SND_COMPRESS_TFLG_NEW_STREAM \
+ (1 << 0) /* mark for the new stream data \
+ */
/**
* struct snd_compr_task - task primitive for non-realtime operation
diff --git a/include/arch/x86_64/sound/emu10k1.h b/include/arch/x86_64/sound/emu10k1.h
index 144b2449..99b2a976 100644
--- a/include/arch/x86_64/sound/emu10k1.h
+++ b/include/arch/x86_64/sound/emu10k1.h
@@ -154,9 +154,10 @@
/* Each FX general purpose register is 32 bits in length, all bits are used
*/
-#define FXGPREGBASE 0x100 /* FX general purpose registers base */
-#define A_FXGPREGBASE 0x400 /* Audigy GPRs, 0x400 to 0x5ff \
- */
+#define FXGPREGBASE 0x100 /* FX general purpose registers base */
+#define A_FXGPREGBASE \
+ 0x400 /* Audigy GPRs, 0x400 to 0x5ff \
+ */
#define A_TANKMEMCTLREGBASE \
0x100 /* Tank memory control registers base - only for Audigy */
@@ -194,19 +195,25 @@
#define ITRAM_ADDR(x) (TANKMEMADDRREGBASE + 0x00 + (x)) /* x = 0x00 - 0x7f */
#define ETRAM_ADDR(x) (TANKMEMADDRREGBASE + 0x80 + (x)) /* x = 0x00 - 0x1f */
-#define A_GPR(x) (A_FXGPREGBASE + (x))
-#define A_ITRAM_DATA(x) (TANKMEMDATAREGBASE + 0x00 + (x)) /* x = 0x00 - 0xbf \
- */
-#define A_ETRAM_DATA(x) (TANKMEMDATAREGBASE + 0xc0 + (x)) /* x = 0x00 - 0x3f \
- */
-#define A_ITRAM_ADDR(x) (TANKMEMADDRREGBASE + 0x00 + (x)) /* x = 0x00 - 0xbf \
- */
-#define A_ETRAM_ADDR(x) (TANKMEMADDRREGBASE + 0xc0 + (x)) /* x = 0x00 - 0x3f \
- */
-#define A_ITRAM_CTL(x) (A_TANKMEMCTLREGBASE + 0x00 + (x)) /* x = 0x00 - 0xbf \
- */
-#define A_ETRAM_CTL(x) (A_TANKMEMCTLREGBASE + 0xc0 + (x)) /* x = 0x00 - 0x3f \
- */
+#define A_GPR(x) (A_FXGPREGBASE + (x))
+#define A_ITRAM_DATA(x) \
+ (TANKMEMDATAREGBASE + 0x00 + (x)) /* x = 0x00 - 0xbf \
+ */
+#define A_ETRAM_DATA(x) \
+ (TANKMEMDATAREGBASE + 0xc0 + (x)) /* x = 0x00 - 0x3f \
+ */
+#define A_ITRAM_ADDR(x) \
+ (TANKMEMADDRREGBASE + 0x00 + (x)) /* x = 0x00 - 0xbf \
+ */
+#define A_ETRAM_ADDR(x) \
+ (TANKMEMADDRREGBASE + 0xc0 + (x)) /* x = 0x00 - 0x3f \
+ */
+#define A_ITRAM_CTL(x) \
+ (A_TANKMEMCTLREGBASE + 0x00 + (x)) /* x = 0x00 - 0xbf \
+ */
+#define A_ETRAM_CTL(x) \
+ (A_TANKMEMCTLREGBASE + 0xc0 + (x)) /* x = 0x00 - 0x3f \
+ */
/* cc_reg constants */
#define CC_REG_NORMALIZED C_00000001