/linux/Documentation/netlink/specs/ |
H A D | nftables.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 4 protocol: netlink-raw 11 - 15 - 16 name: nfgen-family 18 - 21 - 22 name: res-id 23 byte-order: big-endian 25 - [all …]
|
H A D | ovs_flow.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 5 protocol: genetlink-legacy 6 uapi-header: linux/openvswitch.h 12 - 13 name: ovs-header 18 - 19 name: dp-ifindex 24 - 25 name: ovs-flow-stats 28 - [all …]
|
H A D | nfsd.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 5 uapi-header: linux/nfsd_netlink.h 9 attribute-sets: 10 - 11 name: rpc-status 13 - 16 byte-order: big-endian 17 - 20 - 23 - [all …]
|
H A D | tcp_metrics.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 5 protocol: genetlink-legacy 10 c-family-name: tcp-metrics-genl-name 11 c-version-name: tcp-metrics-genl-version 12 max-by-define: true 13 kernel-policy: global 16 - 17 name: tcp-fastopen-cookie-max 21 attribute-sets: 22 - [all …]
|
H A D | mptcp_pm.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 4 protocol: genetlink-legacy 7 c-family-name: mptcp-pm-name 8 c-version-name: mptcp-pm-ver 9 max-by-define: true 10 kernel-policy: per-op 11 cmd-cnt-name: --mptcp-pm-cmd-after-last 14 - 16 name: event-type 17 enum-name: mptcp-event-type [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | metafmt-generic.rst | 1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later 8 Generic line-based metadata formats 14 These generic line-based metadata formats define the memory layout of the data 17 .. _v4l2-meta-fmt-generic-8: 20 ----------------------- 22 The V4L2_META_FMT_GENERIC_8 format is a plain 8-bit metadata format. This format 23 is used on CSI-2 for 8 bits per :term:`Data Unit`. 26 packed into one 16-bit Data Unit. Otherwise the 16 bits per pixel dataformat is 27 :ref:`V4L2_META_FMT_GENERIC_CSI2_16 <v4l2-meta-fmt-generic-csi2-16>`. 29 **Byte Order Of V4L2_META_FMT_GENERIC_8.** [all …]
|
H A D | pixfmt-rgb.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _pixfmt-rgb: 12 bits required to store a pixel is not aligned to a byte boundary, the data is 13 padded with additional bits to fill the remaining byte. 16 always the same for all components), the order of components in memory, and the 22 (including capture queues of mem-to-mem devices) fill the alpha component in 25 but can set the alpha bit to a user-configurable value, the 26 :ref:`V4L2_CID_ALPHA_COMPONENT <v4l2-alpha-component>` control is used to 31 :ref:`Output <output>` devices (including output queues of mem-to-mem devices 44 - In all the tables that follow, bit 7 is the most significant bit in a byte. [all …]
|
H A D | pixfmt-packed-yuv.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _packed-yuv: 15 - In all the tables that follow, bit 7 is the most significant bit in a byte. 16 - 'Y', 'Cb' and 'Cr' denote bits of the luma, blue chroma (also known as 29 component. They are named based on the order of the Y, Cb and Cr components as 30 seen in a 16-bit word, which is then stored in memory in little endian byte 31 order, and on the number of bits for each component. For instance the YUV565 32 format stores a pixel in a 16-bit word [15:0] laid out at as [Y'\ :sub:`4-0` 33 Cb\ :sub:`5-0` Cr\ :sub:`4-0`], and stored in memory in two bytes, 34 [Cb\ :sub:`2-0` Cr\ :sub:`4-0`] followed by [Y'\ :sub:`4-0` Cb\ :sub:`5-3`]. [all …]
|
/linux/drivers/net/ethernet/sfc/ |
H A D | filter.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2005-2013 Solarflare Communications Inc. 16 * enum efx_filter_match_flags - Flags for hardware filter match type 23 * @EFX_FILTER_MATCH_ETHER_TYPE: Match by Ether-type 33 * - Huntington supports filter matching controlled by firmware, potentially 34 * using {TCP,UDP}/IPv{4,6} 4-tuple or local 2-tuple, local MAC or I/G bit, 53 * enum efx_filter_priority - priority of a hardware filter specification 59 * @EFX_FILTER_PRI_REQUIRED: Required for correct behaviour (user-level 60 * networking and SR-IOV) 70 * enum efx_filter_flags - flags for hardware filter specifications [all …]
|
/linux/drivers/media/platform/via/ |
H A D | via-camera.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 20 #define VCR_TSC_METHOD 0x00000c /* DMA method (non-functional) */ 22 #define VCR_TSC_CBMODE 0x080000 /* Change buffer by byte count */ 36 #define VCR_CI_HDMODE 0x00000040 /* CCIR656-16 hdr decode mode; 1=16b */ 37 #define VCR_CI_BSWAP 0x00000080 /* Swap bytes (16-bit) */ 38 #define VCR_CI_YUYV 0 /* Byte order 0123 */ 39 #define VCR_CI_UYVY 0x00000100 /* Byte order 1032 */ 40 #define VCR_CI_YVYU 0x00000200 /* Byte order 0321 */ 41 #define VCR_CI_VYUY 0x00000300 /* Byte order 3012 */ 44 #define VCR_CI_DIODD 0 /* De-interlace odd, 30fps */ [all …]
|
/linux/include/linux/netfilter_ipv6/ |
H A D | ip6_tables.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * 25-Jul-1998 Major changes to allow for ip chain table 5 * 3-Jan-2000 Named tables to allow packet selection for different uses. 11 * src, dst, src_mask, dst_mask are always stored in network byte order. 12 * flags are stored in host byte order (of course). 13 * Port numbers are stored in HOST byte order. 51 return (void *)e + e->target_offset; in compat_ip6t_get_target()
|
/linux/sound/soc/sof/ |
H A D | sof-utils.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 6 // Copyright(c) 2018-2022 Intel Corporation 12 #include <linux/io-64-nonatomic-lo-hi.h> 16 #include "sof-utils.h" 34 dmab->area, size, pages); in snd_sof_create_page_table() 39 * idx determines the byte position within page_table in snd_sof_create_page_table() 52 * byte 0 byte 1 byte 2 byte 3 byte 4 byte 5 in snd_sof_create_page_table() 57 * 2. put pfn[i] at current location in Little Endian byte order in snd_sof_create_page_table() 60 * 4. put x at offset (current location + 2) in LE byte order in snd_sof_create_page_table()
|
/linux/Documentation/bpf/standardization/ |
H A D | instruction-set.rst | 27 BCP 14 `<https://www.rfc-editor.org/info/rfc2119>`_ 28 `<https://www.rfc-editor.org/info/rfc8174>`_ 38 ----- 51 .. table:: Meaning of bit-width notation 63 For example, `u32` is a type whose valid values are all the 32-bit unsigned 64 numbers and `s16` is a type whose valid values are all the 16-bit signed 68 --------- 70 The following byteswap functions are direction-agnostic. That is, 74 * be16: Takes an unsigned 16-bit number and converts it between 75 host byte order and big-endian [all …]
|
/linux/drivers/net/ethernet/sfc/falcon/ |
H A D | filter.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2005-2013 Solarflare Communications Inc. 15 * enum ef4_filter_match_flags - Flags for hardware filter match type 22 * @EF4_FILTER_MATCH_ETHER_TYPE: Match by Ether-type 31 * - Falcon supports RX filters matching by {TCP,UDP}/IPv4 4-tuple or 32 * local 2-tuple (only implemented for Falcon B0) 34 * - Siena supports RX and TX filters matching by {TCP,UDP}/IPv4 4-tuple 35 * or local 2-tuple, or local MAC with or without outer VID, and RX 38 * - Huntington supports filter matching controlled by firmware, potentially 39 * using {TCP,UDP}/IPv{4,6} 4-tuple or local 2-tuple, local MAC or I/G bit, [all …]
|
/linux/net/smc/ |
H A D | smc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Shared Memory Communications over RDMA (SMC-R) and RoCE 154 /* in host byte order */ 155 union smc_host_cursor { /* SMC cursor - an offset in an RMBE */ 168 /* in host byte order, except for flag bitfields in network byte order */ 198 struct smc_link *lnk; /* assigned SMC-R link */ 215 struct smc_host_cdc_msg local_tx_ctrl; /* host byte order staging 221 /* prod crsr - confirmed by peer 223 union smc_host_cursor tx_curs_prep; /* tx - prepared data 226 union smc_host_cursor tx_curs_sent; /* tx - sent data [all …]
|
/linux/include/net/ |
H A D | llc_pdu.h | 5 * 2001-2003 by Arnaldo Carvalho de Melo <acme@conectiva.com.br> 20 #define LLC_PDU_LEN_U 3 /* header and 1 control byte */ 21 /* header and 1 control byte and XID info */ 25 #define LLC_NULL_SAP 0x00 /* not network-layer visible */ 38 ((pdu->dsap & LLC_PDU_GROUP_DSAP_MASK) ? 0 : 1) 40 (!(pdu->dsap & LLC_PDU_GROUP_DSAP_MASK) ? 0 : 1) 46 #define LLC_PDU_IS_CMD(pdu) ((pdu->ssap & LLC_PDU_RSP) ? 0 : 1) 47 #define LLC_PDU_IS_RSP(pdu) ((pdu->ssap & LLC_PDU_RSP) ? 1 : 0) 49 /* Get PDU type from 2 lowest-order bits of control field first byte */ 50 #define LLC_PDU_TYPE_I_MASK 0x01 /* 16-bit control field */ [all …]
|
/linux/drivers/net/ethernet/sfc/siena/ |
H A D | filter.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2005-2013 Solarflare Communications Inc. 15 * enum efx_filter_match_flags - Flags for hardware filter match type 22 * @EFX_FILTER_MATCH_ETHER_TYPE: Match by Ether-type 32 * - Falcon supports RX filters matching by {TCP,UDP}/IPv4 4-tuple or 33 * local 2-tuple (only implemented for Falcon B0) 35 * - Siena supports RX and TX filters matching by {TCP,UDP}/IPv4 4-tuple 36 * or local 2-tuple, or local MAC with or without outer VID, and RX 39 * - Huntington supports filter matching controlled by firmware, potentially 40 * using {TCP,UDP}/IPv{4,6} 4-tuple or local 2-tuple, local MAC or I/G bit, [all …]
|
/linux/include/linux/netfilter_ipv4/ |
H A D | ip_tables.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * 25-Jul-1998 Major changes to allow for ip chain table 5 * 3-Jan-2000 Named tables to allow packet selection for different uses. 11 * src, dst, src_mask, dst_mask are always stored in network byte order. 12 * flags are stored in host byte order (of course). 13 * Port numbers are stored in HOST byte order. 54 .target.verdict = -(__verdict) - 1, \ 87 return (void *)e + e->target_offset; in compat_ipt_get_target()
|
/linux/include/linux/ |
H A D | crc8.h | 40 * crc8_populate_lsb - fill crc table for given polynomial in regular bit order. 46 * regular bit order (lsb first). Polynomials in CRC algorithms are typically 53 * - lsb first: poly = 10101011(1) = 0xAB 58 * crc8_populate_msb - fill crc table for given polynomial in reverse bit order. 64 * reverse bit order (msb first). Polynomials in CRC algorithms are typically 71 * - msb first: poly = (1)11010101 = 0xD5 76 * crc8() - calculate a crc8 over the given input data. 90 * and inserting it into the byte stream. When validating a byte 92 * indicates the byte stream data can be considered valid.
|
/linux/drivers/media/rc/ |
H A D | ite-cir.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 9 #define ITE_DRIVER_NAME "ite-cir" 34 /* hw-specific operation function pointers; most of these must be 62 /* put a byte to the TX FIFO */ 98 /* duty cycle, 0-100 */ 114 /* low-speed carrier frequency limits (Hz) */ 118 /* high-speed carrier frequency limits (Hz) */ 130 * n in RDCR produces a tolerance of +/- n * 6.25% around the center 135 * frequency A = (H - L) / (H + L). We can use this in order to honor the 136 * s_rx_carrier_range() call in ir-core. We'll suppose that any request [all …]
|
/linux/arch/x86/include/asm/ |
H A D | special_insns.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 #include <asm/processor-flags.h> 15 * other: they should execute in program order. However GCC 4.9.x and 5.x have 62 * This could fault if CR4 does not exist. Non-existent CR4 in native_read_cr4() 89 asm volatile(".byte 0x0f,0x01,0xee\n\t" in rdpkru() 103 asm volatile(".byte 0x0f,0x01,0xef\n\t" in wrpkru() 179 alternative_io(".byte 0x3e; clflush %0", in clflushopt() 180 ".byte 0x66; clflush %0", in clflushopt() 190 ".byte 0x3e; clflush (%[pax])", in clwb() 191 ".byte 0x66; clflush (%[pax])", /* clflushopt (%%rax) */ in clwb() [all …]
|
/linux/fs/cramfs/ |
H A D | README | 2 -------------------------- 9 All data is currently in host-endian format; neither mkcramfs nor the 22 Filename. Not generally null-terminated, but it is 23 null-padded to a multiple of 4 bytes. 25 The order of inode traversal is described as "width-first" (not to be 26 confused with breadth-first); i.e. like depth-first but listing all of 28 same order as `ls -AUR' (but without the /^\..*:$/ directory header 29 lines); put another way, the same order as `find -type d -exec 30 ls -AU1 {} \;'. 34 exist, speeds up user-space directory sorts, etc. [all …]
|
/linux/Documentation/admin-guide/mm/ |
H A D | idle_page_tracking.rst | 22 Currently, it consists of the only read-write file, 26 bitmap is represented by an array of 8-byte integers, and the page at PFN #i is 27 mapped to bit #i%64 of array element #i/64, byte order is native. When a bit is 34 the page by writing to the file. A value written to the file is OR-ed with the 43 ``/proc/kpageflags`` in order to correctly count idle huge pages. 46 -EINVAL if you are not starting the read/write on an 8-byte boundary, or 48 this file beyond max PFN will return -ENXIO. 50 That said, in order to estimate the amount of pages that are not used by a 66 The page-types tool in the tools/mm directory can be used to assist in this. 71 See Documentation/admin-guide/mm/pagemap.rst for more information about [all …]
|
/linux/drivers/md/dm-vdo/ |
H A D | encodings.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 20 * An in-memory representation of a version number for versioned structures on disk. 34 * A packed, machine-independent, on-disk representation of a version_number. Both fields are 35 * stored in little-endian byte order. 57 /* A packed, machine-independent, on-disk representation of a component header. */ 101 /* The regions in ID order */ 115 /* The regions in ID order */ 127 * in both the on-disk and in-memory layouts. It consists of the 36 low-order bits of a 128 * physical_block_number_t (addressing 256 terabytes with a 4KB block size) and a 4-bit encoding of 131 * Of the 8 high bits of the 5-byte structure: [all …]
|
/linux/tools/testing/selftests/mm/ |
H A D | split_huge_page_test.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * A test of splitting PMD THPs and PTE-mapped THPs from a specified virtual 34 #define PFN_MASK ((1UL<<55)-1) 62 if (fd == -1) in write_file() 65 numwritten = write(fd, buf, buflen - 1); in write_file() 124 ksft_exit_fail_msg("%ld byte corrupted\n", i); in verify_rss_anon_split_huge_page_all_zeroes() 147 void split_pmd_thp_to_order(int order) in split_pmd_zero_pages() 167 (uint64_t)one_page + len, order); in split_pmd_thp() 382 unsigned char byte = (unsigned char)i; create_pagecache_thp_and_fd() local 433 split_thp_in_pagecache_to_order(size_t fd_size,int order,const char * fs_loc) split_thp_in_pagecache_to_order() argument [all...] |