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()
1066 struct snd_pcm_notify *notify; in snd_pcm_dev_register() local
1104 list_for_each_entry(notify, &snd_pcm_notify_list, list) in snd_pcm_dev_register()
1105 notify->n_register(pcm); in snd_pcm_dev_register()
1115 struct snd_pcm_notify *notify; in snd_pcm_dev_disconnect() local
1135 list_for_each_entry(notify, &snd_pcm_notify_list, list) in snd_pcm_dev_disconnect()
1136 notify->n_disconnect(pcm); in snd_pcm_dev_disconnect()
1160 int snd_pcm_notify(struct snd_pcm_notify *notify, int nfree) in snd_pcm_notify() argument
1164 if (snd_BUG_ON(!notify || in snd_pcm_notify()
1165 !notify->n_register || in snd_pcm_notify()
1166 !notify->n_unregister || in snd_pcm_notify()
1167 !notify->n_disconnect)) in snd_pcm_notify()
1171 list_del(¬ify->list); in snd_pcm_notify()
1173 notify->n_unregister(pcm); in snd_pcm_notify()
1175 list_add_tail(¬ify->list, &snd_pcm_notify_list); in snd_pcm_notify()
1177 notify->n_register(pcm); in snd_pcm_notify()