/linux/include/sound/ |
H A D | core.h | 80 struct snd_card { struct 200 int snd_power_wait(struct snd_card *card); 201 int snd_power_ref_and_wait(struct snd_card *card); 284 struct snd_card **card_ret); 287 struct snd_card **card_ret); 289 void snd_card_disconnect(struct snd_card *card); 291 void snd_card_free(struct snd_card *card); 295 int snd_card_register(struct snd_card *card); 297 int snd_card_add_dev_attr(struct snd_card *card, 303 struct snd_card *snd_card_ref(int card); [all …]
|
H A D | control.h | 107 struct snd_card *card; 120 void (*lregister)(struct snd_card *card); 121 void (*ldisconnect)(struct snd_card *card); 127 typedef int (*snd_kctl_ioctl_func_t) (struct snd_card * card, 136 int snd_ctl_add(struct snd_card * card, struct snd_kcontrol * kcontrol); 161 snd_ctl_find_id_mixer(struct snd_card *card, const char *name) in snd_ctl_find_id_mixer() 184 snd_ctl_find_id_mixer_locked(struct snd_card *card, const char *name) in snd_ctl_find_id_mixer_locked() 193 int snd_ctl_create(struct snd_card *card); 209 int snd_ctl_get_preferred_subdevice(struct snd_card *card, int type); 340 snd_kctl_jack_new(const char *name, struct snd_card *card); [all …]
|
H A D | info.h | 117 struct snd_info_entry *snd_info_create_card_entry(struct snd_card *card, 122 int snd_info_card_create(struct snd_card *card); 123 int snd_info_card_register(struct snd_card *card); 124 int snd_info_card_free(struct snd_card *card); 125 void snd_info_card_disconnect(struct snd_card *card); 126 void snd_info_card_id_change(struct snd_card *card); 145 int snd_card_rw_proc_new(struct snd_card *card, const char *name, 171 static inline int snd_info_card_free(struct snd_card *card) { return 0; } in snd_info_card_free() 172 static inline void snd_info_card_disconnect(struct snd_card *card) { } in snd_info_card_disconnect() 173 static inline void snd_info_card_id_change(struct snd_card *card) { } in snd_info_card_id_change() [all …]
|
H A D | mixer_oss.h | 38 struct snd_card *card; 57 struct snd_card *card; 61 int snd_mixer_oss_ioctl_card(struct snd_card *card,
|
H A D | es1688.h | 95 int snd_es1688_create(struct snd_card *card, 103 int snd_es1688_pcm(struct snd_card *card, struct snd_es1688 *chip, int device); 104 int snd_es1688_mixer(struct snd_card *card, struct snd_es1688 *chip);
|
H A D | jack.h | 61 struct snd_card *card; 78 int snd_jack_new(struct snd_card *card, const char *id, int type, 89 static inline int snd_jack_new(struct snd_card *card, const char *id, int type, in snd_jack_new()
|
H A D | rawmidi.h | 117 struct snd_card *card; 149 int snd_rawmidi_new(struct snd_card *card, char *id, int device, 157 struct snd_card *card, char *id, int device, 176 int snd_rawmidi_info_select(struct snd_card *card, struct snd_rawmidi_info *info);
|
/linux/sound/core/ |
H A D | init.c | 173 struct snd_card **card_ret) in snd_card_new() 175 struct snd_card *card; in snd_card_new() 231 struct snd_card *card; in snd_devm_card_new() 265 struct snd_card *card; in snd_card_free_on_error() 386 struct snd_card *card; in snd_card_ref() 774 struct snd_card *card = container_of(dev, struct snd_card, card_dev); in id_show() 781 struct snd_card *card = container_of(dev, struct snd_card, card_dev); in id_store() 809 struct snd_card *card = container_of(dev, struct snd_card, card_dev); in number_show() 930 struct snd_card *card; in snd_card_info_read() 954 struct snd_card *card; in snd_card_info_read_oss() [all …]
|
H A D | device.c | 29 int snd_device_new(struct snd_card *card, enum snd_device_type type, in snd_device_new() 82 static struct snd_device *look_for_dev(struct snd_card *card, void *device_data) in look_for_dev() 106 void snd_device_disconnect(struct snd_card *card, void *device_data) in snd_device_disconnect() 130 void snd_device_free(struct snd_card *card, void *device_data) in snd_device_free() 171 int snd_device_register(struct snd_card *card, void *device_data) in snd_device_register() 189 int snd_device_register_all(struct snd_card *card) in snd_device_register_all() 208 void snd_device_disconnect_all(struct snd_card *card) in snd_device_disconnect_all() 222 void snd_device_free_all(struct snd_card *card) in snd_device_free_all() 253 int snd_device_get_state(struct snd_card *card, void *device_data) in snd_device_get_state()
|
H A D | control.c | 47 struct snd_card *card; in snd_ctl_open() 111 struct snd_card *card; in snd_ctl_release() 654 struct snd_card *card = file->card; in snd_ctl_remove_user_ctl() 1195 struct snd_card *card = ctl->card; in snd_ctl_elem_info() 1353 struct snd_card *card; in snd_ctl_elem_write_user() 1373 struct snd_card *card = file->card; in snd_ctl_elem_lock() 1394 struct snd_card *card = file->card; in snd_ctl_elem_unlock() 1416 struct snd_card *card; 1638 struct snd_card *card = file->card; in snd_ctl_elem_add() 1925 struct snd_card *card; in snd_ctl_ioctl() [all …]
|
H A D | control_led.c | 48 struct snd_card *card; 72 static void snd_ctl_led_sysfs_add(struct snd_card *card); 73 static void snd_ctl_led_sysfs_remove(struct snd_card *card); 248 struct snd_card *card __free(snd_card_unref) = NULL; in DEFINE_FREE() 289 static void snd_ctl_led_clean(struct snd_card *card) in snd_ctl_led_clean() 305 struct snd_card *card __free(snd_card_unref) = NULL; in snd_ctl_led_reset() 332 static void snd_ctl_led_register(struct snd_card *card) in snd_ctl_led_register() 350 static void snd_ctl_led_disconnect(struct snd_card *card) in snd_ctl_led_disconnect() 601 struct snd_card *card __free(snd_card_unref) = NULL; in list_show() 647 static void snd_ctl_led_sysfs_add(struct snd_card *card) in snd_ctl_led_sysfs_add() [all …]
|
H A D | pcm_memory.c | 34 static void __update_allocated_size(struct snd_card *card, ssize_t bytes) in __update_allocated_size() 39 static void update_allocated_size(struct snd_card *card, ssize_t bytes) in update_allocated_size() 45 static void decrease_allocated_size(struct snd_card *card, size_t bytes) in decrease_allocated_size() 52 static int do_alloc_pages(struct snd_card *card, int type, struct device *dev, in do_alloc_pages() 84 static void do_free_pages(struct snd_card *card, struct snd_dma_buffer *dmab) in do_free_pages() 103 struct snd_card *card = substream->pcm->card; in preallocate_pcm_pages() 185 struct snd_card *card = substream->pcm->card; in snd_pcm_lib_preallocate_proc_write() 420 struct snd_card *card; in snd_pcm_lib_malloc_pages() 490 struct snd_card *card = substream->pcm->card; in snd_pcm_lib_free_pages()
|
H A D | ctljack.c | 30 static int get_available_index(struct snd_card *card, const char *name) in get_available_index() 63 snd_kctl_jack_new(const char *name, struct snd_card *card) in snd_kctl_jack_new() 77 void snd_kctl_jack_report(struct snd_card *card, in snd_kctl_jack_report()
|
/linux/sound/soc/ |
H A D | soc-card-test.c | 83 down_read(&card->snd_card->controls_rwsem); in test_snd_soc_card_get_kcontrol_locked() 85 up_read(&card->snd_card->controls_rwsem); in test_snd_soc_card_get_kcontrol_locked() 97 up_write(&card->snd_card->controls_rwsem); in test_snd_soc_card_get_kcontrol_locked() 105 down_read(&card->snd_card->controls_rwsem); in test_snd_soc_card_get_kcontrol_locked() 107 up_read(&card->snd_card->controls_rwsem); in test_snd_soc_card_get_kcontrol_locked() 110 down_read(&card->snd_card->controls_rwsem); in test_snd_soc_card_get_kcontrol_locked() 112 up_read(&card->snd_card->controls_rwsem); in test_snd_soc_card_get_kcontrol_locked() 115 down_read(&card->snd_card->controls_rwsem); in test_snd_soc_card_get_kcontrol_locked() 117 up_read(&card->snd_card->controls_rwsem); in test_snd_soc_card_get_kcontrol_locked() 120 down_read(&card->snd_card->controls_rwsem); in test_snd_soc_card_get_kcontrol_locked() [all …]
|
/linux/sound/pci/cs5535audio/ |
H A D | cs5535audio.h | 86 struct snd_card *card; 101 void olpc_prequirks(struct snd_card *card, 103 int olpc_quirks(struct snd_card *card, struct snd_ac97 *ac97); 124 static inline void olpc_prequirks(struct snd_card *card, in olpc_prequirks() 126 static inline int olpc_quirks(struct snd_card *card, struct snd_ac97 *ac97) in olpc_quirks()
|
/linux/sound/arm/ |
H A D | pxa2xx-ac97.c | 114 static int pxa2xx_ac97_do_suspend(struct snd_card *card) in pxa2xx_ac97_do_suspend() 126 static int pxa2xx_ac97_do_resume(struct snd_card *card) in pxa2xx_ac97_do_resume() 145 struct snd_card *card = dev_get_drvdata(dev); in pxa2xx_ac97_suspend() 156 struct snd_card *card = dev_get_drvdata(dev); in pxa2xx_ac97_resume() 177 static int pxa2xx_ac97_pcm_new(struct snd_card *card) in pxa2xx_ac97_pcm_new() 205 struct snd_card *card; in pxa2xx_ac97_probe() 264 struct snd_card *card = platform_get_drvdata(dev); in pxa2xx_ac97_remove()
|
/linux/drivers/media/pci/solo6x10/ |
H A D | solo6x10-g723.c | 292 struct snd_card *card = solo_dev->snd_card; in solo_snd_pcm_init() 328 struct snd_card *card; in solo_g723_init() 340 &solo_dev->snd_card); in solo_g723_init() 344 card = solo_dev->snd_card; in solo_g723_init() 385 if (!solo_dev->snd_card) in solo_g723_exit() 391 snd_card_free(solo_dev->snd_card); in solo_g723_exit() 392 solo_dev->snd_card = NULL; in solo_g723_exit()
|
/linux/drivers/media/pci/cobalt/ |
H A D | cobalt-alsa-main.c | 35 static void snd_cobalt_card_private_free(struct snd_card *sc) in snd_cobalt_card_private_free() 45 struct snd_card *sc, in snd_cobalt_card_create() 65 struct snd_card *sc = cobsc->sc; in snd_cobalt_card_set_names() 85 struct snd_card *sc = NULL; in cobalt_alsa_init()
|
H A D | cobalt-alsa.h | 9 struct snd_card; 13 struct snd_card *sc;
|
/linux/sound/synth/emux/ |
H A D | emux_voice.h | 18 int snd_emux_init_seq(struct snd_emux *emu, struct snd_card *card, int index); 28 int snd_emux_init_virmidi(struct snd_emux *emu, struct snd_card *card); 73 void snd_emux_proc_init(struct snd_emux *emu, struct snd_card *card, int device); 77 struct snd_card *card, int device) {} in snd_emux_proc_init()
|
/linux/sound/usb/usx2y/ |
H A D | us122l.c | 41 static int us122l_create_usbmidi(struct snd_card *card) in us122l_create_usbmidi() 63 static int us144_create_usbmidi(struct snd_card *card) in us144_create_usbmidi() 489 static void snd_us122l_free(struct snd_card *card) in snd_us122l_free() 500 struct snd_card **cardp, in usx2y_create_card() 504 struct snd_card *card; in usx2y_create_card() 539 struct snd_card **cardp) in us122l_usb_probe() 542 struct snd_card *card; in us122l_usb_probe() 570 struct snd_card *card; in snd_us122l_probe() 596 struct snd_card *card; in snd_us122l_disconnect() 628 struct snd_card *card; in snd_us122l_suspend() [all …]
|
/linux/sound/isa/es1688/ |
H A D | es1688.c | 78 static int snd_es1688_legacy_create(struct snd_card *card, in snd_es1688_legacy_create() 117 static int snd_es1688_probe(struct snd_card *card, unsigned int n) in snd_es1688_probe() 166 struct snd_card *card; in snd_es1688_isa_probe() 202 static int snd_card_es968_pnp(struct snd_card *card, unsigned int n, in snd_card_es968_pnp() 230 struct snd_card *card; in snd_es968_pnp_detect() 269 struct snd_card *card = pnp_get_card_drvdata(pcard); in snd_es968_pnp_suspend() 277 struct snd_card *card = pnp_get_card_drvdata(pcard); in snd_es968_pnp_resume()
|
/linux/drivers/media/pci/tw686x/ |
H A D | tw686x-audio.c | 268 struct snd_card *card = dev->snd_card; in tw686x_snd_pcm_init() 356 if (!dev->snd_card) in tw686x_audio_free() 358 snd_card_free(dev->snd_card); in tw686x_audio_free() 359 dev->snd_card = NULL; in tw686x_audio_free() 365 struct snd_card *card; in tw686x_audio_init() 377 dev->snd_card = card; in tw686x_audio_init() 411 dev->snd_card = NULL; in tw686x_audio_init()
|
/linux/sound/aoa/core/ |
H A D | alsa.c | 18 struct snd_card *alsa_card; in aoa_alsa_init() 45 struct snd_card *aoa_get_card(void) in aoa_get_card() 64 struct snd_card *card = aoa_get_card(); in aoa_snd_device_new()
|
/linux/sound/pci/asihpi/ |
H A D | hpios.h | 136 struct snd_card; 141 struct snd_card *snd_card; member
|