Lines Matching refs:dev

79 #define arc_printk(x, dev, fmt, ...)					\
83 netdev_warn(dev, fmt, ##__VA_ARGS__); \
85 netdev_info(dev, fmt, ##__VA_ARGS__); \
87 netdev_dbg(dev, fmt, ##__VA_ARGS__); \
98 #define TIME(dev, name, bytes, call) \
105 arc_printk(D_TIMING, dev, \
198 void (*rx)(struct net_device *dev, int bufnum,
200 int (*build_header)(struct sk_buff *skb, struct net_device *dev,
204 int (*prepare_tx)(struct net_device *dev, struct archdr *pkt,
206 int (*continue_tx)(struct net_device *dev, int bufnum);
207 int (*ack_tx)(struct net_device *dev, int acked);
269 struct net_device *dev;
320 void (*command)(struct net_device *dev, int cmd);
321 int (*status)(struct net_device *dev);
322 void (*intmask)(struct net_device *dev, int mask);
323 int (*reset)(struct net_device *dev, int really_reset);
324 void (*open)(struct net_device *dev);
325 void (*close)(struct net_device *dev);
326 void (*datatrigger) (struct net_device * dev, int enable);
327 void (*recontrigger) (struct net_device * dev, int enable);
329 void (*copy_to_card)(struct net_device *dev, int bufnum,
331 void (*copy_from_card)(struct net_device *dev, int bufnum,
349 void arcnet_dump_skb(struct net_device *dev, struct sk_buff *skb, char *desc);
352 void arcnet_dump_skb(struct net_device *dev, struct sk_buff *skb, char *desc)
361 void free_arcdev(struct net_device *dev);
363 int arcnet_open(struct net_device *dev);
364 int arcnet_close(struct net_device *dev);
366 struct net_device *dev);
367 void arcnet_timeout(struct net_device *dev, unsigned int txqueue);
369 static inline void arcnet_set_addr(struct net_device *dev, u8 addr)
371 dev_addr_set(dev, &addr);