Lines Matching defs:ifs
1787 struct if_settings *ifs)
1792 if (ifs->size != sizeof(sync))
1795 if (copy_from_user(&sync, ifs->ifs_ifsu.sync, sizeof(sync)))
1803 switch (ifs->type) {
1859 struct if_settings *ifs)
1870 ifs->type = IF_IFACE_E1;
1873 ifs->type = IF_IFACE_T1;
1876 ifs->type = IF_IFACE_V35;
1879 ifs->type = IF_IFACE_V24;
1882 ifs->type = IF_IFACE_X21D;
1886 ifs->type = IF_IFACE_X21;
1889 if (!ifs->size)
1892 if (ifs->size < sizeof(sync))
1903 if (copy_to_user(ifs->ifs_ifsu.sync, &sync, sizeof(sync)))
1906 ifs->size = sizeof(sync);
2022 fst_ioctl(struct net_device *dev, struct if_settings *ifs)
2027 dbg(DBG_IOCTL, "SIOCDEVPRIVATE, %x\n", ifs->type);
2035 switch (ifs->type) {
2037 return fst_get_iface(card, port, ifs);
2046 return fst_set_iface(card, port, ifs);
2054 ifs->type = IF_PROTO_RAW;
2057 return hdlc_ioctl(dev, ifs);
2062 ifs->type);
2063 return hdlc_ioctl(dev, ifs);