Home
last modified time | relevance | path

Searched refs:snd_card (Results 1 – 200 of 376) sorted by relevance

12

/linux-4.4.14/include/sound/
Dcore.h83 struct snd_card *card; /* card which holds this device */
94 struct snd_card { struct
108 void (*private_free) (struct snd_card *card); /* callback for freeing of argument
150 #define dev_to_snd_card(p) container_of(p, struct snd_card, card_dev) argument
153 static inline void snd_power_lock(struct snd_card *card) in snd_power_lock()
158 static inline void snd_power_unlock(struct snd_card *card) in snd_power_unlock()
163 static inline unsigned int snd_power_get_state(struct snd_card *card) in snd_power_get_state()
168 static inline void snd_power_change_state(struct snd_card *card, unsigned int state) in snd_power_change_state()
175 int snd_power_wait(struct snd_card *card, unsigned int power_state);
181 static inline int snd_power_wait(struct snd_card *card, unsigned int state) { return 0; } in snd_power_wait()
[all …]
Dcontrol.h104 struct snd_card *card;
116 typedef int (*snd_kctl_ioctl_func_t) (struct snd_card * card,
120 void snd_ctl_notify(struct snd_card * card, unsigned int mask, struct snd_ctl_elem_id * id);
124 int snd_ctl_add(struct snd_card * card, struct snd_kcontrol * kcontrol);
125 int snd_ctl_remove(struct snd_card * card, struct snd_kcontrol * kcontrol);
126 int snd_ctl_replace(struct snd_card *card, struct snd_kcontrol *kcontrol, bool add_on_replace);
127 int snd_ctl_remove_id(struct snd_card * card, struct snd_ctl_elem_id *id);
128 int snd_ctl_rename_id(struct snd_card * card, struct snd_ctl_elem_id *src_id, struct snd_ctl_elem_i…
129 int snd_ctl_activate_id(struct snd_card *card, struct snd_ctl_elem_id *id,
131 struct snd_kcontrol *snd_ctl_find_numid(struct snd_card * card, unsigned int numid);
[all …]
Dinfo.h85 struct snd_card *card;
133 struct snd_info_entry *snd_info_create_card_entry(struct snd_card *card,
140 int snd_info_card_create(struct snd_card *card);
141 int snd_info_card_register(struct snd_card *card);
142 int snd_info_card_free(struct snd_card *card);
143 void snd_info_card_disconnect(struct snd_card *card);
144 void snd_info_card_id_change(struct snd_card *card);
148 static inline int snd_card_proc_new(struct snd_card *card, const char *name, in snd_card_proc_new()
177 static inline struct snd_info_entry *snd_info_create_card_entry(struct snd_card *card, const char *… in snd_info_create_card_entry()
180 static inline int snd_info_card_create(struct snd_card *card) { return 0; } in snd_info_card_create()
[all …]
Dmixer_oss.h53 struct snd_card *card;
72 struct snd_card *card;
76 int snd_mixer_oss_ioctl_card(struct snd_card *card,
Djack.h77 struct snd_card *card;
89 int snd_jack_new(struct snd_card *card, const char *id, int type,
99 static inline int snd_jack_new(struct snd_card *card, const char *id, int type, in snd_jack_new()
Des1688.h110 int snd_es1688_create(struct snd_card *card,
118 int snd_es1688_pcm(struct snd_card *card, struct snd_es1688 *chip, int device);
119 int snd_es1688_mixer(struct snd_card *card, struct snd_es1688 *chip);
Drawmidi.h122 struct snd_card *card;
154 int snd_rawmidi_new(struct snd_card *card, char *id, int device,
177 int snd_rawmidi_info_select(struct snd_card *card, struct snd_rawmidi_info *info);
178 int snd_rawmidi_kernel_open(struct snd_card *card, int device, int subdevice,
Dseq_virmidi.h55 struct snd_card *card; /* associated card */
79 int snd_virmidi_new(struct snd_card *card, int device, struct snd_rawmidi **rrmidi);
Dseq_device.h30 struct snd_card *card; /* sound card */
76 int snd_seq_device_new(struct snd_card *card, int device, const char *id,
Dhwdep.h55 struct snd_card *card;
79 extern int snd_hwdep_new(struct snd_card *card, char *id, int device,
Dopl3.h320 struct snd_card *card; /* The card that this belongs to */
357 int snd_opl3_new(struct snd_card *card, unsigned short hardware,
360 int snd_opl3_create(struct snd_card *card,
Demu8000.h80 struct snd_card *card; /* The card that this belongs to */
101 int snd_emu8000_new(struct snd_card *card, int device, long port, int seq_ports,
Di2c.h55 struct snd_card *card; /* card which I2C belongs to */
78 int snd_i2c_bus_create(struct snd_card *card, const char *name,
Dcompress_driver.h151 struct snd_card *card;
160 int snd_compress_new(struct snd_card *card, int device,
Dad1816a.h141 struct snd_card *card;
169 extern int snd_ad1816a_create(struct snd_card *card, unsigned long port,
Dwss.h96 struct snd_card *card;
150 int snd_wss_create(struct snd_card *card,
163 int snd_cs4236_create(struct snd_card *card,
Dtimer.h74 struct snd_card *card;
127 int snd_timer_new(struct snd_card *card, char *id, struct snd_timer_id *tid, struct snd_timer **rti…
Demux_synth.h94 struct snd_card *card; /* assigned card */
234 int snd_emux_register(struct snd_emux *emu, struct snd_card *card, int index, char *name);
Dak4117.h159 struct snd_card *card;
180 int snd_ak4117_create(struct snd_card *card, ak4117_read_t *read, ak4117_write_t *write,
Dopl4.h27 extern int snd_opl4_create(struct snd_card *card,
Dtea6330t.h28 int snd_tea6330t_update_mixer(struct snd_card *card, struct snd_i2c_bus *bus,
Dpt2258.h26 struct snd_card *card;
Dak4114.h167 struct snd_card *card;
191 int snd_ak4114_create(struct snd_card *card,
Dak4113.h285 struct snd_card *card;
309 int snd_ak4113_create(struct snd_card *card, ak4113_read_t *read,
Dak4531_codec.h77 int snd_ak4531_mixer(struct snd_card *card, struct snd_ak4531 *_ak4531,
Dsb.h97 struct snd_card *card;
294 int snd_sbdsp_create(struct snd_card *card,
Dseq_kernel.h72 int snd_seq_create_kernel_client(struct snd_card *card, int client_index,
Dak4xxx-adda.h59 struct snd_card *card;
Dmpu401.h130 int snd_mpu401_uart_new(struct snd_card *card,
Dsnd_wavefront.h97 struct snd_card *card;
Dac97_codec.h454 struct snd_card *card;
562 int snd_ac97_bus(struct snd_card *card, int num, struct snd_ac97_bus_ops *ops,
Dvx_core.h155 struct snd_card *card;
209 struct vx_core *snd_vx_create(struct snd_card *card, struct snd_vx_hardware *hw,
/linux-4.4.14/sound/soc/sh/rcar/
Drsrc-card.c60 struct snd_soc_card snd_card; member
68 #define rsrc_priv_to_dev(priv) ((priv)->snd_card.dev)
69 #define rsrc_priv_to_link(priv, i) ((priv)->snd_card.dai_link + (i))
250 snd_soc_of_parse_audio_prefix(&priv->snd_card, in rsrc_card_parse_links()
366 priv->snd_card.owner = THIS_MODULE; in rsrc_card_parse_of()
367 priv->snd_card.dev = dev; in rsrc_card_parse_of()
368 priv->snd_card.dai_link = priv->dai_link; in rsrc_card_parse_of()
369 priv->snd_card.num_links = num; in rsrc_card_parse_of()
370 priv->snd_card.codec_conf = &priv->codec_conf; in rsrc_card_parse_of()
371 priv->snd_card.num_configs = 1; in rsrc_card_parse_of()
[all …]
/linux-4.4.14/sound/core/
Dinit.c52 struct snd_card *snd_cards[SNDRV_CARDS];
99 int (*snd_mixer_oss_notify_callback)(struct snd_card *card, int free_flag);
110 static int init_info_for_card(struct snd_card *card) in init_info_for_card()
166 void snd_device_initialize(struct device *dev, struct snd_card *card) in snd_device_initialize()
176 static int snd_card_do_free(struct snd_card *card);
203 struct snd_card **card_ret) in snd_card_new()
205 struct snd_card *card; in snd_card_new()
218 card->private_data = (char *)card + sizeof(struct snd_card); in snd_card_new()
393 int snd_card_disconnect(struct snd_card *card) in snd_card_disconnect()
455 static int snd_card_do_free(struct snd_card *card) in snd_card_do_free()
[all …]
Ddevice.c44 int snd_device_new(struct snd_card *card, enum snd_device_type type, in snd_device_new()
97 static struct snd_device *look_for_dev(struct snd_card *card, void *device_data) in look_for_dev()
121 void snd_device_disconnect(struct snd_card *card, void *device_data) in snd_device_disconnect()
145 void snd_device_free(struct snd_card *card, void *device_data) in snd_device_free()
186 int snd_device_register(struct snd_card *card, void *device_data) in snd_device_register()
204 int snd_device_register_all(struct snd_card *card) in snd_device_register_all()
223 void snd_device_disconnect_all(struct snd_card *card) in snd_device_disconnect_all()
237 void snd_device_free_all(struct snd_card *card) in snd_device_free_all()
Dcontrol.c51 struct snd_card *card; in snd_ctl_open()
119 struct snd_card *card; in snd_ctl_release()
154 void snd_ctl_notify(struct snd_card *card, unsigned int mask, in snd_ctl_notify()
314 static bool snd_ctl_remove_numid_conflict(struct snd_card *card, in snd_ctl_remove_numid_conflict()
333 static int snd_ctl_find_hole(struct snd_card *card, unsigned int count) in snd_ctl_find_hole()
361 int snd_ctl_add(struct snd_card *card, struct snd_kcontrol *kcontrol) in snd_ctl_add()
424 int snd_ctl_replace(struct snd_card *card, struct snd_kcontrol *kcontrol, in snd_ctl_replace()
488 int snd_ctl_remove(struct snd_card *card, struct snd_kcontrol *kcontrol) in snd_ctl_remove()
515 int snd_ctl_remove_id(struct snd_card *card, struct snd_ctl_elem_id *id) in snd_ctl_remove_id()
545 struct snd_card *card = file->card; in snd_ctl_remove_user_ctl()
[all …]
Dctljack.c34 static int get_available_index(struct snd_card *card, const char *name) in get_available_index()
67 snd_kctl_jack_new(const char *name, struct snd_card *card) in snd_kctl_jack_new()
81 void snd_kctl_jack_report(struct snd_card *card, in snd_kctl_jack_report()
Dcontrol_compat.c35 static int snd_ctl_elem_list_compat(struct snd_card *card, in snd_ctl_elem_list_compat()
188 static int get_ctl_type(struct snd_card *card, struct snd_ctl_elem_id *id, in get_ctl_type()
233 static int copy_ctl_value_from_user(struct snd_card *card, in copy_ctl_value_from_user()
303 static int ctl_elem_read_user(struct snd_card *card, in ctl_elem_read_user()
335 struct snd_card *card = file->card; in ctl_elem_write_user()
360 static int snd_ctl_elem_read_user_compat(struct snd_card *card, in snd_ctl_elem_read_user_compat()
373 static int snd_ctl_elem_read_user_x32(struct snd_card *card, in snd_ctl_elem_read_user_x32()
Djack.c64 struct snd_card *card = device->card; in snd_jack_dev_free()
85 struct snd_card *card = device->card; in snd_jack_dev_register()
136 static struct snd_jack_kctl * snd_jack_kctl_new(struct snd_card *card, const char *name, unsigned i… in snd_jack_kctl_new()
206 int snd_jack_new(struct snd_card *card, const char *id, int type, in snd_jack_new()
Dsound_oss.c61 static int snd_oss_kernel_minor(int type, struct snd_card *card, int dev) in snd_oss_kernel_minor()
101 int snd_register_oss_device(int type, struct snd_card *card, int dev, in snd_register_oss_device()
165 int snd_unregister_oss_device(int type, struct snd_card *card, int dev) in snd_unregister_oss_device()
Dsound.c189 static int snd_find_free_minor(int type, struct snd_card *card, int dev) in snd_find_free_minor()
212 static int snd_find_free_minor(int type, struct snd_card *card, int dev) in snd_find_free_minor()
260 int snd_register_device(int type, struct snd_card *card, int dev, in snd_register_device()
Dinfo.c503 int snd_info_card_create(struct snd_card *card) in snd_info_card_create()
545 int snd_info_card_register(struct snd_card *card) in snd_info_card_register()
572 void snd_info_card_id_change(struct snd_card *card) in snd_info_card_id_change()
590 void snd_info_card_disconnect(struct snd_card *card) in snd_info_card_disconnect()
606 int snd_info_card_free(struct snd_card *card) in snd_info_card_free()
757 struct snd_info_entry *snd_info_create_card_entry(struct snd_card *card, in snd_info_create_card_entry()
Dhwdep.c46 static struct snd_hwdep *snd_hwdep_search(struct snd_card *card, int device) in snd_hwdep_search()
270 static int snd_hwdep_control_ioctl(struct snd_card *card, in snd_hwdep_control_ioctl()
365 int snd_hwdep_new(struct snd_card *card, char *id, int device, in snd_hwdep_new()
424 struct snd_card *card = hwdep->card; in snd_hwdep_dev_register()
Dpcm.c47 static struct snd_pcm *snd_pcm_get(struct snd_card *card, int device) in snd_pcm_get()
58 static int snd_pcm_next(struct snd_card *card, int device) in snd_pcm_next()
92 static int snd_pcm_control_ioctl(struct snd_card *card, in snd_pcm_control_ioctl()
573 struct snd_card *card; in snd_pcm_substream_proc_init()
755 static int _snd_pcm_new(struct snd_card *card, const char *id, int device, in _snd_pcm_new()
815 int snd_pcm_new(struct snd_card *card, const char *id, int device, in snd_pcm_new()
843 int snd_pcm_new_internal(struct snd_card *card, const char *id, int device, in snd_pcm_new_internal()
910 struct snd_card *card; in snd_pcm_attach_substream()
/linux-4.4.14/sound/soc/generic/
Dsimple-card.c25 struct snd_soc_card snd_card; member
39 #define simple_priv_to_dev(priv) ((priv)->snd_card.dev)
40 #define simple_priv_to_link(priv, i) ((priv)->snd_card.dai_link + i)
451 snd_soc_of_parse_card_name(&priv->snd_card, "simple-audio-card,name"); in asoc_simple_card_parse_of()
455 ret = snd_soc_of_parse_audio_simple_widgets(&priv->snd_card, in asoc_simple_card_parse_of()
463 ret = snd_soc_of_parse_audio_routing(&priv->snd_card, in asoc_simple_card_parse_of()
474 dev_dbg(dev, "New simple-card: %s\n", priv->snd_card.name ? in asoc_simple_card_parse_of()
475 priv->snd_card.name : ""); in asoc_simple_card_parse_of()
511 if (!priv->snd_card.name) in asoc_simple_card_parse_of()
512 priv->snd_card.name = priv->snd_card.dai_link->name; in asoc_simple_card_parse_of()
[all …]
/linux-4.4.14/drivers/media/usb/stk1160/
Dstk1160-ac97.c92 struct snd_card *card = NULL; in stk1160_ac97_register()
125 dev->snd_card = card; in stk1160_ac97_register()
133 dev->snd_card = NULL; in stk1160_ac97_register()
140 struct snd_card *card = dev->snd_card; in stk1160_ac97_unregister()
Dstk1160.h166 struct snd_card *snd_card; member
/linux-4.4.14/sound/pci/cs5535audio/
Dcs5535audio.h85 struct snd_card *card;
100 void olpc_prequirks(struct snd_card *card,
102 int olpc_quirks(struct snd_card *card, struct snd_ac97 *ac97);
123 static inline void olpc_prequirks(struct snd_card *card, in olpc_prequirks()
125 static inline int olpc_quirks(struct snd_card *card, struct snd_ac97 *ac97) in olpc_quirks()
Dcs5535audio_pm.c60 struct snd_card *card = dev_get_drvdata(dev); in snd_cs5535audio_suspend()
79 struct snd_card *card = dev_get_drvdata(dev); in snd_cs5535audio_resume()
Dcs5535audio_olpc.c137 void olpc_prequirks(struct snd_card *card, in olpc_prequirks()
148 int olpc_quirks(struct snd_card *card, struct snd_ac97 *ac97) in olpc_quirks()
Dcs5535audio.c151 struct snd_card *card = cs5535au->card; in snd_cs5535audio_mixer()
277 static int snd_cs5535audio_create(struct snd_card *card, in snd_cs5535audio_create()
347 struct snd_card *card; in snd_cs5535audio_probe()
/linux-4.4.14/sound/arm/
Dpxa2xx-ac97.c122 static int pxa2xx_ac97_do_suspend(struct snd_card *card) in pxa2xx_ac97_do_suspend()
135 static int pxa2xx_ac97_do_resume(struct snd_card *card) in pxa2xx_ac97_do_resume()
154 struct snd_card *card = dev_get_drvdata(dev); in pxa2xx_ac97_suspend()
165 struct snd_card *card = dev_get_drvdata(dev); in pxa2xx_ac97_resume()
179 struct snd_card *card; in pxa2xx_ac97_probe()
238 struct snd_card *card = platform_get_drvdata(dev); in pxa2xx_ac97_remove()
Dpxa2xx-pcm.h26 extern int pxa2xx_pcm_new(struct snd_card *, struct pxa2xx_pcm_client *, struct snd_pcm **);
Daaci.c756 static int aaci_do_suspend(struct snd_card *card) in aaci_do_suspend()
764 static int aaci_do_resume(struct snd_card *card) in aaci_do_resume()
772 struct snd_card *card = dev_get_drvdata(dev); in aaci_suspend()
778 struct snd_card *card = dev_get_drvdata(dev); in aaci_resume()
889 static void aaci_free_card(struct snd_card *card) in aaci_free_card()
899 struct snd_card *card; in aaci_init_card()
1075 struct snd_card *card = amba_get_drvdata(dev); in aaci_remove()
Dpxa2xx-pcm.c83 int pxa2xx_pcm_new(struct snd_card *card, struct pxa2xx_pcm_client *client, in pxa2xx_pcm_new()
Daaci.h227 struct snd_card *card;
/linux-4.4.14/drivers/media/pci/cobalt/
Dcobalt-alsa-main.c47 static void snd_cobalt_card_private_free(struct snd_card *sc) in snd_cobalt_card_private_free()
57 struct snd_card *sc, in snd_cobalt_card_create()
77 struct snd_card *sc = cobsc->sc; in snd_cobalt_card_set_names()
97 struct snd_card *sc = NULL; in cobalt_alsa_init()
Dcobalt-alsa.h21 struct snd_card;
25 struct snd_card *sc;
/linux-4.4.14/sound/synth/emux/
Demux_voice.h31 int snd_emux_init_seq(struct snd_emux *emu, struct snd_card *card, int index);
41 int snd_emux_init_virmidi(struct snd_emux *emu, struct snd_card *card);
86 void snd_emux_proc_init(struct snd_emux *emu, struct snd_card *card, int device);
90 struct snd_card *card, int device) {} in snd_emux_proc_init()
Demux_seq.c68 snd_emux_init_seq(struct snd_emux *emu, struct snd_card *card, int index) in snd_emux_init_seq()
365 int snd_emux_init_virmidi(struct snd_emux *emu, struct snd_card *card) in snd_emux_init_virmidi()
/linux-4.4.14/sound/drivers/mpu401/
Dmpu401.c68 struct snd_card **rcard) in snd_mpu401_create()
70 struct snd_card *card; in snd_mpu401_create()
109 struct snd_card *card; in snd_mpu401_probe()
188 struct snd_card *card; in snd_mpu401_pnp_probe()
214 struct snd_card *card = (struct snd_card *) pnp_get_drvdata(dev); in snd_mpu401_pnp_remove()
/linux-4.4.14/drivers/media/pci/solo6x10/
Dsolo6x10-g723.c316 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()
Dsolo6x10.h250 struct snd_card *snd_card; member
/linux-4.4.14/sound/usb/usx2y/
Dusbusx2y.c170 static void snd_usX2Y_card_private_free(struct snd_card *card);
337 struct snd_card **cardp) in usX2Y_create_card()
340 struct snd_card * card; in usX2Y_create_card()
375 struct snd_card **cardp) in usX2Y_usb_probe()
378 struct snd_card * card; in usX2Y_usb_probe()
404 struct snd_card *card; in snd_usX2Y_probe()
428 static void snd_usX2Y_card_private_free(struct snd_card *card) in snd_usX2Y_card_private_free()
444 struct snd_card *card = ptr; in usX2Y_usb_disconnect()
Dus122l.c52 static int us122l_create_usbmidi(struct snd_card *card) in us122l_create_usbmidi()
74 static int us144_create_usbmidi(struct snd_card *card) in us144_create_usbmidi()
457 static int usb_stream_hwdep_new(struct snd_card *card) in usb_stream_hwdep_new()
482 static bool us122l_create_card(struct snd_card *card) in us122l_create_card()
530 static void snd_us122l_free(struct snd_card *card) in snd_us122l_free()
540 struct snd_card **cardp) in usx2y_create_card()
543 struct snd_card *card; in usx2y_create_card()
577 struct snd_card **cardp) in us122l_usb_probe()
580 struct snd_card *card; in us122l_usb_probe()
608 struct snd_card *card; in snd_us122l_probe()
[all …]
DusX2Yhwdep.c140 static int usX2Y_create_usbmidi(struct snd_card *card) in usX2Y_create_usbmidi()
178 static int usX2Y_create_alsa_devices(struct snd_card *card) in usX2Y_create_alsa_devices()
247 int usX2Y_hwdep_new(struct snd_card *card, struct usb_device* device) in usX2Y_hwdep_new()
DusX2Yhwdep.h4 int usX2Y_hwdep_new(struct snd_card *card, struct usb_device* device);
Dusx2yhwdeppcm.h22 int usX2Y_hwdep_pcm_new(struct snd_card *card);
Dusbusx2y.h81 int usX2Y_audio_create(struct snd_card *card);
Dusx2yhwdeppcm.c603 static int usX2Y_pcms_busy_check(struct snd_card *card) in usX2Y_pcms_busy_check()
619 struct snd_card *card = hw->card; in snd_usX2Y_hwdep_pcm_open()
633 struct snd_card *card = hw->card; in snd_usX2Y_hwdep_pcm_release()
708 int usX2Y_hwdep_pcm_new(struct snd_card *card) in usX2Y_hwdep_pcm_new()
757 int usX2Y_hwdep_pcm_new(struct snd_card *card) in usX2Y_hwdep_pcm_new()
/linux-4.4.14/sound/isa/es1688/
Des1688.c98 static int snd_es1688_legacy_create(struct snd_card *card, in snd_es1688_legacy_create()
137 static int snd_es1688_probe(struct snd_card *card, unsigned int n) in snd_es1688_probe()
186 struct snd_card *card; in snd_es1688_isa_probe()
232 static int snd_card_es968_pnp(struct snd_card *card, unsigned int n, in snd_card_es968_pnp()
260 struct snd_card *card; in snd_es968_pnp_detect()
305 struct snd_card *card = pnp_get_card_drvdata(pcard); in snd_es968_pnp_suspend()
315 struct snd_card *card = pnp_get_card_drvdata(pcard); in snd_es968_pnp_resume()
/linux-4.4.14/sound/aoa/core/
Dalsa.c19 struct snd_card *alsa_card; in aoa_alsa_init()
46 struct snd_card *aoa_get_card(void) in aoa_get_card()
65 struct snd_card *card = aoa_get_card(); in aoa_snd_device_new()
/linux-4.4.14/sound/pci/asihpi/
Dhpios.h147 struct snd_card;
152 struct snd_card *snd_card; member
Dasihpi.c123 struct snd_card *card;
951 WARN_ON(!a || !a->snd_card || !a->snd_card->private_data); in snd_card_asihpi_int_task()
952 asihpi = (struct snd_card_asihpi *)a->snd_card->private_data; in snd_card_asihpi_int_task()
962 WARN_ON(!a || !a->snd_card || !a->snd_card->private_data); in snd_card_asihpi_isr()
963 asihpi = (struct snd_card_asihpi *)a->snd_card->private_data; in snd_card_asihpi_isr()
1429 static inline int ctl_add(struct snd_card *card, struct snd_kcontrol_new *ctl, in ctl_add()
1590 struct snd_card *card = asihpi->card; in snd_asihpi_volume_add()
1686 struct snd_card *card = asihpi->card; in snd_asihpi_level_add()
1797 struct snd_card *card = asihpi->card; in snd_asihpi_aesebu_rx_add()
1835 struct snd_card *card = asihpi->card; in snd_asihpi_aesebu_tx_add()
[all …]
/linux-4.4.14/drivers/media/pci/cx18/
Dcx18-alsa-main.c89 static void snd_cx18_card_private_free(struct snd_card *sc) in snd_cx18_card_private_free()
99 struct snd_card *sc, in snd_cx18_card_create()
118 struct snd_card *sc = cxsc->sc; in snd_cx18_card_set_names()
138 struct snd_card *sc = NULL; in snd_cx18_init()
Dcx18-alsa.h22 struct snd_card;
26 struct snd_card *sc;
Dcx18-alsa-mixer.c164 struct snd_card *sc = cxsc->sc; in snd_cx18_mixer_create()
/linux-4.4.14/sound/isa/wavefront/
Dwavefront.c234 static struct snd_hwdep *snd_wavefront_new_synth(struct snd_card *card, in snd_wavefront_new_synth()
259 static struct snd_hwdep *snd_wavefront_new_fx(struct snd_card *card, in snd_wavefront_new_fx()
285 static struct snd_rawmidi *snd_wavefront_new_midi(struct snd_card *card, in snd_wavefront_new_midi()
326 snd_wavefront_free(struct snd_card *card) in snd_wavefront_free()
338 struct snd_card **cardp) in snd_wavefront_card_new()
340 struct snd_card *card; in snd_wavefront_card_new()
363 snd_wavefront_probe (struct snd_card *card, int dev) in snd_wavefront_probe()
565 struct snd_card *card; in snd_wavefront_isa_probe()
605 struct snd_card *card; in snd_wavefront_pnp_detect()
/linux-4.4.14/sound/isa/
Dcmi8330.c169 struct snd_card *card;
309 static int snd_cmi8330_mixer(struct snd_card *card, struct snd_cmi8330 *acard) in snd_cmi8330_mixer()
440 static int snd_cmi8330_pcm(struct snd_card *card, struct snd_cmi8330 *chip) in snd_cmi8330_pcm()
482 static int snd_cmi8330_suspend(struct snd_card *card) in snd_cmi8330_suspend()
493 static int snd_cmi8330_resume(struct snd_card *card) in snd_cmi8330_resume()
518 struct snd_card **cardp) in snd_cmi8330_card_new()
520 struct snd_card *card; in snd_cmi8330_card_new()
536 static int snd_cmi8330_probe(struct snd_card *card, int dev) in snd_cmi8330_probe()
636 struct snd_card *card; in snd_cmi8330_isa_probe()
691 struct snd_card *card; in snd_cmi8330_pnp_detect()
Dcmi8328.c76 struct snd_card *card;
147 struct snd_card *card; in snd_cmi8328_mixer()
219 struct snd_card *card; in snd_cmi8328_probe()
407 struct snd_card *card = dev_get_drvdata(pdev); in snd_cmi8328_remove()
429 struct snd_card *card = dev_get_drvdata(pdev); in snd_cmi8328_suspend()
445 struct snd_card *card = dev_get_drvdata(pdev); in snd_cmi8328_resume()
Dopl3sa2.c223 static int snd_opl3sa2_detect(struct snd_card *card) in snd_opl3sa2_detect()
301 struct snd_card *card = dev_id; in snd_opl3sa2_interrupt()
498 static int snd_opl3sa2_mixer(struct snd_card *card) in snd_opl3sa2_mixer()
554 static int snd_opl3sa2_suspend(struct snd_card *card, pm_message_t state) in snd_opl3sa2_suspend()
568 static int snd_opl3sa2_resume(struct snd_card *card) in snd_opl3sa2_resume()
621 static void snd_opl3sa2_free(struct snd_card *card) in snd_opl3sa2_free()
630 struct snd_card **cardp) in snd_opl3sa2_card_new()
632 struct snd_card *card; in snd_opl3sa2_card_new()
650 static int snd_opl3sa2_probe(struct snd_card *card, int dev) in snd_opl3sa2_probe()
729 struct snd_card *card; in snd_opl3sa2_pnp_detect()
[all …]
Dsscape.c160 static inline struct soundscape *get_card_soundscape(struct snd_card *c) in get_card_soundscape()
346 static void soundscape_free(struct snd_card *c) in soundscape_free()
538 static int sscape_upload_bootblock(struct snd_card *card) in sscape_upload_bootblock()
577 static int sscape_upload_microcode(struct snd_card *card, int version) in sscape_upload_microcode()
619 struct snd_card *card = chip->card; in sscape_midi_get()
633 struct snd_card *card = chip->card; in sscape_midi_put()
821 static int create_mpu401(struct snd_card *card, int devnum, in create_mpu401()
849 static int create_ad1845(struct snd_card *card, unsigned port, in create_ad1845()
940 static int create_sscape(int dev, struct snd_card *card) in create_sscape()
1168 struct snd_card *card; in snd_sscape_probe()
[all …]
Dadlib.c45 static void snd_adlib_free(struct snd_card *card) in snd_adlib_free()
52 struct snd_card *card; in snd_adlib_probe()
Dazt2320.c182 struct snd_card *card; in snd_card_azt2320_probe()
297 struct snd_card *card = pnp_get_card_drvdata(pcard); in snd_azt2320_pnp_suspend()
308 struct snd_card *card = pnp_get_card_drvdata(pcard); in snd_azt2320_pnp_resume()
Dals100.c192 struct snd_card *card; in snd_card_als100_probe()
319 struct snd_card *card = pnp_get_card_drvdata(pcard); in snd_als100_pnp_suspend()
331 struct snd_card *card = pnp_get_card_drvdata(pcard); in snd_als100_pnp_resume()
Des18xx.c742 struct snd_card *card = dev_id; in snd_es18xx_interrupt()
1690 static int snd_es18xx_pcm(struct snd_card *card, int device) in snd_es18xx_pcm()
1727 static int snd_es18xx_suspend(struct snd_card *card, pm_message_t state) in snd_es18xx_suspend()
1744 static int snd_es18xx_resume(struct snd_card *card) in snd_es18xx_resume()
1756 static int snd_es18xx_free(struct snd_card *card) in snd_es18xx_free()
1781 static int snd_es18xx_new_device(struct snd_card *card, in snd_es18xx_new_device()
1843 static int snd_es18xx_mixer(struct snd_card *card) in snd_es18xx_mixer()
2119 struct snd_card **cardp) in snd_es18xx_card_new()
2125 static int snd_audiodrive_probe(struct snd_card *card, int dev) in snd_audiodrive_probe()
2190 struct snd_card *card; in snd_es18xx_isa_probe1()
[all …]
Dsc6000.c472 struct snd_card *card = chip->card; in snd_sc6000_mixer()
555 struct snd_card *card; in snd_sc6000_probe()
690 struct snd_card *card = dev_get_drvdata(devptr); in snd_sc6000_remove()
/linux-4.4.14/drivers/media/pci/ivtv/
Divtv-alsa-main.c94 static void snd_ivtv_card_private_free(struct snd_card *sc) in snd_ivtv_card_private_free()
104 struct snd_card *sc, in snd_ivtv_card_create()
123 struct snd_card *sc = itvsc->sc; in snd_ivtv_card_set_names()
143 struct snd_card *sc = NULL; in snd_ivtv_init()
Divtv-alsa.h23 struct snd_card;
27 struct snd_card *sc;
Divtv-alsa-mixer.c164 struct snd_card *sc = itvsc->sc; in snd_ivtv_mixer_create()
/linux-4.4.14/sound/isa/cs423x/
Dcs4236.c360 static void snd_card_cs4236_free(struct snd_card *card) in snd_card_cs4236_free()
368 struct snd_card **cardp) in snd_cs423x_card_new()
370 struct snd_card *card; in snd_cs423x_card_new()
382 static int snd_cs423x_probe(struct snd_card *card, int dev) in snd_cs423x_probe()
487 struct snd_card *card; in snd_cs423x_isa_probe()
510 static int snd_cs423x_suspend(struct snd_card *card) in snd_cs423x_suspend()
518 static int snd_cs423x_resume(struct snd_card *card) in snd_cs423x_resume()
558 struct snd_card *card; in snd_cs423x_pnpbios_detect()
629 struct snd_card *card; in snd_cs423x_pnpc_detect()
Dcs4231.c93 struct snd_card *card; in snd_cs4231_probe()
157 struct snd_card *card = dev_get_drvdata(dev); in snd_cs4231_suspend()
167 struct snd_card *card = dev_get_drvdata(dev); in snd_cs4231_resume()
/linux-4.4.14/sound/isa/msnd/
Dmsnd.h231 struct snd_card *card;
300 int snd_msnd_pcm(struct snd_card *card, int device);
302 int snd_msndmidi_new(struct snd_card *card, int device);
306 int snd_msndmix_new(struct snd_card *card);
Dmsnd_pinnacle.c218 static int snd_msnd_probe(struct snd_card *card) in snd_msnd_probe()
383 static int upload_dsp_code(struct snd_card *card) in upload_dsp_code()
428 static int snd_msnd_initialize(struct snd_card *card) in snd_msnd_initialize()
469 static int snd_msnd_dsp_full_reset(struct snd_card *card) in snd_msnd_dsp_full_reset()
540 static int snd_msnd_attach(struct snd_card *card) in snd_msnd_attach()
638 static void snd_msnd_unload(struct snd_card *card) in snd_msnd_unload()
895 struct snd_card *card; in snd_msnd_isa_probe()
1087 struct snd_card *card; in snd_msnd_pnp_detect()
/linux-4.4.14/sound/isa/sb/
Dsb8.c73 static void snd_sb8_free(struct snd_card *card) in snd_sb8_free()
100 struct snd_card *card; in snd_sb8_probe()
216 struct snd_card *card = dev_get_drvdata(dev); in snd_sb8_suspend()
228 struct snd_card *card = dev_get_drvdata(dev); in snd_sb8_resume()
Dsb16.c311 static void snd_sb16_free(struct snd_card *card) in snd_sb16_free()
327 struct snd_card **cardp) in snd_sb16_card_new()
329 struct snd_card *card; in snd_sb16_card_new()
341 static int snd_sb16_probe(struct snd_card *card, int dev) in snd_sb16_probe()
468 static int snd_sb16_suspend(struct snd_card *card, pm_message_t state) in snd_sb16_suspend()
479 static int snd_sb16_resume(struct snd_card *card) in snd_sb16_resume()
494 struct snd_card *card; in snd_sb16_isa_probe1()
610 struct snd_card *card; in snd_sb16_pnp_detect()
Djazz16.c223 struct snd_card *card; in snd_jazz16_probe()
344 struct snd_card *card = dev_get_drvdata(devptr); in snd_jazz16_remove()
354 struct snd_card *card = dev_get_drvdata(pdev); in snd_jazz16_suspend()
366 struct snd_card *card = dev_get_drvdata(pdev); in snd_jazz16_resume()
Demu8000_local.h43 int snd_emu8000_pcm_new(struct snd_card *card, struct snd_emu8000 *emu, int index);
/linux-4.4.14/sound/aoa/
Daoa.h116 struct snd_card *alsa_card;
121 extern struct snd_card *aoa_get_card(void);
/linux-4.4.14/sound/pci/ctxfi/
Dxfi.c63 struct snd_card *card; in ct_card_probe()
132 struct snd_card *card = dev_get_drvdata(dev); in ct_card_suspend()
140 struct snd_card *card = dev_get_drvdata(dev); in ct_card_resume()
Dctamixer.h39 struct snd_card *card; /* pointer to this card */
84 struct snd_card *card; /* pointer to this card */
Dctsrc.h89 struct snd_card *card; /* pointer to this card */
128 struct snd_card *card; /* pointer to this card */
Dctatc.h79 struct snd_card *card;
155 int ct_atc_create(struct snd_card *card, struct pci_dev *pci,
Dctdaio.h102 struct snd_card *card; /* pointer to this card */
/linux-4.4.14/sound/pci/vx222/
Dvx222.c137 static int snd_vx222_create(struct snd_card *card, struct pci_dev *pci, in snd_vx222_create()
194 struct snd_card *card; in snd_vx222_probe()
262 struct snd_card *card = dev_get_drvdata(dev); in snd_vx222_suspend()
270 struct snd_card *card = dev_get_drvdata(dev); in snd_vx222_resume()
/linux-4.4.14/sound/ppc/
Dpowermac.c56 struct snd_card *card; in snd_pmac_probe()
146 struct snd_card *card = dev_get_drvdata(dev); in snd_pmac_driver_suspend()
153 struct snd_card *card = dev_get_drvdata(dev); in snd_pmac_driver_resume()
Dpmac.h92 struct snd_card *card;
170 int snd_pmac_new(struct snd_card *card, struct snd_pmac **chip_return);
Dsnd_ps3.h62 struct snd_card *card;
/linux-4.4.14/sound/isa/ad1848/
Dad1848.c89 struct snd_card *card; in snd_ad1848_probe()
141 struct snd_card *card = dev_get_drvdata(dev); in snd_ad1848_suspend()
151 struct snd_card *card = dev_get_drvdata(dev); in snd_ad1848_resume()
/linux-4.4.14/sound/drivers/
Dportman2x4.c83 struct snd_card *card;
99 static int portman_create(struct snd_card *card, in portman_create()
564 static int snd_portman_rawmidi_create(struct snd_card *card) in snd_portman_rawmidi_create()
618 struct portman *pm = ((struct snd_card*)userdata)->private_data; in snd_portman_interrupt()
717 static void snd_portman_card_private_free(struct snd_card *card) in snd_portman_card_private_free()
736 struct snd_card *card = NULL; in snd_portman_probe()
818 struct snd_card *card = platform_get_drvdata(pdev); in snd_portman_remove()
Dmts64.c65 struct snd_card *card;
86 static int snd_mts64_create(struct snd_card *card, in snd_mts64_create()
656 static int snd_mts64_ctl_create(struct snd_card *card, in snd_mts64_ctl_create()
767 static int snd_mts64_rawmidi_create(struct snd_card *card) in snd_mts64_rawmidi_create()
830 struct mts64 *mts = ((struct snd_card*)private)->private_data; in snd_mts64_interrupt()
919 static void snd_mts64_card_private_free(struct snd_card *card) in snd_mts64_card_private_free()
938 struct snd_card *card = NULL; in snd_mts64_probe()
1019 struct snd_card *card = platform_get_drvdata(pdev); in snd_mts64_remove()
Dvirmidi.c79 struct snd_card *card;
88 struct snd_card *card; in snd_virmidi_probe()
Daloop.c96 struct snd_card *card;
202 struct snd_card *card; in loopback_check_format()
1005 struct snd_card *card = loopback->card; in loopback_mixer_new()
1131 struct snd_card *card; in loopback_probe()
1183 struct snd_card *card = dev_get_drvdata(pdev); in loopback_suspend()
1195 struct snd_card *card = dev_get_drvdata(pdev); in loopback_resume()
/linux-4.4.14/sound/soc/pxa/
Dpxa2xx-pcm.c62 struct snd_card *card = rtd->card->snd_card; in pxa2xx_soc_pcm_new()
/linux-4.4.14/sound/isa/gus/
Dgusmax.c76 struct snd_card *card;
127 static void snd_gusmax_init(int dev, struct snd_card *card, in snd_gusmax_init()
145 struct snd_card *card = chip->card; in snd_gusmax_mixer()
192 static void snd_gusmax_free(struct snd_card *card) in snd_gusmax_free()
212 struct snd_card *card; in snd_gusmax_probe()
Dinterwave.c118 struct snd_card *card;
216 struct snd_card *card = iwcard->card; in snd_interwave_detect_stb()
506 struct snd_card *card = chip->card; in snd_interwave_mixer()
609 static void snd_interwave_free(struct snd_card *card) in snd_interwave_free()
623 struct snd_card **cardp) in snd_interwave_card_new()
625 struct snd_card *card; in snd_interwave_card_new()
641 static int snd_interwave_probe(struct snd_card *card, int dev) in snd_interwave_probe()
774 struct snd_card *card; in snd_interwave_isa_probe1()
863 struct snd_card *card; in snd_interwave_pnp_detect()
Dgusextreme.c97 static int snd_gusextreme_es1688_create(struct snd_card *card, in snd_gusextreme_es1688_create()
136 static int snd_gusextreme_gus_card_create(struct snd_card *card, in snd_gusextreme_gus_card_create()
211 static int snd_gusextreme_mixer(struct snd_card *card) in snd_gusextreme_mixer()
239 struct snd_card *card; in snd_gusextreme_probe()
Dgusclassic.c81 static int snd_gusclassic_create(struct snd_card *card, in snd_gusclassic_create()
148 struct snd_card *card; in snd_gusclassic_probe()
Dgus_main.c132 int snd_gus_create(struct snd_card *card, in snd_gus_create()
272 struct snd_card *card; in snd_gus_init_dma_irq()
363 struct snd_card *card; in snd_gus_check_version()
/linux-4.4.14/sound/isa/opti9xx/
Dopti92x-ad1848.c594 struct snd_card *card; in snd_opti93x_mixer()
706 static int snd_card_opti9xx_detect(struct snd_card *card,
800 static void snd_card_opti9xx_free(struct snd_card *card)
816 static int snd_opti9xx_probe(struct snd_card *card)
934 static int snd_opti9xx_card_new(struct device *pdev, struct snd_card **cardp)
936 struct snd_card *card;
963 struct snd_card *card;
1034 static int snd_opti9xx_suspend(struct snd_card *card)
1043 static int snd_opti9xx_resume(struct snd_card *card)
1091 struct snd_card *card;
Dmiro.c716 static int snd_miro_mixer(struct snd_card *card, in snd_miro_mixer()
992 static void snd_miro_proc_init(struct snd_card *card, in snd_miro_proc_init()
1185 static int snd_card_miro_detect(struct snd_card *card, in snd_card_miro_detect()
1203 static int snd_card_miro_aci_detect(struct snd_card *card, in snd_card_miro_aci_detect()
1258 static void snd_card_miro_free(struct snd_card *card) in snd_card_miro_free()
1268 static int snd_miro_probe(struct snd_card *card) in snd_miro_probe()
1410 struct snd_card *card; in snd_miro_isa_probe()
1575 struct snd_card *card; in snd_miro_pnp_probe()
/linux-4.4.14/sound/pcmcia/pdaudiocf/
Dpdaudiocf.h85 struct snd_card *card;
129 struct snd_pdacf *snd_pdacf_create(struct snd_card *card);
Dpdaudiocf.c54 static struct snd_card *card_list[SNDRV_CARDS];
97 struct snd_card *card; in snd_pdacf_probe()
166 struct snd_card *card = pdacf->card; in snd_pdacf_assign_resources()
/linux-4.4.14/sound/pci/hda/
Dhda_tegra.c249 struct snd_card *card = dev_get_drvdata(dev); in hda_tegra_suspend()
264 struct snd_card *card = dev_get_drvdata(dev); in hda_tegra_resume()
359 struct snd_card *card = chip->card; in hda_tegra_first_init()
435 static int hda_tegra_create(struct snd_card *card, in hda_tegra_create()
486 struct snd_card *card; in hda_tegra_probe()
557 struct snd_card *card = dev_get_drvdata(&pdev->dev); in hda_tegra_shutdown()
Dhda_intel.c907 struct snd_card *card = dev_get_drvdata(dev); in azx_suspend()
943 struct snd_card *card = dev_get_drvdata(dev); in azx_resume()
1004 struct snd_card *card = dev_get_drvdata(dev); in azx_runtime_suspend()
1036 struct snd_card *card = dev_get_drvdata(dev); in azx_runtime_resume()
1089 struct snd_card *card = dev_get_drvdata(dev); in azx_runtime_idle()
1131 struct snd_card *card = pci_get_drvdata(pci); in azx_vs_set_state()
1179 struct snd_card *card = pci_get_drvdata(pci); in azx_vs_can_switch()
1562 static int azx_create(struct snd_card *card, struct pci_dev *pci, in azx_create()
1648 struct snd_card *card = chip->card; in azx_first_init()
1808 struct snd_card *card = context; in azx_firmware_cb()
[all …]
Dhda_codec.h53 struct snd_card *card;
185 struct snd_card *card;
304 int snd_hda_codec_new(struct hda_bus *bus, struct snd_card *card,
/linux-4.4.14/sound/core/oss/
Dmixer_oss.c43 struct snd_card *card; in snd_mixer_oss_open()
99 struct snd_card *card = fmixer->card; in snd_mixer_oss_info()
115 struct snd_card *card = fmixer->card; in snd_mixer_oss_info_obsolete()
384 int snd_mixer_oss_ioctl_card(struct snd_card *card, unsigned int cmd, unsigned long arg) in snd_mixer_oss_ioctl_card()
447 static void snd_mixer_oss_recsrce_set(struct snd_card *card, int slot)
454 static int snd_mixer_oss_recsrce_get(struct snd_card *card, int slot)
505 struct snd_card *card = mixer->card; in snd_mixer_oss_test_id()
523 struct snd_card *card = fmixer->card; in snd_mixer_oss_get_volume1_vol()
561 struct snd_card *card = fmixer->card; in snd_mixer_oss_get_volume1_sw()
625 struct snd_card *card = fmixer->card; in snd_mixer_oss_put_volume1_vol()
[all …]
/linux-4.4.14/sound/pci/
Dcs5530.c63 struct snd_card *card;
105 static int snd_cs5530_create(struct snd_card *card, in snd_cs5530_create()
254 struct snd_card *card; in snd_cs5530_probe()
Dals300.c118 struct snd_card *card;
645 static int snd_als300_create(struct snd_card *card, in snd_als300_create()
730 struct snd_card *card = dev_get_drvdata(dev); in snd_als300_suspend()
741 struct snd_card *card = dev_get_drvdata(dev); in snd_als300_resume()
761 struct snd_card *card; in snd_als300_probe()
Dals4000.c838 static void snd_card_als4000_free( struct snd_card *card ) in snd_card_als4000_free()
854 struct snd_card *card; in snd_card_als4000_probe()
991 struct snd_card *card = dev_get_drvdata(dev); in snd_als4000_suspend()
1004 struct snd_card *card = dev_get_drvdata(dev); in snd_als4000_resume()
Dvia82xx_modem.c246 struct snd_card *card;
1034 struct snd_card *card = dev_get_drvdata(dev); in snd_via82xx_suspend()
1050 struct snd_card *card = dev_get_drvdata(dev); in snd_via82xx_resume()
1096 static int snd_via82xx_create(struct snd_card *card, in snd_via82xx_create()
1162 struct snd_card *card; in snd_via82xx_probe()
Datiixp_modem.c236 struct snd_card *card;
1123 struct snd_card *card = dev_get_drvdata(dev); in snd_atiixp_suspend()
1139 struct snd_card *card = dev_get_drvdata(dev); in snd_atiixp_resume()
1211 static int snd_atiixp_create(struct snd_card *card, in snd_atiixp_create()
1271 struct snd_card *card; in snd_atiixp_probe()
Dak4531_codec.c38 static void snd_ak4531_proc_init(struct snd_card *card, struct snd_ak4531 *ak4531);
382 int snd_ak4531_mixer(struct snd_card *card, in snd_ak4531_mixer()
482 snd_ak4531_proc_init(struct snd_card *card, struct snd_ak4531 *ak4531) in snd_ak4531_proc_init()
/linux-4.4.14/sound/soc/
Dsoc-core.c590 snd_power_lock(card->snd_card); in snd_soc_suspend()
591 snd_power_wait(card->snd_card, SNDRV_CTL_POWER_D0); in snd_soc_suspend()
592 snd_power_unlock(card->snd_card); in snd_soc_suspend()
595 snd_power_change_state(card->snd_card, SNDRV_CTL_POWER_D3hot); in snd_soc_suspend()
730 snd_power_change_state(card->snd_card, SNDRV_CTL_POWER_D2); in soc_resume_deferred()
803 snd_power_change_state(card->snd_card, SNDRV_CTL_POWER_D0); in soc_resume_deferred()
1585 card->owner, 0, &card->snd_card); in snd_soc_instantiate_card()
1676 snprintf(card->snd_card->shortname, sizeof(card->snd_card->shortname), in snd_soc_instantiate_card()
1678 snprintf(card->snd_card->longname, sizeof(card->snd_card->longname), in snd_soc_instantiate_card()
1680 snprintf(card->snd_card->driver, sizeof(card->snd_card->driver), in snd_soc_instantiate_card()
[all …]
Dsoc-topology.c351 static int soc_tplg_add_dcontrol(struct snd_card *card, struct device *dev, in soc_tplg_add_dcontrol()
380 return soc_tplg_add_dcontrol(comp->card->snd_card, in soc_tplg_add_kcontrol()
388 struct snd_card *card = comp->card->snd_card; in remove_mixer()
411 struct snd_card *card = comp->card->snd_card; in remove_enum()
434 struct snd_card *card = comp->card->snd_card; in remove_bytes()
453 struct snd_card *card = comp->card->snd_card; in remove_widget()
Dsoc-ops.c600 struct snd_card *snd_card = card->snd_card; in snd_soc_limit_volume() local
610 list_for_each_entry(kctl, &snd_card->controls, list) { in snd_soc_limit_volume()
/linux-4.4.14/sound/usb/caiaq/
Ddevice.c407 struct snd_card **cardp) in create_card()
411 struct snd_card *card; in create_card()
442 struct snd_card *card = cdev->chip.card; in init_card()
516 struct snd_card *card = NULL; in snd_probe()
537 struct snd_card *card = usb_get_intfdata(intf); in snd_disconnect()
/linux-4.4.14/sound/pci/cs46xx/
Dcs46xx_dsp_spos.h178 struct snd_card *snd_card; member
Dcs46xx.c80 struct snd_card *card; in snd_card_cs46xx_probe()
/linux-4.4.14/sound/pci/emu10k1/
Demu10k1.c106 struct snd_card *card; in snd_card_emu10k1_probe()
215 struct snd_card *card = dev_get_drvdata(dev); in snd_emu10k1_suspend()
241 struct snd_card *card = dev_get_drvdata(dev); in snd_emu10k1_resume()
/linux-4.4.14/sound/pcmcia/vx/
Dvxpocket.c135 static int snd_vxpocket_new(struct snd_card *card, int ibl, in snd_vxpocket_new()
189 struct snd_card *card = chip->card; in snd_vxpocket_assign_resources()
298 struct snd_card *card; in vxpocket_probe()
/linux-4.4.14/sound/isa/ad1816a/
Dad1816a.c142 struct snd_card *card; in snd_card_ad1816a_probe()
250 struct snd_card *card = pnp_get_card_drvdata(pcard); in snd_ad1816a_pnp_suspend()
259 struct snd_card *card = pnp_get_card_drvdata(pcard); in snd_ad1816a_pnp_resume()
/linux-4.4.14/sound/usb/hiface/
Dchip.h27 struct snd_card *card;
Dchip.c72 struct snd_card *card = NULL; in hiface_chip_create()
166 struct snd_card *card; in hiface_chip_disconnect()
/linux-4.4.14/sound/firewire/digi00x/
Ddigi00x.c43 static void dg00x_card_free(struct snd_card *card) in dg00x_card_free()
58 struct snd_card *card; in snd_dg00x_probe()
Ddigi00x.h34 struct snd_card *card;
/linux-4.4.14/sound/usb/6fire/
Dchip.h20 struct snd_card *card;
Dchip.c93 struct snd_card *card = NULL; in usb6fire_chip_probe()
182 struct snd_card *card; in usb6fire_chip_disconnect()
/linux-4.4.14/sound/atmel/
Dabdac.c98 struct snd_card *card;
394 struct snd_card *card; in atmel_abdac_probe()
540 struct snd_card *card = dev_get_drvdata(pdev); in atmel_abdac_suspend()
552 struct snd_card *card = dev_get_drvdata(pdev); in atmel_abdac_resume()
571 struct snd_card *card = platform_get_drvdata(pdev); in atmel_abdac_remove()
/linux-4.4.14/sound/drivers/pcsp/
Dpcsp_mixer.c135 struct snd_card *card = chip->card; in snd_pcsp_ctls_add()
147 struct snd_card *card = chip->card; in snd_pcsp_new_mixer()
Dpcsp.c42 static int snd_pcsp_create(struct snd_card *card) in snd_pcsp_create()
96 struct snd_card *card; in snd_card_pcsp_probe()
Dpcsp.h53 struct snd_card *card;
/linux-4.4.14/sound/firewire/dice/
Ddice.c201 struct snd_card *card = dice->card; in dice_card_strings()
240 static void dice_card_free(struct snd_card *card) in dice_card_free()
253 struct snd_card *card; in dice_probe()
/linux-4.4.14/sound/usb/
Dmidi.h42 int snd_usbmidi_create(struct snd_card *card,
Dusbaudio.h36 struct snd_card *card;
/linux-4.4.14/sound/firewire/tascam/
Dtascam.c82 static void tscm_card_free(struct snd_card *card) in tscm_card_free()
97 struct snd_card *card; in snd_tscm_probe()
Dtascam.h49 struct snd_card *card;
/linux-4.4.14/sound/sh/
Dsh_dac_audio.c55 struct snd_card *card;
347 static int snd_sh_dac_create(struct snd_card *card, in snd_sh_dac_create()
396 struct snd_card *card; in snd_sh_dac_probe()
Daica.h73 struct snd_card *card;
/linux-4.4.14/sound/core/seq/
Dseq_midi.c54 struct snd_card *card;
167 struct snd_card *card, in snd_seq_midisynth_new()
287 struct snd_card *card = dev->card; in snd_seq_midisynth_probe()
436 struct snd_card *card = dev->card; in snd_seq_midisynth_remove()
/linux-4.4.14/sound/soc/omap/
Domap-pcm.c218 struct snd_card *card = rtd->card->snd_card; in omap_pcm_new()
/linux-4.4.14/sound/pci/lx6464es/
Dlx6464es.h68 struct snd_card *card;
/linux-4.4.14/sound/pci/ca0106/
Dca_midi.h62 struct snd_card *(*get_dev_id_card)(void *dev_id);
Dca0106_mixer.c714 static int remove_ctl(struct snd_card *card, const char *name) in remove_ctl()
723 static struct snd_kcontrol *ctl_find(struct snd_card *card, const char *name) in ctl_find()
733 static int rename_ctl(struct snd_card *card, const char *src, const char *dst) in rename_ctl()
778 static void add_slaves(struct snd_card *card, in add_slaves()
791 struct snd_card *card = emu->card; in snd_ca0106_mixer()
/linux-4.4.14/sound/pci/au88x0/
Dau88x0_mixer.c13 static int remove_ctl(struct snd_card *card, const char *name) in remove_ctl()
Dau88x0.c140 snd_vortex_create(struct snd_card *card, struct pci_dev *pci, vortex_t ** rchip) in snd_vortex_create()
238 struct snd_card *card; in snd_vortex_probe()
/linux-4.4.14/sound/spi/
Dat73c213.c65 struct snd_card *card;
714 struct snd_card *card; in snd_at73c213_mixer()
882 static int snd_at73c213_dev_init(struct snd_card *card, in snd_at73c213_dev_init()
943 struct snd_card *card; in snd_at73c213_probe()
1010 struct snd_card *card = dev_get_drvdata(&spi->dev); in snd_at73c213_remove()
1079 struct snd_card *card = dev_get_drvdata(dev); in snd_at73c213_suspend()
1090 struct snd_card *card = dev_get_drvdata(dev); in snd_at73c213_resume()
/linux-4.4.14/sound/pci/aw2/
Daw2-alsa.c106 struct snd_card *card;
116 static int snd_aw2_create(struct snd_card *card,
243 static int snd_aw2_create(struct snd_card *card, in snd_aw2_create()
335 struct snd_card *card; in snd_aw2_probe()
/linux-4.4.14/sound/pci/trident/
Dtrident.h393 struct snd_card *card;
415 int snd_trident_create(struct snd_card *card,
/linux-4.4.14/sound/pci/echoaudio/
Dechoaudio.h342 struct snd_card *card;
448 static int snd_echo_midi_create(struct snd_card *card,
/linux-4.4.14/drivers/media/usb/usbtv/
Dusbtv.h102 struct snd_card *snd;
/linux-4.4.14/sound/pci/oxygen/
Doxygen.h67 struct snd_card;
122 struct snd_card *card;
Doxygen_lib.c583 static void oxygen_card_free(struct snd_card *card) in oxygen_card_free()
607 struct snd_card *card; in oxygen_pci_probe()
745 struct snd_card *card = dev_get_drvdata(dev); in oxygen_pci_suspend()
799 struct snd_card *card = dev_get_drvdata(dev); in oxygen_pci_resume()
828 struct snd_card *card = pci_get_drvdata(pci); in oxygen_pci_shutdown()
/linux-4.4.14/sound/soc/au1x/
Ddbdma2.c320 struct snd_card *card = rtd->card->snd_card; in au1xpsc_pcm_new()
/linux-4.4.14/sound/pci/ymfpci/
Dymfpci.h337 struct snd_card *card;
374 int snd_ymfpci_create(struct snd_card *card,
/linux-4.4.14/sound/sparc/
Dcs4231.c92 struct snd_card *card;
1228 static int snd_cs4231_pcm(struct snd_card *card) in snd_cs4231_pcm()
1257 static int snd_cs4231_timer(struct snd_card *card) in snd_cs4231_timer()
1539 static int snd_cs4231_mixer(struct snd_card *card) in snd_cs4231_mixer()
1561 struct snd_card **rcard) in cs4231_attach_begin()
1563 struct snd_card *card; in cs4231_attach_begin()
1592 static int cs4231_attach_finish(struct snd_card *card) in cs4231_attach_finish()
1796 static int snd_cs4231_sbus_create(struct snd_card *card, in snd_cs4231_sbus_create()
1862 struct snd_card *card; in cs4231_sbus_probe()
1962 static int snd_cs4231_ebus_create(struct snd_card *card, in snd_cs4231_ebus_create()
[all …]
Damd7930.c324 struct snd_card *card;
889 struct snd_card *card; in snd_amd7930_mixer()
936 static int snd_amd7930_create(struct snd_card *card, in snd_amd7930_create()
1010 struct snd_card *card; in amd7930_sbus_probe()
/linux-4.4.14/drivers/media/pci/cx88/
Dcx88-alsa.c81 struct snd_card *card;
855 static void snd_cx88_dev_free(struct snd_card * card) in snd_cx88_dev_free()
868 static int snd_cx88_create(struct snd_card *card, struct pci_dev *pci, in snd_cx88_create()
938 struct snd_card *card; in cx88_audio_initdev()
1006 struct snd_card *card = pci_get_drvdata(pci); in cx88_audio_finidev()
/linux-4.4.14/sound/drivers/opl3/
Dopl3_lib.c346 int snd_opl3_new(struct snd_card *card, in snd_opl3_new()
405 int snd_opl3_create(struct snd_card *card, in snd_opl3_create()
489 struct snd_card *card = opl3->card; in snd_opl3_hwdep_new()
/linux-4.4.14/sound/firewire/
Dscs1x.c33 struct snd_card *card;
379 static void scs_card_free(struct snd_card *card) in scs_card_free()
390 struct snd_card *card; in scs_probe()
/linux-4.4.14/sound/aoa/soundbus/i2sbus/
Di2sbus.h98 i2sbus_attach_codec(struct soundbus_dev *dev, struct snd_card *card,
/linux-4.4.14/sound/usb/line6/
Ddriver.h124 struct snd_card *card;
/linux-4.4.14/sound/firewire/oxfw/
Doxfw.c116 static void oxfw_card_free(struct snd_card *card) in oxfw_card_free()
172 struct snd_card *card; in oxfw_probe()
Doxfw.h46 struct snd_card *card;
/linux-4.4.14/sound/soc/nuc900/
Dnuc900-pcm.c290 struct snd_card *card = rtd->card->snd_card; in nuc900_dma_new()
/linux-4.4.14/sound/drivers/opl4/
Dopl4_mixer.c84 struct snd_card *card = opl4->card; in snd_opl4_create_mixer()
/linux-4.4.14/sound/aoa/soundbus/
Dsoundbus.h164 int (*attach_codec)(struct soundbus_dev *dev, struct snd_card *card,
/linux-4.4.14/sound/soc/codecs/
Dac97.c76 ret = snd_ac97_bus(codec->component.card->snd_card, 0, soc_ac97_ops, in ac97_soc_probe()
/linux-4.4.14/sound/parisc/
Dharmony.h48 struct snd_card *card;
/linux-4.4.14/sound/soc/kirkwood/
Dkirkwood-dma.c276 struct snd_card *card = rtd->card->snd_card; in kirkwood_dma_new()
/linux-4.4.14/sound/pci/pcxhr/
Dpcxhr.h168 struct snd_card *card;
/linux-4.4.14/sound/pci/ice1712/
Dwm8766.h146 struct snd_card *card;
/linux-4.4.14/drivers/media/pci/cx25821/
Dcx25821.h236 struct snd_card;
251 struct snd_card *card;
/linux-4.4.14/sound/soc/blackfin/
Dbf5xx-i2s-pcm.c325 struct snd_card *card = rtd->card->snd_card; in bf5xx_pcm_i2s_new()
/linux-4.4.14/sound/soc/fsl/
Dimx-pcm-fiq.c261 struct snd_card *card = rtd->card->snd_card; in imx_pcm_new()
/linux-4.4.14/drivers/media/pci/saa7134/
Dsaa7134-alsa.c61 struct snd_card *card;
90 static struct snd_card *snd_saa7134_cards[SNDRV_CARDS];
1078 struct snd_card *card = chip->card; in snd_card_saa7134_new_mixer()
1107 static void snd_saa7134_free(struct snd_card * card) in snd_saa7134_free()
1132 struct snd_card *card; in alsa_card_saa7134_create()
/linux-4.4.14/sound/pci/mixart/
Dmixart.h170 struct snd_card *card;
/linux-4.4.14/sound/usb/bcd2000/
Dbcd2000.c51 struct snd_card *card;
367 struct snd_card *card; in bcd2000_probe()
/linux-4.4.14/sound/firewire/fireworks/
Dfireworks.c183 efw_card_free(struct snd_card *card) in efw_card_free()
206 struct snd_card *card; in efw_probe()
/linux-4.4.14/sound/mips/
Dsgio2audio.c95 struct snd_card *card;
830 static int snd_sgio2audio_create(struct snd_card *card, in snd_sgio2audio_create()
912 struct snd_card *card; in snd_sgio2audio_probe()
955 struct snd_card *card = platform_get_drvdata(pdev); in snd_sgio2audio_remove()

12