Lines Matching refs:notify
880 struct snd_pcm_notify *notify; in snd_pcm_free() local
885 list_for_each_entry(notify, &snd_pcm_notify_list, list) in snd_pcm_free()
886 notify->n_unregister(pcm); in snd_pcm_free()
1063 struct snd_pcm_notify *notify; in snd_pcm_dev_register() local
1101 list_for_each_entry(notify, &snd_pcm_notify_list, list) in snd_pcm_dev_register()
1102 notify->n_register(pcm); in snd_pcm_dev_register()
1112 struct snd_pcm_notify *notify; in snd_pcm_dev_disconnect() local
1132 list_for_each_entry(notify, &snd_pcm_notify_list, list) in snd_pcm_dev_disconnect()
1133 notify->n_disconnect(pcm); in snd_pcm_dev_disconnect()
1157 int snd_pcm_notify(struct snd_pcm_notify *notify, int nfree) in snd_pcm_notify() argument
1161 if (snd_BUG_ON(!notify || in snd_pcm_notify()
1162 !notify->n_register || in snd_pcm_notify()
1163 !notify->n_unregister || in snd_pcm_notify()
1164 !notify->n_disconnect)) in snd_pcm_notify()
1168 list_del(¬ify->list); in snd_pcm_notify()
1170 notify->n_unregister(pcm); in snd_pcm_notify()
1172 list_add_tail(¬ify->list, &snd_pcm_notify_list); in snd_pcm_notify()
1174 notify->n_register(pcm); in snd_pcm_notify()