Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/can/
Dvcan.c73 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in vcan_rx()
88 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in vcan_tx()
Dvxcan.c40 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in vxcan_xmit()
Ddev.c488 struct canfd_frame *cf = (struct canfd_frame *)skb->data; in __can_get_echo_skb()
667 struct canfd_frame **cfd) in alloc_canfd_skb()
672 sizeof(struct canfd_frame)); in alloc_canfd_skb()
688 *cfd = skb_put_zero(skb, sizeof(struct canfd_frame)); in alloc_canfd_skb()
Dxilinx_can.c548 struct canfd_frame *cf = (struct canfd_frame *)skb->data; in xcan_write_frame()
807 struct canfd_frame *cf; in xcanfd_rx()
Dkvaser_pciefd.c727 struct canfd_frame *cf = (struct canfd_frame *)skb->data; in kvaser_pciefd_prepare_tx_packet()
1141 struct canfd_frame *cf; in kvaser_pciefd_handle_data_packet()
/Linux-v5.4/net/can/
Dgw.c88 struct canfd_frame and;
89 struct canfd_frame or;
90 struct canfd_frame xor;
91 struct canfd_frame set;
99 void (*modfunc[MAX_MODFUNCTIONS])(struct canfd_frame *cf,
108 void (*xor)(struct canfd_frame *cf,
110 void (*crc8)(struct canfd_frame *cf,
154 #define MODFUNC(func, op) static void func(struct canfd_frame *cf, \
174 static void mod_and_fddata(struct canfd_frame *cf, struct cf_mod *mod) in mod_and_fddata()
182 static void mod_or_fddata(struct canfd_frame *cf, struct cf_mod *mod) in mod_or_fddata()
[all …]
Dbcm.c96 static inline u64 get_u64(const struct canfd_frame *cp, int offset) in get_u64()
118 struct canfd_frame sframe;
119 struct canfd_frame last_sframe;
271 struct canfd_frame *cf = op->frames + op->cfsiz * op->currframe; in bcm_can_tx()
314 struct canfd_frame *frames, int has_timestamp) in bcm_send_to_user()
317 struct canfd_frame *firstframe; in bcm_send_to_user()
331 firstframe = (struct canfd_frame *)skb_tail_pointer(skb); in bcm_send_to_user()
428 static void bcm_rx_changed(struct bcm_op *op, struct canfd_frame *data) in bcm_rx_changed()
459 struct canfd_frame *lastdata, in bcm_rx_update_and_send()
460 const struct canfd_frame *rxdata) in bcm_rx_update_and_send()
[all …]
Daf_can.c202 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in can_send()
676 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in can_rcv()
693 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in canfd_rcv()
872 offsetof(struct canfd_frame, len) || in can_init()
874 offsetof(struct canfd_frame, data)); in can_init()
/Linux-v5.4/include/uapi/linux/
Dcan.h141 struct canfd_frame { struct
151 #define CANFD_MTU (sizeof(struct canfd_frame)) argument
/Linux-v5.4/include/linux/can/
Ddev.h98 const struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in can_dropped_invalid_skb()
185 struct canfd_frame **cfd);
/Linux-v5.4/include/uapi/linux/can/
Dgw.h116 struct canfd_frame cf;
/Linux-v5.4/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-v5.4/drivers/net/can/peak_canfd/
Dpeak_canfd.c240 struct canfd_frame *cf; in pucan_handle_can_rx()
631 struct canfd_frame *cf = (struct canfd_frame *)skb->data; in peak_canfd_start_xmit()
/Linux-v5.4/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-v5.4/drivers/net/can/usb/peak_usb/
Dpcan_usb_fd.c473 struct canfd_frame *cfd; in pcan_usb_fd_decode_canmsg()
715 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in pcan_usb_fd_encode_msg()
Dpcan_usb_core.c287 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in peak_usb_ndo_start_xmit()
/Linux-v5.4/drivers/net/can/rcar/
Drcar_canfd.c594 struct canfd_frame *cf, u32 off) in rcar_canfd_get_data()
605 struct canfd_frame *cf, u32 off) in rcar_canfd_put_data()
1342 struct canfd_frame *cf = (struct canfd_frame *)skb->data; in rcar_canfd_start_xmit()
1415 struct canfd_frame *cf; in rcar_canfd_rx_pkt()
/Linux-v5.4/drivers/net/can/m_can/
Dm_can.c441 struct canfd_frame *cf; in m_can_read_fifo()
1414 struct canfd_frame *cf = (struct canfd_frame *)cdev->tx_skb->data; in m_can_tx_handler()
/Linux-v5.4/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()