Home
last modified time | relevance | path

Searched refs:cur_altsetting (Results 1 – 25 of 183) sorted by relevance

12345678

/drivers/media/usb/siano/
Dsmsusb.c406 for (i = 0; i < intf->cur_altsetting->desc.bNumEndpoints; i++) { in smsusb_init_device()
408 &intf->cur_altsetting->endpoint[i].desc; in smsusb_init_device()
506 intf->cur_altsetting->desc.bInterfaceNumber); in smsusb_probe()
509 intf->cur_altsetting->desc.bInterfaceNumber) { in smsusb_probe()
511 intf->cur_altsetting->desc.bInterfaceNumber, in smsusb_probe()
518 intf->cur_altsetting->desc.bInterfaceNumber, in smsusb_probe()
527 intf->cur_altsetting->desc.bInterfaceNumber); in smsusb_probe()
528 for (i = 0; i < intf->cur_altsetting->desc.bNumEndpoints; i++) { in smsusb_probe()
530 intf->cur_altsetting->endpoint[i].desc.bEndpointAddress, in smsusb_probe()
531 intf->cur_altsetting->endpoint[i].desc.bmAttributes, in smsusb_probe()
[all …]
/drivers/net/usb/
Dcdc_ether.c93 intf->cur_altsetting->desc.bInterfaceNumber, in usbnet_cdc_update_filter()
107 u8 *buf = intf->cur_altsetting->extra; in usbnet_generic_cdc_bind()
108 int len = intf->cur_altsetting->extralen; in usbnet_generic_cdc_bind()
138 hep = intf->cur_altsetting->endpoint; in usbnet_generic_cdc_bind()
151 rndis = (is_rndis(&intf->cur_altsetting->desc) || in usbnet_generic_cdc_bind()
152 is_activesync(&intf->cur_altsetting->desc) || in usbnet_generic_cdc_bind()
153 is_wireless_rndis(&intf->cur_altsetting->desc)); in usbnet_generic_cdc_bind()
208 d = &info->data->cur_altsetting->desc; in usbnet_generic_cdc_bind()
222 if (rndis && is_rndis(&intf->cur_altsetting->desc) && in usbnet_generic_cdc_bind()
300 if (info->control->cur_altsetting->desc.bNumEndpoints == 1) { in usbnet_generic_cdc_bind()
[all …]
Dcdc_ncm.c336 u8 iface_no = ctx->control->cur_altsetting->desc.bInterfaceNumber; in cdc_ncm_update_rxtx_max()
409 if (cdc_ncm_comm_intf_is_mbim(dev->intf->cur_altsetting) && ctx->mbim_desc) in cdc_ncm_flags()
418 if (cdc_ncm_comm_intf_is_mbim(dev->intf->cur_altsetting)) in cdc_ncm_eth_hlen()
425 if (cdc_ncm_comm_intf_is_mbim(dev->intf->cur_altsetting)) in cdc_ncm_min_dgram_size()
434 if (cdc_ncm_comm_intf_is_mbim(dev->intf->cur_altsetting) && ctx->mbim_desc) in cdc_ncm_max_dgram_size()
447 u8 iface_no = ctx->control->cur_altsetting->desc.bInterfaceNumber; in cdc_ncm_init()
521 u8 iface_no = ctx->control->cur_altsetting->desc.bInterfaceNumber; in cdc_ncm_set_dgram_size()
640 for (ep = 0; ep < intf->cur_altsetting->desc.bNumEndpoints; ep++) { in cdc_ncm_find_endpoints()
641 e = intf->cur_altsetting->endpoint + ep; in cdc_ncm_find_endpoints()
757 buf = intf->cur_altsetting->extra; in cdc_ncm_bind_common()
[all …]
Dqmi_wwan.c303 dev->status = &info->control->cur_altsetting->endpoint[0]; in qmi_wwan_register_subdriver()
340 u8 intf = dev->intf->cur_altsetting->desc.bInterfaceNumber; in qmi_wwan_change_dtr()
350 u8 *buf = intf->cur_altsetting->extra; in qmi_wwan_bind()
351 int len = intf->cur_altsetting->extralen; in qmi_wwan_bind()
352 struct usb_interface_descriptor *desc = &intf->cur_altsetting->desc; in qmi_wwan_bind()
1035 struct usb_interface_descriptor *desc = &intf->cur_altsetting->desc; in qmi_wwan_probe()
Dzaurus.c150 u8 *buf = intf->cur_altsetting->extra; in blan_mdlm_bind()
151 int len = intf->cur_altsetting->extralen; in blan_mdlm_bind()
/drivers/usb/wusbcore/
Dwa-hc.c42 if (iface->cur_altsetting->desc.bNumEndpoints < 3) in wa_create()
50 wa->dti_epd = &iface->cur_altsetting->endpoint[1].desc; in wa_create()
51 wa->dto_epd = &iface->cur_altsetting->endpoint[2].desc; in wa_create()
Dcbaf.c146 0, cbaf->usb_iface->cur_altsetting->desc.bInterfaceNumber, in cbaf_check()
268 cbaf->usb_iface->cur_altsetting->desc.bInterfaceNumber, in cbaf_send_host_info()
291 0x0200, cbaf->usb_iface->cur_altsetting->desc.bInterfaceNumber, in cbaf_cdid_get()
540 0x0201, cbaf->usb_iface->cur_altsetting->desc.bInterfaceNumber, in cbaf_cc_upload()
Dwa-hc.h390 wa->usb_iface->cur_altsetting->desc.bInterfaceNumber, in __wa_feature()
424 0, wa->usb_iface->cur_altsetting->desc.bInterfaceNumber, in __wa_get_status()
/drivers/usb/host/
Dhwa-hc.c87 wa->usb_iface->cur_altsetting->desc.bInterfaceNumber, in __hwahc_set_cluster_id()
107 wa->usb_iface->cur_altsetting->desc.bInterfaceNumber, in __hwahc_op_set_num_dnts()
270 struct usb_host_interface *cur_altsetting = in __hwahc_op_wusbhc_start() local
271 hwahc->wa.usb_iface->cur_altsetting; in __hwahc_op_wusbhc_start()
279 cur_altsetting->desc.bInterfaceNumber, in __hwahc_op_wusbhc_start()
311 u8 iface_no = wa->usb_iface->cur_altsetting->desc.bInterfaceNumber; in __hwahc_op_wusbhc_stop()
347 wa->usb_iface->cur_altsetting->desc.bInterfaceNumber, in __hwahc_op_bwa_set()
358 0, wa->usb_iface->cur_altsetting->desc.bInterfaceNumber, in __hwahc_op_bwa_set()
386 u8 iface_no = wa->usb_iface->cur_altsetting->desc.bInterfaceNumber; in __hwahc_op_mmcie_add()
405 u8 iface_no = wa->usb_iface->cur_altsetting->desc.bInterfaceNumber; in __hwahc_op_mmcie_rm()
[all …]
/drivers/uwb/i1480/dfu/
Dusb.c245 epd = &i1480_usb->usb_iface->cur_altsetting->endpoint[0].desc; in i1480_usb_wait_init_done()
301 iface_no = i1480_usb->usb_iface->cur_altsetting->desc.bInterfaceNumber; in i1480_usb_cmd()
302 epd = &i1480_usb->usb_iface->cur_altsetting->endpoint[0].desc; in i1480_usb_cmd()
351 if (iface->cur_altsetting->desc.bInterfaceNumber != 0) { in i1480_usb_probe()
353 iface->cur_altsetting->desc.bInterfaceNumber); in i1480_usb_probe()
366 if (iface->cur_altsetting->desc.bNumEndpoints < 1) in i1480_usb_probe()
/drivers/usb/core/
Dmessage.c1035 struct usb_host_interface *alt = intf->cur_altsetting; in create_intf_ep_devs()
1049 struct usb_host_interface *alt = intf->cur_altsetting; in remove_intf_ep_devs()
1134 struct usb_host_interface *alt = intf->cur_altsetting; in usb_disable_interface()
1270 struct usb_host_interface *alt = intf->cur_altsetting; in usb_enable_interface()
1362 for (i = 0; i < iface->cur_altsetting->desc.bNumEndpoints; i++) in usb_set_interface()
1363 iface->cur_altsetting->endpoint[i].streams = 0; in usb_set_interface()
1365 ret = usb_hcd_alloc_bandwidth(dev, NULL, iface->cur_altsetting, alt); in usb_set_interface()
1391 usb_hcd_alloc_bandwidth(dev, NULL, alt, iface->cur_altsetting); in usb_set_interface()
1405 if (iface->cur_altsetting != alt) { in usb_set_interface()
1411 iface->cur_altsetting = alt; in usb_set_interface()
[all …]
/drivers/hid/
Dhid-roccat-savu.c65 if (intf->cur_altsetting->desc.bInterfaceProtocol in savu_init_specials()
104 if (intf->cur_altsetting->desc.bInterfaceProtocol in savu_remove_specials()
178 if (intf->cur_altsetting->desc.bInterfaceProtocol in savu_raw_event()
Dhid-roccat-konepure.c85 if (intf->cur_altsetting->desc.bInterfaceProtocol in konepure_init_specials()
124 if (intf->cur_altsetting->desc.bInterfaceProtocol in konepure_remove_specials()
180 if (intf->cur_altsetting->desc.bInterfaceProtocol in konepure_raw_event()
Dhid-roccat-ryos.c93 if (intf->cur_altsetting->desc.bInterfaceProtocol in ryos_init_specials()
132 if (intf->cur_altsetting->desc.bInterfaceProtocol in ryos_remove_specials()
188 if (intf->cur_altsetting->desc.bInterfaceProtocol in ryos_raw_event()
Dhid-holtek-kbd.c113 if (intf->cur_altsetting->desc.bInterfaceNumber == 1) { in holtek_kbd_report_fixup()
157 if (!ret && intf->cur_altsetting->desc.bInterfaceNumber == 1) { in holtek_kbd_probe()
Dhid-roccat-isku.c278 if (intf->cur_altsetting->desc.bInterfaceProtocol in isku_init_specials()
317 if (intf->cur_altsetting->desc.bInterfaceProtocol in isku_remove_specials()
409 if (intf->cur_altsetting->desc.bInterfaceProtocol in isku_raw_event()
/drivers/usb/class/
Dcdc-acm.c1157 if (intf->cur_altsetting->endpoint && in acm_probe()
1158 intf->cur_altsetting->endpoint->extralen && in acm_probe()
1159 intf->cur_altsetting->endpoint->extra) { in acm_probe()
1162 buflen = intf->cur_altsetting->endpoint->extralen; in acm_probe()
1163 buffer = intf->cur_altsetting->endpoint->extra; in acm_probe()
1237 if (intf->cur_altsetting->desc.bNumEndpoints != 3) { in acm_probe()
1266 if (data_interface->cur_altsetting->desc.bNumEndpoints != 3) { in acm_probe()
1273 ep = &data_interface->cur_altsetting->endpoint[i].desc; in acm_probe()
1293 if (data_interface->cur_altsetting->desc.bInterfaceClass in acm_probe()
1295 if (control_interface->cur_altsetting->desc.bInterfaceClass in acm_probe()
[all …]
/drivers/usb/misc/
Diowarrior.c124 intf->cur_altsetting->desc.bInterfaceNumber, buf, in usb_set_report()
175 && (dev->interface->cur_altsetting->desc.bInterfaceNumber == 0)) { in iowarrior_callback()
536 dev->interface->cur_altsetting, 1, 0, in iowarrior_ioctl()
561 info.if_num = dev->interface->cur_altsetting->desc.bInterfaceNumber; in iowarrior_ioctl()
787 iface_desc = interface->cur_altsetting; in iowarrior_probe()
819 if ((dev->interface->cur_altsetting->desc.bInterfaceNumber == 0) && in iowarrior_probe()
857 if (dev->interface->cur_altsetting->desc.bInterfaceNumber == 0) { in iowarrior_probe()
/drivers/input/misc/
Dati_remote2.c807 struct usb_host_interface *alt = interface->cur_altsetting; in ati_remote2_probe()
844 alt = ar2->intf[1]->cur_altsetting; in ati_remote2_probe()
898 struct usb_host_interface *alt = interface->cur_altsetting; in ati_remote2_disconnect()
921 struct usb_host_interface *alt = interface->cur_altsetting; in ati_remote2_suspend()
945 struct usb_host_interface *alt = interface->cur_altsetting; in ati_remote2_resume()
971 struct usb_host_interface *alt = interface->cur_altsetting; in ati_remote2_reset_resume()
1002 struct usb_host_interface *alt = interface->cur_altsetting; in ati_remote2_pre_reset()
1022 struct usb_host_interface *alt = interface->cur_altsetting; in ati_remote2_post_reset()
/drivers/input/tablet/
Dgtco.c879 if (usbinterface->cur_altsetting->desc.bNumEndpoints < 1) { in gtco_probe()
886 endpoint = &usbinterface->cur_altsetting->endpoint[0].desc; in gtco_probe()
890 …dev_dbg(&usbinterface->dev, "num endpoints: %d\n", usbinterface->cur_altsetting->desc.bNumEndp… in gtco_probe()
891 …dev_dbg(&usbinterface->dev, "interface class: %d\n", usbinterface->cur_altsetting->desc.bInterfa… in gtco_probe()
902 if (usb_get_extra_descriptor(usbinterface->cur_altsetting, in gtco_probe()
973 endpoint = &usbinterface->cur_altsetting->endpoint[0].desc; in gtco_probe()
Dkbtab.c125 if (intf->cur_altsetting->desc.bNumEndpoints < 1) in kbtab_probe()
128 endpoint = &intf->cur_altsetting->endpoint[0].desc; in kbtab_probe()
/drivers/hid/usbhid/
Dhid-core.c861 struct usb_host_interface *interface = intf->cur_altsetting; in usbhid_get_raw_report()
894 struct usb_host_interface *interface = intf->cur_altsetting; in usbhid_set_raw_report()
967 struct usb_host_interface *interface = intf->cur_altsetting; in usbhid_parse()
1050 struct usb_host_interface *interface = intf->cur_altsetting; in usbhid_start()
1266 struct usb_host_interface *interface = intf->cur_altsetting; in usbhid_idle()
1292 struct usb_host_interface *interface = intf->cur_altsetting; in usbhid_probe()
1330 if (intf->cur_altsetting->desc.bInterfaceProtocol == in usbhid_probe()
1333 else if (intf->cur_altsetting->desc.bInterfaceProtocol == 0) in usbhid_probe()
1472 struct usb_host_interface *interface = intf->cur_altsetting; in hid_post_reset()
1506 hid_set_idle(dev, intf->cur_altsetting->desc.bInterfaceNumber, 0, 0); in hid_post_reset()
/drivers/usb/storage/
Dusb.c440 us->ifnum = intf->cur_altsetting->desc.bInterfaceNumber; in associate_dev()
446 intf->cur_altsetting->desc.bInterfaceSubClass, in associate_dev()
447 intf->cur_altsetting->desc.bInterfaceProtocol); in associate_dev()
581 &us->pusb_intf->cur_altsetting->desc; in get_device_info()
721 us->pusb_intf->cur_altsetting; in get_pipes()
/drivers/media/usb/uvc/
Duvc_driver.c356 struct usb_host_interface *alts = intf->cur_altsetting; in uvc_parse_format()
624 if (intf->cur_altsetting->desc.bInterfaceSubClass in uvc_parse_streaming()
648 streaming->intfnum = intf->cur_altsetting->desc.bInterfaceNumber; in uvc_parse_streaming()
905 struct usb_host_interface *alts = dev->intf->cur_altsetting; in uvc_parse_vendor_control()
985 struct usb_host_interface *alts = dev->intf->cur_altsetting; in uvc_parse_standard_control()
1242 struct usb_host_interface *alts = dev->intf->cur_altsetting; in uvc_parse_control()
2026 dev->intfnum = intf->cur_altsetting->desc.bInterfaceNumber; in uvc_probe()
2116 if (intf->cur_altsetting->desc.bInterfaceSubClass == in uvc_disconnect()
2129 intf->cur_altsetting->desc.bInterfaceNumber); in uvc_suspend()
2132 if (intf->cur_altsetting->desc.bInterfaceSubClass == in uvc_suspend()
[all …]
/drivers/usb/serial/
Dxsens_mt.c47 if (serial->interface->cur_altsetting->desc.bInterfaceNumber == 1) in xsens_mt_probe()

12345678