Home
last modified time | relevance | path

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

12

/linux/sound/usb/
A Dendpoint.h8 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,
18 void snd_usb_endpoint_close(struct snd_usb_audio *chip,
20 int snd_usb_endpoint_configure(struct snd_usb_audio *chip,
22 int snd_usb_endpoint_get_clock_rate(struct snd_usb_audio *chip, int clock);
24 bool snd_usb_endpoint_compatible(struct snd_usb_audio *chip,
29 void snd_usb_endpoint_set_sync(struct snd_usb_audio *chip,
46 void snd_usb_endpoint_free_all(struct snd_usb_audio *chip);
A 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 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 bool snd_usb_registration_quirk(struct snd_usb_audio *chip, int iface);
53 void snd_usb_init_quirk_flags(struct snd_usb_audio *chip);
A 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()
A Dimplicit.c84 static int add_implicit_fb_sync_ep(struct snd_usb_audio *chip, in add_implicit_fb_sync_ep()
112 static int add_generic_uac2_implicit_fb(struct snd_usb_audio *chip, in add_generic_uac2_implicit_fb()
148 static int add_roland_implicit_fb(struct snd_usb_audio *chip, in add_roland_implicit_fb()
178 static int add_roland_capture_quirk(struct snd_usb_audio *chip, in add_roland_capture_quirk()
206 static bool is_pioneer_implicit_fb(struct snd_usb_audio *chip, in is_pioneer_implicit_fb()
237 static int __add_generic_implicit_fb(struct snd_usb_audio *chip, in __add_generic_implicit_fb()
261 static int add_generic_implicit_fb(struct snd_usb_audio *chip, in add_generic_implicit_fb()
278 find_implicit_fb_entry(struct snd_usb_audio *chip, in find_implicit_fb_entry()
361 static int audioformat_capture_quirk(struct snd_usb_audio *chip, in audioformat_capture_quirk()
386 int snd_usb_parse_implicit_fb_quirk(struct snd_usb_audio *chip, in snd_usb_parse_implicit_fb_quirk()
[all …]
A Dclock.c79 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 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()
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()
432 static int create_uaxx_quirk(struct snd_usb_audio *chip, in create_uaxx_quirk()
545 int snd_usb_create_quirk(struct snd_usb_audio *chip, in snd_usb_create_quirk()
550 typedef int (*quirk_func_t)(struct snd_usb_audio *, in snd_usb_create_quirk()
1494 int snd_usb_select_mode_quirk(struct snd_usb_audio *chip, in snd_usb_select_mode_quirk()
1568 struct snd_usb_audio *chip = dev_get_drvdata(&dev->dev); in snd_usb_ctl_msg_quirk()
[all …]
A 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()
A Dclock.h5 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 Dformat.c31 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 Dcard.c118 static struct snd_usb_audio *usb_chip[SNDRV_CARDS];
477 struct snd_usb_audio *chip = card->private_data; in snd_usb_audio_free()
487 struct snd_usb_audio *chip, in usb_audio_make_shortname()
518 struct snd_usb_audio *chip, in usb_audio_make_longname()
591 struct snd_usb_audio **rchip) in snd_usb_audio_create()
594 struct snd_usb_audio *chip; in snd_usb_audio_create()
735 struct snd_usb_audio *chip; in usb_audio_probe()
901 struct snd_usb_audio *chip = usb_get_intfdata(intf); in usb_audio_disconnect()
962 int snd_usb_lock_shutdown(struct snd_usb_audio *chip) in snd_usb_lock_shutdown()
992 int snd_usb_autoresume(struct snd_usb_audio *chip) in snd_usb_autoresume()
[all …]
A Dhelper.h14 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 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()
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 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,
A Dusbaudio.h24 struct snd_usb_audio { struct
121 int snd_usb_lock_shutdown(struct snd_usb_audio *chip);
122 void snd_usb_unlock_shutdown(struct snd_usb_audio *chip);
A Dimplicit.h5 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 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,
A Dpcm.h9 int snd_usb_init_pitch(struct snd_usb_audio *chip,
13 int snd_usb_audioformat_set_sync_ep(struct snd_usb_audio *chip,
A Dendpoint.c578 iface_ref_find(struct snd_usb_audio *chip, int iface) in iface_ref_find()
599 snd_usb_get_endpoint(struct snd_usb_audio *chip, int ep_num) in snd_usb_get_endpoint()
711 bool snd_usb_endpoint_compatible(struct snd_usb_audio *chip, in snd_usb_endpoint_compatible()
737 snd_usb_endpoint_open(struct snd_usb_audio *chip, in snd_usb_endpoint_open()
826 void snd_usb_endpoint_set_sync(struct snd_usb_audio *chip, in snd_usb_endpoint_set_sync()
856 static int endpoint_set_interface(struct snd_usb_audio *chip, in endpoint_set_interface()
882 void snd_usb_endpoint_close(struct snd_usb_audio *chip, in snd_usb_endpoint_close()
1023 struct snd_usb_audio *chip = ep->chip; in data_ep_set_params()
1215 struct snd_usb_audio *chip = ep->chip; in sync_ep_set_params()
1328 int snd_usb_endpoint_configure(struct snd_usb_audio *chip, in snd_usb_endpoint_configure()
[all …]
A 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()
A 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()
680 struct snd_usb_audio *chip = list->mixer->chip; in snd_mbox1_clk_switch_get()
701 struct snd_usb_audio *chip = mixer->chip; in snd_mbox1_clk_switch_update()
772 struct snd_usb_audio *chip = mixer->chip; in snd_mbox1_src_switch_update()
902 struct snd_usb_audio *chip = list->mixer->chip; in snd_ni_update_cur_val()
1063 struct snd_usb_audio *chip = list->mixer->chip; in snd_ftu_eff_switch_update()
1872 struct snd_usb_audio *chip = mixer->chip; in snd_soundblaster_e1_switch_update()
2377 struct snd_usb_audio *chip = mixer->chip; in snd_bbfpro_ctl_update()
[all …]
A Dhelper.c106 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 Dstream.c476 static int __snd_usb_add_audio_stream(struct snd_usb_audio *chip, in __snd_usb_add_audio_stream()
557 int snd_usb_add_audio_stream(struct snd_usb_audio *chip, in snd_usb_add_audio_stream()
564 static int snd_usb_add_audio_stream_v3(struct snd_usb_audio *chip, in snd_usb_add_audio_stream_v3()
572 static int parse_uac_endpoint_attributes(struct snd_usb_audio *chip, in parse_uac_endpoint_attributes()
674 audio_format_alloc_init(struct snd_usb_audio *chip, in audio_format_alloc_init()
704 snd_usb_get_audioformat_uac12(struct snd_usb_audio *chip, in snd_usb_get_audioformat_uac12()
857 snd_usb_get_audioformat_uac3(struct snd_usb_audio *chip, in snd_usb_get_audioformat_uac3()
1084 static int __snd_usb_parse_audio_interface(struct snd_usb_audio *chip, in __snd_usb_parse_audio_interface()
1234 int snd_usb_parse_audio_interface(struct snd_usb_audio *chip, int iface_no) in snd_usb_parse_audio_interface()
A 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()
A Dmixer.h17 struct snd_usb_audio *chip;
99 int snd_usb_create_mixer(struct snd_usb_audio *chip, int ctrlif);
A Dcard.h63 struct snd_usb_audio *chip;
199 struct snd_usb_audio *chip;

Completed in 59 milliseconds

12