Lines Matching refs:d
78 static int hostess_open(struct net_device *d) in hostess_open() argument
80 struct z8530_dev *sv11 = dev_to_sv(d); in hostess_open()
88 err = z8530_sync_open(d, &sv11->chanA); in hostess_open()
91 err = z8530_sync_dma_open(d, &sv11->chanA); in hostess_open()
94 err = z8530_sync_txdma_open(d, &sv11->chanA); in hostess_open()
101 err = hdlc_open(d); in hostess_open()
105 z8530_sync_close(d, &sv11->chanA); in hostess_open()
108 z8530_sync_dma_close(d, &sv11->chanA); in hostess_open()
111 z8530_sync_txdma_close(d, &sv11->chanA); in hostess_open()
122 netif_start_queue(d); in hostess_open()
126 static int hostess_close(struct net_device *d) in hostess_close() argument
128 struct z8530_dev *sv11 = dev_to_sv(d); in hostess_close()
134 hdlc_close(d); in hostess_close()
135 netif_stop_queue(d); in hostess_close()
139 z8530_sync_close(d, &sv11->chanA); in hostess_close()
142 z8530_sync_dma_close(d, &sv11->chanA); in hostess_close()
145 z8530_sync_txdma_close(d, &sv11->chanA); in hostess_close()
151 static int hostess_ioctl(struct net_device *d, struct ifreq *ifr, int cmd) in hostess_ioctl() argument
155 return hdlc_ioctl(d, ifr, cmd); in hostess_ioctl()
163 struct net_device *d) in hostess_queue_xmit() argument
165 return z8530_queue_xmit(&dev_to_sv(d)->chanA, skb); in hostess_queue_xmit()