Lines Matching refs:net_device
37 struct net_device *dev;
63 int (*do_set_bittiming)(struct net_device *dev);
64 int (*do_set_data_bittiming)(struct net_device *dev);
65 int (*do_set_mode)(struct net_device *dev, enum can_mode mode);
66 int (*do_set_termination)(struct net_device *dev, u16 term);
67 int (*do_get_state)(const struct net_device *dev,
69 int (*do_get_berr_counter)(const struct net_device *dev,
111 static inline bool can_skb_headroom_valid(struct net_device *dev, in can_skb_headroom_valid()
141 static inline bool can_dropped_invalid_skb(struct net_device *dev, in can_dropped_invalid_skb()
175 static inline void can_set_static_ctrlmode(struct net_device *dev, in can_set_static_ctrlmode()
195 struct net_device *alloc_candev_mqs(int sizeof_priv, unsigned int echo_skb_max,
201 void free_candev(struct net_device *dev);
204 struct can_priv *safe_candev_priv(struct net_device *dev);
206 int open_candev(struct net_device *dev);
207 void close_candev(struct net_device *dev);
208 int can_change_mtu(struct net_device *dev, int new_mtu);
210 int register_candev(struct net_device *dev);
211 void unregister_candev(struct net_device *dev);
213 int can_restart_now(struct net_device *dev);
214 void can_bus_off(struct net_device *dev);
216 void can_change_state(struct net_device *dev, struct can_frame *cf,
219 int can_put_echo_skb(struct sk_buff *skb, struct net_device *dev,
221 struct sk_buff *__can_get_echo_skb(struct net_device *dev, unsigned int idx,
223 unsigned int can_get_echo_skb(struct net_device *dev, unsigned int idx);
224 void can_free_echo_skb(struct net_device *dev, unsigned int idx);
227 void of_can_transceiver(struct net_device *dev);
229 static inline void of_can_transceiver(struct net_device *dev) { } in of_can_transceiver()
232 struct sk_buff *alloc_can_skb(struct net_device *dev, struct can_frame **cf);
233 struct sk_buff *alloc_canfd_skb(struct net_device *dev,
235 struct sk_buff *alloc_can_err_skb(struct net_device *dev,