Searched refs:nintf (Results 1 – 4 of 4) sorted by relevance
/drivers/usb/serial/ |
D | qcserial.c | 234 __u8 nintf; in qcprobe() local 243 nintf = serial->dev->actconfig->desc.bNumInterfaces; in qcprobe() 244 dev_dbg(dev, "Num Interfaces = %d\n", nintf); in qcprobe() 248 if (nintf == 1) { in qcprobe() 287 if (nintf < 3 || nintf > 4) { in qcprobe() 288 dev_err(dev, "unknown number of interfaces: %d\n", nintf); in qcprobe() 303 if (nintf == 5 && id->idProduct == QUECTEL_EC20_PID) { in qcprobe() 315 if (nintf < 3 || nintf > 4) { in qcprobe() 316 dev_err(dev, "unknown number of interfaces: %d\n", nintf); in qcprobe()
|
/drivers/usb/core/ |
D | config.c | 611 int nintf, nintf_orig; in usb_parse_configuration() local 622 nintf = nintf_orig = config->desc.bNumInterfaces; in usb_parse_configuration() 638 if (nintf > USB_MAXINTERFACES) { in usb_parse_configuration() 641 cfgno, nintf, USB_MAXINTERFACES); in usb_parse_configuration() 642 nintf = USB_MAXINTERFACES; in usb_parse_configuration() 742 if (n != nintf) in usb_parse_configuration() 748 config->desc.bNumInterfaces = nintf = n; in usb_parse_configuration() 751 for (i = 0; i < nintf; ++i) { in usb_parse_configuration() 752 for (j = 0; j < nintf; ++j) { in usb_parse_configuration() 756 if (j >= nintf) in usb_parse_configuration() [all …]
|
D | message.c | 1958 int n, nintf; in usb_set_configuration() local 1984 n = nintf = 0; in usb_set_configuration() 1986 nintf = cp->desc.bNumInterfaces; in usb_set_configuration() 1987 new_interfaces = kmalloc_array(nintf, sizeof(*new_interfaces), in usb_set_configuration() 1992 for (; n < nintf; ++n) { in usb_set_configuration() 2057 for (i = 0; i < nintf; ++i) { in usb_set_configuration() 2115 for (i = 0; i < nintf; ++i) { in usb_set_configuration() 2150 for (i = 0; i < nintf; ++i) { in usb_set_configuration()
|
/drivers/net/ethernet/pasemi/ |
D | pasemi_mac.c | 128 int nintf, off, i, j; in mac_to_intf() local 132 nintf = (tmp & PAS_DMA_CAP_IFI_NIN_M) >> PAS_DMA_CAP_IFI_NIN_S; in mac_to_intf() 142 for (i = 0; i < (nintf+3)/4; i++) { in mac_to_intf()
|