Home
last modified time | relevance | path

Searched refs:alts (Results 1 – 24 of 24) sorted by relevance

/linux/sound/usb/
A Dimplicit.c91 if (!alts) { in add_implicit_fb_sync_ep()
121 if (!alts) in add_generic_uac2_implicit_fb()
128 epd = get_endpoint(alts, 0); in add_generic_uac2_implicit_fb()
134 ifnum, alts); in add_generic_uac2_implicit_fb()
166 if (!alts || !roland_sanity_check_iface(alts)) in add_roland_implicit_fb()
174 alts->desc.bInterfaceNumber, alts); in add_roland_implicit_fb()
194 if (!alts || !roland_sanity_check_iface(alts)) in add_roland_capture_quirk()
200 alts->desc.bInterfaceNumber, alts); in add_roland_capture_quirk()
245 if (!alts) in __add_generic_implicit_fb()
257 iface, alts); in __add_generic_implicit_fb()
[all …]
A Dstream.c573 struct usb_host_interface *alts, in parse_uac_endpoint_attributes() argument
582 …csep = snd_usb_find_desc(alts->endpoint[0].extra, alts->endpoint[0].extralen, NULL, USB_DT_CS_ENDP… in parse_uac_endpoint_attributes()
586 …csep = snd_usb_find_desc(alts->endpoint[1].extra, alts->endpoint[1].extralen, NULL, USB_DT_CS_ENDP… in parse_uac_endpoint_attributes()
594 csep = snd_usb_find_desc(alts->extra, alts->extralen, NULL, USB_DT_CS_ENDPOINT); in parse_uac_endpoint_attributes()
719 snd_usb_find_csint_desc(alts->extra, alts->extralen, in snd_usb_get_audioformat_uac12()
750 snd_usb_find_csint_desc(alts->extra, alts->extralen, in snd_usb_get_audioformat_uac12()
801 fmt = snd_usb_find_csint_desc(alts->extra, alts->extralen, in snd_usb_get_audioformat_uac12()
929 as = snd_usb_find_csint_desc(alts->extra, alts->extralen, in snd_usb_get_audioformat_uac3()
1090 struct usb_host_interface *alts; in __snd_usb_parse_audio_interface() local
1112 alts = &iface->altsetting[i]; in __snd_usb_parse_audio_interface()
[all …]
A Dquirks.c98 alts = &iface->altsetting[0]; in create_standard_audio_quirk()
99 altsd = get_iface_desc(alts); in create_standard_audio_quirk()
184 altsd = get_iface_desc(alts); in create_fixed_stream_quirk()
241 epd = get_endpoint(alts, 0); in create_auto_pcm_quirk()
246 ashd = snd_usb_find_csint_desc(alts->extra, alts->extralen, NULL, in create_auto_pcm_quirk()
248 fmtd = snd_usb_find_csint_desc(alts->extra, alts->extralen, NULL, in create_auto_pcm_quirk()
269 injd = snd_usb_find_csint_desc(alts->extra, alts->extralen, in create_yamaha_midi_quirk()
271 outjd = snd_usb_find_csint_desc(alts->extra, alts->extralen, in create_yamaha_midi_quirk()
302 alts->extralen, in create_roland_midi_quirk()
323 if (alts->extralen < 7 || in create_std_midi_quirk()
[all …]
A Dhelper.c107 struct usb_host_interface *alts) in snd_usb_parse_datainterval() argument
114 if (get_endpoint(alts, 0)->bInterval >= 1 && in snd_usb_parse_datainterval()
115 get_endpoint(alts, 0)->bInterval <= 4) in snd_usb_parse_datainterval()
116 return get_endpoint(alts, 0)->bInterval - 1; in snd_usb_parse_datainterval()
A Dpcm.c288 struct usb_host_interface *alts; in snd_usb_audioformat_set_sync_ep() local
295 if (!alts) in snd_usb_audioformat_set_sync_ep()
297 altsd = get_iface_desc(alts); in snd_usb_audioformat_set_sync_ep()
299 err = snd_usb_parse_implicit_fb_quirk(chip, fmt, alts); in snd_usb_audioformat_set_sync_ep()
317 sync_attr = get_endpoint(alts, 1)->bmAttributes; in snd_usb_audioformat_set_sync_ep()
331 get_endpoint(alts, 1)->bSynchAddress != 0)) { in snd_usb_audioformat_set_sync_ep()
335 get_endpoint(alts, 1)->bmAttributes, in snd_usb_audioformat_set_sync_ep()
336 get_endpoint(alts, 1)->bLength, in snd_usb_audioformat_set_sync_ep()
337 get_endpoint(alts, 1)->bSynchAddress); in snd_usb_audioformat_set_sync_ep()
342 ep = get_endpoint(alts, 1)->bEndpointAddress; in snd_usb_audioformat_set_sync_ep()
[all …]
A Dcard.c142 struct usb_host_interface *alts; in snd_usb_create_stream() local
152 alts = &iface->altsetting[0]; in snd_usb_create_stream()
153 altsd = get_iface_desc(alts); in snd_usb_create_stream()
168 alts = &iface->altsetting[0]; in snd_usb_create_stream()
169 altsd = get_iface_desc(alts); in snd_usb_create_stream()
737 struct usb_host_interface *alts; in usb_audio_probe() local
741 alts = &intf->altsetting[0]; in usb_audio_probe()
742 ifnum = get_iface_desc(alts)->bInterfaceNumber; in usb_audio_probe()
829 chip->ctrl_intf = alts; in usb_audio_probe()
A Dimplicit.h7 struct usb_host_interface *alts);
A Dformat.c306 struct usb_host_interface *alts; in focusrite_valid_sample_rate() local
314 alts = &iface->altsetting[fp->altset_idx]; in focusrite_valid_sample_rate()
315 fmt = snd_usb_find_csint_desc(alts->extra, alts->extralen, in focusrite_valid_sample_rate()
A Dhelper.h15 struct usb_host_interface *alts);
A Dendpoint.c670 struct usb_host_interface *alts; in endpoint_set_syncinterval() local
673 alts = snd_usb_get_host_interface(chip, ep->iface, ep->altsetting); in endpoint_set_syncinterval()
674 if (!alts) in endpoint_set_syncinterval()
677 desc = get_endpoint(alts, ep->ep_idx); in endpoint_set_syncinterval()
A Dmixer.c3065 struct usb_host_interface *alts; in snd_usb_mixer_controls_badd() local
3090 alts = &iface->altsetting[1]; in snd_usb_mixer_controls_badd()
3091 altsd = get_iface_desc(alts); in snd_usb_mixer_controls_badd()
3097 dir_in = (get_endpoint(alts, 0)->bEndpointAddress & USB_DIR_IN); in snd_usb_mixer_controls_badd()
3098 maxpacksize = le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize); in snd_usb_mixer_controls_badd()
A Dmixer_quirks.c1640 struct usb_host_interface *alts; in snd_microii_spdif_default_get() local
1659 alts = &iface->altsetting[1]; in snd_microii_spdif_default_get()
1660 if (get_iface_desc(alts)->bNumEndpoints < 1) { in snd_microii_spdif_default_get()
1664 ep = get_endpoint(alts, 0)->bEndpointAddress; in snd_microii_spdif_default_get()
/linux/drivers/media/usb/uvc/
A Duvc_driver.c235 ep = &alts->endpoint[i]; in uvc_find_endpoint()
525 alts->desc.bInterfaceNumber); in uvc_parse_format()
589 alts->desc.bInterfaceNumber); in uvc_parse_format()
605 alts->desc.bInterfaceNumber); in uvc_parse_format()
678 alts->desc.bInterfaceNumber); in uvc_parse_format()
762 alts->desc.bInterfaceNumber); in uvc_parse_format()
830 buffer = alts->endpoint[i].extra; in uvc_parse_streaming()
1005 alts = &intf->altsetting[i]; in uvc_parse_streaming()
1006 ep = uvc_find_endpoint(alts, in uvc_parse_streaming()
1431 unsigned char *buffer = alts->extra; in uvc_parse_control()
[all …]
A Duvc_video.c1926 struct usb_host_interface *alts; in uvc_video_start_transfer() local
1929 alts = &intf->altsetting[i]; in uvc_video_start_transfer()
1930 ep = uvc_find_endpoint(alts, in uvc_video_start_transfer()
1938 altsetting = alts->desc.bAlternateSetting; in uvc_video_start_transfer()
A Duvcvideo.h912 struct usb_host_endpoint *uvc_find_endpoint(struct usb_host_interface *alts,
/linux/drivers/media/i2c/
A Dov9640.c396 u32 code, struct ov9640_reg_alt *alts) in ov9640_write_regs() argument
454 val |= alts->com7; in ov9640_write_regs()
457 val |= alts->com12; in ov9640_write_regs()
460 val |= alts->com13; in ov9640_write_regs()
463 val |= alts->com15; in ov9640_write_regs()
507 struct ov9640_reg_alt alts = {0}; in ov9640_s_fmt() local
510 ov9640_alter_regs(mf->code, &alts); in ov9640_s_fmt()
518 return ov9640_write_regs(client, mf->width, mf->code, &alts); in ov9640_s_fmt()
/linux/tools/objtool/
A Dspecial.c139 int special_get_alts(struct elf *elf, struct list_head *alts) in special_get_alts() argument
147 INIT_LIST_HEAD(alts); in special_get_alts()
176 list_add_tail(&alt->list, alts); in special_get_alts()
A Dcheck.c379 INIT_LIST_HEAD(&insn->alts); in decode_instructions()
1382 INIT_LIST_HEAD(&nop->alts); in handle_group_alt()
1581 list_add_tail(&alt->list, &orig_insn->alts); in add_special_section_alts()
1640 list_add_tail(&alt->list, &insn->alts); in add_jump_table()
3062 if (!insn->ignore_alts && !list_empty(&insn->alts)) { in validate_branch()
3065 list_for_each_entry(alt, &insn->alts, list) { in validate_branch()
/linux/sound/usb/misc/
A Dua101.c457 struct usb_host_interface *alts; in enable_iso_interface() local
459 alts = ua->intf[intf_index]->cur_altsetting; in enable_iso_interface()
460 if (alts->desc.bAlternateSetting != 1) { in enable_iso_interface()
462 alts->desc.bInterfaceNumber, 1); in enable_iso_interface()
475 struct usb_host_interface *alts; in disable_iso_interface() local
480 alts = ua->intf[intf_index]->cur_altsetting; in disable_iso_interface()
481 if (alts->desc.bAlternateSetting != 0) { in disable_iso_interface()
483 alts->desc.bInterfaceNumber, 0); in disable_iso_interface()
/linux/tools/objtool/include/objtool/
A Dspecial.h33 int special_get_alts(struct elf *elf, struct list_head *alts);
A Dcheck.h59 struct list_head alts; member
/linux/drivers/usb/class/
A Dusblp.c1335 int r, alts; in usblp_set_protocol() local
1342 alts = usblp->protocol[protocol].alt_setting; in usblp_set_protocol()
1343 if (alts < 0) in usblp_set_protocol()
1345 r = usb_set_interface(usblp->dev, usblp->ifnum, alts); in usblp_set_protocol()
1348 alts, usblp->ifnum); in usblp_set_protocol()
/linux/drivers/usb/core/
A Ddevio.c836 struct usb_host_interface *alts; in findintfep() local
846 alts = &intf->altsetting[j]; in findintfep()
847 for (e = 0; e < alts->desc.bNumEndpoints; e++) { in findintfep()
848 endpt = &alts->endpoint[e].desc; in findintfep()
850 return alts->desc.bInterfaceNumber; in findintfep()
/linux/drivers/bluetooth/
A Dbtusb.c1779 static const int alts[3] = { 2, 4, 5 }; in btusb_work() local
1781 new_alts = alts[data->sco_num - 1]; in btusb_work()

Completed in 101 milliseconds