Home
last modified time | relevance | path

Searched refs:snd_card (Results 1 – 25 of 307) sorted by relevance

12345678910>>...13

/sound/core/
Dinit.c37 static struct snd_card *snd_cards[SNDRV_CARDS];
83 int (*snd_mixer_oss_notify_callback)(struct snd_card *card, int free_flag);
125 void snd_device_initialize(struct device *dev, struct snd_card *card) in snd_device_initialize()
135 static int snd_card_do_free(struct snd_card *card);
162 struct snd_card **card_ret) in snd_card_new()
164 struct snd_card *card; in snd_card_new()
177 card->private_data = (char *)card + sizeof(struct snd_card); in snd_card_new()
262 struct snd_card *snd_card_ref(int idx) in snd_card_ref()
264 struct snd_card *card; in snd_card_ref()
374 int snd_card_disconnect(struct snd_card *card) in snd_card_disconnect()
[all …]
Ddevice.c29 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()
Dcontrol.c38 struct snd_card *card; in snd_ctl_open()
106 struct snd_card *card; in snd_ctl_release()
141 void snd_ctl_notify(struct snd_card *card, unsigned int mask, in snd_ctl_notify()
299 static bool snd_ctl_remove_numid_conflict(struct snd_card *card, in snd_ctl_remove_numid_conflict()
318 static int snd_ctl_find_hole(struct snd_card *card, unsigned int count) in snd_ctl_find_hole()
337 static int __snd_ctl_add_replace(struct snd_card *card, in __snd_ctl_add_replace()
385 static int snd_ctl_add_replace(struct snd_card *card, in snd_ctl_add_replace()
422 int snd_ctl_add(struct snd_card *card, struct snd_kcontrol *kcontrol) in snd_ctl_add()
442 int snd_ctl_replace(struct snd_card *card, struct snd_kcontrol *kcontrol, in snd_ctl_replace()
461 int snd_ctl_remove(struct snd_card *card, struct snd_kcontrol *kcontrol) in snd_ctl_remove()
[all …]
Dctljack.c30 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()
Dcontrol_compat.c22 static int snd_ctl_elem_list_compat(struct snd_card *card, in snd_ctl_elem_list_compat()
173 static int get_ctl_type(struct snd_card *card, struct snd_ctl_elem_id *id, in get_ctl_type()
218 static int copy_ctl_value_from_user(struct snd_card *card, in copy_ctl_value_from_user()
288 static int ctl_elem_read_user(struct snd_card *card, in ctl_elem_read_user()
319 struct snd_card *card = file->card; in ctl_elem_write_user()
343 static int snd_ctl_elem_read_user_compat(struct snd_card *card, in snd_ctl_elem_read_user_compat()
356 static int snd_ctl_elem_read_user_x32(struct snd_card *card, in snd_ctl_elem_read_user_x32()
/sound/pci/cs5535audio/
Dcs5535audio.h86 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()
/sound/arm/
Dpxa2xx-ac97.c119 static int pxa2xx_ac97_do_suspend(struct snd_card *card) in pxa2xx_ac97_do_suspend()
131 static int pxa2xx_ac97_do_resume(struct snd_card *card) in pxa2xx_ac97_do_resume()
150 struct snd_card *card = dev_get_drvdata(dev); in pxa2xx_ac97_suspend()
161 struct snd_card *card = dev_get_drvdata(dev); in pxa2xx_ac97_resume()
186 static int pxa2xx_ac97_pcm_new(struct snd_card *card) in pxa2xx_ac97_pcm_new()
222 struct snd_card *card; in pxa2xx_ac97_probe()
281 struct snd_card *card = platform_get_drvdata(dev); in pxa2xx_ac97_remove()
/sound/synth/emux/
Demux_voice.h18 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()
/sound/drivers/mpu401/
Dmpu401.c53 struct snd_card **rcard) in snd_mpu401_create()
55 struct snd_card *card; in snd_mpu401_create()
94 struct snd_card *card; in snd_mpu401_probe()
173 struct snd_card *card; in snd_mpu401_pnp_probe()
199 struct snd_card *card = (struct snd_card *) pnp_get_drvdata(dev); in snd_mpu401_pnp_remove()
/sound/usb/usx2y/
Dusbusx2y.c157 static void snd_usX2Y_card_private_free(struct snd_card *card);
329 struct snd_card **cardp) in usX2Y_create_card()
332 struct snd_card * card; in usX2Y_create_card()
367 struct snd_card **cardp) in usX2Y_usb_probe()
370 struct snd_card * card; in usX2Y_usb_probe()
396 struct snd_card *card; in snd_usX2Y_probe()
420 static void snd_usX2Y_card_private_free(struct snd_card *card) in snd_usX2Y_card_private_free()
437 struct snd_card *card = ptr; in usX2Y_usb_disconnect()
Dus122l.c41 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()
436 static int usb_stream_hwdep_new(struct snd_card *card) in usb_stream_hwdep_new()
461 static bool us122l_create_card(struct snd_card *card) in us122l_create_card()
509 static void snd_us122l_free(struct snd_card *card) in snd_us122l_free()
519 struct snd_card **cardp, in usx2y_create_card()
523 struct snd_card *card; in usx2y_create_card()
558 struct snd_card **cardp) in us122l_usb_probe()
561 struct snd_card *card; in us122l_usb_probe()
589 struct snd_card *card; in snd_us122l_probe()
[all …]
/sound/isa/es1688/
Des1688.c83 static int snd_es1688_legacy_create(struct snd_card *card, in snd_es1688_legacy_create()
122 static int snd_es1688_probe(struct snd_card *card, unsigned int n) in snd_es1688_probe()
171 struct snd_card *card; in snd_es1688_isa_probe()
217 static int snd_card_es968_pnp(struct snd_card *card, unsigned int n, in snd_card_es968_pnp()
245 struct snd_card *card; in snd_es968_pnp_detect()
288 struct snd_card *card = pnp_get_card_drvdata(pcard); in snd_es968_pnp_suspend()
296 struct snd_card *card = pnp_get_card_drvdata(pcard); in snd_es968_pnp_resume()
/sound/aoa/core/
Dalsa.c18 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()
/sound/isa/
Dcmi8330.c155 struct snd_card *card;
295 static int snd_cmi8330_mixer(struct snd_card *card, struct snd_cmi8330 *acard) in snd_cmi8330_mixer()
426 static int snd_cmi8330_pcm(struct snd_card *card, struct snd_cmi8330 *chip) in snd_cmi8330_pcm()
468 static int snd_cmi8330_suspend(struct snd_card *card) in snd_cmi8330_suspend()
478 static int snd_cmi8330_resume(struct snd_card *card) in snd_cmi8330_resume()
503 struct snd_card **cardp) in snd_cmi8330_card_new()
505 struct snd_card *card; in snd_cmi8330_card_new()
521 static int snd_cmi8330_probe(struct snd_card *card, int dev) in snd_cmi8330_probe()
621 struct snd_card *card; in snd_cmi8330_isa_probe()
676 struct snd_card *card; in snd_cmi8330_pnp_detect()
/sound/isa/wavefront/
Dwavefront.c221 static struct snd_hwdep *snd_wavefront_new_synth(struct snd_card *card, in snd_wavefront_new_synth()
246 static struct snd_hwdep *snd_wavefront_new_fx(struct snd_card *card, in snd_wavefront_new_fx()
272 static struct snd_rawmidi *snd_wavefront_new_midi(struct snd_card *card, in snd_wavefront_new_midi()
313 snd_wavefront_free(struct snd_card *card) in snd_wavefront_free()
325 struct snd_card **cardp) in snd_wavefront_card_new()
327 struct snd_card *card; in snd_wavefront_card_new()
350 snd_wavefront_probe (struct snd_card *card, int dev) in snd_wavefront_probe()
552 struct snd_card *card; in snd_wavefront_isa_probe()
592 struct snd_card *card; in snd_wavefront_pnp_detect()
/sound/pci/hda/
Dhda_tegra.c140 struct snd_card *card = dev_get_drvdata(dev); in hda_tegra_suspend()
153 struct snd_card *card = dev_get_drvdata(dev); in hda_tegra_resume()
166 struct snd_card *card = dev_get_drvdata(dev); in hda_tegra_runtime_suspend()
183 struct snd_card *card = dev_get_drvdata(dev); in hda_tegra_runtime_resume()
281 struct snd_card *card = chip->card; in hda_tegra_first_init()
368 static int hda_tegra_create(struct snd_card *card, in hda_tegra_create()
421 struct snd_card *card; in hda_tegra_probe()
508 struct snd_card *card = dev_get_drvdata(&pdev->dev); in hda_tegra_shutdown()
/sound/pci/asihpi/
Dhpios.h136 struct snd_card;
141 struct snd_card *snd_card; member
/sound/isa/cs423x/
Dcs4236.c346 static void snd_card_cs4236_free(struct snd_card *card) in snd_card_cs4236_free()
354 struct snd_card **cardp) in snd_cs423x_card_new()
356 struct snd_card *card; in snd_cs423x_card_new()
368 static int snd_cs423x_probe(struct snd_card *card, int dev) in snd_cs423x_probe()
475 struct snd_card *card; in snd_cs423x_isa_probe()
498 static int snd_cs423x_suspend(struct snd_card *card) in snd_cs423x_suspend()
506 static int snd_cs423x_resume(struct snd_card *card) in snd_cs423x_resume()
546 struct snd_card *card; in snd_cs423x_pnpbios_detect()
617 struct snd_card *card; in snd_cs423x_pnpc_detect()
/sound/soc/
Dsoc-core.c451 snd_power_wait(card->snd_card, SNDRV_CTL_POWER_D0); in snd_soc_suspend()
454 snd_power_change_state(card->snd_card, SNDRV_CTL_POWER_D3hot); in snd_soc_suspend()
593 snd_power_change_state(card->snd_card, SNDRV_CTL_POWER_D2); in soc_resume_deferred()
662 snd_power_change_state(card->snd_card, SNDRV_CTL_POWER_D0); in soc_resume_deferred()
1348 snd_card_disconnect_sync(component->card->snd_card); in snd_soc_disconnect_sync()
1766 size_t longname_buf_size = sizeof(card->snd_card->longname); in snd_soc_set_dmi_name()
1779 snprintf(card->dmi_longname, sizeof(card->snd_card->longname), in snd_soc_set_dmi_name()
1926 if (card->snd_card) { in soc_cleanup_card_resources()
1927 snd_card_free(card->snd_card); in soc_cleanup_card_resources()
1928 card->snd_card = NULL; in soc_cleanup_card_resources()
[all …]
/sound/isa/sb/
Dsb16.c296 static void snd_sb16_free(struct snd_card *card) in snd_sb16_free()
312 struct snd_card **cardp) in snd_sb16_card_new()
314 struct snd_card *card; in snd_sb16_card_new()
326 static int snd_sb16_probe(struct snd_card *card, int dev) in snd_sb16_probe()
453 static int snd_sb16_suspend(struct snd_card *card, pm_message_t state) in snd_sb16_suspend()
463 static int snd_sb16_resume(struct snd_card *card) in snd_sb16_resume()
478 struct snd_card *card; in snd_sb16_isa_probe1()
594 struct snd_card *card; in snd_sb16_pnp_detect()
Dsb8.c58 static void snd_sb8_free(struct snd_card *card) in snd_sb8_free()
85 struct snd_card *card; in snd_sb8_probe()
205 struct snd_card *card = dev_get_drvdata(dev); in snd_sb8_suspend()
216 struct snd_card *card = dev_get_drvdata(dev); in snd_sb8_resume()
/sound/isa/msnd/
Dmsnd.h218 struct snd_card *card;
287 int snd_msnd_pcm(struct snd_card *card, int device);
289 int snd_msndmidi_new(struct snd_card *card, int device);
293 int snd_msndmix_new(struct snd_card *card);
/sound/usb/
Dmidi.h43 int __snd_usbmidi_create(struct snd_card *card,
49 static inline int snd_usbmidi_create(struct snd_card *card, in snd_usbmidi_create()
/sound/pci/ctxfi/
Dxfi.c60 struct snd_card *card; in ct_card_probe()
129 struct snd_card *card = dev_get_drvdata(dev); in ct_card_suspend()
137 struct snd_card *card = dev_get_drvdata(dev); in ct_card_resume()
/sound/pci/vx222/
Dvx222.c124 static int snd_vx222_create(struct snd_card *card, struct pci_dev *pci, in snd_vx222_create()
181 struct snd_card *card; in snd_vx222_probe()
249 struct snd_card *card = dev_get_drvdata(dev); in snd_vx222_suspend()
257 struct snd_card *card = dev_get_drvdata(dev); in snd_vx222_resume()

12345678910>>...13