Home
last modified time | relevance | path

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

/tools/usb/
Dtestusb.c132 struct usb_interface_descriptor intf; in testdev_ffs_ifnum() member
141 if (u.intf.bLength == sizeof u.intf in testdev_ffs_ifnum()
142 && u.intf.bDescriptorType == USB_DT_INTERFACE in testdev_ffs_ifnum()
143 && u.intf.bNumEndpoints == 2 in testdev_ffs_ifnum()
144 && u.intf.bInterfaceClass == USB_CLASS_VENDOR_SPEC in testdev_ffs_ifnum()
145 && u.intf.bInterfaceSubClass == 0 in testdev_ffs_ifnum()
146 && u.intf.bInterfaceProtocol == 0) in testdev_ffs_ifnum()
147 return (unsigned char)u.intf.bInterfaceNumber; in testdev_ffs_ifnum()
Dffs-test.c115 struct usb_interface_descriptor intf; member
120 struct usb_interface_descriptor intf; member
136 .intf = {
137 .bLength = sizeof descriptors.fs_descs.intf,
160 .intf = {
161 .bLength = sizeof descriptors.fs_descs.intf,
185 .intf = {
186 .bLength = sizeof descriptors.fs_descs.intf,
/tools/usb/ffs-aio-example/simple/device_app/
Daio_simple.c59 struct usb_interface_descriptor intf; member
72 .intf = {
73 .bLength = sizeof(descriptors.fs_descs.intf),
94 .intf = {
95 .bLength = sizeof(descriptors.hs_descs.intf),
/tools/usb/ffs-aio-example/multibuff/device_app/
Daio_multibuff.c61 struct usb_interface_descriptor intf; member
74 .intf = {
75 .bLength = sizeof(descriptors.fs_descs.intf),
96 .intf = {
97 .bLength = sizeof(descriptors.hs_descs.intf),