/linux-6.1.9/drivers/usb/serial/ |
D | qcserial.c | 249 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/ |
D | config.c | 235 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()
|
D | usb.c | 239 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()
|
D | devices.c | 302 for (j = 0; j < intfc->num_altsetting; j++) { in usb_dump_config()
|
D | message.c | 1598 if (ret == -EPIPE && iface->num_altsetting == 1) { in usb_set_interface() 2071 intf->num_altsetting = intfc->num_altsetting; in usb_set_configuration()
|
D | quirks.c | 615 if (cache->num_altsetting == 0) in usb_match_any_interface()
|
/linux-6.1.9/drivers/media/usb/stk1160/ |
D | stk1160-core.c | 186 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/ |
D | usbtv-core.c | 77 if (intf->num_altsetting != 2) in usbtv_probe()
|
/linux-6.1.9/drivers/usb/storage/ |
D | uas-detect.h | 18 for (i = 0; i < intf->num_altsetting; i++) { in uas_find_uas_alt_setting()
|
/linux-6.1.9/drivers/media/usb/uvc/ |
D | uvc_video.c | 203 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/ |
D | benq.c | 128 intf->num_altsetting - 1); in sd_stopN()
|
D | gspca.c | 585 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()
|
D | sn9c20x.c | 1966 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/ |
D | smsusb.c | 515 if (intf->num_altsetting > 1) { in smsusb_probe() 605 if (intf->num_altsetting > 0) { in smsusb_resume()
|
/linux-6.1.9/sound/usb/ |
D | quirks.c | 179 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()
|
D | implicit.c | 91 if (!iface || iface->num_altsetting < 2) in add_implicit_fb_sync_ep()
|
/linux-6.1.9/drivers/media/usb/cx231xx/ |
D | cx231xx-cards.c | 1571 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()
|
D | cx231xx-audio.c | 623 adev->num_alt = uif->num_altsetting; in cx231xx_audio_init()
|
/linux-6.1.9/drivers/media/rc/ |
D | ttusbir.c | 198 for (i = 0; i < intf->num_altsetting && altsetting == -1; i++) { in ttusbir_probe()
|
/linux-6.1.9/drivers/net/usb/ |
D | cdc-phonet.c | 342 if (data_intf->num_altsetting != 2) in usbpn_probe()
|
/linux-6.1.9/include/linux/ |
D | usb.h | 239 unsigned num_altsetting; /* number of alternate settings */ member 323 unsigned num_altsetting; /* number of alternate settings */ member
|
/linux-6.1.9/drivers/input/mouse/ |
D | synaptics_usb.c | 299 unsigned int altsetting = min(intf->num_altsetting, 1U); in synusb_probe()
|
/linux-6.1.9/drivers/usb/misc/ |
D | usbtest.c | 152 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/ |
D | usblp.c | 1276 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/ |
D | stv06xx.c | 318 if (intfc->num_altsetting < 2) in stv06xx_isoc_init()
|