/drivers/net/can/usb/peak_usb/ |
D | pcan_usb_pro.c | 540 struct can_frame *can_frame; in pcan_usb_pro_handle_canmsg() local 545 skb = alloc_can_skb(netdev, &can_frame); in pcan_usb_pro_handle_canmsg() 549 can_frame->can_id = le32_to_cpu(rx->id); in pcan_usb_pro_handle_canmsg() 550 can_frame->can_dlc = rx->len & 0x0f; in pcan_usb_pro_handle_canmsg() 553 can_frame->can_id |= CAN_EFF_FLAG; in pcan_usb_pro_handle_canmsg() 556 can_frame->can_id |= CAN_RTR_FLAG; in pcan_usb_pro_handle_canmsg() 558 memcpy(can_frame->data, rx->data, can_frame->can_dlc); in pcan_usb_pro_handle_canmsg() 566 netdev->stats.rx_bytes += can_frame->can_dlc; in pcan_usb_pro_handle_canmsg() 578 struct can_frame *can_frame; in pcan_usb_pro_handle_error() local 630 skb = alloc_can_err_skb(netdev, &can_frame); in pcan_usb_pro_handle_error() [all …]
|
D | pcan_usb.c | 407 struct can_frame *cf; in pcan_usb_decode_error() 608 struct can_frame *cf; in pcan_usb_decode_data() 733 struct can_frame *cf = (struct can_frame *)skb->data; in pcan_usb_encode_msg()
|
/drivers/net/can/ |
D | slcan.c | 148 struct can_frame cf; in slc_bump() 208 skb = dev_alloc_skb(sizeof(struct can_frame) + in slc_bump() 221 memcpy(skb_put(skb, sizeof(struct can_frame)), in slc_bump() 222 &cf, sizeof(struct can_frame)); in slc_bump() 256 static void slc_encaps(struct slcan *sl, struct can_frame *cf) in slc_encaps() 359 if (skb->len != sizeof(struct can_frame)) in slc_xmit() 374 slc_encaps(sl, (struct can_frame *) skb->data); /* encaps & send */ in slc_xmit() 447 dev->mtu = sizeof(struct can_frame); in slc_setup()
|
D | dev.c | 361 struct can_frame *cf = (struct can_frame *)skb->data; in can_get_echo_skb() 400 struct can_frame *cf; in can_restart() 498 struct sk_buff *alloc_can_skb(struct net_device *dev, struct can_frame **cf) in alloc_can_skb() 503 sizeof(struct can_frame)); in alloc_can_skb() 518 *cf = (struct can_frame *)skb_put(skb, sizeof(struct can_frame)); in alloc_can_skb() 519 memset(*cf, 0, sizeof(struct can_frame)); in alloc_can_skb() 553 struct sk_buff *alloc_can_err_skb(struct net_device *dev, struct can_frame **cf) in alloc_can_err_skb()
|
D | janz-ican3.c | 807 struct can_frame *cf) in ican3_to_can_frame() 838 struct can_frame *cf, in can_frame_to_ican3() 890 struct can_frame *cf; in ican3_handle_msglost() 934 struct can_frame *cf; in ican3_handle_cevtind() 1145 struct can_frame *cf; in ican3_get_echo_skb() 1154 cf = (struct can_frame *)skb->data; in ican3_get_echo_skb() 1182 struct can_frame *cf = (struct can_frame *)skb->data; in ican3_echo_skb_matches() 1184 struct can_frame *echo_cf; in ican3_echo_skb_matches() 1189 echo_cf = (struct can_frame *)echo_skb->data; in ican3_echo_skb_matches() 1236 struct can_frame *cf; in ican3_recv_skb() [all …]
|
D | at91_can.c | 479 struct can_frame *cf = (struct can_frame *)skb->data; in at91_start_xmit() 569 struct can_frame *cf; in at91_rx_overflow_err() 597 struct can_frame *cf) in at91_read_mb() 636 struct can_frame *cf; in at91_read_msg() 747 struct can_frame *cf, u32 reg_sr) in at91_poll_err_frame() 797 struct can_frame *cf; in at91_poll_err() 902 struct can_frame *cf, enum can_state new_state) in at91_irq_err_state() 1036 struct can_frame *cf; in at91_irq_err()
|
D | flexcan.c | 470 struct can_frame *cf = (struct can_frame *)skb->data; in flexcan_start_xmit() 515 struct can_frame *cf, u32 reg_esr) in do_bus_err() 565 struct can_frame *cf; in flexcan_poll_bus_err() 581 struct can_frame *cf, enum can_state new_state) in do_state() 657 struct can_frame *cf; in flexcan_poll_state() 692 struct can_frame *cf) in flexcan_read_fifo() 721 struct can_frame *cf; in flexcan_read_frame()
|
D | bfin_can.c | 241 struct can_frame *cf = (struct can_frame *)skb->data; in bfin_can_start_xmit() 286 struct can_frame *cf; in bfin_can_rx() 334 struct can_frame *cf; in bfin_can_err()
|
D | xilinx_can.c | 392 struct can_frame *cf = (struct can_frame *)skb->data; in xcan_start_xmit() 477 struct can_frame *cf; in xcan_rx() 543 struct can_frame *cf; in xcan_err_interrupt()
|
D | rcar_can.c | 222 struct can_frame *cf; in rcar_can_error() 589 struct can_frame *cf = (struct can_frame *)skb->data; in rcar_can_start_xmit() 637 struct can_frame *cf; in rcar_can_rx_pkt()
|
D | pch_can.c | 494 struct can_frame *cf; in pch_can_error() 620 struct can_frame *cf; in pch_can_rx_msg_lost() 647 struct can_frame *cf; in pch_can_rx_normal() 894 struct can_frame *cf = (struct can_frame *)skb->data; in pch_xmit()
|
D | ti_hecc.c | 488 struct can_frame *cf = (struct can_frame *)skb->data; in ti_hecc_xmit() 547 struct can_frame *cf; in ti_hecc_rx_pkt() 665 struct can_frame *cf; in ti_hecc_error()
|
D | grcan.c | 582 struct can_frame cf; in grcan_err() 751 struct can_frame *skb_cf; in grcan_err() 1173 struct can_frame *cf; in grcan_receive() 1357 struct can_frame *cf = (struct can_frame *)skb->data; in grcan_start_xmit()
|
/drivers/net/can/mscan/ |
D | mscan.c | 199 struct can_frame *frame = (struct can_frame *)skb->data; in mscan_start_xmit() 306 static void mscan_get_rx_frame(struct net_device *dev, struct can_frame *frame) in mscan_get_rx_frame() 346 static void mscan_get_err_frame(struct net_device *dev, struct can_frame *frame, in mscan_get_err_frame() 418 struct can_frame *frame; in mscan_rx_poll()
|
/drivers/net/can/c_can/ |
D | c_can.c | 301 struct can_frame *frame, int idx) in c_can_setup_tx_object() 368 struct can_frame *frame; in c_can_handle_lost_msg_obj() 394 struct can_frame *frame; in c_can_read_msg_object() 460 struct can_frame *frame = (struct can_frame *)skb->data; in c_can_start_xmit() 873 struct can_frame *cf; in c_can_handle_state_change() 950 struct can_frame *cf; in c_can_handle_bus_err()
|
/drivers/net/can/sja1000/ |
D | sja1000.c | 282 struct can_frame *cf = (struct can_frame *)skb->data; in sja1000_start_xmit() 338 struct can_frame *cf; in sja1000_rx() 392 struct can_frame *cf; in sja1000_err()
|
/drivers/net/can/softing/ |
D | softing_main.c | 70 struct can_frame *cf = (struct can_frame *)skb->data; in softing_netdev_start_xmit() 142 int softing_netdev_rx(struct net_device *netdev, const struct can_frame *msg, in softing_netdev_rx() 146 struct can_frame *cf; in softing_netdev_rx() 165 struct can_frame msg; in softing_handle_1()
|
D | softing.h | 100 int softing_netdev_rx(struct net_device *netdev, const struct can_frame *msg,
|
/drivers/net/can/cc770/ |
D | cc770.c | 397 struct can_frame *cf = (struct can_frame *)skb->data; in cc770_start_xmit() 466 struct can_frame *cf; in cc770_rx() 517 struct can_frame *cf; in cc770_err()
|
/drivers/net/can/usb/ |
D | usb_8dev.c | 349 struct can_frame *cf; in usb_8dev_rx_err_msg() 473 struct can_frame *cf; in usb_8dev_rx_can_msg() 618 struct can_frame *cf = (struct can_frame *) skb->data; in usb_8dev_start_xmit()
|
D | gs_usb.c | 254 static void gs_update_state(struct gs_can *dev, struct can_frame *cf) in gs_update_state() 288 struct can_frame *cf; in gs_usb_recieve_bulk_callback() 457 struct can_frame *cf; in gs_can_start_xmit() 494 cf = (struct can_frame *)skb->data; in gs_can_start_xmit()
|
D | ems_usb.c | 313 struct can_frame *cf; in ems_usb_rx_can_msg() 345 struct can_frame *cf; in ems_usb_rx_err() 748 struct can_frame *cf = (struct can_frame *)skb->data; in ems_usb_start_xmit()
|
D | kvaser_usb.c | 506 struct can_frame *cf; in kvaser_usb_tx_acknowledge() 629 struct can_frame *cf; in kvaser_usb_rx_error() 784 struct can_frame *cf; in kvaser_usb_rx_can_err() 821 struct can_frame *cf; in kvaser_usb_rx_can_msg() 1301 struct can_frame *cf = (struct can_frame *)skb->data; in kvaser_usb_start_xmit()
|
D | esd_usb2.c | 230 struct can_frame *cf; in esd_usb2_rx_event() 317 struct can_frame *cf; in esd_usb2_rx_can_msg() 723 struct can_frame *cf = (struct can_frame *)skb->data; in esd_usb2_start_xmit()
|
/drivers/net/can/spi/ |
D | mcp251x.c | 408 static void mcp251x_hw_tx(struct spi_device *spi, struct can_frame *frame, in mcp251x_hw_tx() 464 struct can_frame *frame; in mcp251x_hw_rx() 729 struct can_frame *frame; in mcp251x_error_skb() 747 struct can_frame *frame; in mcp251x_tx_work_handler() 754 frame = (struct can_frame *)priv->tx_skb->data; in mcp251x_tx_work_handler()
|