Home
last modified time | relevance | path

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

12345678910>>...16

/OK3568_Linux_fs/kernel/include/sound/
H A Dcore.h71 struct snd_card *card; /* card which holds this device */
84 struct snd_card { struct
99 void (*private_free) (struct snd_card *card); /* callback for freeing of argument
145 #define dev_to_snd_card(p) container_of(p, struct snd_card, card_dev) argument
148 static inline unsigned int snd_power_get_state(struct snd_card *card) in snd_power_get_state()
153 static inline void snd_power_change_state(struct snd_card *card, unsigned int state) in snd_power_change_state()
160 int snd_power_wait(struct snd_card *card, unsigned int power_state);
164 static inline int snd_power_wait(struct snd_card *card, unsigned int state) { return 0; } in snd_power_wait()
177 struct snd_card *card_ptr; /* assigned card instance */
183 static inline struct device *snd_card_get_device_link(struct snd_card *card) in snd_card_get_device_link()
[all …]
H A Dinfo.h122 struct snd_info_entry *snd_info_create_card_entry(struct snd_card *card,
129 int snd_info_card_create(struct snd_card *card);
130 int snd_info_card_register(struct snd_card *card);
131 int snd_info_card_free(struct snd_card *card);
132 void snd_info_card_disconnect(struct snd_card *card);
133 void snd_info_card_id_change(struct snd_card *card);
137 static inline int snd_card_proc_new(struct snd_card *card, const char *name, in snd_card_proc_new()
152 int snd_card_rw_proc_new(struct snd_card *card, const char *name,
173 static inline struct snd_info_entry *snd_info_create_card_entry(struct snd_card *card, const char *… in snd_info_create_card_entry()
176 static inline int snd_info_card_create(struct snd_card *card) { return 0; } in snd_info_card_create()
[all …]
H A Dcontrol.h101 struct snd_card *card;
113 typedef int (*snd_kctl_ioctl_func_t) (struct snd_card * card,
117 void snd_ctl_notify(struct snd_card * card, unsigned int mask, struct snd_ctl_elem_id * id);
121 int snd_ctl_add(struct snd_card * card, struct snd_kcontrol * kcontrol);
122 int snd_ctl_remove(struct snd_card * card, struct snd_kcontrol * kcontrol);
123 int snd_ctl_replace(struct snd_card *card, struct snd_kcontrol *kcontrol, bool add_on_replace);
124 int snd_ctl_remove_id(struct snd_card * card, struct snd_ctl_elem_id *id);
125 int snd_ctl_rename_id(struct snd_card * card, struct snd_ctl_elem_id *src_id, struct snd_ctl_elem_i…
126 int snd_ctl_activate_id(struct snd_card *card, struct snd_ctl_elem_id *id,
128 struct snd_kcontrol *snd_ctl_find_numid(struct snd_card * card, unsigned int numid);
[all …]
H A Dmixer_oss.h38 struct snd_card *card;
57 struct snd_card *card;
61 int snd_mixer_oss_ioctl_card(struct snd_card *card,
H A Drawmidi.h108 struct snd_card *card;
140 int snd_rawmidi_new(struct snd_card *card, char *id, int device,
164 int snd_rawmidi_info_select(struct snd_card *card, struct snd_rawmidi_info *info);
165 int snd_rawmidi_kernel_open(struct snd_card *card, int device, int subdevice,
H A Djack.h62 struct snd_card *card;
79 int snd_jack_new(struct snd_card *card, const char *id, int type,
90 static inline int snd_jack_new(struct snd_card *card, const char *id, int type, in snd_jack_new()
H A Des1688.h95 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);
/OK3568_Linux_fs/kernel/sound/core/
H A Dinit.c38 static struct snd_card *snd_cards[SNDRV_CARDS];
84 int (*snd_mixer_oss_notify_callback)(struct snd_card *card, int free_flag);
126 void snd_device_initialize(struct device *dev, struct snd_card *card) in snd_device_initialize()
136 static int snd_card_do_free(struct snd_card *card);
163 struct snd_card **card_ret) in snd_card_new()
165 struct snd_card *card; in snd_card_new()
178 card->private_data = (char *)card + sizeof(struct snd_card); in snd_card_new()
268 struct snd_card *snd_card_ref(int idx) in snd_card_ref()
270 struct snd_card *card; in snd_card_ref()
380 int snd_card_disconnect(struct snd_card *card) in snd_card_disconnect()
[all …]
H A 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()
H A Dcontrol.c39 struct snd_card *card; in snd_ctl_open()
107 struct snd_card *card; in snd_ctl_release()
142 void snd_ctl_notify(struct snd_card *card, unsigned int mask, in snd_ctl_notify()
301 static bool snd_ctl_remove_numid_conflict(struct snd_card *card, in snd_ctl_remove_numid_conflict()
320 static int snd_ctl_find_hole(struct snd_card *card, unsigned int count) in snd_ctl_find_hole()
339 static int __snd_ctl_add_replace(struct snd_card *card, in __snd_ctl_add_replace()
387 static int snd_ctl_add_replace(struct snd_card *card, in snd_ctl_add_replace()
424 int snd_ctl_add(struct snd_card *card, struct snd_kcontrol *kcontrol) in snd_ctl_add()
444 int snd_ctl_replace(struct snd_card *card, struct snd_kcontrol *kcontrol, in snd_ctl_replace()
463 int snd_ctl_remove(struct snd_card *card, struct snd_kcontrol *kcontrol) in snd_ctl_remove()
[all …]
H A 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()
/OK3568_Linux_fs/kernel/sound/pci/cs5535audio/
H A 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()
/OK3568_Linux_fs/kernel/sound/arm/
H A 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()
185 static int pxa2xx_ac97_pcm_new(struct snd_card *card) in pxa2xx_ac97_pcm_new()
221 struct snd_card *card; in pxa2xx_ac97_probe()
280 struct snd_card *card = platform_get_drvdata(dev); in pxa2xx_ac97_remove()
/OK3568_Linux_fs/kernel/drivers/media/pci/solo6x10/
H A Dsolo6x10-g723.c318 struct snd_card *card = solo_dev->snd_card; in solo_snd_pcm_init()
354 struct snd_card *card; in solo_g723_init()
366 &solo_dev->snd_card); in solo_g723_init()
370 card = solo_dev->snd_card; in solo_g723_init()
411 if (!solo_dev->snd_card) in solo_g723_exit()
417 snd_card_free(solo_dev->snd_card); in solo_g723_exit()
418 solo_dev->snd_card = NULL; in solo_g723_exit()
/OK3568_Linux_fs/kernel/sound/usb/usx2y/
H A 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()
H A 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()
410 static int usb_stream_hwdep_new(struct snd_card *card) in usb_stream_hwdep_new()
435 static bool us122l_create_card(struct snd_card *card) in us122l_create_card()
483 static void snd_us122l_free(struct snd_card *card) in snd_us122l_free()
493 struct snd_card **cardp, in usx2y_create_card()
497 struct snd_card *card; in usx2y_create_card()
532 struct snd_card **cardp) in us122l_usb_probe()
535 struct snd_card *card; in us122l_usb_probe()
563 struct snd_card *card; in snd_us122l_probe()
[all …]
/OK3568_Linux_fs/kernel/sound/drivers/mpu401/
H A 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()
/OK3568_Linux_fs/kernel/sound/synth/emux/
H A 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()
/OK3568_Linux_fs/kernel/drivers/media/pci/cobalt/
H A Dcobalt-alsa-main.c35 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()
/OK3568_Linux_fs/kernel/sound/isa/es1688/
H A 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()
290 struct snd_card *card = pnp_get_card_drvdata(pcard); in snd_es968_pnp_suspend()
298 struct snd_card *card = pnp_get_card_drvdata(pcard); in snd_es968_pnp_resume()
/OK3568_Linux_fs/kernel/drivers/media/pci/tw686x/
H A Dtw686x-audio.c268 struct snd_card *card = dev->snd_card; in tw686x_snd_pcm_init()
355 if (!dev->snd_card) in tw686x_audio_free()
357 snd_card_free(dev->snd_card); in tw686x_audio_free()
358 dev->snd_card = NULL; in tw686x_audio_free()
364 struct snd_card *card; in tw686x_audio_init()
376 dev->snd_card = card; in tw686x_audio_init()
410 dev->snd_card = NULL; in tw686x_audio_init()
/OK3568_Linux_fs/kernel/sound/isa/
H A 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()
467 static int snd_cmi8330_suspend(struct snd_card *card) in snd_cmi8330_suspend()
477 static int snd_cmi8330_resume(struct snd_card *card) in snd_cmi8330_resume()
502 struct snd_card **cardp) in snd_cmi8330_card_new()
504 struct snd_card *card; in snd_cmi8330_card_new()
520 static int snd_cmi8330_probe(struct snd_card *card, int dev) in snd_cmi8330_probe()
620 struct snd_card *card; in snd_cmi8330_isa_probe()
675 struct snd_card *card; in snd_cmi8330_pnp_detect()
/OK3568_Linux_fs/kernel/sound/isa/wavefront/
H A 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()
553 struct snd_card *card; in snd_wavefront_isa_probe()
593 struct snd_card *card; in snd_wavefront_pnp_detect()
/OK3568_Linux_fs/kernel/sound/pci/hda/
H A Dhda_tegra.c122 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()
258 struct snd_card *card = chip->card; in hda_tegra_first_init()
387 static int hda_tegra_create(struct snd_card *card, in hda_tegra_create()
444 struct snd_card *card; in hda_tegra_probe()
541 struct snd_card *card = dev_get_drvdata(&pdev->dev); in hda_tegra_shutdown()
/OK3568_Linux_fs/kernel/drivers/media/pci/cx18/
H A Dcx18-alsa-main.c74 static void snd_cx18_card_private_free(struct snd_card *sc) in snd_cx18_card_private_free()
84 struct snd_card *sc, in snd_cx18_card_create()
103 struct snd_card *sc = cxsc->sc; in snd_cx18_card_set_names()
123 struct snd_card *sc = NULL; in snd_cx18_init()

12345678910>>...16