Home
last modified time | relevance | path

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

/drivers/usb/serial/
Dqcserial.c229 __u8 nintf; in qcprobe() local
238 nintf = serial->dev->actconfig->desc.bNumInterfaces; in qcprobe()
239 dev_dbg(dev, "Num Interfaces = %d\n", nintf); in qcprobe()
243 if (nintf == 1) { in qcprobe()
282 if (nintf < 3 || nintf > 4) { in qcprobe()
283 dev_err(dev, "unknown number of interfaces: %d\n", nintf); in qcprobe()
298 if (nintf == 5 && id->idProduct == QUECTEL_EC20_PID) { in qcprobe()
310 if (nintf < 3 || nintf > 4) { in qcprobe()
311 dev_err(dev, "unknown number of interfaces: %d\n", nintf); in qcprobe()
/drivers/usb/core/
Dconfig.c542 int nintf, nintf_orig; in usb_parse_configuration() local
553 nintf = nintf_orig = config->desc.bNumInterfaces; in usb_parse_configuration()
569 if (nintf > USB_MAXINTERFACES) { in usb_parse_configuration()
572 cfgno, nintf, USB_MAXINTERFACES); in usb_parse_configuration()
573 nintf = USB_MAXINTERFACES; in usb_parse_configuration()
673 if (n != nintf) in usb_parse_configuration()
679 config->desc.bNumInterfaces = nintf = n; in usb_parse_configuration()
682 for (i = 0; i < nintf; ++i) { in usb_parse_configuration()
683 for (j = 0; j < nintf; ++j) { in usb_parse_configuration()
687 if (j >= nintf) in usb_parse_configuration()
[all …]
Dmessage.c1736 int n, nintf; in usb_set_configuration() local
1762 n = nintf = 0; in usb_set_configuration()
1764 nintf = cp->desc.bNumInterfaces; in usb_set_configuration()
1765 new_interfaces = kmalloc(nintf * sizeof(*new_interfaces), in usb_set_configuration()
1770 for (; n < nintf; ++n) { in usb_set_configuration()
1835 for (i = 0; i < nintf; ++i) { in usb_set_configuration()
1892 for (i = 0; i < nintf; ++i) { in usb_set_configuration()
1927 for (i = 0; i < nintf; ++i) { in usb_set_configuration()
/drivers/net/ethernet/pasemi/
Dpasemi_mac.c139 int nintf, off, i, j; in mac_to_intf() local
143 nintf = (tmp & PAS_DMA_CAP_IFI_NIN_M) >> PAS_DMA_CAP_IFI_NIN_S; in mac_to_intf()
153 for (i = 0; i < (nintf+3)/4; i++) { in mac_to_intf()