Lines Matching defs:ifs
1781 struct if_settings *ifs)
1786 if (ifs->size != sizeof(sync))
1789 if (copy_from_user(&sync, ifs->ifs_ifsu.sync, sizeof(sync)))
1797 switch (ifs->type) {
1853 struct if_settings *ifs)
1864 ifs->type = IF_IFACE_E1;
1867 ifs->type = IF_IFACE_T1;
1870 ifs->type = IF_IFACE_V35;
1873 ifs->type = IF_IFACE_V24;
1876 ifs->type = IF_IFACE_X21D;
1880 ifs->type = IF_IFACE_X21;
1883 if (!ifs->size)
1886 if (ifs->size < sizeof(sync))
1897 if (copy_to_user(ifs->ifs_ifsu.sync, &sync, sizeof(sync)))
1900 ifs->size = sizeof(sync);
2016 fst_ioctl(struct net_device *dev, struct if_settings *ifs)
2021 dbg(DBG_IOCTL, "SIOCDEVPRIVATE, %x\n", ifs->type);
2029 switch (ifs->type) {
2031 return fst_get_iface(card, port, ifs);
2040 return fst_set_iface(card, port, ifs);
2048 ifs->type = IF_PROTO_RAW;
2051 return hdlc_ioctl(dev, ifs);
2056 ifs->type);
2057 return hdlc_ioctl(dev, ifs);