Home
last modified time | relevance | path

Searched refs:altset (Results 1 – 6 of 6) sorted by relevance

/openbmc/qemu/hw/usb/
H A Ddev-audio.c642 enum usb_audio_altset altset; member
682 static int usb_audio_set_output_altset(USBAudioState *s, int altset) in usb_audio_set_output_altset() argument
684 switch (altset) { in usb_audio_set_output_altset()
691 if (s->out.channels != altset_channels[altset]) { in usb_audio_set_output_altset()
692 usb_audio_reinit(USB_DEVICE(s), altset_channels[altset]); in usb_audio_set_output_altset()
702 fprintf(stderr, "usb-audio: set interface %d\n", altset); in usb_audio_set_output_altset()
704 s->out.altset = altset; in usb_audio_set_output_altset()
896 if (s->out.altset == ALTSET_OFF) { in usb_audio_handle_dataout()
955 s->out.altset = ALTSET_OFF; in usb_audio_realize()
/openbmc/linux/sound/usb/
H A Dendpoint.c35 int altset; member
927 int altset = set ? ep->altsetting : 0; in endpoint_set_interface() local
930 if (ep->iface_ref->altset == altset) in endpoint_set_interface()
934 ep->iface, altset, ep->ep_num); in endpoint_set_interface()
935 err = usb_set_interface(chip->dev, ep->iface, altset); in endpoint_set_interface()
939 ep->iface, altset, err); in endpoint_set_interface()
945 ep->iface_ref->altset = altset; in endpoint_set_interface()
H A Dimplicit.c237 int iface, int altset) in __add_generic_implicit_fb() argument
242 alts = snd_usb_get_host_interface(chip, iface, altset); in __add_generic_implicit_fb()
/openbmc/linux/drivers/usb/gadget/udc/
H A Dpxa27x_udc.h263 #define PXA_EP_DEF(_idx, _addr, dir, _type, maxpkt, _config, iface, altset) \ argument
269 .config = _config, .interface = iface, .alternate = altset, \
/openbmc/linux/Documentation/sound/designs/
H A Dmidi-2.0.rst66 the MIDI 2.0 interface (that is found always at the altset 1) as
67 default instead of the MIDI 1.0 interface (at altset 0). You can
522 The MIDI 1.0 interface at altset 0 is supported by the gadget driver,
563 indicates 1 for MIDI 1.0 (altset 0), 2 for MIDI 2.0 (altset 1) and 0
/openbmc/linux/Documentation/usb/
H A Dgadget-testing.rst1108 The access to MIDI 1.0 on altset 0 on the host is supported, and it's
1120 where 0 = unused, 1 = MIDI 1.0 (altset 0), 2 = MIDI 2.0 (altset 1).