| /kernel/linux/linux-6.6/Documentation/netlink/specs/ |
| 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 …]
|
| /kernel/linux/common_modules/newip/src/common/ |
| D | nip_hdr.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 11 * Data: 2022-07-18 18 /* Ethernet head 14B, +2B byte alignment, +66 to avoid 43 /* Bitmap 1st Byte: bit0 - bit7 */ 53 /* Bitmap 2nd Byte: bit0 - bit7 */ 63 /* Bitmap 1st Byte: 70 /* Bitmap 1st Byte: 77 /* Bitmap 2nd Byte: 84 /* invalid Bitmap 2nd Byte: 119 /* The newIP header contains variable-length fields. [all …]
|
| /kernel/liteos_m/arch/risc-v/nuclei/gcc/nmsis/Core/Include/ |
| D | core_compatiable.h | 4 * SPDX-License-Identifier: Apache-2.0 10 * www.apache.org/licenses/LICENSE-2.0 32 * \brief A few functions that compatiable with ARM CMSIS-Core. 35 * Here we provided a few functions that compatiable with ARM CMSIS-Core, 71 #define __SSAT(val, sat) __RV_SCLIP32((val), (sat-1)) 76 const int32_t max = (int32_t)((1U << (sat - 1U)) - 1U); 77 const int32_t min = -1 - max ; 101 const uint32_t max = ((1U << sat) - 1U); 114 * \brief Reverse byte order (32 bit) 115 * \details Reverses the byte order in unsigned integer value. [all …]
|
| /kernel/linux/linux-5.10/net/smc/ |
| D | smc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Shared Memory Communications over RDMA (SMC-R) and RoCE 28 #define SMC_MAX_ISM_DEVS 8 /* max # of proposed non-native ISM 97 /* in host byte order */ 98 union smc_host_cursor { /* SMC cursor - an offset in an RMBE */ 111 /* in host byte order, except for flag bitfields in network byte order */ 135 struct smc_link *lnk; /* assigned SMC-R link */ 152 struct smc_host_cdc_msg local_tx_ctrl; /* host byte order staging 158 /* prod crsr - confirmed by peer 160 union smc_host_cursor tx_curs_prep; /* tx - prepared data [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/sfc/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/staging/wlan-ng/ |
| D | p80211hdr.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR MPL-1.1) */ 7 * -------------------------------------------------------------------- 9 * linux-wlan 11 * -------------------------------------------------------------------- 13 * Inquiries regarding the linux-wlan Open Source project can be 17 * info@linux-wlan.com 18 * http://www.linux-wlan.com 20 * -------------------------------------------------------------------- 25 * -------------------------------------------------------------------- 31 * - Constant values are always in HOST byte order. To assign [all …]
|
| D | p80211mgmt.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR MPL-1.1) */ 7 * -------------------------------------------------------------------- 9 * linux-wlan 11 * -------------------------------------------------------------------- 13 * Inquiries regarding the linux-wlan Open Source project can be 17 * info@linux-wlan.com 18 * http://www.linux-wlan.com 20 * -------------------------------------------------------------------- 25 * -------------------------------------------------------------------- 31 * - Constant values are always in HOST byte order. To assign [all …]
|
| /kernel/linux/linux-6.6/include/linux/netfilter_ipv6/ |
| 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()
|
| /kernel/linux/linux-6.6/drivers/media/platform/via/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/media/platform/ |
| 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 …]
|
| /kernel/linux/linux-5.10/include/linux/netfilter_ipv6/ |
| 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. 55 return (void *)e + e->target_offset; in compat_ip6t_get_target()
|
| /kernel/linux/linux-6.6/net/smc/ |
| D | smc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Shared Memory Communications over RDMA (SMC-R) and RoCE 114 /* in host byte order */ 115 union smc_host_cursor { /* SMC cursor - an offset in an RMBE */ 128 /* in host byte order, except for flag bitfields in network byte order */ 158 struct smc_link *lnk; /* assigned SMC-R link */ 175 struct smc_host_cdc_msg local_tx_ctrl; /* host byte order staging 181 /* prod crsr - confirmed by peer 183 union smc_host_cursor tx_curs_prep; /* tx - prepared data 186 union smc_host_cursor tx_curs_sent; /* tx - sent data [all …]
|
| /kernel/linux/linux-6.6/sound/soc/sof/ |
| D | sof-utils.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 6 // Copyright(c) 2018-2022 Intel Corporation. All rights reserved. 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()
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/sfc/falcon/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/ |
| 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 …]
|
| /kernel/linux/linux-6.6/include/linux/netfilter_ipv4/ |
| 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()
|
| /kernel/linux/linux-5.10/drivers/staging/wlan-ng/ |
| D | p80211hdr.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR MPL-1.1) */ 7 * -------------------------------------------------------------------- 9 * linux-wlan 32 * -------------------------------------------------------------------- 34 * Inquiries regarding the linux-wlan Open Source project can be 38 * info@linux-wlan.com 39 * http://www.linux-wlan.com 41 * -------------------------------------------------------------------- 46 * -------------------------------------------------------------------- 52 * - Constant values are always in HOST byte order. To assign [all …]
|
| /kernel/linux/linux-5.10/include/linux/netfilter_ipv4/ |
| 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. 59 .target.verdict = -(__verdict) - 1, \ 92 return (void *)e + e->target_offset; in compat_ipt_get_target()
|
| /kernel/linux/linux-6.6/Documentation/userspace-api/media/v4l/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
| 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 …]
|
| /kernel/linux/linux-5.10/include/net/ |
| 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 …]
|
| /kernel/linux/linux-6.6/include/net/ |
| 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 …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| 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.
|
| /kernel/linux/linux-5.10/include/linux/ |
| 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.
|