Lines Matching defs:notify
787 struct snd_pcm_notify *notify;
791 list_for_each_entry(notify, &snd_pcm_notify_list, list) {
792 notify->n_unregister(pcm);
981 struct snd_pcm_notify *notify;
1031 list_for_each_entry(notify, &snd_pcm_notify_list, list)
1032 notify->n_register(pcm);
1041 struct snd_pcm_notify *notify;
1054 list_for_each_entry(notify, &snd_pcm_notify_list, list) {
1055 notify->n_disconnect(pcm);
1074 int snd_pcm_notify(struct snd_pcm_notify *notify, int nfree)
1078 if (snd_BUG_ON(!notify ||
1079 !notify->n_register ||
1080 !notify->n_unregister ||
1081 !notify->n_disconnect))
1085 list_del(¬ify->list);
1087 notify->n_unregister(pcm);
1089 list_add_tail(¬ify->list, &snd_pcm_notify_list);
1091 notify->n_register(pcm);