Home
last modified time | relevance | path

Searched refs:can_fd_len2dlc (Results 1 – 18 of 18) sorted by relevance

/linux/drivers/net/can/dev/
H A Dlength.c35 u8 can_fd_len2dlc(u8 len) in can_fd_len2dlc() function
45 EXPORT_SYMBOL_GPL(can_fd_len2dlc);
/linux/include/linux/can/
H A Dlength.h295 u8 can_fd_len2dlc(u8 len);
303 return can_fd_dlc2len(can_fd_len2dlc(len)); in canfd_sanitize_len()
/linux/drivers/net/can/rockchip/
H A Drockchip_canfd-tx.c111 can_fd_len2dlc(cfd->len)); in rkcanfd_start_xmit()
/linux/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd-tx.c79 dlc = can_fd_len2dlc(cfd->len); in mcp251xfd_tx_obj_from_skb()
/linux/drivers/net/can/usb/etas_es58x/
H A Des58x_fd.c143 dlc = can_fd_len2dlc(rx_can_msg->len); in es58x_fd_rx_can_msg()
/linux/drivers/net/can/peak_canfd/
H A Dpeak_canfd.c682 len = can_fd_len2dlc(cf->len); in peak_canfd_start_xmit()
/linux/drivers/net/can/ifi_canfd/
H A Difi_canfd.c913 txdlc = can_fd_len2dlc(cf->len); in ifi_canfd_start_xmit()
/linux/drivers/net/can/m_can/
H A Dm_can.c1845 fifo_element.dlc = can_fd_len2dlc(cf->len) << 16; in m_can_tx_handler()
1898 FIELD_PREP(TX_BUF_DLC_MASK, can_fd_len2dlc(cf->len)) | in m_can_tx_handler()
/linux/drivers/net/can/usb/peak_usb/
H A Dpcan_usb_fd.c820 dlc = can_fd_len2dlc(cfd->len); in pcan_usb_fd_encode_msg()
/linux/drivers/net/can/ctucanfd/
H A Dctucanfd_base.c545 ffw |= FIELD_PREP(REG_FRAME_FORMAT_W_DLC, can_fd_len2dlc(cf->len)); in ctucan_insert_frame()
/linux/drivers/net/can/usb/
H A Desd_usb.c856 msg->tx.dlc = can_fd_len2dlc(cfd->len); in esd_usb_start_xmit()
H A Dgs_usb.c804 hf->can_dlc = can_fd_len2dlc(cfd->len); in gs_can_start_xmit()
/linux/drivers/net/can/
H A Dxilinx_can.c686 dlc = can_fd_len2dlc(cf->len) << XCAN_DLCR_DLC_SHIFT; in xcan_write_frame()
H A Dkvaser_pciefd.c776 can_fd_len2dlc(cf->len)); in kvaser_pciefd_prepare_tx_packet()
/linux/drivers/net/can/usb/kvaser_usb/
H A Dkvaser_usb_hydra.c1486 dlc = can_fd_len2dlc(cf->len); in kvaser_usb_hydra_frame_to_cmd_ext()
/linux/drivers/net/can/rcar/
H A Drcar_canfd.c1512 dlc = RCANFD_CFPTR_CFDLC(can_fd_len2dlc(cf->len)); in rcar_canfd_start_xmit()
/linux/drivers/net/can/flexcan/
H A Dflexcan-core.c770 u32 ctrl = FLEXCAN_MB_CODE_TX_DATA | ((can_fd_len2dlc(cfd->len)) << 16); in flexcan_start_xmit()
/linux/Documentation/networking/
H A Dcan.rst1408 functions can_fd_dlc2len() and can_fd_len2dlc().