Home
last modified time | relevance | path

Searched refs:num_altsetting (Results 1 – 25 of 44) sorted by relevance

12

/linux-6.1.9/drivers/usb/serial/
Dqcserial.c249 if (serial->interface->num_altsetting == 2) in qcprobe()
251 else if (serial->interface->num_altsetting > 2) in qcprobe()
259 if (serial->interface->num_altsetting == 1) in qcprobe()
/linux-6.1.9/drivers/usb/core/
Dconfig.c235 for (j = 0; j < intfc->num_altsetting; ++j) { in config_endpoint_is_duplicate()
489 for (j = 0; j < intfc->num_altsetting; j++) { in usb_release_interface_cache()
527 if (!intfc || intfc->num_altsetting >= nalts[i]) in usb_parse_interface()
533 i < intfc->num_altsetting; in usb_parse_interface()
543 ++intfc->num_altsetting; in usb_parse_interface()
807 for (j = 0; j < intfc->num_altsetting; ++j) { in usb_parse_configuration()
808 for (n = 0; n < intfc->num_altsetting; ++n) { in usb_parse_configuration()
813 if (n >= intfc->num_altsetting) in usb_parse_configuration()
Dusb.c239 for (i = 0; i < intf_cache->num_altsetting; i++) in usb_find_alt_setting()
313 for (i = 0; i < intf->num_altsetting; i++) { in usb_altnum_to_altsetting()
Ddevices.c302 for (j = 0; j < intfc->num_altsetting; j++) { in usb_dump_config()
Dmessage.c1598 if (ret == -EPIPE && iface->num_altsetting == 1) { in usb_set_interface()
2071 intf->num_altsetting = intfc->num_altsetting; in usb_set_configuration()
Dquirks.c615 if (cache->num_altsetting == 0) in usb_match_any_interface()
/linux-6.1.9/drivers/media/usb/stk1160/
Dstk1160-core.c186 for (i = 0; i < intf->num_altsetting; i++) { in stk1160_scan_usb()
283 alt_max_pkt_size = kmalloc_array(interface->num_altsetting, in stk1160_probe()
307 dev->num_alt = interface->num_altsetting; in stk1160_probe()
/linux-6.1.9/drivers/media/usb/usbtv/
Dusbtv-core.c77 if (intf->num_altsetting != 2) in usbtv_probe()
/linux-6.1.9/drivers/usb/storage/
Duas-detect.h18 for (i = 0; i < intf->num_altsetting; i++) { in uas_find_uas_alt_setting()
/linux-6.1.9/drivers/media/usb/uvc/
Duvc_video.c203 stream->intf->num_altsetting > 1) { in uvc_fixup_video_ctrl()
427 if (stream->intf->num_altsetting == 1) in uvc_probe_video()
1919 if (intf->num_altsetting > 1) { in uvc_video_start_transfer()
1939 for (i = 0; i < intf->num_altsetting; ++i) { in uvc_video_start_transfer()
2166 else if (stream->intf->num_altsetting > 1) in uvc_video_init()
2171 if (stream->intf->num_altsetting == 1) in uvc_video_init()
2218 if (stream->intf->num_altsetting > 1) { in uvc_video_stop_streaming()
/linux-6.1.9/drivers/media/usb/gspca/
Dbenq.c128 intf->num_altsetting - 1); in sd_stopN()
Dgspca.c585 nbalt = intf->num_altsetting; in build_isoc_ep_tb()
773 gspca_dev->alt = gspca_dev->cam.bulk ? intf->num_altsetting : 0; in gspca_init_transfer()
812 if (intf->num_altsetting > 1) { in gspca_init_transfer()
Dsn9c20x.c1966 if (intf->num_altsetting != 9) { in sd_isoc_init()
1968 intf->num_altsetting); in sd_isoc_init()
1969 gspca_dev->alt = intf->num_altsetting; in sd_isoc_init()
/linux-6.1.9/drivers/media/usb/siano/
Dsmsusb.c515 if (intf->num_altsetting > 1) { in smsusb_probe()
605 if (intf->num_altsetting > 0) { in smsusb_resume()
/linux-6.1.9/sound/usb/
Dquirks.c179 fp->altset_idx >= iface->num_altsetting) { in create_fixed_stream_quirk()
233 if (iface->num_altsetting < 2) in create_auto_pcm_quirk()
413 if (iface->num_altsetting < 2) in create_uaxx_quirk()
1938 if (fp->altsetting == iface->num_altsetting - 1) in snd_usb_interface_dsd_format_quirks()
Dimplicit.c91 if (!iface || iface->num_altsetting < 2) in add_implicit_fb_sync_ep()
/linux-6.1.9/drivers/media/usb/cx231xx/
Dcx231xx-cards.c1571 dev->video_mode.num_alt = uif->num_altsetting; in cx231xx_init_v4l2()
1612 dev->vbi_mode.num_alt = uif->num_altsetting; in cx231xx_init_v4l2()
1656 dev->sliced_cc_mode.num_alt = uif->num_altsetting; in cx231xx_init_v4l2()
1849 dev->ts1_mode.num_alt = uif->num_altsetting; in cx231xx_usb_probe()
Dcx231xx-audio.c623 adev->num_alt = uif->num_altsetting; in cx231xx_audio_init()
/linux-6.1.9/drivers/media/rc/
Dttusbir.c198 for (i = 0; i < intf->num_altsetting && altsetting == -1; i++) { in ttusbir_probe()
/linux-6.1.9/drivers/net/usb/
Dcdc-phonet.c342 if (data_intf->num_altsetting != 2) in usbpn_probe()
/linux-6.1.9/include/linux/
Dusb.h239 unsigned num_altsetting; /* number of alternate settings */ member
323 unsigned num_altsetting; /* number of alternate settings */ member
/linux-6.1.9/drivers/input/mouse/
Dsynaptics_usb.c299 unsigned int altsetting = min(intf->num_altsetting, 1U); in synusb_probe()
/linux-6.1.9/drivers/usb/misc/
Dusbtest.c152 for (tmp = 0; tmp < intf->num_altsetting; tmp++) { in get_endpoints()
835 for (i = 0; i < iface->num_altsetting; i++) { in ch9_postconfig()
839 if (alt < 0 || alt >= iface->num_altsetting) { in ch9_postconfig()
846 if (realworld && iface->num_altsetting == 1) in ch9_postconfig()
/linux-6.1.9/drivers/usb/class/
Dusblp.c1276 for (i = 0; i < if_alt->num_altsetting; i++) { in usblp_select_alts()
1341 if (usblp->intf->num_altsetting > 1) { in usblp_set_protocol()
/linux-6.1.9/drivers/media/usb/gspca/stv06xx/
Dstv06xx.c318 if (intfc->num_altsetting < 2) in stv06xx_isoc_init()

12