Home
last modified time | relevance | path

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

1234567

/linux-5.19.10/drivers/hid/
Dhid-uclogic-params.c804 __u8 bInterfaceNumber; in uclogic_params_huion_init() local
828 bInterfaceNumber = iface->cur_altsetting->desc.bInterfaceNumber; in uclogic_params_huion_init()
831 if (bInterfaceNumber == 1) { in uclogic_params_huion_init()
836 } else if (bInterfaceNumber != 0) { in uclogic_params_huion_init()
1026 __u8 bInterfaceNumber; in uclogic_params_init() local
1040 bInterfaceNumber = iface->cur_altsetting->desc.bInterfaceNumber; in uclogic_params_init()
1091 if (bInterfaceNumber == 0) { in uclogic_params_init()
1128 switch (bInterfaceNumber) { in uclogic_params_init()
1153 switch (bInterfaceNumber) { in uclogic_params_init()
1203 if (bInterfaceNumber == 1) { in uclogic_params_init()
[all …]
Dhid-holtek-kbd.c110 if (intf->cur_altsetting->desc.bInterfaceNumber == 1) { in holtek_kbd_report_fixup()
154 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()
Dhid-samsung.c100 unsigned short ifnum = intf->cur_altsetting->desc.bInterfaceNumber; in samsung_kbd_mouse_input_mapping()
/linux-5.19.10/sound/usb/
Dimplicit.c159 alts->desc.bInterfaceNumber + 1, in add_roland_implicit_fb()
169 alts->desc.bInterfaceNumber, alts); in add_roland_implicit_fb()
187 alts->desc.bInterfaceNumber - 1, in add_roland_capture_quirk()
195 alts->desc.bInterfaceNumber, alts); in add_roland_capture_quirk()
264 alts->desc.bInterfaceNumber + 1, in add_generic_implicit_fb()
268 alts->desc.bInterfaceNumber - 1, in add_generic_implicit_fb()
327 alts->desc.bInterfaceNumber + 1, in audioformat_implicit_fb_quirk()
343 1, alts->desc.bInterfaceNumber, in audioformat_implicit_fb_quirk()
Dhelper.h33 return get_iface_desc(chip->ctrl_intf)->bInterfaceNumber; in snd_usb_ctrl_intf()
Dquirks.c37 int probed_ifnum = get_iface_desc(iface->altsetting)->bInterfaceNumber; in create_composite_quirk()
100 err = snd_usb_parse_audio_interface(chip, altsd->bInterfaceNumber); in create_standard_audio_quirk()
103 altsd->bInterfaceNumber, err); in create_standard_audio_quirk()
107 usb_set_interface(chip->dev, altsd->bInterfaceNumber, 0); in create_standard_audio_quirk()
178 if (fp->iface != get_iface_desc(&iface->altsetting[0])->bInterfaceNumber || in create_fixed_stream_quirk()
394 int probed_ifnum = get_iface_desc(iface->altsetting)->bInterfaceNumber; in create_autodetect_quirks()
488 fp->iface = altsd->bInterfaceNumber; in create_uaxx_quirk()
1353 get_iface_desc(intf->altsetting)->bInterfaceNumber < 3) in snd_usb_apply_boot_quirk()
/linux-5.19.10/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_uvc.c80 .bInterfaceNumber = UVC_INTF_VIDEO_CONTROL,
117 .bInterfaceNumber = UVC_INTF_VIDEO_STREAMING,
129 .bInterfaceNumber = UVC_INTF_VIDEO_STREAMING,
701 uvc_control_intf.bInterfaceNumber = ret; in uvc_function_bind()
707 uvc_streaming_intf_alt0.bInterfaceNumber = ret; in uvc_function_bind()
708 uvc_streaming_intf_alt1.bInterfaceNumber = ret; in uvc_function_bind()
Df_ecm.c162 .bInterfaceNumber = 1,
177 .bInterfaceNumber = 1,
733 ecm_control_intf.bInterfaceNumber = status; in ecm_bind()
741 ecm_data_nop_intf.bInterfaceNumber = status; in ecm_bind()
742 ecm_data_intf.bInterfaceNumber = status; in ecm_bind()
/linux-5.19.10/drivers/media/usb/uvc/
Duvc_driver.c488 stream->intfnum = intf->cur_altsetting->desc.bInterfaceNumber; in uvc_stream_new()
530 alts->desc.bInterfaceNumber); in uvc_parse_format()
594 alts->desc.bInterfaceNumber); in uvc_parse_format()
610 alts->desc.bInterfaceNumber); in uvc_parse_format()
628 alts->desc.bInterfaceNumber, buffer[8]); in uvc_parse_format()
656 dev->udev->devnum, alts->desc.bInterfaceNumber, in uvc_parse_format()
683 alts->desc.bInterfaceNumber); in uvc_parse_format()
767 alts->desc.bInterfaceNumber); in uvc_parse_format()
804 intf->altsetting[0].desc.bInterfaceNumber); in uvc_parse_streaming()
812 intf->altsetting[0].desc.bInterfaceNumber); in uvc_parse_streaming()
[all …]
/linux-5.19.10/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-5.19.10/drivers/media/usb/siano/
Dsmsusb.c505 intf->cur_altsetting->desc.bInterfaceNumber); in smsusb_probe()
508 intf->cur_altsetting->desc.bInterfaceNumber) { in smsusb_probe()
510 intf->cur_altsetting->desc.bInterfaceNumber, in smsusb_probe()
517 intf->cur_altsetting->desc.bInterfaceNumber, in smsusb_probe()
526 intf->cur_altsetting->desc.bInterfaceNumber); in smsusb_probe()
541 (intf->cur_altsetting->desc.bInterfaceNumber == 0)) { in smsusb_probe()
608 bInterfaceNumber, 0); in smsusb_resume()
/linux-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/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()
1348 intf->altsetting->desc.bInterfaceNumber); in usbhid_probe()
1402 "%d", intf->altsetting[0].desc.bInterfaceNumber); in usbhid_probe()
1416 usbhid->ifnum = interface->desc.bInterfaceNumber; in usbhid_probe()
1534 interface->desc.bInterfaceNumber, in hid_post_reset()
1553 hid_set_idle(dev, intf->cur_altsetting->desc.bInterfaceNumber, 0, 0); in hid_post_reset()
/linux-5.19.10/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-5.19.10/drivers/media/usb/dvb-usb/
Dm920x.c133 return usb_set_interface(udev, alt->desc.bInterfaceNumber, in m920x_init_ep()
828 int bInterfaceNumber = intf->cur_altsetting->desc.bInterfaceNumber; in m920x_probe() local
830 deb("Probing for m920x device at interface %d\n", bInterfaceNumber); in m920x_probe()
832 if (bInterfaceNumber == 0) { in m920x_probe()
/linux-5.19.10/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-5.19.10/tools/usb/
Dtestusb.c87 __u8 bInterfaceNumber; member
147 return (unsigned char)u.intf.bInterfaceNumber; in testdev_ffs_ifnum()
/linux-5.19.10/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