Home
last modified time | relevance | path

Searched refs:snd_card (Results 1 - 25 of 800) sorted by relevance

12345678910>>...32

/kernel/linux/linux-5.10/include/sound/
H A Dcore.h68 struct snd_card *card; /* card which holds this device */
79 struct snd_card { struct
94 void (*private_free) (struct snd_card *card); /* callback for freeing of
137 #define dev_to_snd_card(p) container_of(p, struct snd_card, card_dev)
140 static inline unsigned int snd_power_get_state(struct snd_card *card) in snd_power_get_state()
145 static inline void snd_power_change_state(struct snd_card *card, unsigned int state) in snd_power_change_state()
152 int snd_power_wait(struct snd_card *card, unsigned int power_state);
156 static inline int snd_power_wait(struct snd_card *card, unsigned int state) { return 0; } in snd_power_wait()
169 struct snd_card *card_ptr; /* assigned card instance */
173 static inline struct device *snd_card_get_device_link(struct snd_card *car
[all...]
H A Dinfo.h117 struct snd_info_entry *snd_info_create_card_entry(struct snd_card *card,
124 int snd_info_card_create(struct snd_card *card);
125 int snd_info_card_register(struct snd_card *card);
126 int snd_info_card_free(struct snd_card *card);
127 void snd_info_card_disconnect(struct snd_card *card);
128 void snd_info_card_id_change(struct snd_card *card);
132 static inline int snd_card_proc_new(struct snd_card *card, const char *name, in snd_card_proc_new()
147 int snd_card_rw_proc_new(struct snd_card *card, const char *name,
168 static inline struct snd_info_entry *snd_info_create_card_entry(struct snd_card *card, const char *name, struct snd_info_entry *parent) { return NULL; } in snd_info_create_card_entry()
171 static inline int snd_info_card_create(struct snd_card *car
[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_id *dst_id);
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 * car
[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,
/kernel/linux/linux-6.6/include/sound/
H A Dcore.h69 struct snd_card *card; /* card which holds this device */
80 struct snd_card { struct
95 void (*private_free) (struct snd_card *card); /* callback for freeing of
150 #define dev_to_snd_card(p) container_of(p, struct snd_card, card_dev)
153 static inline unsigned int snd_power_get_state(struct snd_card *card) in snd_power_get_state()
158 static inline void snd_power_change_state(struct snd_card *card, unsigned int state) in snd_power_change_state()
172 static inline void snd_power_ref(struct snd_card *card) in snd_power_ref()
181 static inline void snd_power_unref(struct snd_card *card) in snd_power_unref()
194 static inline void snd_power_sync_ref(struct snd_card *card) in snd_power_sync_ref()
200 int snd_power_wait(struct snd_card *car
[all...]
H A Dcontrol.h107 struct snd_card *card;
120 void (*lregister)(struct snd_card *card);
121 void (*ldisconnect)(struct snd_card *card);
122 void (*lnotify)(struct snd_card *card, unsigned int mask, struct snd_kcontrol *kctl, unsigned int ioff);
127 typedef int (*snd_kctl_ioctl_func_t) (struct snd_card * card,
131 void snd_ctl_notify(struct snd_card * card, unsigned int mask, struct snd_ctl_elem_id * id);
132 void snd_ctl_notify_one(struct snd_card * card, unsigned int mask, struct snd_kcontrol * kctl, unsigned int ioff);
136 int snd_ctl_add(struct snd_card * card, struct snd_kcontrol * kcontrol);
137 int snd_ctl_remove(struct snd_card * card, struct snd_kcontrol * kcontrol);
138 int snd_ctl_replace(struct snd_card *car
[all...]
H A Dinfo.h117 struct snd_info_entry *snd_info_create_card_entry(struct snd_card *card,
122 int snd_info_card_create(struct snd_card *card);
123 int snd_info_card_register(struct snd_card *card);
124 int snd_info_card_free(struct snd_card *card);
125 void snd_info_card_disconnect(struct snd_card *card);
126 void snd_info_card_id_change(struct snd_card *card);
130 static inline int snd_card_proc_new(struct snd_card *card, const char *name, in snd_card_proc_new()
145 int snd_card_rw_proc_new(struct snd_card *card, const char *name,
166 static inline struct snd_info_entry *snd_info_create_card_entry(struct snd_card *card, const char *name, struct snd_info_entry *parent) { return NULL; } in snd_info_create_card_entry()
169 static inline int snd_info_card_create(struct snd_card *car
[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,
/kernel/linux/linux-6.6/sound/core/
H A 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 int snd_device_alloc(struct device **dev_p, struct snd_card *card) in snd_device_alloc()
145 static int snd_card_init(struct snd_card *card, struct device *parent,
148 static int snd_card_do_free(struct snd_card *card);
165 * The function allocates snd_card instance via kzalloc with the given
173 struct snd_card **card_ret) in snd_card_new()
175 struct snd_card *card; in snd_card_new()
203 * snd_devm_card_new - managed snd_card object creation
214 * When a snd_card objec
[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()
253 int snd_device_get_state(struct snd_card *card, void *device_data) in snd_device_get_state()
H A Dcontrol.c42 static int snd_ctl_remove_locked(struct snd_card *card,
48 struct snd_card *card; in snd_ctl_open()
116 struct snd_card *card; in snd_ctl_release()
152 void snd_ctl_notify(struct snd_card *card, unsigned int mask, in snd_ctl_notify()
204 void snd_ctl_notify_one(struct snd_card *card, unsigned int mask, in snd_ctl_notify_one()
338 static bool snd_ctl_remove_numid_conflict(struct snd_card *card, in snd_ctl_remove_numid_conflict()
357 static int snd_ctl_find_hole(struct snd_card *card, unsigned int count) in snd_ctl_find_hole()
405 static void add_hash_entries(struct snd_card *card, in add_hash_entries()
428 static void remove_hash_entries(struct snd_card *card, in remove_hash_entries()
448 static inline void add_hash_entries(struct snd_card *car
[all...]
H A 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 *car
[all...]
/kernel/linux/linux-5.10/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);
155 * The function allocates snd_card instance via kzalloc with the given
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 *car in snd_card_ref()
[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()
143 void snd_ctl_notify(struct snd_card *card, unsigned int mask, in snd_ctl_notify()
302 static bool snd_ctl_remove_numid_conflict(struct snd_card *card, in snd_ctl_remove_numid_conflict()
321 static int snd_ctl_find_hole(struct snd_card *card, unsigned int count) in snd_ctl_find_hole()
340 static int __snd_ctl_add_replace(struct snd_card *card, in __snd_ctl_add_replace()
388 static int snd_ctl_add_replace(struct snd_card *card, in snd_ctl_add_replace()
425 int snd_ctl_add(struct snd_card *card, struct snd_kcontrol *kcontrol) in snd_ctl_add()
445 int snd_ctl_replace(struct snd_card *card, struct snd_kcontrol *kcontrol, in snd_ctl_replace()
464 int snd_ctl_remove(struct snd_card *car
[all...]
/kernel/linux/linux-6.6/sound/arm/
H A Dpxa2xx-ac97.c116 static int pxa2xx_ac97_do_suspend(struct snd_card *card) in pxa2xx_ac97_do_suspend()
128 static int pxa2xx_ac97_do_resume(struct snd_card *card) in pxa2xx_ac97_do_resume()
147 struct snd_card *card = dev_get_drvdata(dev); in pxa2xx_ac97_suspend()
158 struct snd_card *card = dev_get_drvdata(dev); in pxa2xx_ac97_resume()
180 static int pxa2xx_ac97_pcm_new(struct snd_card *card) in pxa2xx_ac97_pcm_new()
208 struct snd_card *card; in pxa2xx_ac97_probe()
267 struct snd_card *card = platform_get_drvdata(dev); in pxa2xx_ac97_remove()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/drivers/media/pci/solo6x10/
H A Dsolo6x10-g723.c292 struct snd_card *card = solo_dev->snd_card; in solo_snd_pcm_init()
328 struct snd_card *card; in solo_g723_init()
340 &solo_dev->snd_card); in solo_g723_init()
344 card = solo_dev->snd_card; in solo_g723_init()
385 if (!solo_dev->snd_card) in solo_g723_exit()
391 snd_card_free(solo_dev->snd_card); in solo_g723_exit()
392 solo_dev->snd_card = NULL; in solo_g723_exit()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/sound/usb/usx2y/
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 *car in snd_us122l_probe()
[all...]
/kernel/linux/linux-6.6/sound/usb/usx2y/
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()
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 *car in snd_us122l_probe()
[all...]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()

Completed in 17 milliseconds

12345678910>>...32