Home
last modified time | relevance | path

Searched refs:snd_usb_audio (Results 1 – 25 of 36) sorted by relevance

12

/kernel/linux/linux-5.10/sound/usb/
Dquirks.h9 int snd_usb_create_quirk(struct snd_usb_audio *chip,
14 int snd_usb_apply_interface_quirk(struct snd_usb_audio *chip,
31 bool snd_usb_get_sample_rate_quirk(struct snd_usb_audio *chip);
33 int snd_usb_is_big_endian_format(struct snd_usb_audio *chip,
46 u64 snd_usb_interface_dsd_format_quirks(struct snd_usb_audio *chip,
50 void snd_usb_audioformat_attributes_quirk(struct snd_usb_audio *chip,
54 bool snd_usb_registration_quirk(struct snd_usb_audio *chip, int iface);
Dpower.h17 int snd_usb_power_domain_set(struct snd_usb_audio *chip,
25 int snd_usb_autoresume(struct snd_usb_audio *chip);
26 void snd_usb_autosuspend(struct snd_usb_audio *chip);
28 static inline int snd_usb_autoresume(struct snd_usb_audio *chip) in snd_usb_autoresume()
32 static inline void snd_usb_autosuspend(struct snd_usb_audio *chip) in snd_usb_autosuspend()
Dmedia.h53 int snd_media_device_create(struct snd_usb_audio *chip,
55 void snd_media_device_delete(struct snd_usb_audio *chip);
62 static inline int snd_media_device_create(struct snd_usb_audio *chip, in snd_media_device_create()
65 static inline void snd_media_device_delete(struct snd_usb_audio *chip) { } in snd_media_device_delete()
Dquirks.c32 static int create_composite_quirk(struct snd_usb_audio *chip, in create_composite_quirk()
69 static int ignore_interface_quirk(struct snd_usb_audio *chip, in ignore_interface_quirk()
82 static int create_align_transfer_quirk(struct snd_usb_audio *chip, in create_align_transfer_quirk()
91 static int create_any_midi_quirk(struct snd_usb_audio *chip, in create_any_midi_quirk()
102 static int create_standard_audio_quirk(struct snd_usb_audio *chip, in create_standard_audio_quirk()
130 static int create_fixed_stream_quirk(struct snd_usb_audio *chip, in create_fixed_stream_quirk()
195 static int create_auto_pcm_quirk(struct snd_usb_audio *chip, in create_auto_pcm_quirk()
237 static int create_yamaha_midi_quirk(struct snd_usb_audio *chip, in create_yamaha_midi_quirk()
269 static int create_roland_midi_quirk(struct snd_usb_audio *chip, in create_roland_midi_quirk()
293 static int create_std_midi_quirk(struct snd_usb_audio *chip, in create_std_midi_quirk()
[all …]
Dcard.c112 static struct snd_usb_audio *usb_chip[SNDRV_CARDS];
134 static int snd_usb_create_stream(struct snd_usb_audio *chip, int ctrlif, int interface) in snd_usb_create_stream()
216 static int snd_usb_create_streams(struct snd_usb_audio *chip, int ctrlif) in snd_usb_create_streams()
451 struct snd_usb_audio *chip = card->private_data; in snd_usb_audio_free()
463 struct snd_usb_audio *chip, in usb_audio_make_shortname()
494 struct snd_usb_audio *chip, in usb_audio_make_longname()
568 struct snd_usb_audio **rchip) in snd_usb_audio_create()
571 struct snd_usb_audio *chip; in snd_usb_audio_create()
653 static bool check_delayed_register_option(struct snd_usb_audio *chip, int iface) in check_delayed_register_option()
704 struct snd_usb_audio *chip; in usb_audio_probe()
[all …]
Dclock.c101 static int uac_clock_selector_get_val(struct snd_usb_audio *chip, int selector_id) in uac_clock_selector_get_val()
119 static int uac_clock_selector_set_val(struct snd_usb_audio *chip, int selector_id, in uac_clock_selector_set_val()
154 static bool uac_clock_source_is_valid_quirk(struct snd_usb_audio *chip, in uac_clock_source_is_valid_quirk()
217 static bool uac_clock_source_is_valid(struct snd_usb_audio *chip, in uac_clock_source_is_valid()
266 static int __uac_clock_find_source(struct snd_usb_audio *chip, in __uac_clock_find_source()
370 static int __uac3_clock_find_source(struct snd_usb_audio *chip, in __uac3_clock_find_source()
482 int snd_usb_clock_find_source(struct snd_usb_audio *chip, in snd_usb_clock_find_source()
500 static int set_sample_rate_v1(struct snd_usb_audio *chip, int iface, in set_sample_rate_v1()
564 static int get_sample_rate_v2v3(struct snd_usb_audio *chip, int iface, in get_sample_rate_v2v3()
585 static int set_sample_rate_v2v3(struct snd_usb_audio *chip, int iface, in set_sample_rate_v2v3()
[all …]
Dformat.c32 static u64 parse_audio_format_i_type(struct snd_usb_audio *chip, in parse_audio_format_i_type()
180 static int parse_audio_format_rates_v1(struct snd_usb_audio *chip, struct audioformat *fp, in parse_audio_format_rates_v1()
289 static bool focusrite_valid_sample_rate(struct snd_usb_audio *chip, in focusrite_valid_sample_rate()
336 static int parse_uac2_sample_rate_range(struct snd_usb_audio *chip, in parse_uac2_sample_rate_range()
405 static int line6_parse_audio_format_rates_quirk(struct snd_usb_audio *chip, in line6_parse_audio_format_rates_quirk()
429 static int parse_audio_format_rates_v2v3(struct snd_usb_audio *chip, in parse_audio_format_rates_v2v3()
526 static int parse_audio_format_i(struct snd_usb_audio *chip, in parse_audio_format_i()
609 static int parse_audio_format_ii(struct snd_usb_audio *chip, in parse_audio_format_ii()
659 int snd_usb_parse_audio_format(struct snd_usb_audio *chip, in snd_usb_parse_audio_format()
701 int snd_usb_parse_audio_format_v3(struct snd_usb_audio *chip, in snd_usb_parse_audio_format_v3()
Dstream.h5 int snd_usb_parse_audio_interface(struct snd_usb_audio *chip,
8 int snd_usb_add_audio_stream(struct snd_usb_audio *chip,
Dclock.h5 int snd_usb_init_sample_rate(struct snd_usb_audio *chip, int iface,
9 int snd_usb_clock_find_source(struct snd_usb_audio *chip,
Dformat.h5 int snd_usb_parse_audio_format(struct snd_usb_audio *chip,
10 int snd_usb_parse_audio_format_v3(struct snd_usb_audio *chip,
Dusbaudio.h24 struct snd_usb_audio { struct
126 int snd_usb_lock_shutdown(struct snd_usb_audio *chip);
127 void snd_usb_unlock_shutdown(struct snd_usb_audio *chip);
Dhelper.h14 unsigned char snd_usb_parse_datainterval(struct snd_usb_audio *chip,
28 static inline int snd_usb_ctrl_intf(struct snd_usb_audio *chip) in snd_usb_ctrl_intf()
Dmedia.c164 static int snd_media_mixer_init(struct snd_usb_audio *chip) in snd_media_mixer_init()
227 static void snd_media_mixer_delete(struct snd_usb_audio *chip) in snd_media_mixer_delete()
254 int snd_media_device_create(struct snd_usb_audio *chip, in snd_media_device_create()
310 void snd_media_device_delete(struct snd_usb_audio *chip) in snd_media_device_delete()
Dproc.c35 struct snd_usb_audio *chip = entry->private_data; in proc_audio_usbbus_read()
42 struct snd_usb_audio *chip = entry->private_data; in proc_audio_usbid_read()
49 void snd_usb_audio_create_proc(struct snd_usb_audio *chip) in snd_usb_audio_create_proc()
Dcard.h55 struct snd_usb_audio *chip;
177 struct snd_usb_audio *chip;
Dmixer.h17 struct snd_usb_audio *chip;
99 int snd_usb_create_mixer(struct snd_usb_audio *chip, int ctrlif,
Dproc.h5 void snd_usb_audio_create_proc(struct snd_usb_audio *chip);
Dstream.c477 static int __snd_usb_add_audio_stream(struct snd_usb_audio *chip, in __snd_usb_add_audio_stream()
558 int snd_usb_add_audio_stream(struct snd_usb_audio *chip, in snd_usb_add_audio_stream()
565 static int snd_usb_add_audio_stream_v3(struct snd_usb_audio *chip, in snd_usb_add_audio_stream_v3()
573 static int parse_uac_endpoint_attributes(struct snd_usb_audio *chip, in parse_uac_endpoint_attributes()
675 audio_format_alloc_init(struct snd_usb_audio *chip, in audio_format_alloc_init()
705 snd_usb_get_audioformat_uac12(struct snd_usb_audio *chip, in snd_usb_get_audioformat_uac12()
858 snd_usb_get_audioformat_uac3(struct snd_usb_audio *chip, in snd_usb_get_audioformat_uac3()
1085 static int __snd_usb_parse_audio_interface(struct snd_usb_audio *chip, in __snd_usb_parse_audio_interface()
1216 int snd_usb_parse_audio_interface(struct snd_usb_audio *chip, int iface_no) in snd_usb_parse_audio_interface()
Dmixer_us16x08.c151 static int snd_us16x08_recv_urb(struct snd_usb_audio *chip, in snd_us16x08_recv_urb()
167 static int snd_us16x08_send_urb(struct snd_usb_audio *chip, char *buf, int size) in snd_us16x08_send_urb()
196 struct snd_usb_audio *chip = elem->head.mixer->chip; in snd_us16x08_route_put()
264 struct snd_usb_audio *chip = elem->head.mixer->chip; in snd_us16x08_master_put()
301 struct snd_usb_audio *chip = elem->head.mixer->chip; in snd_us16x08_bus_put()
374 struct snd_usb_audio *chip = elem->head.mixer->chip; in snd_us16x08_channel_put()
434 struct snd_usb_audio *chip = elem->head.mixer->chip; in snd_us16x08_comp_put()
504 struct snd_usb_audio *chip = elem->head.mixer->chip; in snd_us16x08_eqswitch_put()
564 struct snd_usb_audio *chip = elem->head.mixer->chip; in snd_us16x08_eq_put()
688 struct snd_usb_audio *chip = elem->head.mixer->chip; in snd_us16x08_meter_get()
Dmixer_quirks.h7 void snd_emuusb_set_samplerate(struct snd_usb_audio *chip,
Dpcm.h12 int snd_usb_init_pitch(struct snd_usb_audio *chip, int iface,
Dmixer_s1810c.c214 static int snd_s1810c_init_mixer_maps(struct snd_usb_audio *chip) in snd_s1810c_init_mixer_maps()
337 struct snd_usb_audio *chip = mixer->chip; in snd_s1810c_get_switch_state()
364 struct snd_usb_audio *chip = mixer->chip; in snd_s1810c_set_switch_state()
546 struct snd_usb_audio *chip = mixer->chip; in snd_sc1810_init_mixer()
Dmixer_quirks.c301 struct snd_usb_audio *chip = mixer->chip; in snd_audigy2nx_led_update()
470 struct snd_usb_audio *chip = mixer->chip; in snd_emu0204_ch_switch_update()
541 struct snd_usb_audio *chip = mixer->chip; in snd_xonar_u1_switch_update()
608 struct snd_usb_audio *chip = mixer->chip; in snd_mbox1_switch_update()
761 struct snd_usb_audio *chip = list->mixer->chip; in snd_ni_update_cur_val()
922 struct snd_usb_audio *chip = list->mixer->chip; in snd_ftu_eff_switch_update()
1157 void snd_emuusb_set_samplerate(struct snd_usb_audio *chip, in snd_emuusb_set_samplerate()
1496 struct snd_usb_audio *chip = list->mixer->chip; in snd_microii_spdif_default_get()
1548 struct snd_usb_audio *chip = list->mixer->chip; in snd_microii_spdif_default_update()
1635 struct snd_usb_audio *chip = list->mixer->chip; in snd_microii_spdif_switch_update()
[all …]
Dendpoint.h8 struct snd_usb_endpoint *snd_usb_add_endpoint(struct snd_usb_audio *chip,
/kernel/linux/linux-5.10/sound/usb/caiaq/
Dcontrol.c23 struct snd_usb_audio *chip = snd_kcontrol_chip(kcontrol); in control_info()
69 struct snd_usb_audio *chip = snd_kcontrol_chip(kcontrol); in control_get()
86 struct snd_usb_audio *chip = snd_kcontrol_chip(kcontrol); in control_put()

12