Searched refs:CAN_MAX_DLEN (Results 1 – 14 of 14) sorted by relevance
249 #define CAN_FRAME_LEN_MAX can_frame_bytes(false, true, false, CAN_MAX_DLEN)264 #define can_cc_dlc2len(dlc) (min_t(u8, (dlc), CAN_MAX_DLEN))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()284 if (ctrlmode & CAN_CTRLMODE_CC_LEN8_DLC && dlc > CAN_MAX_DLEN) in can_frame_set_cc_len()
109 return (skb->len == CAN_MTU && cf->len <= CAN_MAX_DLEN); in can_is_can_skb()
91 #define CAN_MAX_DLEN 8 macro133 __u8 data[CAN_MAX_DLEN] __attribute__((aligned(8)));
138 (offsetof(struct es58x_fd_tx_can_msg, data[CAN_MAX_DLEN]))153 (offsetof(struct es58x_fd_rx_can_msg, data[CAN_MAX_DLEN]))
82 u8 data[CAN_MAX_DLEN];113 u8 data[CAN_MAX_DLEN];
165 #define CAN_ISOTP_DEFAULT_LL_TX_DL CAN_MAX_DLEN
243 memset(ncf->data, so->opt.txpad_content, CAN_MAX_DLEN); in isotp_send_fc()244 ncf->len = CAN_MAX_DLEN; in isotp_send_fc()318 if (cf->len <= CAN_MAX_DLEN) in check_optimized()509 off = (so->rx.ll_dl > CAN_MAX_DLEN) ? 1 : 0; in isotp_rcv_ff()694 if (cf->len <= CAN_MAX_DLEN) { in isotp_rcv()744 } else if (cf->len > CAN_MAX_DLEN) { in isotp_fill_dataframe()981 off = (so->tx.ll_dl > CAN_MAX_DLEN) ? 1 : 0; in isotp_sendmsg()1032 if (size <= CAN_MAX_DLEN - SF_PCI_SZ4 - ae) in isotp_sendmsg()1450 (ll.tx_dl > CAN_MAX_DLEN || ll.tx_flags != 0)) in isotp_setsockopt_locked()
208 if (ccf->len != CAN_MAX_DLEN) in mod_retrieve_ccdlc()212 if (ccf->len8_dlc > CAN_MAX_DLEN && ccf->len8_dlc <= CAN_MAX_RAW_DLC) in mod_retrieve_ccdlc()225 if (ccf->len <= CAN_MAX_DLEN) in mod_store_ccdlc()234 ccf->len = CAN_MAX_DLEN; in mod_store_ccdlc()291 s8 dlen = CAN_MAX_DLEN; in cgw_chk_csum_parms()
176 u8 data[CAN_MAX_DLEN];181 u8 data[CAN_MAX_DLEN];
147 u8 data[CAN_MAX_DLEN];166 u8 data[CAN_MAX_DLEN];
212 u8 data[CAN_MAX_DLEN]; /* Data of CAN frames */
733 (sizeof(*msg) + CAN_MAX_DLEN)); in peak_canfd_start_xmit()
1358 priv->mb_size = sizeof(struct flexcan_mb) + CAN_MAX_DLEN; in flexcan_rx_offload_setup()
239 /* CAN frame payload length in byte (0 .. CAN_MAX_DLEN)