Lines Matching refs:net_device

36 	struct net_device *dev;
62 int (*do_set_bittiming)(struct net_device *dev);
63 int (*do_set_data_bittiming)(struct net_device *dev);
64 int (*do_set_mode)(struct net_device *dev, enum can_mode mode);
65 int (*do_set_termination)(struct net_device *dev, u16 term);
66 int (*do_get_state)(const struct net_device *dev,
68 int (*do_get_berr_counter)(const struct net_device *dev,
95 static inline bool can_dropped_invalid_skb(struct net_device *dev, in can_dropped_invalid_skb()
126 static inline void can_set_static_ctrlmode(struct net_device *dev, in can_set_static_ctrlmode()
146 struct net_device *alloc_candev_mqs(int sizeof_priv, unsigned int echo_skb_max,
152 void free_candev(struct net_device *dev);
155 struct can_priv *safe_candev_priv(struct net_device *dev);
157 int open_candev(struct net_device *dev);
158 void close_candev(struct net_device *dev);
159 int can_change_mtu(struct net_device *dev, int new_mtu);
161 int register_candev(struct net_device *dev);
162 void unregister_candev(struct net_device *dev);
164 int can_restart_now(struct net_device *dev);
165 void can_bus_off(struct net_device *dev);
167 void can_change_state(struct net_device *dev, struct can_frame *cf,
170 void can_put_echo_skb(struct sk_buff *skb, struct net_device *dev,
172 unsigned int can_get_echo_skb(struct net_device *dev, unsigned int idx);
173 void can_free_echo_skb(struct net_device *dev, unsigned int idx);
176 void of_can_transceiver(struct net_device *dev);
178 static inline void of_can_transceiver(struct net_device *dev) { } in of_can_transceiver()
181 struct sk_buff *alloc_can_skb(struct net_device *dev, struct can_frame **cf);
182 struct sk_buff *alloc_canfd_skb(struct net_device *dev,
184 struct sk_buff *alloc_can_err_skb(struct net_device *dev,