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

/linux-master/sound/usb/
H A Dimplicit.c85 const struct usb_host_interface *alts)
89 if (!alts) {
93 alts = &iface->altsetting[1];
98 fmt->sync_altsetting = alts->desc.bAlternateSetting;
115 struct usb_host_interface *alts; local
118 alts = snd_usb_get_host_interface(chip, ifnum, altsetting);
119 if (!alts)
121 if (alts->desc.bInterfaceClass != USB_CLASS_AUDIO ||
122 alts->desc.bInterfaceSubClass != USB_SUBCLASS_AUDIOSTREAMING ||
123 alts
82 add_implicit_fb_sync_ep(struct snd_usb_audio *chip, struct audioformat *fmt, int ep, int ep_idx, int ifnum, const struct usb_host_interface *alts) argument
135 roland_sanity_check_iface(struct usb_host_interface *alts) argument
146 add_roland_implicit_fb(struct snd_usb_audio *chip, struct audioformat *fmt, struct usb_host_interface *alts) argument
176 add_roland_capture_quirk(struct snd_usb_audio *chip, struct audioformat *fmt, struct usb_host_interface *alts) argument
204 is_pioneer_implicit_fb(struct snd_usb_audio *chip, struct usb_host_interface *alts) argument
239 struct usb_host_interface *alts; local
259 add_generic_implicit_fb(struct snd_usb_audio *chip, struct audioformat *fmt, struct usb_host_interface *alts) argument
276 find_implicit_fb_entry(struct snd_usb_audio *chip, const struct snd_usb_implicit_fb_match *match, const struct usb_host_interface *alts) argument
292 audioformat_implicit_fb_quirk(struct snd_usb_audio *chip, struct audioformat *fmt, struct usb_host_interface *alts) argument
360 audioformat_capture_quirk(struct snd_usb_audio *chip, struct audioformat *fmt, struct usb_host_interface *alts) argument
385 snd_usb_parse_implicit_fb_quirk(struct snd_usb_audio *chip, struct audioformat *fmt, struct usb_host_interface *alts) argument
[all...]
H A Dimplicit.h7 struct usb_host_interface *alts);
H A Dstream.c577 struct usb_host_interface *alts,
583 struct usb_interface_descriptor *altsd = get_iface_desc(alts);
586 csep = snd_usb_find_desc(alts->endpoint[0].extra, alts->endpoint[0].extralen, NULL, USB_DT_CS_ENDPOINT);
590 csep = snd_usb_find_desc(alts->endpoint[1].extra, alts->endpoint[1].extralen, NULL, USB_DT_CS_ENDPOINT);
598 csep = snd_usb_find_desc(alts->extra, alts->extralen, NULL, USB_DT_CS_ENDPOINT);
679 struct usb_host_interface *alts,
692 fp->endpoint = get_endpoint(alts,
576 parse_uac_endpoint_attributes(struct snd_usb_audio *chip, struct usb_host_interface *alts, int protocol, int iface_no) argument
678 audio_format_alloc_init(struct snd_usb_audio *chip, struct usb_host_interface *alts, int protocol, int iface_no, int altset_idx, int altno, int num_channels, int clock) argument
708 snd_usb_get_audioformat_uac12(struct snd_usb_audio *chip, struct usb_host_interface *alts, int protocol, int iface_no, int altset_idx, int altno, int stream, int bm_quirk) argument
861 snd_usb_get_audioformat_uac3(struct snd_usb_audio *chip, struct usb_host_interface *alts, struct snd_usb_power_domain **pd_out, int iface_no, int altset_idx, int altno, int stream) argument
1094 struct usb_host_interface *alts; local
[all...]
H A Dhelper.c107 struct usb_host_interface *alts)
113 if (get_endpoint(alts, 0)->bInterval >= 1 &&
114 get_endpoint(alts, 0)->bInterval <= 4)
115 return get_endpoint(alts, 0)->bInterval - 1;
106 snd_usb_parse_datainterval(struct snd_usb_audio *chip, struct usb_host_interface *alts) argument
H A Dhelper.h15 struct usb_host_interface *alts);
H A Dquirks.c95 struct usb_host_interface *alts; local
99 alts = &iface->altsetting[0];
100 altsd = get_iface_desc(alts);
155 struct usb_host_interface *alts; local
184 alts = &iface->altsetting[fp->altset_idx];
185 altsd = get_iface_desc(alts);
194 fp->datainterval = snd_usb_parse_datainterval(chip, alts);
196 fp->maxpacksize = le16_to_cpu(get_endpoint(alts, fp->ep_idx)->wMaxPacketSize);
220 struct usb_host_interface *alts; local
236 alts
258 create_yamaha_midi_quirk(struct snd_usb_audio *chip, struct usb_interface *iface, struct usb_driver *driver, struct usb_host_interface *alts) argument
290 create_roland_midi_quirk(struct snd_usb_audio *chip, struct usb_interface *iface, struct usb_driver *driver, struct usb_host_interface *alts) argument
314 create_std_midi_quirk(struct snd_usb_audio *chip, struct usb_interface *iface, struct usb_driver *driver, struct usb_host_interface *alts) argument
346 struct usb_host_interface *alts; local
408 struct usb_host_interface *alts; local
[all...]
H A Dformat.c310 struct usb_host_interface *alts; local
318 alts = &iface->altsetting[fp->altset_idx];
319 fmt = snd_usb_find_csint_desc(alts->extra, alts->extralen,
473 struct usb_host_interface *alts; local
486 alts = snd_usb_get_host_interface(chip, fp->iface, fp->altsetting);
487 if (!alts)
492 alts->extra, alts->extralen, NULL, UAC_AS_GENERAL);
496 alts
[all...]
H A Dpcm.c316 struct usb_host_interface *alts; local
325 alts = snd_usb_get_host_interface(chip, fmt->iface, fmt->altsetting);
326 if (!alts)
328 altsd = get_iface_desc(alts);
330 err = snd_usb_parse_implicit_fb_quirk(chip, fmt, alts);
341 is_playback = !(get_endpoint(alts, 0)->bEndpointAddress & USB_DIR_IN);
348 sync_attr = get_endpoint(alts, 1)->bmAttributes;
361 (get_endpoint(alts, 1)->bLength >= USB_DT_ENDPOINT_AUDIO_SIZE &&
362 get_endpoint(alts, 1)->bSynchAddress != 0)) {
366 get_endpoint(alts,
[all...]
H A Dcard.c143 struct usb_host_interface *alts; local
153 alts = &iface->altsetting[0];
154 altsd = get_iface_desc(alts);
169 alts = &iface->altsetting[0];
170 altsd = get_iface_desc(alts);
776 struct usb_host_interface *alts; local
780 alts = &intf->altsetting[0];
781 ifnum = get_iface_desc(alts)->bInterfaceNumber;
869 chip->ctrl_intf = alts;
H A Dendpoint.c717 struct usb_host_interface *alts; local
720 alts = snd_usb_get_host_interface(chip, ep->iface, ep->altsetting);
721 if (!alts)
724 desc = get_endpoint(alts, ep->ep_idx);
H A Dmixer.c3075 struct usb_host_interface *alts; local
3100 alts = &iface->altsetting[1];
3101 altsd = get_iface_desc(alts);
3107 dir_in = (get_endpoint(alts, 0)->bEndpointAddress & USB_DIR_IN);
3108 maxpacksize = le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize);
H A Dmixer_quirks.c1641 struct usb_host_interface *alts; local
1660 alts = &iface->altsetting[1];
1661 if (get_iface_desc(alts)->bNumEndpoints < 1) {
1665 ep = get_endpoint(alts, 0)->bEndpointAddress;
/linux-master/tools/objtool/include/objtool/
H A Dspecial.h33 int special_get_alts(struct elf *elf, struct list_head *alts);
H A Dcheck.h76 struct alternative *alts; member in struct:instruction
/linux-master/tools/objtool/
H A Dspecial.c140 int special_get_alts(struct elf *elf, struct list_head *alts) argument
148 INIT_LIST_HEAD(alts);
177 list_add_tail(&alt->list, alts);
H A Dcheck.c1938 * instruction(s) has them added to its insn->alts list, which will be
2004 alt->next = orig_insn->alts;
2005 orig_insn->alts = alt;
2065 alt->next = insn->alts;
2066 insn->alts = alt;
2191 * This finds these jump tables and adds them to the insn->alts lists.
3546 * insn->alts->insn -> alt_group->first_insn
3676 if (!insn->ignore_alts && insn->alts) {
3679 for (alt = insn->alts; alt; alt = alt->next) {
3877 if (!insn->ignore_alts && insn->alts) {
[all...]
/linux-master/drivers/media/usb/uvc/
H A Duvc_driver.c43 struct usb_host_endpoint *uvc_find_endpoint(struct usb_host_interface *alts, argument
49 for (i = 0; i < alts->desc.bNumEndpoints; ++i) {
50 ep = &alts->endpoint[i];
228 struct usb_host_interface *alts = intf->cur_altsetting; local
249 alts->desc.bInterfaceNumber);
311 alts->desc.bInterfaceNumber);
326 alts->desc.bInterfaceNumber);
334 alts->desc.bInterfaceNumber, buffer[8]);
359 dev->udev->devnum, alts->desc.bInterfaceNumber,
389 alts
515 struct usb_host_interface *alts = &intf->altsetting[0]; local
849 struct usb_host_interface *alts = dev->intf->cur_altsetting; local
926 struct usb_host_interface *alts = dev->intf->cur_altsetting; local
1168 struct usb_host_interface *alts = dev->intf->cur_altsetting; local
[all...]
H A Duvc_video.c1946 struct usb_host_interface *alts; local
1949 alts = &intf->altsetting[i];
1950 ep = uvc_find_endpoint(alts,
1958 altsetting = alts->desc.bAlternateSetting;
H A Duvcvideo.h793 struct usb_host_endpoint *uvc_find_endpoint(struct usb_host_interface *alts,
/linux-master/drivers/media/i2c/
H A Dov9640.c396 u32 code, struct ov9640_reg_alt *alts)
454 val |= alts->com7;
457 val |= alts->com12;
460 val |= alts->com13;
463 val |= alts->com15;
507 struct ov9640_reg_alt alts = {0}; local
510 ov9640_alter_regs(mf->code, &alts);
518 return ov9640_write_regs(client, mf->width, mf->code, &alts);
395 ov9640_write_regs(struct i2c_client *client, u32 width, u32 code, struct ov9640_reg_alt *alts) argument
/linux-master/sound/usb/misc/
H A Dua101.c457 struct usb_host_interface *alts; local
459 alts = ua->intf[intf_index]->cur_altsetting;
460 if (alts->desc.bAlternateSetting != 1) {
462 alts->desc.bInterfaceNumber, 1);
475 struct usb_host_interface *alts; local
480 alts = ua->intf[intf_index]->cur_altsetting;
481 if (alts->desc.bAlternateSetting != 0) {
483 alts->desc.bInterfaceNumber, 0);
/linux-master/drivers/usb/class/
H A Dusblp.c1335 int r, alts; local
1342 alts = usblp->protocol[protocol].alt_setting;
1343 if (alts < 0)
1345 r = usb_set_interface(usblp->dev, usblp->ifnum, alts);
1348 alts, usblp->ifnum);
/linux-master/drivers/usb/core/
H A Ddevio.c857 struct usb_host_interface *alts; local
867 alts = &intf->altsetting[j];
868 for (e = 0; e < alts->desc.bNumEndpoints; e++) {
869 endpt = &alts->endpoint[e].desc;
871 return alts->desc.bInterfaceNumber;
/linux-master/drivers/bluetooth/
H A Dbtusb.c2244 static const int alts[3] = { 2, 4, 5 }; local
2246 new_alts = alts[data->sco_num - 1];

Completed in 259 milliseconds