/Linux-v6.6/include/linux/can/ |
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()
|
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()
|
/Linux-v6.6/drivers/net/can/usb/peak_usb/ |
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->len; in pcan_usb_pro_handle_canmsg() 578 struct can_frame *can_frame; in pcan_usb_pro_handle_error() local 629 skb = alloc_can_err_skb(netdev, &can_frame); in pcan_usb_pro_handle_error() [all …]
|
/Linux-v6.6/net/can/j1939/ |
D | main.c | 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()
|
/Linux-v6.6/drivers/net/can/dev/ |
D | skb.c | 204 struct sk_buff *alloc_can_skb(struct net_device *dev, struct can_frame **cf) in alloc_can_skb() 209 sizeof(struct can_frame)); in alloc_can_skb() 220 *cf = skb_put_zero(skb, sizeof(struct can_frame)); in alloc_can_skb() 285 struct sk_buff *alloc_can_err_skb(struct net_device *dev, struct can_frame **cf) in alloc_can_err_skb()
|
/Linux-v6.6/include/uapi/linux/ |
D | can.h | 120 struct can_frame { struct 216 #define CAN_MTU (sizeof(struct can_frame))
|
/Linux-v6.6/drivers/net/can/ |
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() 816 struct can_frame *frame = (struct can_frame *)skb->data; in can327_netdev_start_xmit()
|
D | janz-ican3.c | 912 struct can_frame *cf) in ican3_to_can_frame() 943 struct can_frame *cf, in can_frame_to_ican3() 995 struct can_frame *cf; in ican3_handle_msglost() 1039 struct can_frame *cf; in ican3_handle_cevtind() 1290 struct can_frame *cf; in ican3_get_echo_skb() 1299 cf = (struct can_frame *)skb->data; in ican3_get_echo_skb() 1328 struct can_frame *cf = (struct can_frame *)skb->data; in ican3_echo_skb_matches() 1330 struct can_frame *echo_cf; in ican3_echo_skb_matches() 1335 echo_cf = (struct can_frame *)echo_skb->data; in ican3_echo_skb_matches() 1382 struct can_frame *cf; in ican3_recv_skb() [all …]
|
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() 868 struct can_frame *cf, enum can_state new_state) in at91_irq_err_state() 998 struct can_frame *cf; in at91_irq_err()
|
D | sun4i_can.c | 430 struct can_frame *cf = (struct can_frame *)skb->data; in sun4ican_start_xmit() 480 struct can_frame *cf; in sun4i_can_rx() 529 struct can_frame *cf; in sun4i_can_err()
|
/Linux-v6.6/net/sched/ |
D | em_canid.c | 48 struct can_frame *cf = (struct can_frame *)skb->data; in em_canid_get_id()
|
/Linux-v6.6/drivers/net/can/slcan/ |
D | slcan-core.c | 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() 482 static void slcan_encaps(struct slcan *sl, struct can_frame *cf) in slcan_encaps() 612 slcan_encaps(sl, (struct can_frame *)skb->data); /* encaps & send */ in slcan_netdev_xmit()
|
/Linux-v6.6/include/uapi/linux/can/ |
D | bcm.h | 74 struct can_frame frames[];
|
D | gw.h | 111 struct can_frame cf;
|
/Linux-v6.6/drivers/net/can/mscan/ |
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()
|
/Linux-v6.6/drivers/net/can/spi/ |
D | hi311x.c | 262 static void hi3110_hw_tx(struct spi_device *spi, struct can_frame *frame) in hi3110_hw_tx() 318 struct can_frame *frame; in hi3110_hw_rx() 577 struct can_frame *frame; in hi3110_tx_work_handler() 584 frame = (struct can_frame *)priv->tx_skb->data; in hi3110_tx_work_handler() 660 struct can_frame *cf; in hi3110_can_ist() 693 struct can_frame *cf; in hi3110_can_ist()
|
/Linux-v6.6/drivers/net/can/spi/mcp251xfd/ |
D | mcp251xfd-rx.c | 145 can_frame_set_cc_len((struct can_frame *)cfd, dlc, in mcp251xfd_hw_rx_obj_to_skb() 168 skb = alloc_can_skb(priv->ndev, (struct can_frame **)&cfd); in mcp251xfd_handle_rxif_one()
|
/Linux-v6.6/Documentation/networking/ |
D | can.rst | 236 struct can_frame { 265 struct can_frame to the user space. 329 of reading a struct can_frame: 333 struct can_frame frame; 335 nbytes = read(s, &frame, sizeof(struct can_frame)); 343 if (nbytes < sizeof(struct can_frame)) { 352 nbytes = write(s, &frame, sizeof(struct can_frame)); 363 struct can_frame frame; 365 nbytes = recvfrom(s, &frame, sizeof(struct can_frame), 383 nbytes = sendto(s, &frame, sizeof(struct can_frame), [all …]
|
/Linux-v6.6/net/can/ |
D | af_can.c | 580 struct can_frame *cf = (struct can_frame *)skb->data; in can_rcv_filter() 866 BUILD_BUG_ON(offsetof(struct can_frame, len) != in can_init() 868 offsetof(struct can_frame, data) != in can_init()
|
/Linux-v6.6/drivers/net/can/sja1000/ |
D | sja1000.c | 287 struct can_frame *cf = (struct can_frame *)skb->data; in sja1000_start_xmit() 342 struct can_frame *cf; in sja1000_rx() 410 struct can_frame *cf; in sja1000_err()
|
/Linux-v6.6/drivers/net/can/c_can/ |
D | c_can_main.c | 283 struct can_frame *frame, int idx) in c_can_setup_tx_object() 340 struct can_frame *frame; in c_can_handle_lost_msg_obj() 366 struct can_frame *frame; in c_can_read_msg_object() 455 struct can_frame *frame = (struct can_frame *)skb->data; in c_can_start_xmit() 915 struct can_frame *cf; in c_can_handle_state_change() 999 struct can_frame *cf; in c_can_handle_bus_err()
|
/Linux-v6.6/drivers/net/can/usb/kvaser_usb/ |
D | kvaser_usb_hydra.c | 923 struct can_frame *cf; in kvaser_usb_hydra_update_state() 1070 struct can_frame *cf; in kvaser_usb_hydra_error_frame() 1143 struct can_frame *cf; in kvaser_usb_hydra_one_shot_fail() 1223 struct can_frame *cf; in kvaser_usb_hydra_rx_msg_std() 1266 can_frame_set_cc_len((struct can_frame *)cf, cmd->rx_can.dlc, priv->can.ctrlmode); in kvaser_usb_hydra_rx_msg_std() 1316 skb = alloc_can_skb(priv->netdev, (struct can_frame **)&cf); in kvaser_usb_hydra_rx_msg_ext() 1345 can_frame_set_cc_len((struct can_frame *)cf, dlc, priv->can.ctrlmode); in kvaser_usb_hydra_rx_msg_ext() 1473 dlc = can_get_cc_dlc((struct can_frame *)cf, priv->can.ctrlmode); in kvaser_usb_hydra_frame_to_cmd_ext() 1527 struct can_frame *cf = (struct can_frame *)skb->data; in kvaser_usb_hydra_frame_to_cmd_std()
|
/Linux-v6.6/drivers/net/can/usb/ |
D | mcba_usb.c | 178 struct can_frame *cf) in mcba_usb_get_free_ctx() 309 struct can_frame *cf = (struct can_frame *)skb->data; in mcba_usb_start_xmit() 416 struct can_frame *cf; in mcba_usb_process_can()
|
/Linux-v6.6/drivers/net/can/softing/ |
D | softing_main.c | 60 struct can_frame *cf = (struct can_frame *)skb->data; in softing_netdev_start_xmit() 132 int softing_netdev_rx(struct net_device *netdev, const struct can_frame *msg, in softing_netdev_rx() 136 struct can_frame *cf; in softing_netdev_rx() 155 struct can_frame msg; in softing_handle_1()
|
D | softing.h | 101 int softing_netdev_rx(struct net_device *netdev, const struct can_frame *msg,
|