Lines Matching defs:card
69 struct snd_card *card; /* card which holds this device */ member
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()
205 static inline int snd_power_wait(struct snd_card *card) { return 0; } in snd_power_wait()
206 static inline void snd_power_ref(struct snd_card *card) {} in snd_power_ref()
207 static inline void snd_power_unref(struct snd_card *card) {} in snd_power_unref()
208 static inline int snd_power_ref_and_wait(struct snd_card *card) { return 0; } in snd_power_ref_and_wait()
209 static inline void snd_power_sync_ref(struct snd_card *card) {} in snd_power_sync_ref()
210 #define snd_power_get_state(card) ({ (void)(card); SNDRV_CTL_POWER_D0; }) argument
211 #define snd_power_change_state(card, state) do { (void)(card); } while (0) argument
217 int card; /* card number */ member
226 static inline struct device *snd_card_get_device_link(struct snd_card *card) in snd_card_get_device_link()
312 static inline void snd_card_unref(struct snd_card *card) in snd_card_unref()
317 #define snd_card_set_dev(card, devptr) ((card)->dev = (devptr)) argument