Lines Matching refs:net_device

45 	struct net_device *dev;
79 int (*do_set_bittiming)(struct net_device *dev);
80 int (*do_set_data_bittiming)(struct net_device *dev);
81 int (*do_set_mode)(struct net_device *dev, enum can_mode mode);
82 int (*do_set_termination)(struct net_device *dev, u16 term);
83 int (*do_get_state)(const struct net_device *dev,
85 int (*do_get_berr_counter)(const struct net_device *dev,
87 int (*do_get_auto_tdcv)(const struct net_device *dev, u32 *tdcv);
125 static inline int __must_check can_set_static_ctrlmode(struct net_device *dev,
156 static inline bool can_dev_dropped_skb(struct net_device *dev, struct sk_buff *skb)
171 void can_setup(struct net_device *dev);
173 struct net_device *alloc_candev_mqs(int sizeof_priv, unsigned int echo_skb_max,
179 void free_candev(struct net_device *dev);
182 struct can_priv *safe_candev_priv(struct net_device *dev);
184 int open_candev(struct net_device *dev);
185 void close_candev(struct net_device *dev);
186 int can_change_mtu(struct net_device *dev, int new_mtu);
187 int can_eth_ioctl_hwts(struct net_device *netdev, struct ifreq *ifr, int cmd);
188 int can_ethtool_op_get_ts_info_hwts(struct net_device *dev,
191 int register_candev(struct net_device *dev);
192 void unregister_candev(struct net_device *dev);
194 int can_restart_now(struct net_device *dev);
195 void can_bus_off(struct net_device *dev);
198 void can_state_get_by_berr_counter(const struct net_device *dev,
202 void can_change_state(struct net_device *dev, struct can_frame *cf,
206 void of_can_transceiver(struct net_device *dev);
208 static inline void of_can_transceiver(struct net_device *dev) { }