Home
last modified time | relevance | path

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

12345678910>>...22

/linux/drivers/gpu/drm/nouveau/nvkm/core/
A Dnotify.c31 nvkm_event_put(notify->event, notify->types, notify->index); in nvkm_notify_put_locked()
53 nvkm_event_get(notify->event, notify->types, notify->index); in nvkm_notify_get_locked()
73 int ret = notify->func(notify); in nvkm_notify_func()
86 struct nvkm_notify *notify = container_of(work, typeof(*notify), work); in nvkm_notify_work() local
100 if (notify->block) { in nvkm_notify_send()
111 notify->data = data; in nvkm_notify_send()
113 notify->data = NULL; in nvkm_notify_send()
121 if (notify->event) { in nvkm_notify_fini()
142 notify->flags = 0; in nvkm_notify_init()
143 notify->block = 1; in nvkm_notify_init()
[all …]
A Dclient.c84 struct nvkm_client_notify *notify = container_of(n, typeof(*notify), n); in nvkm_client_notify() local
86 return client->ntfy(&notify->rep, notify->size, n->data, n->size); in nvkm_client_notify()
93 if (client->notify[index]) { in nvkm_client_notify_put()
105 if (client->notify[index]) { in nvkm_client_notify_get()
140 if (!client->notify[index]) in nvkm_client_notify_new()
147 notify = kzalloc(sizeof(*notify), GFP_KERNEL); in nvkm_client_notify_new()
148 if (!notify) in nvkm_client_notify_new()
157 notify->size = sizeof(notify->rep.v0); in nvkm_client_notify_new()
168 client->notify[index] = notify; in nvkm_client_notify_new()
169 notify->client = client; in nvkm_client_notify_new()
[all …]
A Devent.c55 struct nvkm_notify *notify; in nvkm_event_send() local
62 list_for_each_entry(notify, &event->list, head) { in nvkm_event_send()
63 if (notify->index == index && (notify->types & types)) { in nvkm_event_send()
65 event->func->send(data, size, notify); in nvkm_event_send()
68 nvkm_notify_send(notify, data, size); in nvkm_event_send()
/linux/drivers/gpu/drm/nouveau/nvif/
A Dnotify.c93 int ret = notify->func(notify); in nvif_notify_func()
107 struct nvif_notify *notify = container_of(work, typeof(*notify), work); in nvif_notify_work() local
135 notify->data = data; in nvif_notify()
137 notify->data = NULL; in nvif_notify()
158 notify->object = NULL; in nvif_notify_dtor()
178 notify->flags = 0; in nvif_notify_ctor()
180 notify->func = func; in nvif_notify_ctor()
181 notify->data = NULL; in nvif_notify_ctor()
182 notify->size = reply; in nvif_notify_ctor()
186 notify->data = kmalloc(notify->size, GFP_KERNEL); in nvif_notify_ctor()
[all …]
/linux/drivers/gpu/drm/amd/display/dmub/src/
A Ddmub_srv_stat.c47 struct dmub_notification *notify) in dmub_srv_stat_get_notification() argument
57 notify->type = DMUB_NOTIFICATION_NO_DATA; in dmub_srv_stat_get_notification()
58 notify->pending_notification = false; in dmub_srv_stat_get_notification()
66 notify->type = DMUB_NOTIFICATION_NO_DATA; in dmub_srv_stat_get_notification()
67 notify->pending_notification = false; in dmub_srv_stat_get_notification()
76 dmub_memcpy((void *)&notify->aux_reply, in dmub_srv_stat_get_notification()
81 notify->type = DMUB_NOTIFICATION_HPD; in dmub_srv_stat_get_notification()
88 notify->result = AUX_RET_SUCCESS; in dmub_srv_stat_get_notification()
96 notify->type = DMUB_NOTIFICATION_NO_DATA; in dmub_srv_stat_get_notification()
109 notify->pending_notification = false; in dmub_srv_stat_get_notification()
[all …]
/linux/drivers/acpi/acpica/
A Devmisc.c126 info->notify.node = node; in acpi_ev_queue_notify_request()
127 info->notify.value = (u16)notify_value; in acpi_ev_queue_notify_request()
170 if (info->notify.global->handler) { in acpi_ev_notify_dispatch()
171 info->notify.global->handler(info->notify.node, in acpi_ev_notify_dispatch()
172 info->notify.value, in acpi_ev_notify_dispatch()
173 info->notify.global->context); in acpi_ev_notify_dispatch()
178 handler_obj = info->notify.handler_list_head; in acpi_ev_notify_dispatch()
180 handler_obj->notify.handler(info->notify.node, in acpi_ev_notify_dispatch()
181 info->notify.value, in acpi_ev_notify_dispatch()
182 handler_obj->notify.context); in acpi_ev_notify_dispatch()
[all …]
A Devgpeutil.c275 struct acpi_gpe_notify_info *notify; in acpi_ev_delete_gpe_handlers() local
309 notify = gpe_event_info->dispatch.notify_list; in acpi_ev_delete_gpe_handlers()
310 while (notify) { in acpi_ev_delete_gpe_handlers()
311 next = notify->next; in acpi_ev_delete_gpe_handlers()
312 ACPI_FREE(notify); in acpi_ev_delete_gpe_handlers()
313 notify = next; in acpi_ev_delete_gpe_handlers()
/linux/fs/notify/
A D.built-in.a.cmd1notify/built-in.a := echo >/dev/null; rm -f fs/notify/built-in.a; /usr/bin/ccache /home/test/works…
/linux/drivers/gpu/drm/amd/display/dc/core/
A Ddc_stat.c52 void dc_stat_get_dmub_notification(const struct dc *dc, struct dmub_notification *notify) in dc_stat_get_dmub_notification() argument
62 status = dmub_srv_stat_get_notification(dmub, notify); in dc_stat_get_dmub_notification()
66 if (notify->type == DMUB_NOTIFICATION_HPD || in dc_stat_get_dmub_notification()
67 notify->type == DMUB_NOTIFICATION_HPD_IRQ || in dc_stat_get_dmub_notification()
68 notify->type == DMUB_NOTIFICATION_SET_CONFIG_REPLY) { in dc_stat_get_dmub_notification()
69 notify->link_index = in dc_stat_get_dmub_notification()
70 get_link_index_from_dpia_port_index(dc, notify->link_index); in dc_stat_get_dmub_notification()
/linux/drivers/gpu/drm/nouveau/nvkm/engine/sw/
A Dnv50.c39 nv50_sw_chan_vblsem_release(struct nvkm_notify *notify) in nv50_sw_chan_vblsem_release() argument
42 container_of(notify, typeof(*chan), vblank.notify[notify->index]); in nv50_sw_chan_vblsem_release()
73 nvkm_notify_get(&chan->vblank.notify[data]); in nv50_sw_chan_mthd()
88 for (i = 0; i < ARRAY_SIZE(chan->vblank.notify); i++) in nv50_sw_chan_dtor()
89 nvkm_notify_fini(&chan->vblank.notify[i]); in nv50_sw_chan_dtor()
123 &chan->vblank.notify[i]); in nv50_sw_chan_new()
A Dgf100.c39 gf100_sw_chan_vblsem_release(struct nvkm_notify *notify) in gf100_sw_chan_vblsem_release() argument
42 container_of(notify, typeof(*chan), vblank.notify[notify->index]); in gf100_sw_chan_vblsem_release()
76 nvkm_notify_get(&chan->vblank.notify[data]); in gf100_sw_chan_mthd()
130 &chan->vblank.notify[i]); in gf100_sw_chan_new()
/linux/lib/
A Dcpu_rmap.c214 struct irq_affinity_notify notify; member
235 irq_set_affinity_notifier(glue->notify.irq, NULL); in free_irq_cpu_rmap()
250 irq_cpu_rmap_notify(struct irq_affinity_notify *notify, const cpumask_t *mask) in irq_cpu_rmap_notify() argument
253 container_of(notify, struct irq_glue, notify); in irq_cpu_rmap_notify()
268 container_of(ref, struct irq_glue, notify.kref); in irq_cpu_rmap_release()
292 glue->notify.notify = irq_cpu_rmap_notify; in irq_cpu_rmap_add()
293 glue->notify.release = irq_cpu_rmap_release; in irq_cpu_rmap_add()
297 rc = irq_set_affinity_notifier(irq, &glue->notify); in irq_cpu_rmap_add()
/linux/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 …]
/linux/net/netfilter/
A Dnf_conntrack_ecache.c140 struct nf_ct_event_notifier *notify; in __nf_conntrack_eventmask_report() local
148 notify = rcu_dereference(net->ct.nf_conntrack_event_cb); in __nf_conntrack_eventmask_report()
149 if (!notify) { in __nf_conntrack_eventmask_report()
154 ret = notify->ct_event(events | missed, item); in __nf_conntrack_eventmask_report()
243 struct nf_ct_event_notifier *notify; in nf_ct_expect_event_report() local
247 notify = rcu_dereference(net->ct.nf_conntrack_event_cb); in nf_ct_expect_event_report()
248 if (!notify) in nf_ct_expect_event_report()
261 notify->exp_event(1 << event, &item); in nf_ct_expect_event_report()
270 struct nf_ct_event_notifier *notify; in nf_conntrack_register_notifier() local
273 notify = rcu_dereference_protected(net->ct.nf_conntrack_event_cb, in nf_conntrack_register_notifier()
[all …]
/linux/drivers/usb/gadget/function/
A Df_acm.c53 struct usb_ep *notify; member
428 if (acm->notify->enabled) { in acm_set_alt()
431 usb_ep_disable(acm->notify); in acm_set_alt()
434 if (!acm->notify->desc) in acm_set_alt()
438 usb_ep_enable(acm->notify); in acm_set_alt()
441 if (acm->notify->enabled) { in acm_set_alt()
473 usb_ep_disable(acm->notify); in acm_disable()
507 notify = req->buf; in acm_cdc_notify()
508 buf = notify + 1; in acm_cdc_notify()
664 acm->notify = ep; in acm_bind()
[all …]
/linux/fs/notify/fanotify/
A D.built-in.a.cmd1notify/fanotify/built-in.a := echo >/dev/null; rm -f fs/notify/fanotify/built-in.a; /usr/bin/ccach…
/linux/fs/notify/inotify/
A D.built-in.a.cmd1notify/inotify/built-in.a := echo >/dev/null; rm -f fs/notify/inotify/built-in.a; /usr/bin/ccache …
/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
A Dbase.c130 struct nvkm_notify *notify) in nvkm_fifo_kevent_ctor() argument
134 notify->size = 0; in nvkm_fifo_kevent_ctor()
135 notify->types = 1; in nvkm_fifo_kevent_ctor()
136 notify->index = chan->chid; in nvkm_fifo_kevent_ctor()
149 struct nvkm_notify *notify) in nvkm_fifo_cevent_ctor() argument
152 notify->size = 0; in nvkm_fifo_cevent_ctor()
153 notify->types = 1; in nvkm_fifo_cevent_ctor()
154 notify->index = 0; in nvkm_fifo_cevent_ctor()
187 struct nvkm_notify *notify) in nvkm_fifo_uevent_ctor() argument
196 notify->types = 1; in nvkm_fifo_uevent_ctor()
[all …]
/linux/drivers/net/ethernet/qlogic/qede/
A Dqede_rdma.c142 if (qedr_drv && edev->rdma_info.qedr_dev && qedr_drv->notify) in _qede_rdma_dev_open()
143 qedr_drv->notify(edev->rdma_info.qedr_dev, QEDE_UP); in _qede_rdma_dev_open()
158 if (qedr_drv && edev->rdma_info.qedr_dev && qedr_drv->notify) in _qede_rdma_dev_close()
159 qedr_drv->notify(edev->rdma_info.qedr_dev, QEDE_DOWN); in _qede_rdma_dev_close()
178 if (qedr_drv && edev->rdma_info.qedr_dev && qedr_drv->notify) in qede_rdma_dev_shutdown()
179 qedr_drv->notify(edev->rdma_info.qedr_dev, QEDE_CLOSE); in qede_rdma_dev_shutdown()
233 if (qedr_drv && edev->rdma_info.qedr_dev && qedr_drv->notify) in qede_rdma_changeaddr()
234 qedr_drv->notify(edev->rdma_info.qedr_dev, QEDE_CHANGE_ADDR); in qede_rdma_changeaddr()
240 if (qedr_drv && edev->rdma_info.qedr_dev && qedr_drv->notify) in qede_rdma_change_mtu()
241 qedr_drv->notify(edev->rdma_info.qedr_dev, in qede_rdma_change_mtu()
/linux/net/openvswitch/
A Ddp_notify.c16 struct sk_buff *notify; in dp_detach_port_notify() local
20 notify = ovs_vport_cmd_build_info(vport, ovs_dp_get_net(dp), in dp_detach_port_notify()
23 if (IS_ERR(notify)) { in dp_detach_port_notify()
25 0, PTR_ERR(notify)); in dp_detach_port_notify()
30 ovs_dp_get_net(dp), notify, 0, in dp_detach_port_notify()
/linux/fs/notify/dnotify/
A D.built-in.a.cmd1notify/dnotify/built-in.a := echo >/dev/null; rm -f fs/notify/dnotify/built-in.a; /usr/bin/ccache …
/linux/drivers/xen/
A Dgntalloc.c186 if (gref->notify.flags & UNMAP_NOTIFY_CLEAR_BYTE) { in __del_gref()
188 tmp[gref->notify.pgoff] = 0; in __del_gref()
191 if (gref->notify.flags & UNMAP_NOTIFY_SEND_EVENT) { in __del_gref()
192 notify_remote_via_evtchn(gref->notify.event); in __del_gref()
193 evtchn_put(gref->notify.event); in __del_gref()
196 gref->notify.flags = 0; in __del_gref()
427 if (gref->notify.flags & UNMAP_NOTIFY_SEND_EVENT) in gntalloc_ioctl_unmap_notify()
428 evtchn_put(gref->notify.event); in gntalloc_ioctl_unmap_notify()
430 gref->notify.flags = op.action; in gntalloc_ioctl_unmap_notify()
431 gref->notify.pgoff = pgoff; in gntalloc_ioctl_unmap_notify()
[all …]
/linux/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()
/linux/net/wireless/
A Dap.c11 struct net_device *dev, bool notify) in __cfg80211_stop_ap() argument
35 if (notify) in __cfg80211_stop_ap()
50 struct net_device *dev, bool notify) in cfg80211_stop_ap() argument
56 err = __cfg80211_stop_ap(rdev, dev, notify); in cfg80211_stop_ap()

Completed in 46 milliseconds

12345678910>>...22