Lines Matching refs:net_device
52 int (*do_set_bittiming)(struct net_device *dev);
53 int (*do_set_data_bittiming)(struct net_device *dev);
54 int (*do_set_mode)(struct net_device *dev, enum can_mode mode);
55 int (*do_get_state)(const struct net_device *dev,
57 int (*do_get_berr_counter)(const struct net_device *dev,
84 static inline bool can_dropped_invalid_skb(struct net_device *dev, in can_dropped_invalid_skb()
115 static inline void can_set_static_ctrlmode(struct net_device *dev, in can_set_static_ctrlmode()
135 struct net_device *alloc_candev(int sizeof_priv, unsigned int echo_skb_max);
136 void free_candev(struct net_device *dev);
139 struct can_priv *safe_candev_priv(struct net_device *dev);
141 int open_candev(struct net_device *dev);
142 void close_candev(struct net_device *dev);
143 int can_change_mtu(struct net_device *dev, int new_mtu);
145 int register_candev(struct net_device *dev);
146 void unregister_candev(struct net_device *dev);
148 int can_restart_now(struct net_device *dev);
149 void can_bus_off(struct net_device *dev);
151 void can_change_state(struct net_device *dev, struct can_frame *cf,
154 void can_put_echo_skb(struct sk_buff *skb, struct net_device *dev,
156 unsigned int can_get_echo_skb(struct net_device *dev, unsigned int idx);
157 void can_free_echo_skb(struct net_device *dev, unsigned int idx);
159 struct sk_buff *alloc_can_skb(struct net_device *dev, struct can_frame **cf);
160 struct sk_buff *alloc_canfd_skb(struct net_device *dev,
162 struct sk_buff *alloc_can_err_skb(struct net_device *dev,