Home
last modified time | relevance | path

Searched refs:if_num (Results 1 – 11 of 11) sorted by relevance

/titanic_41/usr/src/uts/intel/io/heci/
H A Dheci.h122 int heci_ioctl_get_version(struct iamt_heci_device *device, int if_num,
127 int heci_ioctl_connect_client(struct iamt_heci_device *dev, int if_num,
131 int heci_ioctl_wd(struct iamt_heci_device *device, int if_num,
135 int heci_ioctl_bypass_wd(struct iamt_heci_device *device, int if_num,
139 int heci_start_read(struct iamt_heci_device *device, int if_num,
145 int pthi_read(struct iamt_heci_device *device, int if_num,
H A Dheci_main.c608 int minor, if_num, instance; in heci_open() local
624 if_num = HECI_MINOR_TO_IFNUM(minor); in heci_open()
628 if ((if_num < HECI_MINOR_NUMBER) || (!dev)) in heci_open()
685 int minor, if_num, instance; in heci_close() local
696 if_num = HECI_MINOR_TO_IFNUM(minor); in heci_close()
700 file = &dev->files[if_num]; in heci_close()
703 if ((if_num < HECI_MINOR_NUMBER) || (!dev) || (!file_ext)) in heci_close()
817 int instance, minor, if_num, err; in heci_read() local
826 if_num = HECI_MINOR_TO_IFNUM(minor); in heci_read()
830 file = &dev->files[if_num]; in heci_read()
[all …]
H A Dio_heci.c82 heci_ioctl_get_version(struct iamt_heci_device *dev, int if_num, in heci_ioctl_get_version() argument
92 if ((if_num < HECI_MINOR_NUMBER) || (!dev) || in heci_ioctl_get_version()
145 heci_ioctl_connect_client(struct iamt_heci_device *dev, int if_num, in heci_ioctl_connect_client() argument
162 if ((if_num < HECI_MINOR_NUMBER) || (!dev) || (!file)) in heci_ioctl_connect_client()
405 heci_ioctl_wd(struct iamt_heci_device *dev, int if_num, in heci_ioctl_wd() argument
412 if (if_num < HECI_MINOR_NUMBER) in heci_ioctl_wd()
489 heci_ioctl_bypass_wd(struct iamt_heci_device *dev, int if_num, in heci_ioctl_bypass_wd() argument
496 if (if_num < HECI_MINOR_NUMBER) in heci_ioctl_bypass_wd()
570 pthi_read(struct iamt_heci_device *dev, int if_num, struct heci_file *file, in pthi_read() argument
580 if ((if_num < HECI_MINOR_NUMBER) || (!dev)) in pthi_read()
[all …]
/titanic_41/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_nic.c91 int if_num; member
333 int if_num, const char **if_names) in smb_nic_addhost() argument
340 if ((host == NULL) || (if_num <= 0) || (if_names == NULL)) in smb_nic_addhost()
348 for (i = 0; i < if_num; i++) { in smb_nic_addhost()
359 for (i = 0; i < if_num - 1; i++) in smb_nic_addhost()
437 for (i = 0; i < iflist->if_num; i++) { in smb_nic_list_create()
669 if ((iflist->if_num > 0) && smb_duplicate_nic(iflist, lifrp)) in smb_nic_hlist_sysget()
701 iflist->if_names[iflist->if_num++] = ifname; in smb_nic_hlist_sysget()
703 hlist->h_ifnum = iflist->if_num; in smb_nic_hlist_sysget()
719 for (j = 0; j < iflist->if_num; j++) { in smb_duplicate_nic()
[all …]
/titanic_41/usr/src/uts/common/io/usb/clients/video/usbvc/
H A Dusbvc.c676 int if_num; in usbvc_close() local
712 if_num = strm_if->if_descr->if_alt->altif_descr.bInterfaceNumber; in usbvc_close()
716 (void) usb_set_alt_if(usbvcp->usbvc_dip, if_num, 0, in usbvc_close()
1976 int if_num; in usbvc_parse_ctrl_if() local
1984 if_num = usbvcp->usbvc_reg->dev_curr_if; in usbvc_parse_ctrl_if()
1985 if_alt_data = usbvcp->usbvc_reg->dev_curr_cfg->cfg_if[if_num].if_alt; in usbvc_parse_ctrl_if()
2257 usbvc_parse_stream_if(usbvc_state_t *usbvcp, int if_num) in usbvc_parse_stream_if() argument
2267 strm_if->if_descr = &usbvcp->usbvc_reg->dev_curr_cfg->cfg_if[if_num]; in usbvc_parse_stream_if()
2336 int i, if_cnt, if_num; in usbvc_parse_stream_ifs() local
2348 if_num = usbvcp->usbvc_vc_header->baInterfaceNr[i]; in usbvc_parse_stream_ifs()
[all …]
/titanic_41/usr/src/uts/common/io/usb/clients/usbser/usbsacm/
H A Dusbsacm.c1456 int if_num; in usbsacm_get_bulk_pipe_number() local
1462 if_num = acmp->acm_dev_data->dev_curr_cfg->cfg_n_if; in usbsacm_get_bulk_pipe_number()
1465 for (i = 0; i < if_num; i++) { in usbsacm_get_bulk_pipe_number()
1507 int if_num; in usbsacm_init_ports_status() local
1550 if_num = acmp->acm_dev_data->dev_curr_cfg->cfg_n_if; in usbsacm_init_ports_status()
1554 for (i = 0; i < if_num; i++) { in usbsacm_init_ports_status()
/titanic_41/usr/src/uts/common/io/usb/clients/usbecm/
H A Dusbecm.c2709 uint16_t if_num, i; in usbecm_init_non_compatible_device() local
2717 if_num = ecmp->ecm_dev_data->dev_curr_cfg->cfg_n_if; in usbecm_init_non_compatible_device()
2720 for (i = 0; i < if_num; i++) { in usbecm_init_non_compatible_device()
2743 int alt_num, if_num, cfg_num; in usbecm_is_compatible() local
2758 if_num = cfg_data->cfg_n_if; in usbecm_is_compatible()
2760 for (i = 0; i < if_num; i++) { in usbecm_is_compatible()
/titanic_41/usr/src/uts/common/io/usb/usba/
H A Dusbai_util.c2376 usba_common_register_events(dev_info_t *dip, uint_t if_num, in usba_common_register_events() argument
2437 usba_common_unregister_events(dip, if_num); in usba_common_register_events()
2442 usba_common_unregister_events(dev_info_t *dip, uint_t if_num) in usba_common_unregister_events() argument
2480 for (i = 0; i < if_num; i++) { in usba_common_unregister_events()
H A Dusba.c3023 uint8_t if_num = usba_get_ifno(dip); in usba_bind_driver() local
3026 "usba_bind_driver: dip = 0x%p, if_num = 0x%x", (void *)dip, if_num); in usba_bind_driver()
3040 if_num, ddi_node_name(dip), name); in usba_bind_driver()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dlocaladdr.c695 int if_num; in foreach_localaddr() member
722 code = ioctl (P.sock, SIOCGLIFNUM, &P.if_num); in foreach_localaddr()
729 P.buf_size = P.if_num * sizeof (struct if_laddrreq) * 2; in foreach_localaddr()
/titanic_41/usr/src/cmd/zoneadm/
H A Dzoneadm.c2417 struct lifnum if_num; in get_local_netifs() local
2436 if_num.lifn_family = AF_UNSPEC; in get_local_netifs()
2437 if_num.lifn_flags = LIFC_NOXMIT; in get_local_netifs()
2438 if (ioctl(s, SIOCGLIFNUM, &if_num) < 0) { in get_local_netifs()
2444 space_needed = if_num.lifn_count * sizeof (struct lifreq); in get_local_netifs()