Lines Matching defs:notify
1138 * snd_pcm_notify - Add/remove the notify list
1139 * @notify: PCM notify list
1146 int snd_pcm_notify(struct snd_pcm_notify *notify, int nfree)
1150 if (snd_BUG_ON(!notify ||
1151 !notify->n_register ||
1152 !notify->n_unregister ||
1153 !notify->n_disconnect))
1157 list_del(¬ify->list);
1159 notify->n_unregister(pcm);
1161 list_add_tail(¬ify->list, &snd_pcm_notify_list);
1163 notify->n_register(pcm);