Home
last modified time | relevance | path

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

/linux/include/linux/can/
A Dlength.h117 #define CAN_FRAME_LEN_MAX (CAN_FRAME_OVERHEAD_EFF + CAN_MAX_DLEN)
132 #define can_cc_dlc2len(dlc) (min_t(u8, (dlc), CAN_MAX_DLEN))
139 (cf->len == CAN_MAX_DLEN) && in can_get_cc_dlc()
140 (cf->len8_dlc > CAN_MAX_DLEN && cf->len8_dlc <= CAN_MAX_RAW_DLC)) in can_get_cc_dlc()
152 if (ctrlmode & CAN_CTRLMODE_CC_LEN8_DLC && dlc > CAN_MAX_DLEN) in can_frame_set_cc_len()
A Dskb.h136 cfd->len > CAN_MAX_DLEN)) in can_dropped_invalid_skb()
/linux/include/uapi/linux/
A Dcan.h88 #define CAN_MAX_DLEN 8 macro
120 __u8 data[CAN_MAX_DLEN] __attribute__((aligned(8)));
/linux/drivers/net/can/usb/etas_es58x/
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]))
A Des581_4.h82 u8 data[CAN_MAX_DLEN];
113 u8 data[CAN_MAX_DLEN];
/linux/net/can/
A Disotp.c211 memset(ncf->data, so->opt.txpad_content, CAN_MAX_DLEN); in isotp_send_fc()
212 ncf->len = CAN_MAX_DLEN; in isotp_send_fc()
285 if (cf->len <= CAN_MAX_DLEN) in check_optimized()
473 off = (so->rx.ll_dl > CAN_MAX_DLEN) ? 1 : 0; in isotp_rcv_ff()
642 if (cf->len <= CAN_MAX_DLEN) { in isotp_rcv()
689 } else if (cf->len > CAN_MAX_DLEN) { in isotp_fill_dataframe()
883 off = (so->tx.ll_dl > CAN_MAX_DLEN) ? 1 : 0; in isotp_sendmsg()
930 if (size <= CAN_MAX_DLEN - SF_PCI_SZ4 - ae) in isotp_sendmsg()
1268 (ll.tx_dl > CAN_MAX_DLEN || ll.tx_flags != 0)) in isotp_setsockopt_locked()
A Daf_can.c208 if (unlikely(cfd->len > CAN_MAX_DLEN)) in can_send()
222 if (unlikely(skb->len > skb->dev->mtu && cfd->len > CAN_MAX_DLEN)) { in can_send()
690 if (unlikely(cfd->len > CAN_MAX_DLEN)) { in can_rcv()
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()
/linux/include/uapi/linux/can/
A Disotp.h151 #define CAN_ISOTP_DEFAULT_LL_TX_DL CAN_MAX_DLEN
/linux/drivers/net/can/peak_canfd/
A Dpeak_canfd.c736 (sizeof(*msg) + CAN_MAX_DLEN)); in peak_canfd_start_xmit()
/linux/drivers/net/can/usb/
A Ducan.c211 u8 data[CAN_MAX_DLEN]; /* Data of CAN frames */
/linux/drivers/net/can/
A Dflexcan.c1424 priv->mb_size = sizeof(struct flexcan_mb) + CAN_MAX_DLEN; in flexcan_rx_offload_setup()
/linux/Documentation/networking/
A Dcan.rst239 /* CAN frame payload length in byte (0 .. CAN_MAX_DLEN)

Completed in 30 milliseconds