Lines Matching refs:net_device
138 static int eql_init(struct net_device *dev); /* */
139 static int eql_open(struct net_device *dev); /* */
140 static int eql_close(struct net_device *dev); /* */
141 static int eql_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd); /* */
142 static int eql_slave_xmit(struct sk_buff *skb, struct net_device *dev); /* */
144 static struct net_device_stats *eql_get_stats(struct net_device *dev); /* */
148 static int eql_enslave(struct net_device *dev, slaving_request_t *srq); /* */
149 static int eql_emancipate(struct net_device *dev, slaving_request_t *srq); /* */
151 static int eql_g_slave_cfg(struct net_device *dev, slave_config_t *sc); /* */
152 static int eql_s_slave_cfg(struct net_device *dev, slave_config_t *sc); /* */
154 static int eql_g_master_cfg(struct net_device *dev, master_config_t *mc); /* */
155 static int eql_s_master_cfg(struct net_device *dev, master_config_t *mc); /* */
157 static inline int eql_is_slave(struct net_device *dev); /* */
158 static inline int eql_is_master(struct net_device *dev); /* */
169 static slave_queue_t *eql_new_slave_queue(struct net_device *dev); /* */
176 static int eql_remove_slave_dev(slave_queue_t *queue, struct net_device *dev); /* */
178 static inline struct net_device *eql_best_slave_dev(slave_queue_t *queue); /* */
186 static slave_t *eql_find_slave_dev(slave_queue_t *queue, struct net_device *dev); /* */
197 static int __init eql_init(struct net_device *dev) in eql_init()
256 static int eql_open(struct net_device *dev) in eql_open()
288 static int eql_close(struct net_device *dev) in eql_close()
313 static int eql_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) in eql_ioctl()
378 struct net_device *master_dev = queue->master_dev; in eql_schedule_slaves()
464 static inline struct net_device *eql_best_slave_dev(slave_queue_t *queue) in eql_best_slave_dev()
484 static int eql_slave_xmit(struct sk_buff *skb, struct net_device *dev) in eql_slave_xmit()
487 struct net_device *slave_dev = 0; in eql_slave_xmit()
526 static struct net_device_stats * eql_get_stats(struct net_device *dev) in eql_get_stats()
532 static inline int eql_is_slave(struct net_device *dev) in eql_is_slave()
543 static inline int eql_is_master(struct net_device *dev) in eql_is_master()
558 static int eql_enslave(struct net_device *dev, slaving_request_t *srqp) in eql_enslave()
560 struct net_device *master_dev; in eql_enslave()
561 struct net_device *slave_dev; in eql_enslave()
621 static int eql_emancipate(struct net_device *dev, slaving_request_t *srqp) in eql_emancipate()
623 struct net_device *master_dev; in eql_emancipate()
624 struct net_device *slave_dev; in eql_emancipate()
650 static int eql_g_slave_cfg(struct net_device *dev, slave_config_t *scp) in eql_g_slave_cfg()
654 struct net_device *slave_dev; in eql_g_slave_cfg()
684 static int eql_s_slave_cfg(struct net_device *dev, slave_config_t *scp) in eql_s_slave_cfg()
688 struct net_device *slave_dev; in eql_s_slave_cfg()
720 static int eql_g_master_cfg(struct net_device *dev, master_config_t *mcp) in eql_g_master_cfg()
743 static int eql_s_master_cfg(struct net_device *dev, master_config_t *mcp) in eql_s_master_cfg()
799 static slave_queue_t *eql_new_slave_queue(struct net_device *dev) in eql_new_slave_queue()
914 static int eql_remove_slave_dev(slave_queue_t *queue, struct net_device *dev) in eql_remove_slave_dev()
945 static slave_t * eql_find_slave_dev(slave_queue_t *queue, struct net_device *dev) in eql_find_slave_dev()
1007 static struct net_device dev_eql;