Home
last modified time | relevance | path

Searched refs:CAN_MAX_DLEN (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/include/linux/can/
H A Dlength.h249 #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()
H A Dskb.h109 return (skb->len == CAN_MTU && cf->len <= CAN_MAX_DLEN); in can_is_can_skb()
/openbmc/linux/include/uapi/linux/
H A Dcan.h91 #define CAN_MAX_DLEN 8 macro
133 __u8 data[CAN_MAX_DLEN] __attribute__((aligned(8)));
/openbmc/linux/drivers/net/can/usb/etas_es58x/
H A Des58x_fd.h138 (offsetof(struct es58x_fd_tx_can_msg, data[CAN_MAX_DLEN]))
153 (offsetof(struct es58x_fd_rx_can_msg, data[CAN_MAX_DLEN]))
H A Des581_4.h82 u8 data[CAN_MAX_DLEN];
113 u8 data[CAN_MAX_DLEN];
/openbmc/linux/include/uapi/linux/can/
H A Disotp.h165 #define CAN_ISOTP_DEFAULT_LL_TX_DL CAN_MAX_DLEN
/openbmc/linux/net/can/
H A Disotp.c243 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()
H A Dgw.c208 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()
/openbmc/linux/drivers/net/can/usb/
H A Df81604.c176 u8 data[CAN_MAX_DLEN];
181 u8 data[CAN_MAX_DLEN];
H A Desd_usb.c147 u8 data[CAN_MAX_DLEN];
166 u8 data[CAN_MAX_DLEN];
H A Ducan.c212 u8 data[CAN_MAX_DLEN]; /* Data of CAN frames */
/openbmc/linux/drivers/net/can/peak_canfd/
H A Dpeak_canfd.c733 (sizeof(*msg) + CAN_MAX_DLEN)); in peak_canfd_start_xmit()
/openbmc/linux/drivers/net/can/flexcan/
H A Dflexcan-core.c1358 priv->mb_size = sizeof(struct flexcan_mb) + CAN_MAX_DLEN; in flexcan_rx_offload_setup()
/openbmc/linux/Documentation/networking/
H A Dcan.rst239 /* CAN frame payload length in byte (0 .. CAN_MAX_DLEN)