/kernel/linux/linux-6.6/include/linux/can/ |
H A D | skb.h | 30 struct sk_buff *alloc_can_skb(struct net_device *dev, struct can_frame **cf); 37 struct can_frame **cf); 60 struct can_frame cf[]; 106 struct can_frame *cf = (struct can_frame *)skb->data; in can_is_can_skb() 150 const struct can_frame *cf = (struct can_frame *)skb->data; in can_skb_get_data_len()
|
H A D | length.h | 267 static inline u8 can_get_cc_dlc(const struct can_frame *cf, const u32 ctrlmode) in can_get_cc_dlc() 280 static inline void can_frame_set_cc_len(struct can_frame *cf, const u8 dlc, in can_frame_set_cc_len()
|
/kernel/linux/linux-5.10/drivers/net/can/usb/peak_usb/ |
H A D | pcan_usb_pro.c | 526 struct can_frame *can_frame; in pcan_usb_pro_handle_canmsg() local 530 skb = alloc_can_skb(netdev, &can_frame); in pcan_usb_pro_handle_canmsg() 534 can_frame->can_id = le32_to_cpu(rx->id); in pcan_usb_pro_handle_canmsg() 535 can_frame->can_dlc = rx->len & 0x0f; in pcan_usb_pro_handle_canmsg() 538 can_frame->can_id |= CAN_EFF_FLAG; in pcan_usb_pro_handle_canmsg() 541 can_frame->can_id |= CAN_RTR_FLAG; in pcan_usb_pro_handle_canmsg() 543 memcpy(can_frame->data, rx->data, can_frame->can_dlc); in pcan_usb_pro_handle_canmsg() 550 netdev->stats.rx_bytes += can_frame in pcan_usb_pro_handle_canmsg() 563 struct can_frame *can_frame; pcan_usb_pro_handle_error() local [all...] |
/kernel/linux/linux-6.6/drivers/net/can/usb/peak_usb/ |
H A D | pcan_usb_pro.c | 539 struct can_frame *can_frame; in pcan_usb_pro_handle_canmsg() local 543 skb = alloc_can_skb(netdev, &can_frame); in pcan_usb_pro_handle_canmsg() 547 can_frame->can_id = le32_to_cpu(rx->id); in pcan_usb_pro_handle_canmsg() 548 can_frame->len = rx->len & 0x0f; in pcan_usb_pro_handle_canmsg() 551 can_frame->can_id |= CAN_EFF_FLAG; in pcan_usb_pro_handle_canmsg() 554 can_frame->can_id |= CAN_RTR_FLAG; in pcan_usb_pro_handle_canmsg() 556 memcpy(can_frame->data, rx->data, can_frame->len); in pcan_usb_pro_handle_canmsg() 558 netdev->stats.rx_bytes += can_frame in pcan_usb_pro_handle_canmsg() 578 struct can_frame *can_frame; pcan_usb_pro_handle_error() local [all...] |
/kernel/linux/linux-5.10/net/can/j1939/ |
H A D | main.c | 30 /* CAN_HDR: #bytes before can_frame data part */ 31 #define J1939_CAN_HDR (offsetof(struct can_frame, data)) 34 #define J1939_CAN_FTR (sizeof(struct can_frame) - J1939_CAN_HDR - \ 35 sizeof(((struct can_frame *)0)->data)) 43 struct can_frame *cf; in j1939_can_recv() 318 struct can_frame *cf; in j1939_send_one()
|
/kernel/linux/linux-6.6/net/can/j1939/ |
H A D | main.c | 30 /* CAN_HDR: #bytes before can_frame data part */ 31 #define J1939_CAN_HDR (offsetof(struct can_frame, data)) 34 #define J1939_CAN_FTR (sizeof(struct can_frame) - J1939_CAN_HDR - \ 35 sizeof(((struct can_frame *)0)->data)) 43 struct can_frame *cf; in j1939_can_recv() 322 struct can_frame *cf; in j1939_send_one()
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | can.h | 94 * struct can_frame - basic CAN frame structure 104 struct can_frame { struct 150 #define CAN_MTU (sizeof(struct can_frame))
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | can.h | 37 struct can_frame { struct 55 #define CAN_MTU (sizeof(struct can_frame))
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | can.h | 37 struct can_frame { struct 55 #define CAN_MTU (sizeof(struct can_frame))
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
H A D | can.h | 24 struct can_frame { struct 42 #define CAN_MTU (sizeof(struct can_frame))
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | can.h | 108 * struct can_frame - Classical CAN frame structure (aka CAN 2.0B) 120 struct can_frame { struct 152 * The struct can_frame and struct canfd_frame intentionally share the same 216 #define CAN_MTU (sizeof(struct can_frame))
|
/kernel/linux/linux-6.6/drivers/net/can/dev/ |
H A D | skb.c | 208 struct sk_buff *alloc_can_skb(struct net_device *dev, struct can_frame **cf) in alloc_can_skb() 213 sizeof(struct can_frame)); in alloc_can_skb() 224 *cf = skb_put_zero(skb, sizeof(struct can_frame)); in alloc_can_skb() 289 struct sk_buff *alloc_can_err_skb(struct net_device *dev, struct can_frame **cf) in alloc_can_err_skb()
|
/kernel/linux/linux-5.10/include/linux/can/ |
H A D | dev.h | 216 void can_change_state(struct net_device *dev, struct can_frame *cf, 232 struct sk_buff *alloc_can_skb(struct net_device *dev, struct can_frame **cf); 236 struct can_frame **cf);
|
/kernel/linux/linux-5.10/drivers/net/can/ |
H A D | slcan.c | 142 /* Send one completely decapsulated can_frame to the network layer */ 146 struct can_frame cf; in slc_bump() 204 skb = dev_alloc_skb(sizeof(struct can_frame) + in slc_bump() 218 skb_put_data(skb, &cf, sizeof(struct can_frame)); in slc_bump() 251 /* Encapsulate one can_frame and stuff into a TTY queue. */ 252 static void slc_encaps(struct slcan *sl, struct can_frame *cf) in slc_encaps() 354 /* Send a can_frame to a TTY queue. */ 374 slc_encaps(sl, (struct can_frame *) skb->data); /* encaps & send */ in slc_xmit()
|
H A D | at91_can.c | 453 struct can_frame *cf = (struct can_frame *)skb->data; in at91_start_xmit() 543 struct can_frame *cf; in at91_rx_overflow_err() 571 struct can_frame *cf) in at91_read_mb() 610 struct can_frame *cf; in at91_read_msg() 721 struct can_frame *cf, u32 reg_sr) in at91_poll_err_frame() 771 struct can_frame *cf; in at91_poll_err() 822 * priv->tx_echo holds the number of the oldest can_frame put for 876 struct can_frame *cf, enum can_state new_state) in at91_irq_err_state() 1012 struct can_frame *c in at91_irq_err() [all...] |
/kernel/linux/linux-6.6/drivers/net/can/ |
H A D | can327.c | 104 struct can_frame can_frame_to_send; 171 static void can327_send_frame(struct can327 *elm, struct can_frame *frame) in can327_send_frame() 284 struct can_frame *frame; in can327_uart_side_failure() 329 struct can_frame *frame; in can327_parse_error() 393 struct can_frame *frame; in can327_parse_frame() 550 struct can_frame *frame = &elm->can_frame_to_send; in can327_handle_prompt() 811 /* Send a can_frame to a TTY. */ 816 struct can_frame *frame = (struct can_frame *)skb->data; in can327_netdev_start_xmit()
|
H A D | at91_can.c | 451 struct can_frame *cf = (struct can_frame *)skb->data; in at91_start_xmit() 540 struct can_frame *cf; in at91_rx_overflow_err() 566 struct can_frame *cf) in at91_read_mb() 605 struct can_frame *cf; in at91_read_msg() 716 struct can_frame *cf, u32 reg_sr) in at91_poll_err_frame() 766 struct can_frame *cf; in at91_poll_err() 814 * priv->tx_echo holds the number of the oldest can_frame put for 868 struct can_frame *cf, enum can_state new_state) in at91_irq_err_state() 998 struct can_frame *c in at91_irq_err() [all...] |
/kernel/linux/linux-5.10/net/sched/ |
H A D | em_canid.c | 48 struct can_frame *cf = (struct can_frame *)skb->data; in em_canid_get_id()
|
/kernel/linux/linux-6.6/net/sched/ |
H A D | em_canid.c | 48 struct can_frame *cf = (struct can_frame *)skb->data; in em_canid_get_id()
|
/kernel/linux/linux-5.10/drivers/net/can/mscan/ |
H A D | mscan.c | 188 struct can_frame *frame = (struct can_frame *)skb->data; in mscan_start_xmit() 293 static void mscan_get_rx_frame(struct net_device *dev, struct can_frame *frame) in mscan_get_rx_frame() 333 static void mscan_get_err_frame(struct net_device *dev, struct can_frame *frame, in mscan_get_err_frame() 387 struct can_frame *frame; in mscan_rx_poll()
|
/kernel/linux/linux-6.6/drivers/net/can/mscan/ |
H A D | mscan.c | 188 struct can_frame *frame = (struct can_frame *)skb->data; in mscan_start_xmit() 293 static void mscan_get_rx_frame(struct net_device *dev, struct can_frame *frame) in mscan_get_rx_frame() 333 static void mscan_get_err_frame(struct net_device *dev, struct can_frame *frame, in mscan_get_err_frame() 387 struct can_frame *frame; in mscan_rx_poll()
|
/kernel/linux/linux-6.6/drivers/net/can/slcan/ |
H A D | slcan-core.c | 170 /* Send one completely decapsulated can_frame to the network layer */ 174 struct can_frame *cf; in slcan_bump_frame() 262 struct can_frame *cf; in slcan_bump_state() 326 struct can_frame *cf; in slcan_bump_err() 481 /* Encapsulate one can_frame and stuff into a TTY queue. */ 482 static void slcan_encaps(struct slcan *sl, struct can_frame *cf) in slcan_encaps() 591 /* Send a can_frame to a TTY queue. */ 612 slcan_encaps(sl, (struct can_frame *)skb->data); /* encaps & send */ in slcan_netdev_xmit()
|
/kernel/linux/linux-5.10/include/uapi/linux/can/ |
H A D | bcm.h | 74 struct can_frame frames[0];
|
/kernel/linux/linux-6.6/include/uapi/linux/can/ |
H A D | bcm.h | 74 struct can_frame frames[];
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/can/ |
H A D | bcm.h | 34 struct can_frame frames[0];
|