/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/core/ |
D | notify.c | 24 #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, ¬ify->flags)) { in nvkm_notify_put() 42 nvkm_notify_put_locked(notify); in nvkm_notify_put() 44 if (test_bit(NVKM_NOTIFY_WORK, ¬ify->flags)) in nvkm_notify_put() 45 flush_work(¬ify->work); in nvkm_notify_put() [all …]
|
D | client.c | 26 #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(¬ify->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 …]
|
D | event.c | 23 #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()
|
/Linux-v5.10/drivers/gpu/drm/nouveau/nvif/ |
D | notify.c | 27 #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(¬ify->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, ¬ify->flags)) { in nvif_notify_put() 55 int ret = nvif_notify_put_(notify); in nvif_notify_put() 56 if (test_bit(NVIF_NOTIFY_WORK, ¬ify->flags)) in nvif_notify_put() [all …]
|
/Linux-v5.10/drivers/acpi/acpica/ |
D | evmisc.c | 58 * 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 …]
|
/Linux-v5.10/net/netfilter/ |
D | nf_conntrack_ecache.c | 138 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 …]
|
/Linux-v5.10/sound/aoa/core/ |
D | gpio-pmf.c | 78 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()
|
D | gpio-feature.c | 216 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-v5.10/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
D | base.c | 29 #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 …]
|
/Linux-v5.10/drivers/firmware/tegra/ |
D | ivc.c | 317 * 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 …]
|
/Linux-v5.10/lib/ |
D | cpu_rmap.c | 214 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()
|
/Linux-v5.10/drivers/usb/gadget/function/ |
D | f_acm.c | 53 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 …]
|
/Linux-v5.10/net/openvswitch/ |
D | dp_notify.c | 16 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-v5.10/drivers/net/ethernet/qlogic/qede/ |
D | qede_rdma.c | 142 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-v5.10/drivers/gpu/drm/nouveau/nvkm/engine/sw/ |
D | nv50.c | 39 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()
|
D | chan.c | 26 #include <core/notify.h> 51 struct nvkm_notify *notify) in nvkm_sw_chan_event_ctor() argument 59 notify->size = sizeof(struct nvif_notify_uevent_rep); in nvkm_sw_chan_event_ctor() 60 notify->types = 1; in nvkm_sw_chan_event_ctor() 61 notify->index = 0; in nvkm_sw_chan_event_ctor()
|
/Linux-v5.10/net/xfrm/ |
D | xfrm_replay.c | 41 /* we send notify messages in case in xfrm_replay_notify() 101 x->repl->notify(x, XFRM_REPLAY_UPDATE); in xfrm_replay_overflow() 160 x->repl->notify(x, XFRM_REPLAY_UPDATE); in xfrm_replay_advance() 181 x->repl->notify(x, XFRM_REPLAY_UPDATE); in xfrm_replay_overflow_bmp() 276 x->repl->notify(x, XFRM_REPLAY_UPDATE); in xfrm_replay_advance_bmp() 285 /* we send notify messages in case in xfrm_replay_notify_bmp() 337 /* we send notify messages in case in xfrm_replay_notify_esn() 419 x->repl->notify(x, XFRM_REPLAY_UPDATE); in xfrm_replay_overflow_esn() 551 x->repl->notify(x, XFRM_REPLAY_UPDATE); in xfrm_replay_advance_esn() 588 x->repl->notify(x, XFRM_REPLAY_UPDATE); in xfrm_replay_overflow_offload() [all …]
|
/Linux-v5.10/drivers/firmware/arm_scmi/ |
D | system.c | 13 #include "notify.h" 40 struct scmi_system_power_state_notify *notify; in scmi_system_request_notify() local 43 SCMI_PROTOCOL_SYSTEM, sizeof(*notify), 0, &t); in scmi_system_request_notify() 47 notify = t->tx.buf; in scmi_system_request_notify() 48 notify->notify_enable = enable ? cpu_to_le32(BIT(0)) : 0; in scmi_system_request_notify()
|
/Linux-v5.10/net/wireless/ |
D | ap.c | 11 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()
|
/Linux-v5.10/fs/notify/ |
D | Kconfig | 6 source "fs/notify/dnotify/Kconfig" 7 source "fs/notify/inotify/Kconfig" 8 source "fs/notify/fanotify/Kconfig"
|
/Linux-v5.10/kernel/ |
D | task_work.c | 12 * @notify: how to notify the targeted task 14 * Queue @work for task_work_run() below and notify the @task if @notify 33 enum task_work_notify_mode notify) in task_work_add() argument 45 switch (notify) { in task_work_add()
|
/Linux-v5.10/drivers/media/platform/mtk-vpu/ |
D | mtk_vpu.h | 32 * @IPI_VDEC_H264: The interrupt from vpu is to notify kernel to 36 * @IPI_VDEC_VP8: The interrupt from is to notify kernel to 40 * @IPI_VDEC_VP9: The interrupt from vpu is to notify kernel to 44 * @IPI_VENC_H264: The interrupt from vpu is to notify kernel to 46 * @IPI_VENC_VP8: The interrupt fro vpu is to notify kernel to 48 * @IPI_MDP: The interrupt from vpu is to notify kernel to
|
/Linux-v5.10/net/vmw_vsock/ |
D | vmci_transport_notify.c | 15 #define PKT_FIELD(vsk, field_name) (vmci_trans(vsk)->notify.pkt.field_name) 55 * space exceeds the notify limit. Note that improving this function in vmci_transport_notify_waiting_write() 63 * write_notify_window then notify An alternate way of expressing this in vmci_transport_notify_waiting_write() 65 * queue: if write_notify_window > bufferReady then notify as in vmci_transport_notify_waiting_write() 73 * Once we notify the peer, we reset the detected flag so the in vmci_transport_notify_waiting_write() 272 /* Notify the peer that we have read, retrying the send on in vmci_transport_send_read_notification() 290 pr_err("%p unable to send read notify to peer\n", sk); in vmci_transport_send_read_notification() 374 * Notify the peer that we are waiting if the queue is full. We in vmci_transport_notify_pkt_poll_out() 410 * we need to notify the sender. If the number of ready in vmci_transport_notify_pkt_recv_init() 434 /* Notify our peer that we are waiting for data to read. */ in vmci_transport_notify_pkt_recv_pre_block() [all …]
|
/Linux-v5.10/drivers/net/ipa/ |
D | ipa_gsi.h | 19 * This called from the GSI layer to notify the IPA layer that a 28 * This called from the GSI layer to notify the IPA layer that a 41 * This called from the GSI layer to notify the IPA layer that some 54 * This called from the GSI layer to notify the IPA layer that the hardware
|
/Linux-v5.10/drivers/gpu/drm/nouveau/ |
D | nouveau_fence.c | 33 #include <nvif/notify.h> 102 nvif_notify_put(&fctx->notify); in nouveau_fence_context_kill() 111 nvif_notify_dtor(&fctx->notify); in nouveau_fence_context_del() 153 nouveau_fence_wait_uevent_handler(struct nvif_notify *notify) in nouveau_fence_wait_uevent_handler() argument 156 container_of(notify, typeof(*fctx), notify); in nouveau_fence_wait_uevent_handler() 204 &fctx->notify); in nouveau_fence_context_new() 234 nvif_notify_put(&fctx->notify); in nouveau_fence_emit() 258 nvif_notify_put(&fctx->notify); in nouveau_fence_done() 521 nvif_notify_get(&fctx->notify); in nouveau_fence_enable_signaling() 527 nvif_notify_put(&fctx->notify); in nouveau_fence_enable_signaling()
|