/linux-6.3-rc2/sound/usb/ |
A D | endpoint.h | 8 struct snd_usb_endpoint *snd_usb_get_endpoint(struct snd_usb_audio *chip, 11 int snd_usb_add_endpoint(struct snd_usb_audio *chip, int ep_num, int type); 14 snd_usb_endpoint_open(struct snd_usb_audio *chip, 19 void snd_usb_endpoint_close(struct snd_usb_audio *chip, 21 int snd_usb_endpoint_set_params(struct snd_usb_audio *chip, 23 int snd_usb_endpoint_prepare(struct snd_usb_audio *chip, 25 int snd_usb_endpoint_get_clock_rate(struct snd_usb_audio *chip, int clock); 27 bool snd_usb_endpoint_compatible(struct snd_usb_audio *chip, 32 void snd_usb_endpoint_set_sync(struct snd_usb_audio *chip, 49 void snd_usb_endpoint_free_all(struct snd_usb_audio *chip);
|
A D | quirks.h | 9 int snd_usb_create_quirk(struct snd_usb_audio *chip, 14 int snd_usb_apply_interface_quirk(struct snd_usb_audio *chip, 31 int snd_usb_is_big_endian_format(struct snd_usb_audio *chip, 40 int snd_usb_select_mode_quirk(struct snd_usb_audio *chip, 43 u64 snd_usb_interface_dsd_format_quirks(struct snd_usb_audio *chip, 47 void snd_usb_audioformat_attributes_quirk(struct snd_usb_audio *chip, 51 void snd_usb_init_quirk_flags(struct snd_usb_audio *chip);
|
A D | implicit.c | 82 static int add_implicit_fb_sync_ep(struct snd_usb_audio *chip, in add_implicit_fb_sync_ep() 110 static int add_generic_uac2_implicit_fb(struct snd_usb_audio *chip, in add_generic_uac2_implicit_fb() 146 static int add_roland_implicit_fb(struct snd_usb_audio *chip, in add_roland_implicit_fb() 176 static int add_roland_capture_quirk(struct snd_usb_audio *chip, in add_roland_capture_quirk() 204 static bool is_pioneer_implicit_fb(struct snd_usb_audio *chip, in is_pioneer_implicit_fb() 235 static int __add_generic_implicit_fb(struct snd_usb_audio *chip, in __add_generic_implicit_fb() 259 static int add_generic_implicit_fb(struct snd_usb_audio *chip, in add_generic_implicit_fb() 276 find_implicit_fb_entry(struct snd_usb_audio *chip, in find_implicit_fb_entry() 360 static int audioformat_capture_quirk(struct snd_usb_audio *chip, in audioformat_capture_quirk() 385 int snd_usb_parse_implicit_fb_quirk(struct snd_usb_audio *chip, in snd_usb_parse_implicit_fb_quirk() [all …]
|
A D | media.h | 53 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()
|
A D | clock.h | 5 int snd_usb_init_sample_rate(struct snd_usb_audio *chip, 8 int snd_usb_clock_find_source(struct snd_usb_audio *chip, 11 int snd_usb_set_sample_rate_v2v3(struct snd_usb_audio *chip,
|
A D | power.h | 17 int snd_usb_power_domain_set(struct snd_usb_audio *chip, 24 int snd_usb_autoresume(struct snd_usb_audio *chip); 25 void snd_usb_autosuspend(struct snd_usb_audio *chip);
|
A D | clock.c | 79 static obj *name(struct snd_usb_audio *chip, int id, int proto) \ 96 static int uac_clock_selector_get_val(struct snd_usb_audio *chip, int selector_id) in uac_clock_selector_get_val() 149 static bool uac_clock_source_is_valid_quirk(struct snd_usb_audio *chip, in uac_clock_source_is_valid_quirk() 211 static bool uac_clock_source_is_valid(struct snd_usb_audio *chip, in uac_clock_source_is_valid() 254 static int __uac_clock_find_source(struct snd_usb_audio *chip, in __uac_clock_find_source() 384 int snd_usb_clock_find_source(struct snd_usb_audio *chip, in snd_usb_clock_find_source() 400 static int set_sample_rate_v1(struct snd_usb_audio *chip, in set_sample_rate_v1() 458 static int get_sample_rate_v2v3(struct snd_usb_audio *chip, int iface, in get_sample_rate_v2v3() 488 int snd_usb_set_sample_rate_v2v3(struct snd_usb_audio *chip, in snd_usb_set_sample_rate_v2v3() 525 static int set_sample_rate_v2v3(struct snd_usb_audio *chip, in set_sample_rate_v2v3() [all …]
|
A D | card.c | 118 static struct snd_usb_audio *usb_chip[SNDRV_CARDS]; 485 struct snd_usb_audio *chip = card->private_data; in snd_usb_audio_free() 495 struct snd_usb_audio *chip, in usb_audio_make_shortname() 526 struct snd_usb_audio *chip, in usb_audio_make_longname() 599 struct snd_usb_audio **rchip) in snd_usb_audio_create() 602 struct snd_usb_audio *chip; in snd_usb_audio_create() 773 struct snd_usb_audio *chip; in usb_audio_probe() 939 struct snd_usb_audio *chip = usb_get_intfdata(intf); in usb_audio_disconnect() 1000 int snd_usb_lock_shutdown(struct snd_usb_audio *chip) in snd_usb_lock_shutdown() 1028 int snd_usb_autoresume(struct snd_usb_audio *chip) in snd_usb_autoresume() [all …]
|
A D | helper.h | 14 unsigned char snd_usb_parse_datainterval(struct snd_usb_audio *chip, 18 snd_usb_get_host_interface(struct snd_usb_audio *chip, int ifnum, int altsetting); 31 static inline int snd_usb_ctrl_intf(struct snd_usb_audio *chip) in snd_usb_ctrl_intf()
|
A D | format.c | 31 static u64 parse_audio_format_i_type(struct snd_usb_audio *chip, in parse_audio_format_i_type() 301 static bool focusrite_valid_sample_rate(struct snd_usb_audio *chip, in focusrite_valid_sample_rate() 348 static int parse_uac2_sample_rate_range(struct snd_usb_audio *chip, in parse_uac2_sample_rate_range() 409 static int line6_parse_audio_format_rates_quirk(struct snd_usb_audio *chip, in line6_parse_audio_format_rates_quirk() 430 static bool check_valid_altsetting_v2v3(struct snd_usb_audio *chip, int iface, in check_valid_altsetting_v2v3() 463 static int validate_sample_rate_table_v2v3(struct snd_usb_audio *chip, in validate_sample_rate_table_v2v3() 519 static int parse_audio_format_rates_v2v3(struct snd_usb_audio *chip, in parse_audio_format_rates_v2v3() 622 static int parse_audio_format_i(struct snd_usb_audio *chip, in parse_audio_format_i() 705 static int parse_audio_format_ii(struct snd_usb_audio *chip, in parse_audio_format_ii() 755 int snd_usb_parse_audio_format(struct snd_usb_audio *chip, in snd_usb_parse_audio_format() [all …]
|
A D | quirks.c | 32 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() 78 static int create_any_midi_quirk(struct snd_usb_audio *chip, in create_any_midi_quirk() 215 static int create_auto_pcm_quirk(struct snd_usb_audio *chip, in create_auto_pcm_quirk() 313 static int create_std_midi_quirk(struct snd_usb_audio *chip, in create_std_midi_quirk() 394 static int create_uaxx_quirk(struct snd_usb_audio *chip, in create_uaxx_quirk() 507 int snd_usb_create_quirk(struct snd_usb_audio *chip, in snd_usb_create_quirk() 512 typedef int (*quirk_func_t)(struct snd_usb_audio *, in snd_usb_create_quirk() 1759 int snd_usb_select_mode_quirk(struct snd_usb_audio *chip, in snd_usb_select_mode_quirk() 1833 struct snd_usb_audio *chip = dev_get_drvdata(&dev->dev); in snd_usb_ctl_msg_quirk() [all …]
|
A D | stream.h | 5 int snd_usb_parse_audio_interface(struct snd_usb_audio *chip, 8 int snd_usb_add_audio_stream(struct snd_usb_audio *chip,
|
A D | proc.c | 35 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() 192 static void proc_dump_substream_status(struct snd_usb_audio *chip, in proc_dump_substream_status() 213 struct snd_usb_audio *chip = stream->chip; in proc_pcm_format_read()
|
A D | implicit.h | 5 int snd_usb_parse_implicit_fb_quirk(struct snd_usb_audio *chip, 9 snd_usb_find_implicit_fb_sync_format(struct snd_usb_audio *chip,
|
A D | format.h | 5 int snd_usb_parse_audio_format(struct snd_usb_audio *chip, 10 int snd_usb_parse_audio_format_v3(struct snd_usb_audio *chip,
|
A D | pcm.h | 11 int snd_usb_init_pitch(struct snd_usb_audio *chip, 15 int snd_usb_audioformat_set_sync_ep(struct snd_usb_audio *chip,
|
A D | usbaudio.h | 24 struct snd_usb_audio { struct 123 int snd_usb_lock_shutdown(struct snd_usb_audio *chip); 124 void snd_usb_unlock_shutdown(struct snd_usb_audio *chip);
|
A D | endpoint.c | 590 iface_ref_find(struct snd_usb_audio *chip, int iface) in iface_ref_find() 608 clock_ref_find(struct snd_usb_audio *chip, int clock) in clock_ref_find() 630 snd_usb_get_endpoint(struct snd_usb_audio *chip, int ep_num) in snd_usb_get_endpoint() 769 snd_usb_endpoint_open(struct snd_usb_audio *chip, in snd_usb_endpoint_open() 869 void snd_usb_endpoint_set_sync(struct snd_usb_audio *chip, in snd_usb_endpoint_set_sync() 929 void snd_usb_endpoint_close(struct snd_usb_audio *chip, in snd_usb_endpoint_close() 1077 struct snd_usb_audio *chip = ep->chip; in data_ep_set_params() 1269 struct snd_usb_audio *chip = ep->chip; in sync_ep_set_params() 1406 static int init_sample_rate(struct snd_usb_audio *chip, in init_sample_rate() 1443 int snd_usb_endpoint_prepare(struct snd_usb_audio *chip, in snd_usb_endpoint_prepare() [all …]
|
A D | media.c | 164 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()
|
A D | mixer_quirks.c | 302 struct snd_usb_audio *chip = mixer->chip; in snd_audigy2nx_led_update() 471 struct snd_usb_audio *chip = mixer->chip; in snd_emu0204_ch_switch_update() 542 struct snd_usb_audio *chip = mixer->chip; in snd_xonar_u1_switch_update() 681 struct snd_usb_audio *chip = list->mixer->chip; in snd_mbox1_clk_switch_get() 702 struct snd_usb_audio *chip = mixer->chip; in snd_mbox1_clk_switch_update() 773 struct snd_usb_audio *chip = mixer->chip; in snd_mbox1_src_switch_update() 903 struct snd_usb_audio *chip = list->mixer->chip; in snd_ni_update_cur_val() 1064 struct snd_usb_audio *chip = list->mixer->chip; in snd_ftu_eff_switch_update() 1873 struct snd_usb_audio *chip = mixer->chip; in snd_soundblaster_e1_switch_update() 2559 struct snd_usb_audio *chip = mixer->chip; in snd_bbfpro_ctl_update() [all …]
|
A D | helper.c | 106 unsigned char snd_usb_parse_datainterval(struct snd_usb_audio *chip, in snd_usb_parse_datainterval() 125 snd_usb_get_host_interface(struct snd_usb_audio *chip, int ifnum, int altsetting) in snd_usb_get_host_interface()
|
A D | mixer.h | 17 struct snd_usb_audio *chip; 99 int snd_usb_create_mixer(struct snd_usb_audio *chip, int ctrlif);
|
A D | pcm.c | 163 struct snd_usb_audio *chip; in snd_usb_pcm_has_fixed_rate() 219 int snd_usb_init_pitch(struct snd_usb_audio *chip, in snd_usb_init_pitch() 449 static void close_endpoints(struct snd_usb_audio *chip, in close_endpoints() 478 struct snd_usb_audio *chip = subs->stream->chip; in snd_usb_hw_params() 591 struct snd_usb_audio *chip = subs->stream->chip; in snd_usb_hw_free() 617 struct snd_usb_audio *chip = subs->stream->chip; in lowlatency_playback_available() 641 struct snd_usb_audio *chip = subs->stream->chip; in snd_usb_pcm_prepare() 814 struct snd_usb_audio *chip = subs->stream->chip; in hw_rule_rate() 919 struct snd_usb_audio *chip = subs->stream->chip; in hw_rule_format() 988 struct snd_usb_audio *chip = subs->stream->chip; in hw_rule_period_size_implicit_fb() [all …]
|
A D | card.h | 64 struct snd_usb_audio *chip; 202 struct snd_usb_audio *chip;
|
A D | stream.c | 476 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() 1235 int snd_usb_parse_audio_interface(struct snd_usb_audio *chip, int iface_no) in snd_usb_parse_audio_interface()
|