Lines Matching refs:net_device
105 struct net_device *second; /* for ISA/dual cards */
108 struct net_device *master;
109 struct net_device *link;
115 static int sbni_pci_probe( struct net_device * );
116 static struct net_device *sbni_probe1(struct net_device *, unsigned long, int);
117 static int sbni_open( struct net_device * );
118 static int sbni_close( struct net_device * );
120 struct net_device * );
121 static int sbni_ioctl( struct net_device *, struct ifreq *, int );
122 static void set_multicast_list( struct net_device * );
125 static void handle_channel( struct net_device * );
126 static int recv_frame( struct net_device * );
127 static void send_frame( struct net_device * );
128 static int upload_data( struct net_device *,
130 static void download_data( struct net_device *, u32 * );
132 static void interpret_ack( struct net_device *, unsigned );
133 static int append_frame_to_pkt( struct net_device *, unsigned, u32 );
134 static void indicate_pkt( struct net_device * );
135 static void card_start( struct net_device * );
136 static void prepare_to_send( struct sk_buff *, struct net_device * );
137 static void drop_xmit_queue( struct net_device * );
138 static void send_frame_header( struct net_device *, u32 * );
141 static void change_level( struct net_device * );
142 static void timeout_change_level( struct net_device * );
144 static struct sk_buff * get_rx_buf( struct net_device * );
145 static int sbni_init( struct net_device * );
148 static int enslave( struct net_device *, struct net_device * );
149 static int emancipate( struct net_device * );
163 static struct net_device *sbni_cards[ SBNI_MAX_NUM_CARDS ];
194 sbni_isa_probe( struct net_device *dev ) in sbni_isa_probe()
219 static void __init sbni_devsetup(struct net_device *dev) in sbni_devsetup()
227 struct net_device *dev; in sbni_probe()
256 static int __init sbni_init(struct net_device *dev) in sbni_init()
296 sbni_pci_probe( struct net_device *dev ) in sbni_pci_probe()
347 static struct net_device * __init
348 sbni_probe1( struct net_device *dev, unsigned long ioaddr, int irq ) in sbni_probe1()
442 sbni_start_xmit( struct sk_buff *skb, struct net_device *dev ) in sbni_start_xmit()
444 struct net_device *p; in sbni_start_xmit()
470 sbni_start_xmit( struct sk_buff *skb, struct net_device *dev ) in sbni_start_xmit()
505 struct net_device *dev = dev_id; in sbni_interrupt()
532 handle_channel( struct net_device *dev ) in handle_channel()
590 recv_frame( struct net_device *dev ) in recv_frame()
624 send_frame( struct net_device *dev ) in send_frame()
681 download_data( struct net_device *dev, u32 *crc_p ) in download_data()
699 upload_data( struct net_device *dev, unsigned framelen, unsigned frameno, in upload_data()
753 send_complete( struct net_device *dev ) in send_complete()
775 interpret_ack( struct net_device *dev, unsigned ack ) in interpret_ack()
809 append_frame_to_pkt( struct net_device *dev, unsigned framelen, u32 crc ) in append_frame_to_pkt()
840 prepare_to_send( struct sk_buff *skb, struct net_device *dev ) in prepare_to_send()
871 drop_xmit_queue( struct net_device *dev ) in drop_xmit_queue()
901 send_frame_header( struct net_device *dev, u32 *crc_p ) in send_frame_header()
990 get_rx_buf( struct net_device *dev ) in get_rx_buf()
1003 indicate_pkt( struct net_device *dev ) in indicate_pkt()
1035 struct net_device *dev = (struct net_device *) arg; in sbni_watchdog()
1087 card_start( struct net_device *dev ) in card_start()
1109 change_level( struct net_device *dev ) in change_level()
1133 timeout_change_level( struct net_device *dev ) in timeout_change_level()
1156 sbni_open( struct net_device *dev ) in sbni_open()
1167 struct net_device **p = sbni_cards; in sbni_open()
1211 sbni_close( struct net_device *dev ) in sbni_close()
1295 sbni_ioctl( struct net_device *dev, struct ifreq *ifr, int cmd ) in sbni_ioctl()
1302 struct net_device *slave_dev; in sbni_ioctl()
1387 enslave( struct net_device *dev, struct net_device *slave_dev ) in enslave()
1421 emancipate( struct net_device *dev ) in emancipate()
1424 struct net_device *p = snl->master; in emancipate()
1460 set_multicast_list( struct net_device *dev ) in set_multicast_list()
1479 struct net_device *dev; in init_module()
1512 struct net_device *dev = sbni_cards[i]; in cleanup_module()