Lines Matching +full:control +full:- +full:field

1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 2020 Marc Kleine-Budde <kernel@pengutronix.de>
18 * Name of Field Bits
19 * ---------------------------------------------------------
21 * Arbitration field:
24 * Control field:
29 * including all fields preceding the data field, ignoring bitstuffing
36 * Name of Field Bits
37 * ---------------------------------------------------------
39 * Arbitration field:
45 * Control field:
50 * including all fields preceding the data field, ignoring bitstuffing
55 * Size of a CAN-FD Standard Frame in bits
57 * Name of Field Bits
58 * ---------------------------------------------------------
60 * Arbitration field:
63 * Control field:
71 * including all fields preceding the data field, ignoring bitstuffing
76 * Size of a CAN-FD Extended Frame in bits
78 * Name of Field Bits
79 * ---------------------------------------------------------
81 * Arbitration field:
87 * Control field:
94 * including all fields preceding the data field, ignoring bitstuffing
99 * Size of a CAN CRC Field in bits
101 * Name of Field Bits
102 * ---------------------------------------------------------
111 * Size of a CAN-FD CRC17 Field in bits (length: 0..16)
113 * Name of Field Bits
114 * ---------------------------------------------------------
123 * Size of a CAN-FD CRC21 Field in bits (length: 20..64)
125 * Name of Field Bits
126 * ---------------------------------------------------------
135 * Size of a CAN(-FD) Frame footer in bits
137 * Name of Field Bits
138 * ---------------------------------------------------------
143 * including all fields following the CRC field
149 * (a.k.a. IMF - intermission field)
154 * can_bitstuffing_len() - Calculate the maximum length with bitstuffing
165 * - "0": dominant bit
166 * - "o": dominant stuff bit
167 * - "1": recessive bit
168 * - "i": recessive stuff bit
175 (destuffed_len + (destuffed_len - 1) / 4)
208 * can_frame_bits() - Calculate the number of bits on the wire in a
210 * @is_fd: true: CAN-FD frame; false: Classical CAN frame.
214 * bitstuffing). CAN-FD's fixed stuff bits are always included.
220 * @data_len: length of the data field in bytes. Correspond to
221 * can(fd)_frame->len. Should be zero for remote frames. No
252 * Maximum size of a CAN-FD frame
258 * can_cc_dlc2len(value) - convert a given data length code (dlc) of a
262 * ISO 11898-1 Chapter 8.4.2.3 (DLC field)
271 (cf->len == CAN_MAX_DLEN) && in can_get_cc_dlc()
272 (cf->len8_dlc > CAN_MAX_DLEN && cf->len8_dlc <= CAN_MAX_RAW_DLC)) in can_get_cc_dlc()
273 return cf->len8_dlc; in can_get_cc_dlc()
276 return cf->len; in can_get_cc_dlc()
285 cf->len8_dlc = dlc; in can_frame_set_cc_len()
288 cf->len = can_cc_dlc2len(dlc); in can_frame_set_cc_len()