/linux/include/sound/ |
A D | core.h | 79 struct snd_card { struct 194 int snd_power_wait(struct snd_card *card); 195 int snd_power_ref_and_wait(struct snd_card *card); 278 struct snd_card **card_ret); 281 struct snd_card **card_ret); 283 int snd_card_disconnect(struct snd_card *card); 285 int snd_card_free(struct snd_card *card); 288 int snd_card_register(struct snd_card *card); 290 int snd_card_add_dev_attr(struct snd_card *card, 296 struct snd_card *snd_card_ref(int card); [all …]
|
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); 137 int snd_ctl_remove(struct snd_card * card, struct snd_kcontrol * kcontrol); 139 int snd_ctl_remove_id(struct snd_card * card, struct snd_ctl_elem_id *id); 145 int snd_ctl_create(struct snd_card *card); 161 int snd_ctl_get_preferred_subdevice(struct snd_card *card, int type); 289 snd_kctl_jack_new(const char *name, struct snd_card *card); [all …]
|
A D | info.h | 117 struct snd_info_entry *snd_info_create_card_entry(struct snd_card *card, 124 int snd_info_card_create(struct snd_card *card); 125 int snd_info_card_register(struct snd_card *card); 126 int snd_info_card_free(struct snd_card *card); 127 void snd_info_card_disconnect(struct snd_card *card); 128 void snd_info_card_id_change(struct snd_card *card); 147 int snd_card_rw_proc_new(struct snd_card *card, const char *name, 173 static inline int snd_info_card_free(struct snd_card *card) { return 0; } in snd_info_card_free() 174 static inline void snd_info_card_disconnect(struct snd_card *card) { } in snd_info_card_disconnect() 175 static inline void snd_info_card_id_change(struct snd_card *card) { } in snd_info_card_id_change() [all …]
|
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,
|
A D | jack.h | 61 struct snd_card *card; 77 int snd_jack_new(struct snd_card *card, const char *id, int type, 88 static inline int snd_jack_new(struct snd_card *card, const char *id, int type, in snd_jack_new()
|
A D | rawmidi.h | 111 struct snd_card *card; 143 int snd_rawmidi_new(struct snd_card *card, char *id, int device, 167 int snd_rawmidi_info_select(struct snd_card *card, struct snd_rawmidi_info *info); 168 int snd_rawmidi_kernel_open(struct snd_card *card, int device, int subdevice,
|
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);
|
/linux/sound/core/ |
A D | init.c | 165 struct snd_card **card_ret) in snd_card_new() 167 struct snd_card *card; in snd_card_new() 215 struct snd_card **card_ret) in snd_devm_card_new() 217 struct snd_card *card; in snd_devm_card_new() 344 struct snd_card *card; in snd_card_ref() 746 struct snd_card *card = container_of(dev, struct snd_card, card_dev); in id_show() 753 struct snd_card *card = container_of(dev, struct snd_card, card_dev); in id_store() 784 struct snd_card *card = container_of(dev, struct snd_card, card_dev); in number_show() 902 struct snd_card *card; in snd_card_info_read() 927 struct snd_card *card; in snd_card_info_read_oss() [all …]
|
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() 251 int snd_device_get_state(struct snd_card *card, void *device_data) in snd_device_get_state()
|
A D | control.c | 45 struct snd_card *card; in snd_ctl_open() 113 struct snd_card *card; in snd_ctl_release() 548 struct snd_card *card = file->card; in snd_ctl_remove_user_ctl() 1026 struct snd_card *card = ctl->card; in snd_ctl_elem_info() 1180 struct snd_card *card; in snd_ctl_elem_write_user() 1202 struct snd_card *card = file->card; in snd_ctl_elem_lock() 1230 struct snd_card *card = file->card; in snd_ctl_elem_unlock() 1259 struct snd_card *card; 1477 struct snd_card *card = file->card; in snd_ctl_elem_add() 1767 struct snd_card *card; in snd_ctl_ioctl() [all …]
|
A D | control_led.c | 48 struct snd_card *card; 71 static void snd_ctl_led_sysfs_add(struct snd_card *card); 72 static void snd_ctl_led_sysfs_remove(struct snd_card *card); 245 struct snd_card *card; in snd_ctl_led_set_id() 296 static void snd_ctl_led_clean(struct snd_card *card) in snd_ctl_led_clean() 315 struct snd_card *card; in snd_ctl_led_reset() 348 static void snd_ctl_led_register(struct snd_card *card) in snd_ctl_led_register() 367 static void snd_ctl_led_disconnect(struct snd_card *card) in snd_ctl_led_disconnect() 619 struct snd_card *card; in list_show() 673 static void snd_ctl_led_sysfs_add(struct snd_card *card) in snd_ctl_led_sysfs_add() [all …]
|
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/arm/ |
A D | pxa2xx-ac97.c | 117 static int pxa2xx_ac97_do_suspend(struct snd_card *card) in pxa2xx_ac97_do_suspend() 129 static int pxa2xx_ac97_do_resume(struct snd_card *card) in pxa2xx_ac97_do_resume() 148 struct snd_card *card = dev_get_drvdata(dev); in pxa2xx_ac97_suspend() 159 struct snd_card *card = dev_get_drvdata(dev); in pxa2xx_ac97_resume() 181 static int pxa2xx_ac97_pcm_new(struct snd_card *card) in pxa2xx_ac97_pcm_new() 209 struct snd_card *card; in pxa2xx_ac97_probe() 268 struct snd_card *card = platform_get_drvdata(dev); in pxa2xx_ac97_remove()
|
/linux/sound/pci/cs5535audio/ |
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/drivers/media/pci/solo6x10/ |
A D | solo6x10-g723.c | 319 struct snd_card *card = solo_dev->snd_card; in solo_snd_pcm_init() 355 struct snd_card *card; in solo_g723_init() 367 &solo_dev->snd_card); in solo_g723_init() 371 card = solo_dev->snd_card; in solo_g723_init() 412 if (!solo_dev->snd_card) in solo_g723_exit() 418 snd_card_free(solo_dev->snd_card); in solo_g723_exit() 419 solo_dev->snd_card = NULL; in solo_g723_exit()
|
/linux/sound/usb/usx2y/ |
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/drivers/media/pci/cobalt/ |
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()
|
/linux/sound/synth/emux/ |
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/isa/es1688/ |
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/ |
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/isa/ |
A D | cmi8330.c | 154 struct snd_card *card; 295 static int snd_cmi8330_mixer(struct snd_card *card, struct snd_cmi8330 *acard) in snd_cmi8330_mixer() 427 static int snd_cmi8330_pcm(struct snd_card *card, struct snd_cmi8330 *chip) in snd_cmi8330_pcm() 469 static int snd_cmi8330_suspend(struct snd_card *card) in snd_cmi8330_suspend() 479 static int snd_cmi8330_resume(struct snd_card *card) in snd_cmi8330_resume() 504 struct snd_card **cardp) in snd_cmi8330_card_new() 506 struct snd_card *card; in snd_cmi8330_card_new() 522 static int snd_cmi8330_probe(struct snd_card *card, int dev) in snd_cmi8330_probe() 625 struct snd_card *card; in snd_cmi8330_isa_probe() 671 struct snd_card *card; in snd_cmi8330_pnp_detect()
|
/linux/sound/pci/hda/ |
A D | hda_tegra.c | 122 struct snd_card *card = dev_get_drvdata(dev); in hda_tegra_suspend() 135 struct snd_card *card = dev_get_drvdata(dev); in hda_tegra_resume() 148 struct snd_card *card = dev_get_drvdata(dev); in hda_tegra_runtime_suspend() 167 struct snd_card *card = dev_get_drvdata(dev); in hda_tegra_runtime_resume() 256 struct snd_card *card = chip->card; in hda_tegra_first_init() 385 static int hda_tegra_create(struct snd_card *card, in hda_tegra_create() 441 struct snd_card *card; in hda_tegra_probe() 538 struct snd_card *card = dev_get_drvdata(&pdev->dev); in hda_tegra_shutdown()
|
/linux/sound/aoa/core/ |
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/drivers/media/pci/cx18/ |
A D | cx18-alsa-main.c | 73 static void snd_cx18_card_private_free(struct snd_card *sc) in snd_cx18_card_private_free() 83 struct snd_card *sc, in snd_cx18_card_create() 102 struct snd_card *sc = cxsc->sc; in snd_cx18_card_set_names() 122 struct snd_card *sc = NULL; in snd_cx18_init()
|
/linux/sound/isa/wavefront/ |
A D | wavefront.c | 220 static struct snd_hwdep *snd_wavefront_new_synth(struct snd_card *card, in snd_wavefront_new_synth() 245 static struct snd_hwdep *snd_wavefront_new_fx(struct snd_card *card, in snd_wavefront_new_fx() 271 static struct snd_rawmidi *snd_wavefront_new_midi(struct snd_card *card, in snd_wavefront_new_midi() 312 struct snd_card **cardp) in snd_wavefront_card_new() 314 struct snd_card *card; in snd_wavefront_card_new() 336 snd_wavefront_probe (struct snd_card *card, int dev) in snd_wavefront_probe() 541 struct snd_card *card; in snd_wavefront_isa_probe() 572 struct snd_card *card; in snd_wavefront_pnp_detect()
|