| /linux/drivers/net/can/rockchip/ |
| A D | rockchip_canfd-rx.c | 11 static bool rkcanfd_can_frame_header_equal(const struct canfd_frame *const cfd1, in rkcanfd_can_frame_header_equal() 12 const struct canfd_frame *const cfd2, in rkcanfd_can_frame_header_equal() 39 static bool rkcanfd_can_frame_data_equal(const struct canfd_frame *cfd1, in rkcanfd_can_frame_data_equal() 40 const struct canfd_frame *cfd2, in rkcanfd_can_frame_data_equal() 56 struct canfd_frame *cfd) in rkcanfd_fifo_header_to_cfd_header() 95 const struct canfd_frame *cfd_rx, const u32 ts, in rkcanfd_rxstx_filter() 100 const struct canfd_frame *cfd_nominal; in rkcanfd_rxstx_filter() 114 cfd_nominal = (struct canfd_frame *)skb->data; in rkcanfd_rxstx_filter() 204 struct canfd_frame cfd[1] = { }, *skb_cfd; in rkcanfd_handle_rx_int_one()
|
| A D | rockchip_canfd-tx.c | 13 const struct canfd_frame *cfd; in rkcanfd_tx_tail_is_eff() 31 cfd = (struct canfd_frame *)skb->data; in rkcanfd_tx_tail_is_eff() 71 const struct canfd_frame *cfd; in rkcanfd_start_xmit() 91 cfd = (struct canfd_frame *)skb->data; in rkcanfd_start_xmit()
|
| /linux/net/can/ |
| A D | gw.c | 87 struct canfd_frame and; 88 struct canfd_frame or; 89 struct canfd_frame xor; 90 struct canfd_frame set; 107 void (*xor)(struct canfd_frame *cf, 109 void (*crc8)(struct canfd_frame *cf, 217 static void mod_store_ccdlc(struct canfd_frame *cf) in mod_store_ccdlc() 276 static void canfdframecpy(struct canfd_frame *dst, struct canfd_frame *src) in canfdframecpy() 364 static void cgw_csum_crc8_rel(struct canfd_frame *cf, in cgw_csum_crc8_rel() 460 struct canfd_frame *cf; in can_can_gw_rcv() [all …]
|
| A D | bcm.c | 121 struct canfd_frame sframe; 122 struct canfd_frame last_sframe; 332 struct canfd_frame *frames, int has_timestamp) in bcm_send_to_user() 335 struct canfd_frame *firstframe; in bcm_send_to_user() 493 struct canfd_frame *lastdata, in bcm_rx_update_and_send() 494 const struct canfd_frame *rxdata, in bcm_rx_update_and_send() 541 const struct canfd_frame *rxdata, in bcm_rx_cmp_to_index() 544 struct canfd_frame *cf = op->frames + op->cfsiz * index; in bcm_rx_cmp_to_index() 676 const struct canfd_frame *rxframe = (struct canfd_frame *)skb->data; in bcm_rx_handler() 906 struct canfd_frame *cf; in bcm_tx_setup() [all …]
|
| A D | isotp.c | 217 struct canfd_frame *ncf; in isotp_send_fc() 237 ncf = (struct canfd_frame *)nskb->data; in isotp_send_fc() 312 static int check_optimized(struct canfd_frame *cf, int start_index) in check_optimized() 332 static int check_pad(struct isotp_sock *so, struct canfd_frame *cf, in check_pad() 648 struct canfd_frame *cf; in isotp_rcv() 658 cf = (struct canfd_frame *)skb->data; in isotp_rcv() 766 struct canfd_frame *cf; in isotp_send_cframe() 784 cf = (struct canfd_frame *)skb->data; in isotp_send_cframe() 857 struct canfd_frame *cf = (struct canfd_frame *)skb->data; in isotp_rcv_echo() 943 struct canfd_frame *cf; in isotp_sendmsg() [all …]
|
| A D | af_can.c | 210 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in can_send() 867 offsetof(struct canfd_frame, len) || in can_init() 871 offsetof(struct canfd_frame, data)); in can_init()
|
| /linux/include/linux/can/ |
| A D | skb.h | 32 struct canfd_frame **cfd); 114 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in can_is_canfd_skb() 138 const struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in can_skb_get_len_val()
|
| /linux/drivers/net/can/dev/ |
| A D | skb.c | 231 struct canfd_frame **cfd) in alloc_canfd_skb() 236 sizeof(struct canfd_frame)); in alloc_canfd_skb() 247 *cfd = skb_put_zero(skb, sizeof(struct canfd_frame)); in alloc_canfd_skb() 331 struct canfd_frame *cfd; in can_skb_headroom_valid() 333 cfd = (struct canfd_frame *)skb->data; in can_skb_headroom_valid()
|
| A D | length.c | 71 const struct canfd_frame *cf = (const struct canfd_frame *)skb->data; in can_skb_get_frame_len()
|
| /linux/include/uapi/linux/ |
| A D | can.h | 173 struct canfd_frame { struct 222 #define CANFD_MTU (sizeof(struct canfd_frame))
|
| /linux/drivers/net/can/spi/mcp251xfd/ |
| A D | mcp251xfd-rx.c | 124 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in mcp251xfd_hw_rx_obj_to_skb() 171 struct canfd_frame *cfd; in mcp251xfd_handle_rxif_one()
|
| A D | mcp251xfd-tx.c | 36 const struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in mcp251xfd_tx_obj_from_skb()
|
| A D | mcp251xfd.h | 448 u8 data[sizeof_field(struct canfd_frame, data)]; 460 u8 data[sizeof_field(struct canfd_frame, data)]; 474 u8 data[sizeof_field(struct canfd_frame, data)];
|
| /linux/include/uapi/linux/can/ |
| A D | gw.h | 116 struct canfd_frame cf;
|
| /linux/drivers/net/can/usb/etas_es58x/ |
| A D | es58x_core.h | 701 struct canfd_frame *cf = (struct canfd_frame *)skb->data; in es58x_get_flags()
|
| /linux/Documentation/networking/ |
| A D | can.rst | 409 The struct canfd_frame is defined in include/linux/can.h: 413 struct canfd_frame { 431 the easy handling of the length information the canfd_frame.len element 432 contains a plain length value from 0 .. 64. So both canfd_frame.len and 444 #define CANFD_MTU (sizeof(struct canfd_frame)) == 72 => CAN FD frame 655 [ remember: CANFD_MTU == sizeof(struct canfd_frame) ] 657 struct canfd_frame cfd; 883 The CAN frames following the bcm_msg_head are struct canfd_frame's 981 bcm_msg_head are defined as struct canfd_frame: 987 struct canfd_frame frame[5]; [all …]
|
| /linux/drivers/net/can/ctucanfd/ |
| A D | ctucanfd_base.c | 515 static bool ctucan_insert_frame(struct ctucan_priv *priv, const struct canfd_frame *cf, u8 buf, in ctucan_insert_frame() 598 struct canfd_frame *cf = (struct canfd_frame *)skb->data; in ctucan_start_xmit() 646 static void ctucan_read_rx_frame(struct ctucan_priv *priv, struct canfd_frame *cf, u32 ffw) in ctucan_read_rx_frame() 713 struct canfd_frame *cf; in ctucan_rx()
|
| /linux/drivers/net/can/peak_canfd/ |
| A D | peak_canfd.c | 255 struct canfd_frame *cf; in pucan_handle_can_rx() 646 struct canfd_frame *cf = (struct canfd_frame *)skb->data; in peak_canfd_start_xmit()
|
| /linux/drivers/net/can/usb/ |
| A D | esd_usb.c | 397 struct canfd_frame *cfd; in esd_usb_rx_can_msg() 414 cfd = (struct canfd_frame *)cf; in esd_usb_rx_can_msg() 820 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in esd_usb_start_xmit()
|
| A D | gs_usb.c | 582 struct canfd_frame *cfd; in gs_usb_receive_bulk_callback() 766 struct canfd_frame *cfd; in gs_can_start_xmit() 801 cfd = (struct canfd_frame *)skb->data; in gs_can_start_xmit()
|
| /linux/drivers/net/can/ifi_canfd/ |
| A D | ifi_canfd.c | 252 struct canfd_frame *cf; in ifi_canfd_read_fifo() 858 struct canfd_frame *cf = (struct canfd_frame *)skb->data; in ifi_canfd_start_xmit()
|
| /linux/drivers/net/can/usb/peak_usb/ |
| A D | pcan_usb_fd.c | 534 struct canfd_frame *cfd; in pcan_usb_fd_decode_canmsg() 799 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in pcan_usb_fd_encode_msg()
|
| /linux/drivers/net/can/rcar/ |
| A D | rcar_canfd.c | 655 struct canfd_frame *cf, u32 off) in rcar_canfd_get_data() 666 struct canfd_frame *cf, u32 off) in rcar_canfd_put_data() 1494 struct canfd_frame *cf = (struct canfd_frame *)skb->data; in rcar_canfd_start_xmit() 1567 struct canfd_frame *cf; in rcar_canfd_rx_pkt()
|
| /linux/drivers/net/can/ |
| A D | xilinx_can.c | 655 struct canfd_frame *cf = (struct canfd_frame *)skb->data; in xcan_write_frame() 916 struct canfd_frame *cf; in xcanfd_rx()
|
| A D | kvaser_pciefd.c | 757 struct canfd_frame *cf = (struct canfd_frame *)skb->data; in kvaser_pciefd_prepare_tx_packet() 1188 struct canfd_frame *cf; in kvaser_pciefd_handle_data_packet()
|