Home
last modified time | relevance | path

Searched refs:interface_number (Results 1 – 17 of 17) sorted by relevance

/external/autotest/client/cros/cellular/mbim_compliance/sequences/
Dopen_sequence.py61 def set_alternate_setting(self, interface_number, alternate_setting): argument
70 alternate_setting, interface_number)
72 interface_number,
76 def reset_function(self, interface_number): argument
84 interface_number)
88 wIndex=interface_number,
92 def get_ntb_parameters(self, interface_number): argument
101 interface_number)
106 wIndex=interface_number,
114 def set_ntb_format(self, interface_number, ntb_format): argument
[all …]
Dsequence.py42 def detach_kernel_driver_if_active(self, interface_number): argument
51 if self.device_context.device.is_kernel_driver_active(interface_number):
52 self.device_context.device.detach_kernel_driver(interface_number)
/external/libusb/libusb/
Dcore.c1602 int interface_number) in libusb_claim_interface() argument
1606 usbi_dbg("interface %d", interface_number); in libusb_claim_interface()
1607 if (interface_number >= USB_MAXINTERFACES) in libusb_claim_interface()
1614 if (dev_handle->claimed_interfaces & (1 << interface_number)) in libusb_claim_interface()
1617 r = usbi_backend->claim_interface(dev_handle, interface_number); in libusb_claim_interface()
1619 dev_handle->claimed_interfaces |= 1 << interface_number; in libusb_claim_interface()
1646 int interface_number) in libusb_release_interface() argument
1650 usbi_dbg("interface %d", interface_number); in libusb_release_interface()
1651 if (interface_number >= USB_MAXINTERFACES) in libusb_release_interface()
1655 if (!(dev_handle->claimed_interfaces & (1 << interface_number))) { in libusb_release_interface()
[all …]
Dlibusbi.h866 int (*claim_interface)(struct libusb_device_handle *dev_handle, int interface_number);
883 int (*release_interface)(struct libusb_device_handle *dev_handle, int interface_number);
900 int interface_number, int altsetting);
965 int interface_number);
981 int interface_number);
998 int interface_number);
Dlibusb.h1380 int interface_number);
1382 int interface_number);
1388 int interface_number, int alternate_setting);
1404 int interface_number);
1406 int interface_number);
1408 int interface_number);
Ddescriptor.c221 int interface_number = -1; in parse_interface() local
269 if (interface_number == -1) in parse_interface()
270 interface_number = ifp->bInterfaceNumber; in parse_interface()
349 ifp->bInterfaceNumber != interface_number) in parse_interface()
/external/libusb/libusb/os/
Dhaiku_usb_raw.cpp117 haiku_claim_interface(struct libusb_device_handle *dev_handle, int interface_number) in haiku_claim_interface() argument
120 return handle->ClaimInterface(interface_number); in haiku_claim_interface()
124 haiku_set_altsetting(struct libusb_device_handle *dev_handle, int interface_number, int altsetting) in haiku_set_altsetting() argument
127 return handle->SetAltSetting(interface_number, altsetting); in haiku_set_altsetting()
131 haiku_release_interface(struct libusb_device_handle *dev_handle, int interface_number) in haiku_release_interface() argument
134 haiku_set_altsetting(dev_handle,interface_number, 0); in haiku_release_interface()
135 return handle->ReleaseInterface(interface_number); in haiku_release_interface()
Dwince_usb.c434 int interface_number) in wince_claim_interface() argument
438 if (!UkwClaimInterface(priv->dev, interface_number)) in wince_claim_interface()
446 int interface_number) in wince_release_interface() argument
450 if (!UkwSetInterfaceAlternateSetting(priv->dev, interface_number, 0)) in wince_release_interface()
453 if (!UkwReleaseInterface(priv->dev, interface_number)) in wince_release_interface()
461 int interface_number, int altsetting) in wince_set_interface_altsetting() argument
465 if (!UkwSetInterfaceAlternateSetting(priv->dev, interface_number, altsetting)) in wince_set_interface_altsetting()
499 int interface_number) in wince_kernel_driver_active() argument
504 if (!UkwKernelDriverActive(priv->dev, interface_number, &result)) in wince_kernel_driver_active()
512 int interface_number) in wince_detach_kernel_driver() argument
[all …]
Dwindows_winusb.c591 static int auto_claim(struct libusb_transfer *transfer, int *interface_number, int api_type) in auto_claim() argument
597 int current_interface = *interface_number; in auto_claim()
633 *interface_number = current_interface; in auto_claim()
646 if (handle_priv->autoclaim_count[transfer_priv->interface_number] > 0) { in auto_release()
647 handle_priv->autoclaim_count[transfer_priv->interface_number]--; in auto_release()
648 if (handle_priv->autoclaim_count[transfer_priv->interface_number] == 0) { in auto_release()
649 r = libusb_release_interface(dev_handle, transfer_priv->interface_number); in auto_release()
651 usbi_dbg("auto-released interface %d", transfer_priv->interface_number); in auto_release()
654 transfer_priv->interface_number, libusb_error_name((enum libusb_error)r)); in auto_release()
1197 int interface_number; in set_composite_interface() local
[all …]
Dwince_usb.h124 uint8_t interface_number; member
Dwindows_winusb.h292 uint8_t interface_number; member
/external/libusb/include/libusb/
Dlibusbi.h866 int (*claim_interface)(struct libusb_device_handle *dev_handle, int interface_number);
883 int (*release_interface)(struct libusb_device_handle *dev_handle, int interface_number);
900 int interface_number, int altsetting);
965 int interface_number);
981 int interface_number);
998 int interface_number);
Dlibusb.h1380 int interface_number);
1382 int interface_number);
1388 int interface_number, int alternate_setting);
1404 int interface_number);
1406 int interface_number);
1408 int interface_number);
/external/autotest/client/cros/cellular/mbim_compliance/
Dmbim_channel_endpoint.py51 interface_number, argument
74 self._interface_number = interface_number
Dmbim_channel.py61 interface_number, argument
88 interface_number,
/external/scapy/scapy/contrib/
Dlldp.uts22 interface_number=23,
183 interface_number=23,
/external/u-boot/drivers/usb/gadget/
Df_mass_storage.c374 u16 interface_number; member
547 if (w_index != fsg->interface_number || w_value != 0) in fsg_setup()
560 if (w_index != fsg->interface_number || w_value != 0) in fsg_setup()
2661 fsg->interface_number = i; in fsg_bind()