Lines Matching refs:fd
131 netdev_attach(int fd, int irq, unsigned int ipaddr) in netdev_attach() argument
134 return ia64_ssc(fd, ipaddr, 0,0, SSC_NETDEV_ATTACH); in netdev_attach()
139 netdev_detach(int fd) in netdev_detach() argument
143 return ia64_ssc(fd, 0,0,0, SSC_NETDEV_DETACH); in netdev_detach()
147 netdev_send(int fd, unsigned char *buf, unsigned int len) in netdev_send() argument
149 return ia64_ssc(fd, __pa(buf), len, 0, SSC_NETDEV_SEND); in netdev_send()
153 netdev_read(int fd, unsigned char *buf, unsigned int len) in netdev_read() argument
155 return ia64_ssc(fd, __pa(buf), len, 0, SSC_NETDEV_RECV); in netdev_read()
184 int fd, err, rc; in simeth_probe1() local
196 fd = netdev_probe(simeth_device, mac_addr); in simeth_probe1()
197 if (fd == -1) in simeth_probe1()
207 local->simfd = fd; /* keep track of underlying file descriptor */ in simeth_probe1()