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()
218 static void __init sbni_devsetup(struct net_device *dev) in sbni_devsetup()
226 struct net_device *dev; in sbni_probe()
255 static int __init sbni_init(struct net_device *dev) in sbni_init()
295 sbni_pci_probe( struct net_device *dev ) in sbni_pci_probe()
346 static struct net_device * __init
347 sbni_probe1( struct net_device *dev, unsigned long ioaddr, int irq ) in sbni_probe1()
441 sbni_start_xmit( struct sk_buff *skb, struct net_device *dev ) in sbni_start_xmit()
443 struct net_device *p; in sbni_start_xmit()
469 sbni_start_xmit( struct sk_buff *skb, struct net_device *dev ) in sbni_start_xmit()
504 struct net_device *dev = dev_id; in sbni_interrupt()
531 handle_channel( struct net_device *dev ) in handle_channel()
589 recv_frame( struct net_device *dev ) in recv_frame()
623 send_frame( struct net_device *dev ) in send_frame()
680 download_data( struct net_device *dev, u32 *crc_p ) in download_data()
698 upload_data( struct net_device *dev, unsigned framelen, unsigned frameno, in upload_data()
752 send_complete( struct net_device *dev ) in send_complete()
774 interpret_ack( struct net_device *dev, unsigned ack ) in interpret_ack()
808 append_frame_to_pkt( struct net_device *dev, unsigned framelen, u32 crc ) in append_frame_to_pkt()
839 prepare_to_send( struct sk_buff *skb, struct net_device *dev ) in prepare_to_send()
870 drop_xmit_queue( struct net_device *dev ) in drop_xmit_queue()
900 send_frame_header( struct net_device *dev, u32 *crc_p ) in send_frame_header()
989 get_rx_buf( struct net_device *dev ) in get_rx_buf()
1002 indicate_pkt( struct net_device *dev ) in indicate_pkt()
1034 struct net_device *dev = (struct net_device *) arg; in sbni_watchdog()
1086 card_start( struct net_device *dev ) in card_start()
1108 change_level( struct net_device *dev ) in change_level()
1132 timeout_change_level( struct net_device *dev ) in timeout_change_level()
1155 sbni_open( struct net_device *dev ) in sbni_open()
1166 struct net_device **p = sbni_cards; in sbni_open()
1210 sbni_close( struct net_device *dev ) in sbni_close()
1294 sbni_ioctl( struct net_device *dev, struct ifreq *ifr, int cmd ) in sbni_ioctl()
1301 struct net_device *slave_dev; in sbni_ioctl()
1386 enslave( struct net_device *dev, struct net_device *slave_dev ) in enslave()
1420 emancipate( struct net_device *dev ) in emancipate()
1423 struct net_device *p = snl->master; in emancipate()
1459 set_multicast_list( struct net_device *dev ) in set_multicast_list()
1478 struct net_device *dev; in init_module()
1511 struct net_device *dev = sbni_cards[i]; in cleanup_module()