Lines Matching refs:net_device
51 int (*do_set_bittiming)(struct net_device *dev);
52 int (*do_set_data_bittiming)(struct net_device *dev);
53 int (*do_set_mode)(struct net_device *dev, enum can_mode mode);
54 int (*do_get_state)(const struct net_device *dev,
56 int (*do_get_berr_counter)(const struct net_device *dev,
83 static inline int can_dropped_invalid_skb(struct net_device *dev, in can_dropped_invalid_skb()
114 static inline void can_set_static_ctrlmode(struct net_device *dev, in can_set_static_ctrlmode()
134 struct net_device *alloc_candev(int sizeof_priv, unsigned int echo_skb_max);
135 void free_candev(struct net_device *dev);
138 struct can_priv *safe_candev_priv(struct net_device *dev);
140 int open_candev(struct net_device *dev);
141 void close_candev(struct net_device *dev);
142 int can_change_mtu(struct net_device *dev, int new_mtu);
144 int register_candev(struct net_device *dev);
145 void unregister_candev(struct net_device *dev);
147 int can_restart_now(struct net_device *dev);
148 void can_bus_off(struct net_device *dev);
150 void can_change_state(struct net_device *dev, struct can_frame *cf,
153 void can_put_echo_skb(struct sk_buff *skb, struct net_device *dev,
155 unsigned int can_get_echo_skb(struct net_device *dev, unsigned int idx);
156 void can_free_echo_skb(struct net_device *dev, unsigned int idx);
158 struct sk_buff *alloc_can_skb(struct net_device *dev, struct can_frame **cf);
159 struct sk_buff *alloc_canfd_skb(struct net_device *dev,
161 struct sk_buff *alloc_can_err_skb(struct net_device *dev,