Lines Matching defs:if_num
608 int minor, if_num, instance;
624 if_num = HECI_MINOR_TO_IFNUM(minor);
628 if ((if_num < HECI_MINOR_NUMBER) || (!dev))
685 int minor, if_num, instance;
696 if_num = HECI_MINOR_TO_IFNUM(minor);
700 file = &dev->files[if_num];
703 if ((if_num < HECI_MINOR_NUMBER) || (!dev) || (!file_ext))
817 int instance, minor, if_num, err;
826 if_num = HECI_MINOR_TO_IFNUM(minor);
830 file = &dev->files[if_num];
833 if ((if_num < HECI_MINOR_NUMBER) || (!dev) || (!file_ext))
864 rets = pthi_read(dev, if_num, file, uio_p);
887 err = heci_start_read(dev, if_num, file_ext);
981 int instance, minor, if_num, err;
989 if_num = HECI_MINOR_TO_IFNUM(minor);
993 file = &dev->files[if_num];
995 if ((if_num < HECI_MINOR_NUMBER) || (!dev) || (!file_ext))
1251 int instance, minor, if_num;
1259 if_num = HECI_MINOR_TO_IFNUM(minor);
1263 file = &dev->files[if_num];
1266 if ((if_num < HECI_MINOR_NUMBER) || (!dev) || (!file_ext))
1293 rets = heci_ioctl_get_version(dev, if_num, u_msg, k_msg,
1299 rets = heci_ioctl_connect_client(dev, if_num, u_msg, k_msg,
1305 rets = heci_ioctl_wd(dev, if_num, k_msg, file_ext, mode);
1310 rets = heci_ioctl_bypass_wd(dev, if_num, k_msg, file_ext, mode);
1330 int instance, minor, if_num;
1337 if_num = HECI_MINOR_TO_IFNUM(minor);
1341 file = &device->files[if_num];
1344 if ((if_num < HECI_MINOR_NUMBER) || (!device) || (!file_extension))