Lines Matching refs:notify
844 struct snd_pcm_notify *notify; in snd_pcm_free() local
848 list_for_each_entry(notify, &snd_pcm_notify_list, list) { in snd_pcm_free()
849 notify->n_unregister(pcm); in snd_pcm_free()
1049 struct snd_pcm_notify *notify; in snd_pcm_dev_register() local
1109 list_for_each_entry(notify, &snd_pcm_notify_list, list) in snd_pcm_dev_register()
1110 notify->n_register(pcm); in snd_pcm_dev_register()
1119 struct snd_pcm_notify *notify; in snd_pcm_dev_disconnect() local
1140 list_for_each_entry(notify, &snd_pcm_notify_list, list) { in snd_pcm_dev_disconnect()
1141 notify->n_disconnect(pcm); in snd_pcm_dev_disconnect()
1174 int snd_pcm_notify(struct snd_pcm_notify *notify, int nfree) in snd_pcm_notify() argument
1178 if (snd_BUG_ON(!notify || in snd_pcm_notify()
1179 !notify->n_register || in snd_pcm_notify()
1180 !notify->n_unregister || in snd_pcm_notify()
1181 !notify->n_disconnect)) in snd_pcm_notify()
1185 list_del(¬ify->list); in snd_pcm_notify()
1187 notify->n_unregister(pcm); in snd_pcm_notify()
1189 list_add_tail(¬ify->list, &snd_pcm_notify_list); in snd_pcm_notify()
1191 notify->n_register(pcm); in snd_pcm_notify()