Home
last modified time | relevance | path

Searched refs:notify (Results 1 – 6 of 6) sorted by relevance

/sound/aoa/core/
Dgpio-pmf.c79 if (notif->notify) in pmf_handle_notify()
80 notif->notify(notif->data); in pmf_handle_notify()
132 notify_func_t notify, in pmf_set_notify() argument
160 old = notif->notify; in pmf_set_notify()
162 if (!old && !notify) { in pmf_set_notify()
167 if (old && notify) { in pmf_set_notify()
168 if (old == notify && notif->data == data) in pmf_set_notify()
173 if (old && !notify) { in pmf_set_notify()
179 if (!old && notify) { in pmf_set_notify()
200 notif->notify = notify; in pmf_set_notify()
Dgpio-feature.c214 if (notif->notify) in ftr_handle_notify()
215 notif->notify(notif->data); in ftr_handle_notify()
285 if (rt->headphone_notify.notify) in ftr_gpio_exit()
310 notify_func_t notify, in ftr_set_notify() argument
344 old = notif->notify; in ftr_set_notify()
346 if (!old && !notify) { in ftr_set_notify()
351 if (old && notify) { in ftr_set_notify()
352 if (old == notify && notif->data == data) in ftr_set_notify()
357 if (old && !notify) in ftr_set_notify()
360 if (!old && notify) { in ftr_set_notify()
[all …]
/sound/core/
Dpcm.c844 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
[all …]
/sound/aoa/
Daoa-gpio.h55 notify_func_t notify,
65 notify_func_t notify; member
/sound/pci/mixart/
Dmixart_core.c458 struct mixart_timer_notify *notify; in snd_mixart_threaded_irq() local
459 notify = (struct mixart_timer_notify *)mixart_msg_data; in snd_mixart_threaded_irq()
461 for(i=0; i<notify->stream_count; i++) { in snd_mixart_threaded_irq()
463 u32 buffer_id = notify->streams[i].buffer_id; in snd_mixart_threaded_irq()
475 buffer_id, notify->streams[i].sample_pos_low_part); in snd_mixart_threaded_irq()
487 u64 sample_count = ((u64)notify->streams[i].sample_pos_high_part) << 32; in snd_mixart_threaded_irq()
488 sample_count |= notify->streams[i].sample_pos_low_part; in snd_mixart_threaded_irq()
/sound/drivers/
Daloop.c85 unsigned int notify: 1; member
161 return get_setup(dpcm)->notify; in get_notify()
353 (get_setup(dpcm)->notify && in loopback_prepare()
855 [kcontrol->id.device].notify; in loopback_notify_get()
868 [kcontrol->id.device].notify) { in loopback_notify_put()
870 [kcontrol->id.device].notify = val; in loopback_notify_put()
1006 static int loopback_mixer_new(struct loopback *loopback, int notify) in loopback_mixer_new() argument
1021 setup->notify = notify; in loopback_mixer_new()