Home
last modified time | relevance | path

Searched refs:can_cc_dlc2len (Results 1 – 25 of 28) sorted by relevance

12

/linux/include/linux/can/
A Dlength.h132 #define can_cc_dlc2len(dlc) (min_t(u8, (dlc), CAN_MAX_DLEN)) macro
156 cf->len = can_cc_dlc2len(dlc); in can_frame_set_cc_len()
/linux/drivers/net/can/usb/etas_es58x/
A Des581_4.c31 offsetof(typeof(msg), data[can_cc_dlc2len((msg).dlc)])
A Des58x_fd.c40 __msg_len = can_cc_dlc2len(__msg.dlc); \
/linux/drivers/net/can/
A Dpch_can.c686 cf->len = can_cc_dlc2len((ioread32(&priv->regs-> in pch_can_rx_normal()
718 dlc = can_cc_dlc2len(ioread32(&priv->regs->ifregs[1].mcont) & in pch_can_tx_complete()
A Dxilinx_can.c761 cf->len = can_cc_dlc2len(dlc); in xcan_rx()
837 cf->len = can_cc_dlc2len((dlc & XCAN_DLCR_DLC_MASK) >> in xcanfd_rx()
A Djanz-ican3.c919 cf->len = can_cc_dlc2len(desc->data[1] & ICAN3_CAN_DLC_MASK); in ican3_to_can_frame()
922 cf->len = can_cc_dlc2len(desc->data[0] & ICAN3_CAN_DLC_MASK); in ican3_to_can_frame()
A Dsun4i_can.c478 cf->len = can_cc_dlc2len(fi & 0x0F); in sun4i_can_rx()
A Dti_hecc.c569 cf->len = can_cc_dlc2len(data & 0xF); in ti_hecc_mailbox_read()
A Dat91_can.c583 cf->len = can_cc_dlc2len((reg_msr >> 16) & 0xf); in at91_read_mb()
A Dgrcan.c1204 cf->len = can_cc_dlc2len((slot[1] & GRCAN_MSG_DLC) in grcan_receive()
/linux/drivers/net/can/usb/
A Ducan.c309 return can_cc_dlc2len(msg->dlc); in ucan_can_cc_dlc2len()
311 return can_cc_dlc2len(len - (UCAN_IN_HDR_SIZE + sizeof(msg->id))); in ucan_can_cc_dlc2len()
A Dmcba_usb.c456 cf->len = can_cc_dlc2len(msg->dlc & MCBA_DLC_MASK); in mcba_usb_process_can()
A Dems_usb.c311 cf->len = can_cc_dlc2len(msg->msg.can_msg.length & 0xF); in ems_usb_rx_can_msg()
/linux/drivers/net/can/usb/kvaser_usb/
A Dkvaser_usb_leaf.c1047 cf->len = can_cc_dlc2len(cmd->u.leaf.log_message.dlc); in kvaser_usb_leaf_rx_can_msg()
1065 cf->len = can_cc_dlc2len(rx_data[5]); in kvaser_usb_leaf_rx_can_msg()
A Dkvaser_usb_hydra.c1209 cf->len = can_cc_dlc2len(cmd->rx_can.dlc); in kvaser_usb_hydra_rx_msg_std()
1286 cf->len = can_cc_dlc2len(dlc); in kvaser_usb_hydra_rx_msg_ext()
/linux/drivers/net/can/spi/
A Dmcp251x.c679 len = can_cc_dlc2len(buf[RXBDLC_OFF] & RXBDLC_LEN_MASK); in mcp251x_hw_rx_frame()
735 frame->len = can_cc_dlc2len(buf[RXBDLC_OFF] & RXBDLC_LEN_MASK); in mcp251x_hw_rx()
A Dhi311x.c344 frame->len = can_cc_dlc2len(buf[HI3110_FIFO_WOTIME_DLC_OFF] & 0x0F); in hi3110_hw_rx()
/linux/drivers/net/can/mscan/
A Dmscan.c315 frame->len = can_cc_dlc2len(in_8(&regs->rx.dlr) & 0xf); in mscan_get_rx_frame()
/linux/drivers/net/can/peak_canfd/
A Dpeak_canfd.c262 cf_len = can_cc_dlc2len(pucan_msg_get_dlc(msg)); in pucan_handle_can_rx()
/linux/drivers/net/can/cc770/
A Dcc770.c489 cf->len = can_cc_dlc2len((config & 0xf0) >> 4); in cc770_rx()
/linux/drivers/net/can/rcar/
A Drcar_canfd.c1527 cf->len = can_cc_dlc2len(RCANFD_RFPTR_RFDLC(dlc)); in rcar_canfd_rx_pkt()
1543 cf->len = can_cc_dlc2len(RCANFD_RFPTR_RFDLC(dlc)); in rcar_canfd_rx_pkt()
A Drcar_can.c662 cf->len = can_cc_dlc2len(dlc); in rcar_can_rx_pkt()
/linux/drivers/net/can/softing/
A Dsofting_main.c263 msg.len = can_cc_dlc2len(*ptr++); in softing_handle_1()
/linux/drivers/net/can/ifi_canfd/
A Difi_canfd.c276 cf->len = can_cc_dlc2len(dlc); in ifi_canfd_read_fifo()
/linux/drivers/net/can/c_can/
A Dc_can_main.c377 frame->len = can_cc_dlc2len(ctrl & 0x0F); in c_can_read_msg_object()

Completed in 74 milliseconds

12