Lines Matching refs:ifr
191 static int pc300_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
195 sync_serial_settings __user *line = ifr->ifr_settings.ifs_ifsu.sync;
206 return hdlc_ioctl(dev, ifr, cmd);
208 if (ifr->ifr_settings.type == IF_GET_IFACE) {
209 ifr->ifr_settings.type = port->iface;
210 if (ifr->ifr_settings.size < size) {
211 ifr->ifr_settings.size = size; /* data size wanted */
221 (ifr->ifr_settings.type == IF_IFACE_SYNC_SERIAL ||
222 ifr->ifr_settings.type == IF_IFACE_X21))
226 (ifr->ifr_settings.type == IF_IFACE_SYNC_SERIAL ||
227 ifr->ifr_settings.type == IF_IFACE_V35))
231 ifr->ifr_settings.type == IF_IFACE_V24)
235 return hdlc_ioctl(dev, ifr, cmd);