Home
last modified time | relevance | path

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

12345678910>>...13

/sound/core/
Dinit.c39 static struct snd_card *snd_cards[SNDRV_CARDS];
85 int (*snd_mixer_oss_notify_callback)(struct snd_card *card, int free_flag);
127 void snd_device_initialize(struct device *dev, struct snd_card *card) in snd_device_initialize()
137 static int snd_card_init(struct snd_card *card, struct device *parent,
140 static int snd_card_do_free(struct snd_card *card);
165 struct snd_card **card_ret) in snd_card_new()
167 struct snd_card *card; in snd_card_new()
219 struct snd_card **card_ret) in snd_devm_card_new()
221 struct snd_card *card; in snd_devm_card_new()
253 struct snd_card *card; in snd_card_free_on_error()
[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()
251 int snd_device_get_state(struct snd_card *card, void *device_data) in snd_device_get_state()
Dcontrol.c45 struct snd_card *card; in snd_ctl_open()
113 struct snd_card *card; in snd_ctl_release()
149 void snd_ctl_notify(struct snd_card *card, unsigned int mask, in snd_ctl_notify()
201 void snd_ctl_notify_one(struct snd_card *card, unsigned int mask, in snd_ctl_notify_one()
335 static bool snd_ctl_remove_numid_conflict(struct snd_card *card, in snd_ctl_remove_numid_conflict()
354 static int snd_ctl_find_hole(struct snd_card *card, unsigned int count) in snd_ctl_find_hole()
402 static void add_hash_entries(struct snd_card *card, in add_hash_entries()
425 static void remove_hash_entries(struct snd_card *card, in remove_hash_entries()
445 static inline void add_hash_entries(struct snd_card *card, in add_hash_entries()
449 static inline void remove_hash_entries(struct snd_card *card, in remove_hash_entries()
[all …]
Dpcm_memory.c34 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()
46 static void decrease_allocated_size(struct snd_card *card, size_t bytes) in decrease_allocated_size()
54 static int do_alloc_pages(struct snd_card *card, int type, struct device *dev, in do_alloc_pages()
83 static void do_free_pages(struct snd_card *card, struct snd_dma_buffer *dmab) in do_free_pages()
102 struct snd_card *card = substream->pcm->card; in preallocate_pcm_pages()
184 struct snd_card *card = substream->pcm->card; in snd_pcm_lib_preallocate_proc_write()
416 struct snd_card *card; in snd_pcm_lib_malloc_pages()
485 struct snd_card *card = substream->pcm->card; in snd_pcm_lib_free_pages()
Dcontrol_led.c48 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);
137 static void snd_ctl_led_set_state(struct snd_card *card, unsigned int access, in snd_ctl_led_set_state()
215 static void snd_ctl_led_notify(struct snd_card *card, unsigned int mask, in snd_ctl_led_notify()
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()
[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()
168 static int get_ctl_type(struct snd_card *card, struct snd_ctl_elem_id *id, in get_ctl_type()
216 static int copy_ctl_value_from_user(struct snd_card *card, in copy_ctl_value_from_user()
289 static int ctl_elem_read_user(struct snd_card *card, in ctl_elem_read_user()
317 struct snd_card *card = file->card; in ctl_elem_write_user()
338 static int snd_ctl_elem_read_user_compat(struct snd_card *card, in snd_ctl_elem_read_user_compat()
351 static int snd_ctl_elem_read_user_x32(struct snd_card *card, in snd_ctl_elem_read_user_x32()
/sound/arm/
Dpxa2xx-ac97.c117 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()
/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/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/usb/usx2y/
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()
416 static int usb_stream_hwdep_new(struct snd_card *card) in usb_stream_hwdep_new()
440 static bool us122l_create_card(struct snd_card *card) in us122l_create_card()
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()
[all …]
Dusbusx2y.c151 static void snd_usx2y_card_private_free(struct snd_card *card);
358 struct snd_card **cardp) in usx2y_create_card()
361 struct snd_card *card; in usx2y_create_card()
392 static void snd_usx2y_card_private_free(struct snd_card *card) in snd_usx2y_card_private_free()
407 struct snd_card *card; in snd_usx2y_disconnect()
433 struct snd_card *card; in snd_usx2y_probe()
/sound/isa/es1688/
Des1688.c78 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()
/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.c154 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()
/sound/pci/asihpi/
Dhpios.h136 struct snd_card;
141 struct snd_card *snd_card; member
/sound/pci/hda/
Dhda_tegra.c128 struct snd_card *card = dev_get_drvdata(dev); in hda_tegra_suspend()
141 struct snd_card *card = dev_get_drvdata(dev); in hda_tegra_resume()
154 struct snd_card *card = dev_get_drvdata(dev); in hda_tegra_runtime_suspend()
173 struct snd_card *card = dev_get_drvdata(dev); in hda_tegra_runtime_resume()
262 struct snd_card *card = chip->card; in hda_tegra_first_init()
391 static int hda_tegra_create(struct snd_card *card, in hda_tegra_create()
456 struct snd_card *card; in hda_tegra_probe()
564 struct snd_card *card = dev_get_drvdata(&pdev->dev); in hda_tegra_shutdown()
/sound/isa/wavefront/
Dwavefront.c220 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()
/sound/pci/vx222/
Dvx222.c103 static int snd_vx222_create(struct snd_card *card, struct pci_dev *pci, in snd_vx222_create()
150 struct snd_card *card; in snd_vx222_probe()
210 struct snd_card *card = dev_get_drvdata(dev); in snd_vx222_suspend()
218 struct snd_card *card = dev_get_drvdata(dev); in snd_vx222_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/drivers/mpu401/
Dmpu401.c53 struct snd_card **rcard) in snd_mpu401_create()
55 struct snd_card *card; in snd_mpu401_create()
90 struct snd_card *card; in snd_mpu401_probe()
161 struct snd_card *card; in snd_mpu401_pnp_probe()
/sound/usb/
Dmidi.h45 int __snd_usbmidi_create(struct snd_card *card,
51 static inline int snd_usbmidi_create(struct snd_card *card, in snd_usbmidi_create()
/sound/isa/cs423x/
Dcs4236.c312 struct snd_card **cardp) in snd_cs423x_card_new()
314 struct snd_card *card; in snd_cs423x_card_new()
325 static int snd_cs423x_probe(struct snd_card *card, int dev) in snd_cs423x_probe()
435 struct snd_card *card; in snd_cs423x_isa_probe()
449 static int snd_cs423x_suspend(struct snd_card *card) in snd_cs423x_suspend()
457 static int snd_cs423x_resume(struct snd_card *card) in snd_cs423x_resume()
496 struct snd_card *card; in snd_cs423x_pnpbios_detect()
561 struct snd_card *card; in snd_cs423x_pnpc_detect()
/sound/pci/ctxfi/
Dxfi.c59 struct snd_card *card; in ct_card_probe()
128 struct snd_card *card = dev_get_drvdata(dev); in ct_card_suspend()
136 struct snd_card *card = dev_get_drvdata(dev); in ct_card_resume()
/sound/drivers/
Dportman2x4.c69 struct snd_card *card;
83 static int portman_create(struct snd_card *card, in portman_create()
548 static int snd_portman_rawmidi_create(struct snd_card *card) in snd_portman_rawmidi_create()
602 struct portman *pm = ((struct snd_card*)userdata)->private_data; in snd_portman_interrupt()
687 static void snd_portman_card_private_free(struct snd_card *card) in snd_portman_card_private_free()
705 struct snd_card *card = NULL; in snd_portman_probe()
800 struct snd_card *card = platform_get_drvdata(pdev); in snd_portman_remove()

12345678910>>...13