Home
last modified time | relevance | path

Searched refs:canfd_frame (Results 1 – 15 of 15) sorted by relevance

/Linux-v4.19/drivers/net/can/
Dvcan.c74 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in vcan_rx()
89 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in vcan_tx()
Dvxcan.c50 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in vxcan_xmit()
Ddev.c659 struct canfd_frame **cfd) in alloc_canfd_skb()
664 sizeof(struct canfd_frame)); in alloc_canfd_skb()
680 *cfd = skb_put_zero(skb, sizeof(struct canfd_frame)); in alloc_canfd_skb()
/Linux-v4.19/net/can/
Dbcm.c92 static inline u64 get_u64(const struct canfd_frame *cp, int offset) in get_u64()
115 struct canfd_frame sframe;
116 struct canfd_frame last_sframe;
252 struct canfd_frame *cf = op->frames + op->cfsiz * op->currframe; in bcm_can_tx()
295 struct canfd_frame *frames, int has_timestamp) in bcm_send_to_user()
298 struct canfd_frame *firstframe; in bcm_send_to_user()
312 firstframe = (struct canfd_frame *)skb_tail_pointer(skb); in bcm_send_to_user()
410 static void bcm_rx_changed(struct bcm_op *op, struct canfd_frame *data) in bcm_rx_changed()
441 struct canfd_frame *lastdata, in bcm_rx_update_and_send()
442 const struct canfd_frame *rxdata) in bcm_rx_update_and_send()
[all …]
Daf_can.c219 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in can_send()
722 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in can_rcv()
739 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in canfd_rcv()
963 offsetof(struct canfd_frame, len) || in can_init()
965 offsetof(struct canfd_frame, data)); in can_init()
/Linux-v4.19/include/uapi/linux/
Dcan.h141 struct canfd_frame { struct
151 #define CANFD_MTU (sizeof(struct canfd_frame)) argument
/Linux-v4.19/include/linux/can/
Ddev.h98 const struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in can_dropped_invalid_skb()
183 struct canfd_frame **cfd);
/Linux-v4.19/Documentation/networking/
Dcan.rst376 The struct canfd_frame is defined in include/linux/can.h:
380 struct canfd_frame {
389 The struct canfd_frame and the existing struct can_frame have the can_id,
392 When the content of a struct can_frame is copied into a struct canfd_frame
395 When introducing the struct canfd_frame it turned out that the data length
398 the easy handling of the length information the canfd_frame.len element
399 contains a plain length value from 0 .. 64. So both canfd_frame.len and
411 #define CANFD_MTU (sizeof(struct canfd_frame)) == 72 => CAN FD frame
602 [ remember: CANFD_MTU == sizeof(struct canfd_frame) ]
604 struct canfd_frame cfd;
[all …]
/Linux-v4.19/drivers/net/can/peak_canfd/
Dpeak_canfd.c248 struct canfd_frame *cf; in pucan_handle_can_rx()
639 struct canfd_frame *cf = (struct canfd_frame *)skb->data; in peak_canfd_start_xmit()
/Linux-v4.19/drivers/net/can/ifi_canfd/
Difi_canfd.c252 struct canfd_frame *cf; in ifi_canfd_read_fifo()
870 struct canfd_frame *cf = (struct canfd_frame *)skb->data; in ifi_canfd_start_xmit()
/Linux-v4.19/drivers/net/can/usb/peak_usb/
Dpcan_usb_fd.c481 struct canfd_frame *cfd; in pcan_usb_fd_decode_canmsg()
723 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in pcan_usb_fd_encode_msg()
Dpcan_usb_core.c295 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in peak_usb_ndo_start_xmit()
/Linux-v4.19/drivers/net/can/rcar/
Drcar_canfd.c598 struct canfd_frame *cf, u32 off) in rcar_canfd_get_data()
609 struct canfd_frame *cf, u32 off) in rcar_canfd_put_data()
1346 struct canfd_frame *cf = (struct canfd_frame *)skb->data; in rcar_canfd_start_xmit()
1419 struct canfd_frame *cf; in rcar_canfd_rx_pkt()
/Linux-v4.19/drivers/net/can/m_can/
Dm_can.c456 struct canfd_frame *cf; in m_can_read_fifo()
1392 struct canfd_frame *cf = (struct canfd_frame *)skb->data; in m_can_start_xmit()
/Linux-v4.19/drivers/net/can/usb/kvaser_usb/
Dkvaser_usb_hydra.c1200 struct canfd_frame *cf; in kvaser_usb_hydra_rx_msg_ext()
1353 struct canfd_frame *cf = (struct canfd_frame *)skb->data; in kvaser_usb_hydra_frame_to_cmd_ext()