Home
last modified time | relevance | path

Searched refs:hostif (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/drivers/isdn/gigaset/
Dusb-gigaset.c655 struct usb_host_interface *hostif = interface->cur_altsetting; in gigaset_probe() local
671 if (hostif->desc.bInterfaceNumber != 0) { in gigaset_probe()
673 hostif->desc.bInterfaceNumber); in gigaset_probe()
676 if (hostif->desc.bAlternateSetting != 0) { in gigaset_probe()
678 hostif->desc.bAlternateSetting); in gigaset_probe()
681 if (hostif->desc.bInterfaceClass != 255) { in gigaset_probe()
683 hostif->desc.bInterfaceClass); in gigaset_probe()
687 if (hostif->desc.bNumEndpoints < 2) { in gigaset_probe()
709 endpoint = &hostif->endpoint[0].desc; in gigaset_probe()
734 endpoint = &hostif->endpoint[1].desc; in gigaset_probe()
Dbas-gigaset.c2277 struct usb_host_interface *hostif; in gigaset_probe() local
2292 hostif = interface->cur_altsetting; in gigaset_probe()
2293 if (hostif->desc.bAlternateSetting != 3) { in gigaset_probe()
2296 __func__, hostif->desc.bAlternateSetting); in gigaset_probe()
2297 if (usb_set_interface(udev, hostif->desc.bInterfaceNumber, 3) in gigaset_probe()
2301 udev->devnum, hostif->desc.bInterfaceNumber, in gigaset_probe()
2302 hostif->desc.bAlternateSetting); in gigaset_probe()
2305 hostif = interface->cur_altsetting; in gigaset_probe()
2310 if (hostif->desc.bInterfaceClass != 255) { in gigaset_probe()
2312 __func__, hostif->desc.bInterfaceClass); in gigaset_probe()
[all …]
/linux-4.19.296/drivers/i2c/busses/
Di2c-diolan-u2c.c444 struct usb_host_interface *hostif = interface->cur_altsetting; in diolan_u2c_probe() local
448 if (hostif->desc.bInterfaceNumber != 0 in diolan_u2c_probe()
449 || hostif->desc.bNumEndpoints < 2) in diolan_u2c_probe()
458 dev->ep_out = hostif->endpoint[0].desc.bEndpointAddress; in diolan_u2c_probe()
459 dev->ep_in = hostif->endpoint[1].desc.bEndpointAddress; in diolan_u2c_probe()