Home
last modified time | relevance | path

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

12

/Linux-v6.1/net/can/
Dgw.c87 struct canfd_frame and;
88 struct canfd_frame or;
89 struct canfd_frame xor;
90 struct canfd_frame set;
98 void (*modfunc[MAX_MODFUNCTIONS])(struct canfd_frame *cf,
107 void (*xor)(struct canfd_frame *cf,
109 void (*crc8)(struct canfd_frame *cf,
153 #define MODFUNC(func, op) static void func(struct canfd_frame *cf, \
173 static void mod_and_fddata(struct canfd_frame *cf, struct cf_mod *mod) in mod_and_fddata()
181 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()
119 struct canfd_frame sframe;
120 struct canfd_frame last_sframe;
276 struct canfd_frame *cf = op->frames + op->cfsiz * op->currframe; in bcm_can_tx()
320 struct canfd_frame *frames, int has_timestamp) in bcm_send_to_user()
323 struct canfd_frame *firstframe; in bcm_send_to_user()
337 firstframe = (struct canfd_frame *)skb_tail_pointer(skb); in bcm_send_to_user()
435 static void bcm_rx_changed(struct bcm_op *op, struct canfd_frame *data) in bcm_rx_changed()
467 struct canfd_frame *lastdata, in bcm_rx_update_and_send()
468 const struct canfd_frame *rxdata) in bcm_rx_update_and_send()
[all …]
Disotp.c208 struct canfd_frame *ncf; in isotp_send_fc()
228 ncf = (struct canfd_frame *)nskb->data; in isotp_send_fc()
303 static int check_optimized(struct canfd_frame *cf, int start_index) in check_optimized()
323 static int check_pad(struct isotp_sock *so, struct canfd_frame *cf, in check_pad()
353 static int isotp_rcv_fc(struct isotp_sock *so, struct canfd_frame *cf, int ae) in isotp_rcv_fc()
434 static int isotp_rcv_sf(struct sock *sk, struct canfd_frame *cf, int pcilen, in isotp_rcv_sf()
467 static int isotp_rcv_ff(struct sock *sk, struct canfd_frame *cf, int ae) in isotp_rcv_ff()
530 static int isotp_rcv_cf(struct sock *sk, struct canfd_frame *cf, int ae, in isotp_rcv_cf()
628 struct canfd_frame *cf; in isotp_rcv()
638 cf = (struct canfd_frame *)skb->data; in isotp_rcv()
[all …]
Daf_can.c210 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in can_send()
868 offsetof(struct canfd_frame, len) || in can_init()
870 offsetof(struct canfd_frame, data)); in can_init()
/Linux-v6.1/include/linux/can/
Dskb.h32 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-v6.1/drivers/net/can/dev/
Dskb.c226 struct canfd_frame **cfd) in alloc_canfd_skb()
231 sizeof(struct canfd_frame)); in alloc_canfd_skb()
242 *cfd = skb_put_zero(skb, sizeof(struct canfd_frame)); in alloc_canfd_skb()
326 struct canfd_frame *cfd; in can_skb_headroom_valid()
328 cfd = (struct canfd_frame *)skb->data; in can_skb_headroom_valid()
Dlength.c71 const struct canfd_frame *cf = (const struct canfd_frame *)skb->data; in can_skb_get_frame_len()
/Linux-v6.1/include/uapi/linux/
Dcan.h173 struct canfd_frame { struct
217 #define CANFD_MTU (sizeof(struct canfd_frame))
/Linux-v6.1/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-rx.c113 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in mcp251xfd_hw_rx_obj_to_skb()
162 struct canfd_frame *cfd; in mcp251xfd_handle_rxif_one()
Dmcp251xfd-tx.c36 const struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in mcp251xfd_tx_obj_from_skb()
Dmcp251xfd.h447 u8 data[sizeof_field(struct canfd_frame, data)];
459 u8 data[sizeof_field(struct canfd_frame, data)];
473 u8 data[sizeof_field(struct canfd_frame, data)];
/Linux-v6.1/include/uapi/linux/can/
Dgw.h116 struct canfd_frame cf;
/Linux-v6.1/drivers/net/can/usb/etas_es58x/
Des58x_core.h658 struct canfd_frame *cf = (struct canfd_frame *)skb->data; in es58x_get_flags()
/Linux-v6.1/Documentation/networking/
Dcan.rst409 The struct canfd_frame is defined in include/linux/can.h:
413 struct canfd_frame {
422 The struct canfd_frame and the existing struct can_frame have the can_id,
425 When the content of a struct can_frame is copied into a struct canfd_frame
428 When introducing the struct canfd_frame it turned out that the data length
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
637 [ remember: CANFD_MTU == sizeof(struct canfd_frame) ]
639 struct canfd_frame cfd;
[all …]
/Linux-v6.1/drivers/net/can/ctucanfd/
Dctucanfd_base.c515 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-v6.1/drivers/net/can/peak_canfd/
Dpeak_canfd.c255 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-v6.1/drivers/net/can/ifi_canfd/
Difi_canfd.c253 struct canfd_frame *cf; in ifi_canfd_read_fifo()
859 struct canfd_frame *cf = (struct canfd_frame *)skb->data; in ifi_canfd_start_xmit()
/Linux-v6.1/drivers/net/can/usb/peak_usb/
Dpcan_usb_fd.c488 struct canfd_frame *cfd; in pcan_usb_fd_decode_canmsg()
753 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in pcan_usb_fd_encode_msg()
/Linux-v6.1/drivers/net/can/rcar/
Drcar_canfd.c641 struct canfd_frame *cf, u32 off) in rcar_canfd_get_data()
652 struct canfd_frame *cf, u32 off) in rcar_canfd_put_data()
1474 struct canfd_frame *cf = (struct canfd_frame *)skb->data; in rcar_canfd_start_xmit()
1547 struct canfd_frame *cf; in rcar_canfd_rx_pkt()
/Linux-v6.1/drivers/net/can/usb/
Dgs_usb.c533 struct canfd_frame *cfd; in gs_usb_receive_bulk_callback()
721 struct canfd_frame *cfd; in gs_can_start_xmit()
758 cfd = (struct canfd_frame *)skb->data; in gs_can_start_xmit()
/Linux-v6.1/drivers/net/can/
Dxilinx_can.c587 struct canfd_frame *cf = (struct canfd_frame *)skb->data; in xcan_write_frame()
848 struct canfd_frame *cf; in xcanfd_rx()
Dkvaser_pciefd.c731 struct canfd_frame *cf = (struct canfd_frame *)skb->data; in kvaser_pciefd_prepare_tx_packet()
1154 struct canfd_frame *cf; in kvaser_pciefd_handle_data_packet()
/Linux-v6.1/drivers/net/can/usb/kvaser_usb/
Dkvaser_usb_hydra.c1234 struct canfd_frame *cf; in kvaser_usb_hydra_rx_msg_ext()
1389 struct canfd_frame *cf = (struct canfd_frame *)skb->data; in kvaser_usb_hydra_frame_to_cmd_ext()
/Linux-v6.1/drivers/net/can/m_can/
Dm_can.c478 struct canfd_frame *cf; in m_can_read_fifo()
1583 struct canfd_frame *cf = (struct canfd_frame *)cdev->tx_skb->data; in m_can_tx_handler()
/Linux-v6.1/drivers/net/can/flexcan/
Dflexcan-core.c739 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in flexcan_start_xmit()
940 struct canfd_frame *cfd; in flexcan_mailbox_read()

12