Home
last modified time | relevance | path

Searched refs:bInterfaceNumber (Results 1 – 25 of 156) sorted by relevance

1234567

/Linux-v6.6/drivers/hid/
Dhid-uclogic-params.c835 __u8 bInterfaceNumber; in uclogic_params_huion_init() local
859 bInterfaceNumber = iface->cur_altsetting->desc.bInterfaceNumber; in uclogic_params_huion_init()
862 if (bInterfaceNumber == 1) { in uclogic_params_huion_init()
867 } else if (bInterfaceNumber != 0) { in uclogic_params_huion_init()
1400 __u8 bInterfaceNumber; in uclogic_params_ugee_v2_init() local
1416 bInterfaceNumber = iface->cur_altsetting->desc.bInterfaceNumber; in uclogic_params_ugee_v2_init()
1418 if (bInterfaceNumber == 0) { in uclogic_params_ugee_v2_init()
1426 if (bInterfaceNumber != 2) { in uclogic_params_ugee_v2_init()
1550 __u8 bInterfaceNumber; in uclogic_params_init() local
1564 bInterfaceNumber = iface->cur_altsetting->desc.bInterfaceNumber; in uclogic_params_init()
[all …]
Dhid-holtek-kbd.c110 if (intf->cur_altsetting->desc.bInterfaceNumber == 1) { in holtek_kbd_report_fixup()
158 if (!ret && intf->cur_altsetting->desc.bInterfaceNumber == 1) { in holtek_kbd_probe()
Dhid-holtek-mouse.c37 if (intf->cur_altsetting->desc.bInterfaceNumber == 1) { in holtek_mouse_report_fixup()
Dhid-chicony.c96 if (intf->cur_altsetting->desc.bInterfaceNumber == 1) { in ch_switch12_report_fixup()
/Linux-v6.6/sound/usb/
Dimplicit.c162 alts->desc.bInterfaceNumber + 1, in add_roland_implicit_fb()
172 alts->desc.bInterfaceNumber, alts); in add_roland_implicit_fb()
190 alts->desc.bInterfaceNumber - 1, in add_roland_capture_quirk()
198 alts->desc.bInterfaceNumber, alts); in add_roland_capture_quirk()
267 alts->desc.bInterfaceNumber + 1, in add_generic_implicit_fb()
271 alts->desc.bInterfaceNumber - 1, in add_generic_implicit_fb()
330 alts->desc.bInterfaceNumber + 1, in audioformat_implicit_fb_quirk()
346 1, alts->desc.bInterfaceNumber, in audioformat_implicit_fb_quirk()
Dhelper.h33 return get_iface_desc(chip->ctrl_intf)->bInterfaceNumber; in snd_usb_ctrl_intf()
Dmidi2.c533 hostif->desc.bInterfaceNumber, in get_group_terminal_block_descs()
540 hostif->desc.bInterfaceNumber, hostif->desc.bAlternateSetting); in get_group_terminal_block_descs()
552 hostif->desc.bInterfaceNumber, data, size); in get_group_terminal_block_descs()
1018 umidi->hostif->desc.bInterfaceNumber, in set_altset()
1021 umidi->hostif->desc.bInterfaceNumber, in set_altset()
1079 iface->altsetting[0].desc.bInterfaceNumber); in snd_usb_midi_v2_create()
1102 hostif->desc.bInterfaceNumber, in snd_usb_midi_v2_create()
Dquirks.c38 int probed_ifnum = get_iface_desc(iface->altsetting)->bInterfaceNumber; in create_composite_quirk()
101 err = snd_usb_parse_audio_interface(chip, altsd->bInterfaceNumber); in create_standard_audio_quirk()
104 altsd->bInterfaceNumber, err); in create_standard_audio_quirk()
108 usb_set_interface(chip->dev, altsd->bInterfaceNumber, 0); in create_standard_audio_quirk()
179 if (fp->iface != get_iface_desc(&iface->altsetting[0])->bInterfaceNumber || in create_fixed_stream_quirk()
452 fp->iface = altsd->bInterfaceNumber; in create_uaxx_quirk()
1619 get_iface_desc(intf->altsetting)->bInterfaceNumber < 3) in snd_usb_apply_boot_quirk()
/Linux-v6.6/drivers/usb/gadget/function/
Df_obex.c73 .bInterfaceNumber = 0,
84 .bInterfaceNumber = 1,
94 .bInterfaceNumber = 2,
328 obex_control_intf.bInterfaceNumber = status; in obex_bind()
336 obex_data_nop_intf.bInterfaceNumber = status; in obex_bind()
337 obex_data_intf.bInterfaceNumber = status; in obex_bind()
Df_phonet.c402 if (intf == pn_control_intf_desc.bInterfaceNumber) in pn_set_alt()
406 if (intf == pn_data_intf_desc.bInterfaceNumber) { in pn_set_alt()
451 if (intf == pn_control_intf_desc.bInterfaceNumber) in pn_get_alt()
454 if (intf == pn_data_intf_desc.bInterfaceNumber) { in pn_get_alt()
512 pn_control_intf_desc.bInterfaceNumber = status; in pn_bind()
518 pn_data_nop_intf_desc.bInterfaceNumber = status; in pn_bind()
519 pn_data_intf_desc.bInterfaceNumber = status; in pn_bind()
Df_ecm.c151 .bInterfaceNumber = 1,
166 .bInterfaceNumber = 1,
718 ecm_control_intf.bInterfaceNumber = status; in ecm_bind()
726 ecm_data_nop_intf.bInterfaceNumber = status; in ecm_bind()
727 ecm_data_intf.bInterfaceNumber = status; in ecm_bind()
Df_uvc.c77 .bInterfaceNumber = UVC_INTF_VIDEO_CONTROL,
114 .bInterfaceNumber = UVC_INTF_VIDEO_STREAMING,
126 .bInterfaceNumber = UVC_INTF_VIDEO_STREAMING,
765 uvc_control_intf.bInterfaceNumber = ret; in uvc_function_bind()
771 uvc_streaming_intf_alt0.bInterfaceNumber = ret; in uvc_function_bind()
772 uvc_streaming_intf_alt1.bInterfaceNumber = ret; in uvc_function_bind()
/Linux-v6.6/drivers/media/usb/uvc/
Duvc_driver.c205 stream->intfnum = intf->cur_altsetting->desc.bInterfaceNumber; in uvc_stream_new()
249 alts->desc.bInterfaceNumber); in uvc_parse_format()
311 alts->desc.bInterfaceNumber); in uvc_parse_format()
326 alts->desc.bInterfaceNumber); in uvc_parse_format()
334 alts->desc.bInterfaceNumber, buffer[8]); in uvc_parse_format()
359 dev->udev->devnum, alts->desc.bInterfaceNumber, in uvc_parse_format()
389 alts->desc.bInterfaceNumber); in uvc_parse_format()
492 alts->desc.bInterfaceNumber); in uvc_parse_format()
529 intf->altsetting[0].desc.bInterfaceNumber); in uvc_parse_streaming()
537 intf->altsetting[0].desc.bInterfaceNumber); in uvc_parse_streaming()
[all …]
/Linux-v6.6/drivers/usb/atm/
Dxusbatm.c55 int ifnum = intf->altsetting->desc.bInterfaceNumber; in xusbatm_capture_intf()
110 rx_intf->altsetting->desc.bInterfaceNumber, rx_alt, tx_alt); in xusbatm_bind()
115 rx_intf->altsetting->desc.bInterfaceNumber, in xusbatm_bind()
116 tx_intf->altsetting->desc.bInterfaceNumber); in xusbatm_bind()
/Linux-v6.6/drivers/media/usb/siano/
Dsmsusb.c508 intf->cur_altsetting->desc.bInterfaceNumber); in smsusb_probe()
511 intf->cur_altsetting->desc.bInterfaceNumber) { in smsusb_probe()
513 intf->cur_altsetting->desc.bInterfaceNumber, in smsusb_probe()
520 intf->cur_altsetting->desc.bInterfaceNumber, in smsusb_probe()
529 intf->cur_altsetting->desc.bInterfaceNumber); in smsusb_probe()
544 (intf->cur_altsetting->desc.bInterfaceNumber == 0)) { in smsusb_probe()
611 bInterfaceNumber, 0); in smsusb_resume()
/Linux-v6.6/drivers/usb/misc/
Diowarrior.c112 inter->desc.bInterfaceNumber, buf, size, in usb_get_report()
127 intf->cur_altsetting->desc.bInterfaceNumber, buf, in usb_set_report()
182 && (dev->interface->cur_altsetting->desc.bInterfaceNumber == 0)) { in iowarrior_callback()
559 info.if_num = dev->interface->cur_altsetting->desc.bInterfaceNumber; in iowarrior_ioctl()
804 if (dev->interface->cur_altsetting->desc.bInterfaceNumber == 0) { in iowarrior_probe()
849 if (dev->interface->cur_altsetting->desc.bInterfaceNumber == 0) { in iowarrior_probe()
873 iface_desc->desc.bInterfaceNumber, dev->minor - IOWARRIOR_MINOR_BASE); in iowarrior_probe()
/Linux-v6.6/drivers/input/misc/
Dati_remote2.c806 if (alt->desc.bInterfaceNumber) in ati_remote2_probe()
895 if (alt->desc.bInterfaceNumber) in ati_remote2_disconnect()
918 if (alt->desc.bInterfaceNumber) in ati_remote2_suspend()
943 if (alt->desc.bInterfaceNumber) in ati_remote2_resume()
969 if (alt->desc.bInterfaceNumber) in ati_remote2_reset_resume()
999 if (alt->desc.bInterfaceNumber) in ati_remote2_pre_reset()
1020 if (alt->desc.bInterfaceNumber) in ati_remote2_post_reset()
/Linux-v6.6/drivers/usb/serial/
Dxsens_mt.c44 if (serial->interface->cur_altsetting->desc.bInterfaceNumber == 1) in xsens_mt_probe()
Dwishbone-serial.c40 port->serial->interface->cur_altsetting->desc.bInterfaceNumber, in usb_gsi_openclose()
/Linux-v6.6/drivers/hid/usbhid/
Dhid-core.c893 interface->desc.bInterfaceNumber, buf, count, in usbhid_get_raw_report()
930 interface->desc.bInterfaceNumber, buf, count, in usbhid_set_raw_report()
1036 hid_set_idle(dev, interface->desc.bInterfaceNumber, 0, 0); in usbhid_parse()
1038 ret = hid_get_class_descriptor(dev, interface->desc.bInterfaceNumber, in usbhid_parse()
1306 int ifnum = interface->desc.bInterfaceNumber; in usbhid_idle()
1353 intf->altsetting->desc.bInterfaceNumber); in usbhid_probe()
1407 "%d", intf->altsetting[0].desc.bInterfaceNumber); in usbhid_probe()
1421 usbhid->ifnum = interface->desc.bInterfaceNumber; in usbhid_probe()
1539 interface->desc.bInterfaceNumber, in hid_post_reset()
1558 hid_set_idle(dev, intf->cur_altsetting->desc.bInterfaceNumber, 0, 0); in hid_post_reset()
/Linux-v6.6/drivers/staging/gdm724x/
Dgdm_mux.c499 int bInterfaceNumber; in gdm_mux_probe() local
504 bInterfaceNumber = intf->cur_altsetting->desc.bInterfaceNumber; in gdm_mux_probe()
511 if (bInterfaceNumber != 2) in gdm_mux_probe()
/Linux-v6.6/drivers/media/usb/dvb-usb/
Dm920x.c133 return usb_set_interface(udev, alt->desc.bInterfaceNumber, in m920x_init_ep()
829 int bInterfaceNumber = intf->cur_altsetting->desc.bInterfaceNumber; in m920x_probe() local
831 deb("Probing for m920x device at interface %d\n", bInterfaceNumber); in m920x_probe()
833 if (bInterfaceNumber == 0) { in m920x_probe()
/Linux-v6.6/drivers/media/usb/stk1160/
Dstk1160-core.c183 ifnum = intf->altsetting[0].desc.bInterfaceNumber; in stk1160_scan_usb()
240 intf->altsetting->desc.bInterfaceNumber); in stk1160_scan_usb()
/Linux-v6.6/tools/usb/
Dtestusb.c87 __u8 bInterfaceNumber; member
153 return (unsigned char)u.intf.bInterfaceNumber; in testdev_ffs_ifnum()
/Linux-v6.6/drivers/usb/core/
Ddriver.c339 intf->altsetting->desc.bInterfaceNumber); in usb_probe_interface()
390 desc.bInterfaceNumber, 0); in usb_probe_interface()
491 desc.bInterfaceNumber, 0); in usb_unbind_interface()
702 (id->bInterfaceNumber != intf->desc.bInterfaceNumber)) in usb_match_one_id_intf()
1336 desc.bInterfaceNumber, 0); in usb_resume_interface()

1234567