Lines Matching refs:ifr
194 static int pc300_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) in pc300_ioctl() argument
198 sync_serial_settings __user *line = ifr->ifr_settings.ifs_ifsu.sync; in pc300_ioctl()
209 return hdlc_ioctl(dev, ifr, cmd); in pc300_ioctl()
211 if (ifr->ifr_settings.type == IF_GET_IFACE) { in pc300_ioctl()
212 ifr->ifr_settings.type = port->iface; in pc300_ioctl()
213 if (ifr->ifr_settings.size < size) { in pc300_ioctl()
214 ifr->ifr_settings.size = size; /* data size wanted */ in pc300_ioctl()
224 (ifr->ifr_settings.type == IF_IFACE_SYNC_SERIAL || in pc300_ioctl()
225 ifr->ifr_settings.type == IF_IFACE_X21)) in pc300_ioctl()
229 (ifr->ifr_settings.type == IF_IFACE_SYNC_SERIAL || in pc300_ioctl()
230 ifr->ifr_settings.type == IF_IFACE_V35)) in pc300_ioctl()
234 ifr->ifr_settings.type == IF_IFACE_V24) in pc300_ioctl()
238 return hdlc_ioctl(dev, ifr, cmd); in pc300_ioctl()