Home
last modified time | relevance | path

Searched full:notify (Results 1 – 25 of 3048) sorted by relevance

12345678910>>...122

/kernel/linux/linux-4.19/drivers/gpu/drm/nouveau/nvkm/core/
Dnotify.c24 #include <core/notify.h>
28 nvkm_notify_put_locked(struct nvkm_notify *notify) in nvkm_notify_put_locked() argument
30 if (notify->block++ == 0) in nvkm_notify_put_locked()
31 nvkm_event_put(notify->event, notify->types, notify->index); in nvkm_notify_put_locked()
35 nvkm_notify_put(struct nvkm_notify *notify) in nvkm_notify_put() argument
37 struct nvkm_event *event = notify->event; in nvkm_notify_put()
40 test_and_clear_bit(NVKM_NOTIFY_USER, &notify->flags)) { in nvkm_notify_put()
42 nvkm_notify_put_locked(notify); in nvkm_notify_put()
44 if (test_bit(NVKM_NOTIFY_WORK, &notify->flags)) in nvkm_notify_put()
45 flush_work(&notify->work); in nvkm_notify_put()
[all …]
Dclient.c26 #include <core/notify.h>
84 struct nvkm_client_notify *notify = container_of(n, typeof(*notify), n); in nvkm_client_notify() local
85 struct nvkm_client *client = notify->client; in nvkm_client_notify()
86 return client->ntfy(&notify->rep, notify->size, n->data, n->size); in nvkm_client_notify()
92 if (index < ARRAY_SIZE(client->notify)) { in nvkm_client_notify_put()
93 if (client->notify[index]) { in nvkm_client_notify_put()
94 nvkm_notify_put(&client->notify[index]->n); in nvkm_client_notify_put()
104 if (index < ARRAY_SIZE(client->notify)) { in nvkm_client_notify_get()
105 if (client->notify[index]) { in nvkm_client_notify_get()
106 nvkm_notify_get(&client->notify[index]->n); in nvkm_client_notify_get()
[all …]
Devent.c23 #include <core/notify.h>
55 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/core/
Dnotify.c24 #include <core/notify.h>
28 nvkm_notify_put_locked(struct nvkm_notify *notify) in nvkm_notify_put_locked() argument
30 if (notify->block++ == 0) in nvkm_notify_put_locked()
31 nvkm_event_put(notify->event, notify->types, notify->index); in nvkm_notify_put_locked()
35 nvkm_notify_put(struct nvkm_notify *notify) in nvkm_notify_put() argument
37 struct nvkm_event *event = notify->event; in nvkm_notify_put()
40 test_and_clear_bit(NVKM_NOTIFY_USER, &notify->flags)) { in nvkm_notify_put()
42 nvkm_notify_put_locked(notify); in nvkm_notify_put()
44 if (test_bit(NVKM_NOTIFY_WORK, &notify->flags)) in nvkm_notify_put()
45 flush_work(&notify->work); in nvkm_notify_put()
[all …]
Dclient.c26 #include <core/notify.h>
84 struct nvkm_client_notify *notify = container_of(n, typeof(*notify), n); in nvkm_client_notify() local
85 struct nvkm_client *client = notify->client; in nvkm_client_notify()
86 return client->ntfy(&notify->rep, notify->size, n->data, n->size); in nvkm_client_notify()
92 if (index < ARRAY_SIZE(client->notify)) { in nvkm_client_notify_put()
93 if (client->notify[index]) { in nvkm_client_notify_put()
94 nvkm_notify_put(&client->notify[index]->n); in nvkm_client_notify_put()
104 if (index < ARRAY_SIZE(client->notify)) { in nvkm_client_notify_get()
105 if (client->notify[index]) { in nvkm_client_notify_get()
106 nvkm_notify_get(&client->notify[index]->n); in nvkm_client_notify_get()
[all …]
Devent.c23 #include <core/notify.h>
55 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvif/
Dnotify.c27 #include <nvif/notify.h>
33 nvif_notify_put_(struct nvif_notify *notify) in nvif_notify_put_() argument
35 struct nvif_object *object = notify->object; in nvif_notify_put_()
41 .ntfy.index = notify->index, in nvif_notify_put_()
44 if (atomic_inc_return(&notify->putcnt) != 1) in nvif_notify_put_()
51 nvif_notify_put(struct nvif_notify *notify) in nvif_notify_put() argument
53 if (likely(notify->object) && in nvif_notify_put()
54 test_and_clear_bit(NVIF_NOTIFY_USER, &notify->flags)) { in nvif_notify_put()
55 int ret = nvif_notify_put_(notify); in nvif_notify_put()
56 if (test_bit(NVIF_NOTIFY_WORK, &notify->flags)) in nvif_notify_put()
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/nouveau/nvif/
Dnotify.c27 #include <nvif/notify.h>
33 nvif_notify_put_(struct nvif_notify *notify) in nvif_notify_put_() argument
35 struct nvif_object *object = notify->object; in nvif_notify_put_()
41 .ntfy.index = notify->index, in nvif_notify_put_()
44 if (atomic_inc_return(&notify->putcnt) != 1) in nvif_notify_put_()
51 nvif_notify_put(struct nvif_notify *notify) in nvif_notify_put() argument
53 if (likely(notify->object) && in nvif_notify_put()
54 test_and_clear_bit(NVIF_NOTIFY_USER, &notify->flags)) { in nvif_notify_put()
55 int ret = nvif_notify_put_(notify); in nvif_notify_put()
56 if (test_bit(NVIF_NOTIFY_WORK, &notify->flags)) in nvif_notify_put()
[all …]
/kernel/linux/linux-4.19/drivers/acpi/acpica/
Devmisc.c58 * notify_value - Value from the Notify() request
84 /* Get the correct notify list type (System or Device) */ in acpi_ev_queue_notify_request()
92 /* Get the notify object attached to the namespace Node */ in acpi_ev_queue_notify_request()
104 * If there is no notify handler (Global or Local) in acpi_ev_queue_notify_request()
105 * for this object, just ignore the notify in acpi_ev_queue_notify_request()
110 "No notify handler for Notify, ignoring (%4.4s, %X) node %p\n", in acpi_ev_queue_notify_request()
117 /* Setup notify info and schedule the notify dispatcher */ in acpi_ev_queue_notify_request()
126 info->notify.node = node; in acpi_ev_queue_notify_request()
127 info->notify.value = (u16)notify_value; in acpi_ev_queue_notify_request()
128 info->notify.handler_list_id = handler_list_id; in acpi_ev_queue_notify_request()
[all …]
/kernel/linux/linux-5.10/drivers/acpi/acpica/
Devmisc.c58 * notify_value - Value from the Notify() request
84 /* Get the correct notify list type (System or Device) */ in acpi_ev_queue_notify_request()
92 /* Get the notify object attached to the namespace Node */ in acpi_ev_queue_notify_request()
104 * If there is no notify handler (Global or Local) in acpi_ev_queue_notify_request()
105 * for this object, just ignore the notify in acpi_ev_queue_notify_request()
110 "No notify handler for Notify, ignoring (%4.4s, %X) node %p\n", in acpi_ev_queue_notify_request()
117 /* Setup notify info and schedule the notify dispatcher */ in acpi_ev_queue_notify_request()
126 info->notify.node = node; in acpi_ev_queue_notify_request()
127 info->notify.value = (u16)notify_value; in acpi_ev_queue_notify_request()
128 info->notify.handler_list_id = handler_list_id; in acpi_ev_queue_notify_request()
[all …]
/kernel/linux/linux-5.10/net/netfilter/
Dnf_conntrack_ecache.c138 struct nf_ct_event_notifier *notify; in nf_conntrack_eventmask_report() local
142 notify = rcu_dereference(net->ct.nf_conntrack_event_cb); in nf_conntrack_eventmask_report()
143 if (!notify) in nf_conntrack_eventmask_report()
162 ret = notify->fcn(eventmask | missed, &item); in nf_conntrack_eventmask_report()
195 struct nf_ct_event_notifier *notify; in nf_ct_deliver_cached_events() local
201 notify = rcu_dereference(net->ct.nf_conntrack_event_cb); in nf_ct_deliver_cached_events()
202 if (notify == NULL) in nf_ct_deliver_cached_events()
226 ret = notify->fcn(events | missed, &item); in nf_ct_deliver_cached_events()
249 struct nf_exp_event_notifier *notify; in nf_ct_expect_event_report() local
253 notify = rcu_dereference(net->ct.nf_expect_event_cb); in nf_ct_expect_event_report()
[all …]
/kernel/linux/linux-4.19/net/netfilter/
Dnf_conntrack_ecache.c127 struct nf_ct_event_notifier *notify; in nf_conntrack_eventmask_report() local
131 notify = rcu_dereference(net->ct.nf_conntrack_event_cb); in nf_conntrack_eventmask_report()
132 if (!notify) in nf_conntrack_eventmask_report()
151 ret = notify->fcn(eventmask | missed, &item); in nf_conntrack_eventmask_report()
184 struct nf_ct_event_notifier *notify; in nf_ct_deliver_cached_events() local
190 notify = rcu_dereference(net->ct.nf_conntrack_event_cb); in nf_ct_deliver_cached_events()
191 if (notify == NULL) in nf_ct_deliver_cached_events()
215 ret = notify->fcn(events | missed, &item); in nf_ct_deliver_cached_events()
238 struct nf_exp_event_notifier *notify; in nf_ct_expect_event_report() local
242 notify = rcu_dereference(net->ct.nf_expect_event_cb); in nf_ct_expect_event_report()
[all …]
/kernel/linux/linux-4.19/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.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 …]
/kernel/linux/linux-5.10/sound/aoa/core/
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()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dbase.c29 #include <core/notify.h>
130 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
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dbase.c29 #include <core/notify.h>
130 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
[all …]
/kernel/linux/linux-5.10/drivers/firmware/tegra/
Divc.c317 * Notify only upon transition from full to non-full. The available in tegra_ivc_read_advance()
324 ivc->notify(ivc, ivc->notify_data); in tegra_ivc_read_advance()
373 * Notify only upon transition from empty to non-empty. The available in tegra_ivc_write_advance()
380 ivc->notify(ivc, ivc->notify_data); in tegra_ivc_write_advance()
392 ivc->notify(ivc, ivc->notify_data); in tegra_ivc_reset()
404 * SYNC ACK reset counters; move to EST; notify
405 * SYNC SYNC reset counters; move to ACK; notify
406 * ACK EST move to EST; notify
407 * ACK ACK move to EST; notify
408 * ACK SYNC reset counters; move to ACK; notify
[all …]
/kernel/linux/linux-4.19/drivers/firmware/tegra/
Divc.c325 * Notify only upon transition from full to non-full. The available in tegra_ivc_read_advance()
332 ivc->notify(ivc, ivc->notify_data); in tegra_ivc_read_advance()
381 * Notify only upon transition from empty to non-empty. The available in tegra_ivc_write_advance()
388 ivc->notify(ivc, ivc->notify_data); in tegra_ivc_write_advance()
400 ivc->notify(ivc, ivc->notify_data); in tegra_ivc_reset()
412 * SYNC ACK reset counters; move to EST; notify
413 * SYNC SYNC reset counters; move to ACK; notify
414 * ACK EST move to EST; notify
415 * ACK ACK move to EST; notify
416 * ACK SYNC reset counters; move to ACK; notify
[all …]
/kernel/linux/linux-5.10/lib/
Dcpu_rmap.c214 struct irq_affinity_notify notify; member
235 irq_set_affinity_notifier(glue->notify.irq, NULL); in free_irq_cpu_rmap()
244 * @notify: struct irq_affinity_notify passed by irq/manage.c
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()
/kernel/linux/linux-4.19/lib/
Dcpu_rmap.c217 struct irq_affinity_notify notify; member
238 irq_set_affinity_notifier(glue->notify.irq, NULL); in free_irq_cpu_rmap()
247 * @notify: struct irq_affinity_notify passed by irq/manage.c
253 irq_cpu_rmap_notify(struct irq_affinity_notify *notify, const cpumask_t *mask) in irq_cpu_rmap_notify() argument
256 container_of(notify, struct irq_glue, notify); in irq_cpu_rmap_notify()
271 container_of(ref, struct irq_glue, notify.kref); in irq_cpu_rmap_release()
295 glue->notify.notify = irq_cpu_rmap_notify; in irq_cpu_rmap_add()
296 glue->notify.release = irq_cpu_rmap_release; in irq_cpu_rmap_add()
300 rc = irq_set_affinity_notifier(irq, &glue->notify); in irq_cpu_rmap_add()
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
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()
435 if (config_ep_by_speed(cdev->gadget, f, acm->notify)) 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()
495 struct usb_ep *ep = acm->notify; in acm_cdc_notify()
497 struct usb_cdc_notification *notify; in acm_cdc_notify() local
[all …]
/kernel/linux/linux-4.19/drivers/misc/mic/scif/
Dscif_nodeqp.h72 #define SCIF_DISCNCT 14 /* Notify peer that connection is being terminated */
73 #define SCIF_DISCNT_ACK 15 /* Notify peer that connection is being terminated */
74 #define SCIF_CLIENT_SENT 16 /* Notify the peer that data has been written */
75 #define SCIF_CLIENT_RCVD 17 /* Notify the peer that data has been read */
78 #define SCIF_REGISTER_ACK 20 /* Notify peer about unregistration success */
79 #define SCIF_REGISTER_NACK 21 /* Notify peer about registration success */
81 #define SCIF_UNREGISTER_ACK 23 /* Notify peer about registration failure */
82 #define SCIF_UNREGISTER_NACK 24 /* Notify peer about unregistration failure */
84 #define SCIF_ALLOC_GNT 26 /* Notify peer about allocation success */
85 #define SCIF_ALLOC_REJ 27 /* Notify peer about allocation failure */
/kernel/linux/linux-5.10/net/openvswitch/
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()
/kernel/linux/linux-4.19/drivers/usb/gadget/function/
Df_acm.c53 struct usb_ep *notify; member
430 usb_ep_disable(acm->notify); in acm_set_alt()
432 if (!acm->notify->desc) in acm_set_alt()
433 if (config_ep_by_speed(cdev->gadget, f, acm->notify)) in acm_set_alt()
436 usb_ep_enable(acm->notify); in acm_set_alt()
439 if (acm->notify->enabled) { in acm_set_alt()
471 usb_ep_disable(acm->notify); in acm_disable()
493 struct usb_ep *ep = acm->notify; in acm_cdc_notify()
495 struct usb_cdc_notification *notify; in acm_cdc_notify() local
496 const unsigned len = sizeof(*notify) + length; in acm_cdc_notify()
[all …]

12345678910>>...122