Home
last modified time | relevance | path

Searched +full:length +full:- +full:field +full:- +full:length +full:- +full:8 +full:- +full:bits (Results 1 – 25 of 127) sorted by relevance

123456

/Zephyr-latest/dts/bindings/crypto/
Dnordic,nrf-ccm.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "nordic,nrf-ccm"
17 length-field-length-8-bits:
20 Indicates whether the CCM peripheral supports the extended length
21 (8 bits) of the LENGTH field in encrypted/decrypted packets.
22 If not set, only the default length (5 bits) is supported.
24 headermask-supported:
/Zephyr-latest/subsys/net/lib/ptp/
Dddt.h4 * SPDX-License-Identifier: Apache-2.0
11 * @note Based on IEEE 1588:2019 section 5.3 - Derived data types
26 * @note 5.3.2 - time interval expressed in nanoseconds multiplied by 2^16
32 * @note 5.3.3 - timestamp with respect to epoch
35 /** Seconds encoded on 48 bits - high 16 bits. */
37 /** Seconds encoded on 48 bits - low 32 bits. */
45 * @note 5.3.4 - identifies unique entities within a PTP network.
49 uint8_t id[8];
54 * @note 5.3.5 - identifies a PTP Port or a Link port.
65 * @note 5.3.6 - represents the protocol address of a PTP port
[all …]
/Zephyr-latest/dts/bindings/ethernet/
Dsnps,dwcxgmac.yaml2 # SPDX - License - Identifier : Apache - 2.0
9 - name: reset-device.yaml
10 - name: ethernet-controller.yaml
17 max-frame-size:
23 means that normally xgmac will reject any frame above max-frame-size
27 max-speed:
30 - 10
31 - 100
32 - 1000
33 - 2500
[all …]
Dxlnx,gem.yaml3 # SPDX-License-Identifier: Apache-2.0
10 include: ethernet-controller.yaml
19 clock-frequency:
27 which it will be adjusted at run-time. Therefore, the value of this
29 respective GEM's TX clock - by default, this is the IO PLL.
31 mdc-divider:
39 Description, bits [20:18] to determine the appropriate divider for
42 init-mdio-phy:
45 Activates the management of a PHY associated with the controller in-
46 stance. If this parameter is activated at the board level, the de-
[all …]
/Zephyr-latest/drivers/dma/
Ddma_iproc_pax_v1.h4 * SPDX-License-Identifier: Apache-2.0
27 #define PAX_DMA_NUM_BD_BUFFS 8
43 /* Bits 0:1 ignored by PAX DMA, i.e. 4-byte address alignment */
51 * Per-ring memory, with 8K & 4K alignment
53 * s/w need to allocate extra upto 8K to
61 /* RM header desc field */
75 /* dma desc header field */
77 uint64_t length : 25; /*transfer length in bytes 24:0*/ member
84 /* dma desc AXI addr field */
91 /* dma desc PCI addr field */
/Zephyr-latest/drivers/fpga/
Dfpga_altera_agilex_bridge.h4 * SPDX-License-Identifier: Apache-2.0
12 /* Mask for FPGA-HPS bridges */
20 /* Config status response length */
80 /* error_code – Field provides a basic description of whether the command
82 * non-zero values indicate failure
85 /* indirect_bit - Field indicates an indirect command */
87 /* data_length - Field counts the number of word arguments which follow the
94 /* id - Field is returned unchanged from the matching command header and is
98 /* client_id - Field is returned unchanged from the matching command header and
110 /* update number bits */
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_df_types.h4 * SPDX-License-Identifier: Apache-2.0
7 /* @brief Max supported CTE length in 8us units */
9 /* @brief Min supported CTE length in 8us units */
12 /* @brief Min supported length of antenna switching pattern */
21 /* @brief Macro to convert length of CTE to [us] */
22 #define CTE_LEN_US(n) ((n) * 8U)
43 uint8_t cte_length:6; /* Length of CTE in 8us units */
51 * spacing. Thus we may have 8 IQ samples from reference period.
53 #define IQ_SAMPLE_REF_CNT 8
68 #define RSSI_DBM_TO_DECI_DBM(x) (-(x) * 10)
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/
Dradio.h5 * SPDX-License-Identifier: Apache-2.0
9 /* PDU type, 2 bit field*/
16 /* PHY type, three bit field */
23 /* CTE enabled, 1 bit field */
29 /* Macro to define length of the BLE packet length field in bits */
30 #define RADIO_PKT_CONF_LENGTH_8BIT (8U)
33 /* Macro to define length of the BLE packet S1 field in bits */
34 #define RADIO_PKT_CONF_S1_8BIT (8U)
48 /* Helper macro to get CTE enable field value from radio packet configuration bitfield */
/Zephyr-latest/drivers/ethernet/dwc_xgmac/
Deth_dwc_xgmac_priv.h7 * SPDX-License-Identifier: Apache-2.0
38 #define MTL_RXQ_DMA_MAP_Qx_MSK(q_pos) (~(0xffu << (q_pos * 8u)))
39 #define MTL_RXQ_DMA_MAP_QxDDMACH_SET(q_pos, value) ((value & 0x1u) << (8u * q_pos + 7u))
40 #define MTL_RXQ_DMA_MAP_QxMDMACH_SET(q_pos, value) ((value & 0x7u) << (8u * q_pos))
43 #define TC_PRTY_MAP_FEILD_SIZE_IN_BITS (8u)
46 #define MTL_TCx_PRTY_MAP_PSTC_SET(TCx_pos, prio) ((prio & 0xff) << (8u * TCx_pos))
188 #define DMA_CHx_INTERRUPT_ENABLE_RSE_SET(value) (((value) << 8) & 0x00000100)
214 #define MTL_TCQx_MTL_TXQx_OPERATION_MODE_Q2TCMAP_SET(value) (((value) << 8) & 0x00000700)
268 #define CORE_MAC_RX_CONFIGURATION_JE_SET(value) (((value) << 8) & 0x00000100)
328 #define BIT_OFFSET_8 (8)
[all …]
/Zephyr-latest/subsys/net/l2/ethernet/gptp/
Dgptp_messages.h4 * SPDX-License-Identifier: Apache-2.0
40 /* Field values. */
47 (len > (NET_ETH_MINIMAL_FRAME_SIZE - GPTP_L2_HDR_LEN(pkt)))
49 ((long)GPTP_HDR(pkt) - (long)NET_ETH_HDR(pkt))
64 /* For the Announce message, the TLV is variable length. The len field
65 * indicates the length of the TLV not accounting for tlvType and lengthField
70 + ntohs(GPTP_ANNOUNCE(pkt)->tlv.len) \
71 - sizeof(struct gptp_path_trace_tlv) + 4)
99 #define GPTP_ITV_KEEP -128
156 /** Length. Number of TLVs * 8 bytes. */
[all …]
/Zephyr-latest/include/zephyr/mgmt/
Dosdp.h4 * SPDX-License-Identifier: Apache-2.0
24 #define OSDP_CMD_TEXT_MAX_LEN 32 /**< Max length of text for text command */
25 #define OSDP_CMD_KEYSET_KEY_MAX_LEN 32 /**< Max length of key data for keyset command */
26 #define OSDP_EVENT_MAX_DATALEN 64 /**< Max length of event data */
41 * - 0 - NOP – do not alter this output
42 * - 1 - set the permanent state to OFF, abort timed operation (if any)
43 * - 2 - set the permanent state to ON, abort timed operation (if any)
44 * - 3 - set the permanent state to OFF, allow timed operation to complete
45 * - 4 - set the permanent state to ON, allow timed operation to complete
46 * - 5 - set the temporary state to ON, resume perm state on timeout
[all …]
/Zephyr-latest/subsys/bluetooth/services/bas/
Dbas_internal.h4 * SPDX-License-Identifier: Apache-2.0
19 /** @brief Flags Field
21 * The values of this field are defined below.
23 * - bit 0: Identifier Present
24 * - Indicates whether the identifier field is present.
25 * - bit 1: Battery Level Present
26 * - Indicates whether the battery level field is present.
27 * - bit 2: Additional Status Present
28 * - Indicates whether the additional status field is present.
29 * - bit 3–7: RFU (Reserved for Future Use)
[all …]
/Zephyr-latest/include/zephyr/sys/
Dutil.h2 * Copyright (c) 2011-2014, Wind River Systems, Inc.
4 * SPDX-License-Identifier: Apache-2.0
32 /** @brief Number of bits that make up a type */
40 * @defgroup sys-util Utility Functions
60 /** Number of bits in a byte. */
63 /** Number of bits in a nibble. */
69 /** Number of bits in a long int. */
72 /** Number of bits in a long long int. */
80 (((~0UL) - (1UL << (l)) + 1) & (~0UL >> (BITS_PER_LONG - 1 - (h))))
83 * @brief Create a contiguous 64-bit bitmask starting at bit position @p l
[all …]
/Zephyr-latest/include/zephyr/data/
Djson.h4 * SPDX-License-Identifier: Apache-2.0
28 * value is still within 7 bits. See comment next to the
74 size_t length; member
81 /* Alignment can be 1, 2, 4, or 8. The macros to create
83 * power of 2 in order to keep this value in the 0-3 range
84 * and thus use only 2 bits.
88 /* 127 characters is more than enough for a field name. */
94 * ignored.) Maximum value is '}' (125), so this has to be 7 bits
120 * @param data User-provided pointer
138 * @param field_name_ Field name in the struct
[all …]
/Zephyr-latest/subsys/bluetooth/controller/
DKconfig.df4 # SPDX-License-Identifier: Apache-2.0
158 int "Maximum length of antenna switch pattern"
163 Defines maximum length of antenna switch pattern that controller
164 is able to store. For nRF5x-based controllers, the hardware imposes
204 range -2048 2047
214 range -2048 2047
225 range -2048 2047
237 range -2048 2047
248 range -2048 2047
268 CTEINLINECTRLEN is enabled and received PDU does not have CTEInfo field. The option
[all …]
/Zephyr-latest/include/zephyr/net/http/
Dparser.h1 /* SPDX-License-Identifier: MIT */
60 * environment (e.g. -DHTTP_MAX_HEADER_SIZE=<value>). To remove
62 * to a very large number (e.g. -DHTTP_MAX_HEADER_SIZE=0x7fffffff)
72 /* Callbacks should return non-zero to indicate an error. The parser will
78 * HEAD request which may contain 'Content-Length' or 'Transfer-Encoding:
91 size_t length);
96 /* Flag values for http_parser.flags field */
147 #define HTTP_PARSER_ERRNO(p) ((enum http_errno) (p)->http_errno)
158 unsigned int flags : 8; /* F_xxx values from 'flags' enum;
159 * semi-public
[all …]
/Zephyr-latest/drivers/ieee802154/
Dieee802154_dw1000_regs.h4 * SPDX-License-Identifier: Apache-2.0
7 * https://github.com/Decawave/mynewt-dw1000-core.git
14 * Copyright (C) 2017-2018, Decawave Limited, All Rights Reserved
24 * http://www.apache.org/licenses/LICENSE-2.0
52 #define DWT_EUI_64_LEN 8
75 /* Frame Filtering Behave as a Co-ordinator */
87 /* Frame Filtering Allow frames with frame type field of 4, (binary 100) */
89 /* Frame Filtering Allow frames with frame type field of 5, (binary 101) */
117 * Receiver Auto-Re-enable.
118 * This bit is used to cause the receiver to re-enable automatically
[all …]
/Zephyr-latest/drivers/watchdog/
Dwdt_dw.h1 /* SPDX-License-Identifier: Apache-2.0 */
19 * and programmed based on user-defined options.
62 * Reset pulse length
68 #define RPL_PCLK_CYCLES8 0x2 /* 8 pclk cycles */
93 #define TORR_USER7_OR_8M 0x7 /* Time out of WDT_USER_TOP_7 or 8M Clocks */
116 * bits WDT_CNT_WIDTH - 1 to 0
209 * The reset pulse length that is available directly after reset.
216 #define APB_DATA_WIDTH GENMASK(9, 8)
219 * APB data width is 8 bits
224 * APB data width is 16 bits
[all …]
/Zephyr-latest/include/zephyr/
Dnet_buf.h8 * SPDX-License-Identifier: Apache-2.0
84 * The main use of this is for scenarios where the meta-data of the normal
94 * Length of the data behind the data pointer.
96 * To determine the max length, use net_buf_simple_max_len(), not #size!
123 * @return Pointer to stack-allocated net_buf_simple object.
145 if (!buf->__buf) { in net_buf_simple_init()
146 buf->__buf = (uint8_t *)buf + sizeof(*buf); in net_buf_simple_init()
149 buf->data = buf->__buf + reserve_head; in net_buf_simple_init()
150 buf->len = 0U; in net_buf_simple_init()
174 buf->len = 0U; in net_buf_simple_reset()
[all …]
/Zephyr-latest/include/zephyr/usb/class/
Dhid.h5 * SPDX-License-Identifier: Apache-2.0
13 * Version 1.11 document (HID1_11-1.pdf).
187 * @brief Define HID Input item with the data length of one byte.
199 * @brief Define HID Output item with the data length of one byte.
210 * @brief Define HID Feature item with the data length of one byte.
219 * @brief Define HID Collection item with the data length of one byte.
231 * @brief Define HID End Collection (non-data) item.
254 * @brief Define HID Logical Minimum item with the data length of one byte.
266 * @brief Define HID Logical Maximum item with the data length of one byte.
278 * @brief Define HID Logical Minimum item with the data length of two bytes.
[all …]
/Zephyr-latest/subsys/usb/device_next/class/
Dusbd_msc_scsi.c4 * SPDX-License-Identifier: Apache-2.0
21 /* Claim conformance to SPC-2 because this allows us to implement less commands
22 * and do not care about multiple reserved bits that became actual options
29 #define T10_VENDOR_LENGTH 8
34 * There doesn't seem to be requirement on minimum product serial number length,
36 * in the field.
49 /* SAM-6 5.2 Command descriptor block (CDB)
52 #define GET_CONTROL_NACA(cmd) (cmd->control & BIT(2))
54 /* SPC-5 4.3.3 Variable type data field requirements
63 /* SPC-5 F.3.1 Operation codes Table F.2 — Operation codes */
[all …]
/Zephyr-latest/include/zephyr/net/
Dnet_ip.h10 * SPDX-License-Identifier: Apache-2.0
50 #define PF_LOCAL 6 /**< Inter-process communication */
51 #define PF_UNIX PF_LOCAL /**< Inter-process communication */
60 #define AF_LOCAL PF_LOCAL /**< Inter-process communication */
61 #define AF_UNIX PF_UNIX /**< Inter-process communication */
65 IPPROTO_IP = 0, /**< IP protocol (pseudo-val for setsockopt() */
94 /** @brief Convert 16-bit value from network to host byte order.
102 /** @brief Convert 32-bit value from network to host byte order.
110 /** @brief Convert 64-bit value from network to host byte order.
118 /** @brief Convert 16-bit value from host to network byte order.
[all …]
/Zephyr-latest/soc/intel/intel_adsp/ace/
Dcomm_widget.h2 * SPDX-License-Identifier: Apache-2.0
41 #define DSATTR_SRCPID GENMASK(15, 8)
68 * Address register (lower 32 bits) for downstream message.
72 * LSB 32 address bits received in message. Bits 32:16 of the LSB address only
80 * Address register (upper 32 bits) for downstream message.
88 * MSB 16 address bits received in message. Valid only when ADDRLEN bit is set to 1.
99 * Address Length
102 * Address length indication received in message.
103 * 0: 16-bit address
104 * 1: 48-bit address
[all …]
/Zephyr-latest/samples/modules/canopennode/objdict/
Dobjdict.xml1 <?xml version="1.0" encoding="utf-8"?>
2 <device xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-in…
5 <description>bit 0-15: Device profile number
6 bit 16-31: Additional information</description>
19 <description>bit 0-31: Not used by stack (available for user)</description>
21 …<CANopenObject index="1003" name="Pre-defined error field" objectType="ARRAY" memoryType="RAM" dat…
23 bit 0-7: Zero can be written to erase error history
25 Standard Error Field
26 bit 0-15: Error code as transmitted in the Emergency object
27 bit 16-31: Manufacturer specific additional information</description>
[all …]
/Zephyr-latest/include/zephyr/usb/
Dusb_ch9.h4 * SPDX-License-Identifier: Apache-2.0
39 /** USB Setup Data packet defined in spec. Table 9-2 */
51 /** USB Setup packet RequestType Direction values (from Table 9-2) */
55 /** USB Setup packet RequestType Type values (from Table 9-2) */
61 /** USB Setup packet RequestType Recipient values (from Table 9-2) */
82 return setup->RequestType.direction == USB_REQTYPE_DIR_TO_HOST; in usb_reqtype_is_to_host()
93 return setup->RequestType.direction == USB_REQTYPE_DIR_TO_DEVICE; in usb_reqtype_is_to_device()
96 /** USB Standard Request Codes defined in spec. Table 9-4 */
109 /** Descriptor Types defined in spec. Table 9-5 */
117 #define USB_DESC_INTERFACE_POWER 8
[all …]

123456