Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/net/can/
H A 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 …]
H A 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 …]
H A Disotp.c187 struct canfd_frame *ncf; in isotp_send_fc()
207 ncf = (struct canfd_frame *)nskb->data; in isotp_send_fc()
281 static int check_optimized(struct canfd_frame *cf, int start_index) in check_optimized()
301 static int check_pad(struct isotp_sock *so, struct canfd_frame *cf, in check_pad()
329 static int isotp_rcv_fc(struct isotp_sock *so, struct canfd_frame *cf, int ae) in isotp_rcv_fc()
409 static int isotp_rcv_sf(struct sock *sk, struct canfd_frame *cf, int pcilen, in isotp_rcv_sf()
442 static int isotp_rcv_ff(struct sock *sk, struct canfd_frame *cf, int ae) in isotp_rcv_ff()
505 static int isotp_rcv_cf(struct sock *sk, struct canfd_frame *cf, int ae, in isotp_rcv_cf()
603 struct canfd_frame *cf; in isotp_rcv()
613 cf = (struct canfd_frame *)skb->data; in isotp_rcv()
[all …]
H A Daf_can.c202 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in can_send()
681 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in can_rcv()
707 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in canfd_rcv()
871 offsetof(struct canfd_frame, len) || in can_init()
873 offsetof(struct canfd_frame, data)); in can_init()
/OK3568_Linux_fs/kernel/drivers/net/can/
H A 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()
H A Dvxcan.c40 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in vxcan_xmit()
H A Dxilinx_can.c555 struct canfd_frame *cf = (struct canfd_frame *)skb->data; in xcan_write_frame()
815 struct canfd_frame *cf; in xcanfd_rx()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dcan.h141 struct canfd_frame { struct
151 #define CANFD_MTU (sizeof(struct canfd_frame)) argument
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dcan.h141 struct canfd_frame { struct
151 #define CANFD_MTU (sizeof(struct canfd_frame)) argument
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dcan.h141 struct canfd_frame { struct
151 #define CANFD_MTU (sizeof(struct canfd_frame)) argument
/OK3568_Linux_fs/kernel/include/linux/can/
H A Ddev.h144 const struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in can_dropped_invalid_skb()
234 struct canfd_frame **cfd);
/OK3568_Linux_fs/app/forlinx/forlinx_cmd/fltest_canfdtest/
H A Dcanfdtest.c82 static struct canfd_frame frame; in canfd_recv()
159 static struct canfd_frame frame; in main()
/OK3568_Linux_fs/kernel/include/uapi/linux/can/
H A Dgw.h116 struct canfd_frame cf;
/OK3568_Linux_fs/kernel/Documentation/networking/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/net/can/dev/
H A Ddev.c514 struct canfd_frame *cf = (struct canfd_frame *)skb->data; in __can_get_echo_skb()
704 struct canfd_frame **cfd) in alloc_canfd_skb()
709 sizeof(struct canfd_frame)); in alloc_canfd_skb()
725 *cfd = skb_put_zero(skb, sizeof(struct canfd_frame)); in alloc_canfd_skb()
/OK3568_Linux_fs/kernel/drivers/net/can/peak_canfd/
H A Dpeak_canfd.c254 struct canfd_frame *cf; in pucan_handle_can_rx()
649 struct canfd_frame *cf = (struct canfd_frame *)skb->data; in peak_canfd_start_xmit()
/OK3568_Linux_fs/kernel/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd.h432 u8 data[sizeof_field(struct canfd_frame, data)];
444 u8 data[sizeof_field(struct canfd_frame, data)];
458 u8 data[sizeof_field(struct canfd_frame, data)];
H A Dmcp251xfd-core.c1381 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in mcp251xfd_hw_rx_obj_to_skb()
1427 struct canfd_frame *cfd; in mcp251xfd_handle_rxif_one()
2221 const struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in mcp251xfd_tx_obj_from_skb()
/OK3568_Linux_fs/kernel/drivers/net/can/ifi_canfd/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/can/rockchip/
H A Drockchip_canfd.c515 struct canfd_frame *cf = (struct canfd_frame *)skb->data; in rockchip_canfd_start_xmit()
600 struct canfd_frame *cf; in rockchip_canfd_rx()
H A Dforlinx_canfd.c515 struct canfd_frame *cf = (struct canfd_frame *)skb->data; in rockchip_canfd_start_xmit()
600 struct canfd_frame *cf; in rockchip_canfd_rx()
/OK3568_Linux_fs/kernel/drivers/net/can/rcar/
H A 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()
1344 struct canfd_frame *cf = (struct canfd_frame *)skb->data; in rcar_canfd_start_xmit()
1417 struct canfd_frame *cf; in rcar_canfd_rx_pkt()
/OK3568_Linux_fs/kernel/drivers/net/can/usb/peak_usb/
H A Dpcan_usb_fd.c473 struct canfd_frame *cfd; in pcan_usb_fd_decode_canmsg()
737 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in pcan_usb_fd_encode_msg()
H A Dpcan_usb_core.c328 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in peak_usb_ndo_start_xmit()
/OK3568_Linux_fs/kernel/drivers/net/can/m_can/
H A Dm_can.c438 struct canfd_frame *cf; in m_can_read_fifo()
1460 struct canfd_frame *cf = (struct canfd_frame *)cdev->tx_skb->data; in m_can_tx_handler()

12