Lines Matching refs:ifs
189 static int pc300_ioctl(struct net_device *dev, struct if_settings *ifs) in pc300_ioctl() argument
193 sync_serial_settings __user *line = ifs->ifs_ifsu.sync; in pc300_ioctl()
197 if (ifs->type == IF_GET_IFACE) { in pc300_ioctl()
198 ifs->type = port->iface; in pc300_ioctl()
199 if (ifs->size < size) { in pc300_ioctl()
200 ifs->size = size; /* data size wanted */ in pc300_ioctl()
209 (ifs->type == IF_IFACE_SYNC_SERIAL || in pc300_ioctl()
210 ifs->type == IF_IFACE_X21)) in pc300_ioctl()
214 (ifs->type == IF_IFACE_SYNC_SERIAL || in pc300_ioctl()
215 ifs->type == IF_IFACE_V35)) in pc300_ioctl()
219 ifs->type == IF_IFACE_V24) in pc300_ioctl()
223 return hdlc_ioctl(dev, ifs); in pc300_ioctl()