Home
last modified time | relevance | path

Searched refs:nintf (Results 1 – 4 of 4) sorted by relevance

/linux-3.4.99/drivers/usb/serial/
Dqcserial.c144 __u8 nintf; in qcprobe() local
151 nintf = serial->dev->actconfig->desc.bNumInterfaces; in qcprobe()
152 dbg("Num Interfaces = %d", nintf); in qcprobe()
163 switch (nintf) { in qcprobe()
252 "unknown number of interfaces: %d\n", nintf); in qcprobe()
/linux-3.4.99/drivers/usb/core/
Dconfig.c415 int nintf, nintf_orig; in usb_parse_configuration() local
439 nintf = nintf_orig = config->desc.bNumInterfaces; in usb_parse_configuration()
440 if (nintf > USB_MAXINTERFACES) { in usb_parse_configuration()
443 cfgno, nintf, USB_MAXINTERFACES); in usb_parse_configuration()
444 nintf = USB_MAXINTERFACES; in usb_parse_configuration()
536 if (n != nintf) in usb_parse_configuration()
542 config->desc.bNumInterfaces = nintf = n; in usb_parse_configuration()
545 for (i = 0; i < nintf; ++i) { in usb_parse_configuration()
546 for (j = 0; j < nintf; ++j) { in usb_parse_configuration()
550 if (j >= nintf) in usb_parse_configuration()
[all …]
Dmessage.c1687 int n, nintf; in usb_set_configuration() local
1713 n = nintf = 0; in usb_set_configuration()
1715 nintf = cp->desc.bNumInterfaces; in usb_set_configuration()
1716 new_interfaces = kmalloc(nintf * sizeof(*new_interfaces), in usb_set_configuration()
1723 for (; n < nintf; ++n) { in usb_set_configuration()
1777 for (i = 0; i < nintf; ++i) { in usb_set_configuration()
1827 for (i = 0; i < nintf; ++i) { in usb_set_configuration()
1857 for (i = 0; i < nintf; ++i) { in usb_set_configuration()
/linux-3.4.99/drivers/net/ethernet/pasemi/
Dpasemi_mac.c146 int nintf, off, i, j; in mac_to_intf() local
150 nintf = (tmp & PAS_DMA_CAP_IFI_NIN_M) >> PAS_DMA_CAP_IFI_NIN_S; in mac_to_intf()
160 for (i = 0; i < (nintf+3)/4; i++) { in mac_to_intf()