| /Linux-v4.19/include/sound/ |
| D | core.h | 83 struct snd_card *card; /* card which holds this device */ 94 struct snd_card { struct 109 void (*private_free) (struct snd_card *card); /* callback for freeing of argument 149 #define dev_to_snd_card(p) container_of(p, struct snd_card, card_dev) argument 152 static inline unsigned int snd_power_get_state(struct snd_card *card) in snd_power_get_state() 157 static inline void snd_power_change_state(struct snd_card *card, unsigned int state) in snd_power_change_state() 164 int snd_power_wait(struct snd_card *card, unsigned int power_state); 168 static inline int snd_power_wait(struct snd_card *card, unsigned int state) { return 0; } in snd_power_wait() 181 struct snd_card *card_ptr; /* assigned card instance */ 185 static inline struct device *snd_card_get_device_link(struct snd_card *card) in snd_card_get_device_link() [all …]
|
| D | info.h | 85 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 …]
|
| D | control.h | 106 struct snd_card *card; 118 typedef int (*snd_kctl_ioctl_func_t) (struct snd_card * card, 122 void snd_ctl_notify(struct snd_card * card, unsigned int mask, struct snd_ctl_elem_id * id); 126 int snd_ctl_add(struct snd_card * card, struct snd_kcontrol * kcontrol); 127 int snd_ctl_remove(struct snd_card * card, struct snd_kcontrol * kcontrol); 128 int snd_ctl_replace(struct snd_card *card, struct snd_kcontrol *kcontrol, bool add_on_replace); 129 int snd_ctl_remove_id(struct snd_card * card, struct snd_ctl_elem_id *id); 130 int snd_ctl_rename_id(struct snd_card * card, struct snd_ctl_elem_id *src_id, struct snd_ctl_elem_i… 131 int snd_ctl_activate_id(struct snd_card *card, struct snd_ctl_elem_id *id, 133 struct snd_kcontrol *snd_ctl_find_numid(struct snd_card * card, unsigned int numid); [all …]
|
| D | mixer_oss.h | 53 struct snd_card *card; 72 struct snd_card *card; 76 int snd_mixer_oss_ioctl_card(struct snd_card *card,
|
| D | jack.h | 76 struct snd_card *card; 91 int snd_jack_new(struct snd_card *card, const char *id, int type, 102 static inline int snd_jack_new(struct snd_card *card, const char *id, int type, in snd_jack_new()
|
| D | es1688.h | 110 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);
|
| D | rawmidi.h | 122 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,
|
| /Linux-v4.19/sound/core/ |
| D | init.c | 52 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() 395 int snd_card_disconnect(struct snd_card *card) in snd_card_disconnect() 465 void snd_card_disconnect_sync(struct snd_card *card) in snd_card_disconnect_sync() [all …]
|
| D | device.c | 44 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()
|
| D | control.c | 53 struct snd_card *card; in snd_ctl_open() 121 struct snd_card *card; in snd_ctl_release() 156 void snd_ctl_notify(struct snd_card *card, unsigned int mask, in snd_ctl_notify() 318 static bool snd_ctl_remove_numid_conflict(struct snd_card *card, in snd_ctl_remove_numid_conflict() 337 static int snd_ctl_find_hole(struct snd_card *card, unsigned int count) in snd_ctl_find_hole() 365 int snd_ctl_add(struct snd_card *card, struct snd_kcontrol *kcontrol) in snd_ctl_add() 428 int snd_ctl_replace(struct snd_card *card, struct snd_kcontrol *kcontrol, in snd_ctl_replace() 492 int snd_ctl_remove(struct snd_card *card, struct snd_kcontrol *kcontrol) in snd_ctl_remove() 519 int snd_ctl_remove_id(struct snd_card *card, struct snd_ctl_elem_id *id) in snd_ctl_remove_id() 549 struct snd_card *card = file->card; in snd_ctl_remove_user_ctl() [all …]
|
| D | ctljack.c | 34 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()
|
| /Linux-v4.19/sound/pci/cs5535audio/ |
| 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-v4.19/sound/arm/ |
| D | pxa2xx-ac97.c | 122 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() 190 static int pxa2xx_ac97_pcm_new(struct snd_card *card) in pxa2xx_ac97_pcm_new() 226 struct snd_card *card; in pxa2xx_ac97_probe() 285 struct snd_card *card = platform_get_drvdata(dev); in pxa2xx_ac97_remove()
|
| /Linux-v4.19/drivers/media/pci/cobalt/ |
| 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()
|
| D | cobalt-alsa.h | 9 struct snd_card; 13 struct snd_card *sc;
|
| /Linux-v4.19/sound/synth/emux/ |
| D | emux_voice.h | 31 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()
|
| /Linux-v4.19/sound/drivers/mpu401/ |
| D | mpu401.c | 68 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-v4.19/drivers/media/pci/solo6x10/ |
| D | solo6x10-g723.c | 341 struct snd_card *card = solo_dev->snd_card; in solo_snd_pcm_init() 379 struct snd_card *card; in solo_g723_init() 391 &solo_dev->snd_card); in solo_g723_init() 395 card = solo_dev->snd_card; in solo_g723_init() 436 if (!solo_dev->snd_card) in solo_g723_exit() 442 snd_card_free(solo_dev->snd_card); in solo_g723_exit() 443 solo_dev->snd_card = NULL; in solo_g723_exit()
|
| /Linux-v4.19/sound/usb/usx2y/ |
| D | usbusx2y.c | 170 static void snd_usX2Y_card_private_free(struct snd_card *card); 344 struct snd_card **cardp) in usX2Y_create_card() 347 struct snd_card * card; in usX2Y_create_card() 382 struct snd_card **cardp) in usX2Y_usb_probe() 385 struct snd_card * card; in usX2Y_usb_probe() 411 struct snd_card *card; in snd_usX2Y_probe() 435 static void snd_usX2Y_card_private_free(struct snd_card *card) in snd_usX2Y_card_private_free() 451 struct snd_card *card = ptr; in usX2Y_usb_disconnect()
|
| D | us122l.c | 54 static int us122l_create_usbmidi(struct snd_card *card) in us122l_create_usbmidi() 76 static int us144_create_usbmidi(struct snd_card *card) in us144_create_usbmidi() 449 static int usb_stream_hwdep_new(struct snd_card *card) in usb_stream_hwdep_new() 474 static bool us122l_create_card(struct snd_card *card) in us122l_create_card() 522 static void snd_us122l_free(struct snd_card *card) in snd_us122l_free() 532 struct snd_card **cardp, in usx2y_create_card() 536 struct snd_card *card; in usx2y_create_card() 571 struct snd_card **cardp) in us122l_usb_probe() 574 struct snd_card *card; in us122l_usb_probe() 602 struct snd_card *card; in snd_us122l_probe() [all …]
|
| /Linux-v4.19/sound/isa/es1688/ |
| D | es1688.c | 98 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() 303 struct snd_card *card = pnp_get_card_drvdata(pcard); in snd_es968_pnp_suspend() 313 struct snd_card *card = pnp_get_card_drvdata(pcard); in snd_es968_pnp_resume()
|
| /Linux-v4.19/sound/aoa/core/ |
| D | alsa.c | 19 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-v4.19/sound/pci/asihpi/ |
| D | hpios.h | 147 struct snd_card; 152 struct snd_card *snd_card; member
|
| /Linux-v4.19/drivers/media/pci/cx18/ |
| D | cx18-alsa-main.c | 83 static void snd_cx18_card_private_free(struct snd_card *sc) in snd_cx18_card_private_free() 93 struct snd_card *sc, in snd_cx18_card_create() 112 struct snd_card *sc = cxsc->sc; in snd_cx18_card_set_names() 132 struct snd_card *sc = NULL; in snd_cx18_init()
|
| /Linux-v4.19/drivers/media/pci/tw686x/ |
| D | tw686x-audio.c | 285 struct snd_card *card = dev->snd_card; in tw686x_snd_pcm_init() 371 if (!dev->snd_card) in tw686x_audio_free() 373 snd_card_free(dev->snd_card); in tw686x_audio_free() 374 dev->snd_card = NULL; in tw686x_audio_free() 380 struct snd_card *card; in tw686x_audio_init() 392 dev->snd_card = card; in tw686x_audio_init() 426 dev->snd_card = NULL; in tw686x_audio_init()
|