/* SPDX-License-Identifier: GPL-2.0-only */ /* CAN driver for PEAK System micro-CAN based adapters * * Copyright (C) 2003-2011 PEAK System-Technik GmbH * Copyright (C) 2011-2013 Stephane Grosjean <[email protected]> */ #ifndef PEAK_CANFD_USER_H #define PEAK_CANFD_USER_H #include <linux/can/dev/peak_canfd.h> #define PCANFD_ECHO_SKB_DEF … /* data structure private to each uCAN interface */ struct peak_canfd_priv { … }; struct net_device *alloc_peak_canfd_dev(int sizeof_priv, int index, int echo_skb_max); int peak_canfd_handle_msg(struct peak_canfd_priv *priv, struct pucan_rx_msg *msg); int peak_canfd_handle_msgs_list(struct peak_canfd_priv *priv, struct pucan_rx_msg *rx_msg, int rx_count); #endif