Home
last modified time | relevance | path

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

/sound/aoa/core/
A Dgpio-pmf.c78 if (notif->notify) in pmf_handle_notify()
79 notif->notify(notif->data); in pmf_handle_notify()
131 notify_func_t notify, in pmf_set_notify() argument
159 old = notif->notify; in pmf_set_notify()
161 if (!old && !notify) { in pmf_set_notify()
166 if (old && notify) { in pmf_set_notify()
167 if (old == notify && notif->data == data) in pmf_set_notify()
172 if (old && !notify) { in pmf_set_notify()
178 if (!old && notify) { in pmf_set_notify()
199 notif->notify = notify; in pmf_set_notify()
A Dgpio-feature.c216 if (notif->notify) in ftr_handle_notify()
217 notif->notify(notif->data); in ftr_handle_notify()
287 if (rt->headphone_notify.notify) in ftr_gpio_exit()
312 notify_func_t notify, in ftr_set_notify() argument
346 old = notif->notify; in ftr_set_notify()
348 if (!old && !notify) { in ftr_set_notify()
353 if (old && notify) { in ftr_set_notify()
354 if (old == notify && notif->data == data) in ftr_set_notify()
359 if (old && !notify) in ftr_set_notify()
362 if (!old && notify) { in ftr_set_notify()
[all …]
/sound/virtio/
A Dvirtio_ctl_msg.c23 struct completion notify; member
102 init_completion(&msg->notify); in virtsnd_ctl_msg_alloc()
133 bool notify = false; in virtsnd_ctl_msg_send() local
154 notify = virtqueue_kick_prepare(queue->vqueue); in virtsnd_ctl_msg_send()
173 if (notify) in virtsnd_ctl_msg_send()
179 rc = wait_for_completion_interruptible_timeout(&msg->notify, js); in virtsnd_ctl_msg_send()
222 complete(&msg->notify); in virtsnd_ctl_msg_complete()
A Dvirtio_pcm_msg.c209 bool notify = false; in virtsnd_pcm_msg_send() local
258 notify = virtqueue_kick_prepare(vqueue); in virtsnd_pcm_msg_send()
260 if (notify) in virtsnd_pcm_msg_send()
A Dvirtio_card.c30 struct virtio_snd_event *event, bool notify, in virtsnd_event_send() argument
41 if (virtqueue_add_sgs(vqueue, psgs, 0, 1, event, gfp) || !notify) in virtsnd_event_send()
/sound/pci/mixart/
A Dmixart_core.c442 struct mixart_timer_notify *notify; in snd_mixart_threaded_irq() local
443 notify = (struct mixart_timer_notify *)mixart_msg_data; in snd_mixart_threaded_irq()
445 BUILD_BUG_ON(sizeof(notify) > sizeof(mixart_msg_data)); in snd_mixart_threaded_irq()
446 if (snd_BUG_ON(notify->stream_count > ARRAY_SIZE(notify->streams))) in snd_mixart_threaded_irq()
448 for(i=0; i<notify->stream_count; i++) { in snd_mixart_threaded_irq()
450 u32 buffer_id = notify->streams[i].buffer_id; in snd_mixart_threaded_irq()
462 buffer_id, notify->streams[i].sample_pos_low_part); in snd_mixart_threaded_irq()
474 u64 sample_count = ((u64)notify->streams[i].sample_pos_high_part) << 32; in snd_mixart_threaded_irq()
475 sample_count |= notify->streams[i].sample_pos_low_part; in snd_mixart_threaded_irq()
/sound/usb/
A Dfcp.c86 struct fcp_notify notify; member
831 private->notify.event); in fcp_hwdep_read()
835 spin_lock_irqsave(&private->notify.lock, flags); in fcp_hwdep_read()
836 event = private->notify.event; in fcp_hwdep_read()
837 private->notify.event = 0; in fcp_hwdep_read()
854 poll_wait(file, &private->notify.queue, wait); in fcp_hwdep_poll()
856 if (private->notify.event) in fcp_hwdep_poll()
952 private->notify.event |= data; in fcp_notify()
955 wake_up_interruptible(&private->notify.queue); in fcp_notify()
1060 init_waitqueue_head(&private->notify.queue); in fcp_init_private()
[all …]
/sound/aoa/
A Daoa-gpio.h53 notify_func_t notify,
63 notify_func_t notify; member
/sound/core/
A Dpcm.c1136 int snd_pcm_notify(struct snd_pcm_notify *notify, int nfree) in snd_pcm_notify() argument
1140 if (snd_BUG_ON(!notify || in snd_pcm_notify()
1141 !notify->n_register || in snd_pcm_notify()
1142 !notify->n_unregister || in snd_pcm_notify()
1143 !notify->n_disconnect)) in snd_pcm_notify()
1147 list_del(&notify->list); in snd_pcm_notify()
1149 notify->n_unregister(pcm); in snd_pcm_notify()
1151 list_add_tail(&notify->list, &snd_pcm_notify_list); in snd_pcm_notify()
1153 notify->n_register(pcm); in snd_pcm_notify()
/sound/xen/
A Dxen_snd_front_evtchnl.c135 int notify; in xen_snd_front_evtchnl_flush() local
138 RING_PUSH_REQUESTS_AND_CHECK_NOTIFY(&channel->u.req.ring, notify); in xen_snd_front_evtchnl_flush()
139 if (notify) in xen_snd_front_evtchnl_flush()
/sound/soc/sprd/
A Dsprd-mcdt.h21 void (*notify)(void *data); member
A Dsprd-mcdt.c535 chan->cb->notify(chan->cb->data); in sprd_mcdt_irq_handler()
546 chan->cb->notify(chan->cb->data); in sprd_mcdt_irq_handler()
/sound/drivers/
A Daloop.c119 unsigned int notify: 1; member
204 return get_setup(dpcm)->notify; in get_notify()
516 (get_setup(dpcm)->notify && in loopback_prepare()
1433 [kcontrol->id.device].notify; in loopback_notify_get()
1448 [kcontrol->id.device].notify) { in loopback_notify_put()
1450 [kcontrol->id.device].notify = val; in loopback_notify_put()
1627 static int loopback_mixer_new(struct loopback *loopback, int notify) in loopback_mixer_new() argument
1642 setup->notify = notify; in loopback_mixer_new()
/sound/soc/fsl/
A Dimx-pcm-rpmsg.h492 struct rpmsg_msg notify[2]; member
A Dimx-pcm-rpmsg.c557 memcpy(&info->notify[substream->stream], msg, in imx_rpmsg_pcm_ack()
656 memcpy(&msg, &info->notify[TX], sizeof(struct rpmsg_s_msg)); in imx_rpmsg_pcm_work()
666 memcpy(&msg, &info->notify[RX], sizeof(struct rpmsg_s_msg)); in imx_rpmsg_pcm_work()
/sound/soc/codecs/
A Darizona.h369 int (*notify) in arizona_register_notifier()
376 nb->notifier_call = notify; in arizona_register_notifier()
A Dcros_ec_codec.c810 unsigned long queued_during_suspend, void *notify) in wov_host_event() argument
/sound/soc/
A DKconfig100 notify the ASoC USB DPCM backend DAI link about available USB audio

Completed in 47 milliseconds