Searched refs:can_dlc (Results 1 – 11 of 11) sorted by relevance
/openbmc/qemu/hw/net/can/ |
H A D | can_sja1000.c | 175 if (frame->can_dlc == 0) { in can_sja_accept_filter() 184 if (frame->can_dlc < 2) { in can_sja_accept_filter() 256 msg->can_dlc, in can_display_msg() 260 for (i = 0; i < msg->can_dlc; i++) { in can_display_msg() 277 frame->can_dlc = buff[0] & 0x0f; in buff2frame_pel() 279 if (frame->can_dlc > 8) { in buff2frame_pel() 280 frame->can_dlc = 8; in buff2frame_pel() 289 for (i = 0; i < frame->can_dlc; i++) { in buff2frame_pel() 298 for (i = 0; i < frame->can_dlc; i++) { in buff2frame_pel() 317 frame->can_dlc = buff[1] & 0x0f; in buff2frame_bas() [all …]
|
H A D | ctucan_core.c | 52 frame->can_dlc = 0; in ctucan_buff2frame() 66 frame->can_dlc = can_dlc2len(frame_form_w.s.dlc); in ctucan_buff2frame() 115 bytes_cnt = frame->can_dlc; in ctucan_frame2buff() 120 frame_form_w.s.dlc = can_len2dlc(frame->can_dlc); in ctucan_frame2buff()
|
H A D | xlnx-zynqmp-can.c | 391 frame->can_dlc = FIELD_EX32(data[1], TXFIFO_DLC, DLC); in generate_frame() 523 trace_xlnx_can_tx_data(frame.can_id, frame.can_dlc, in transfer_fifo() 721 trace_xlnx_can_rx_fifo_filter_reject(frame->can_id, frame->can_dlc); in update_rx_fifo() 726 if (filter_pass && frame->can_dlc <= MAX_DLC) { in update_rx_fifo() 737 frame->can_dlc) | in update_rx_fifo() 770 trace_xlnx_can_rx_data(frame->can_id, frame->can_dlc, in update_rx_fifo()
|
H A D | xlnx-versal-canfd.c | 909 frame->can_dlc = can_dlc2len(dlc_value); in regs2frame() 911 for (j = 0; j < frame->can_dlc; j++) { in regs2frame() 968 uint8_t dlc = frame->can_dlc; in store_rx_sequential() 1140 frame->can_dlc); in update_rx_sequential() 1179 trace_xlnx_canfd_rx_data(path, frame->can_id, frame->can_dlc, in update_rx_sequential() 1364 trace_xlnx_canfd_tx_data(path, frame.can_id, frame.can_dlc, in transfer_data()
|
/openbmc/qemu/include/net/ |
H A D | can_emu.h | 48 uint8_t can_dlc; /* data length code: 0 .. 8 */ member 125 uint8_t can_dlc2len(uint8_t can_dlc);
|
/openbmc/qemu/net/can/ |
H A D | can_core.c | 44 uint8_t can_dlc2len(uint8_t can_dlc) in can_dlc2len() argument 46 return dlc2len[can_dlc & 0x0F]; in can_dlc2len()
|
H A D | can_socketcan.c | 84 msg->can_dlc, in can_host_socketcan_display_msg() 88 for (i = 0; i < msg->can_dlc; i++) { in can_host_socketcan_display_msg()
|
/openbmc/linux/include/uapi/linux/ |
H A D | can.h | 128 __u8 can_dlc; /* deprecated */ member
|
/openbmc/linux/drivers/net/can/usb/ |
H A D | gs_usb.c | 265 u8 can_dlc; member 620 cfd->len = can_fd_dlc2len(hf->can_dlc); in gs_usb_receive_bulk_callback() 633 can_frame_set_cc_len(cf, hf->can_dlc, dev->can.ctrlmode); in gs_usb_receive_bulk_callback() 804 hf->can_dlc = can_fd_len2dlc(cfd->len); in gs_can_start_xmit() 816 hf->can_dlc = can_get_cc_dlc(cf, dev->can.ctrlmode); in gs_can_start_xmit()
|
/openbmc/linux/drivers/net/can/ctucanfd/ |
H A D | ctucanfd_base.c | 909 stats->rx_bytes += cf->can_dlc; in ctucan_err_interrupt() 954 stats->rx_bytes += cf->can_dlc; in ctucan_rx_poll()
|
/openbmc/linux/Documentation/networking/ |
H A D | can.rst | 240 * was previously named can_dlc so we need to carry that 244 __u8 can_dlc; /* deprecated */ 253 used instead of can_dlc. The deprecated can_dlc was misleadingly named as
|