Lines Matching refs:snd_card

83 	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()
194 struct snd_card *card_ptr; /* assigned card instance */
198 static inline struct device *snd_card_get_device_link(struct snd_card *card) in snd_card_get_device_link()
211 void snd_device_initialize(struct device *dev, struct snd_card *card);
213 int snd_register_device(int type, struct snd_card *card, int dev,
220 int snd_register_oss_device(int type, struct snd_card *card, int dev,
222 int snd_unregister_oss_device(int type, struct snd_card *card, int dev);
243 extern struct snd_card *snd_cards[SNDRV_CARDS];
249 extern int (*snd_mixer_oss_notify_callback)(struct snd_card *card, int cmd);
254 struct snd_card **card_ret);
256 int snd_card_disconnect(struct snd_card *card);
257 int snd_card_free(struct snd_card *card);
258 int snd_card_free_when_closed(struct snd_card *card);
259 void snd_card_set_id(struct snd_card *card, const char *id);
260 int snd_card_register(struct snd_card *card);
262 int snd_card_add_dev_attr(struct snd_card *card,
264 int snd_component_add(struct snd_card *card, const char *component);
265 int snd_card_file_add(struct snd_card *card, struct file *file);
266 int snd_card_file_remove(struct snd_card *card, struct file *file);
273 int snd_device_new(struct snd_card *card, enum snd_device_type type,
275 int snd_device_register(struct snd_card *card, void *device_data);
276 int snd_device_register_all(struct snd_card *card);
277 void snd_device_disconnect(struct snd_card *card, void *device_data);
278 void snd_device_disconnect_all(struct snd_card *card);
279 void snd_device_free(struct snd_card *card, void *device_data);
280 void snd_device_free_all(struct snd_card *card);