/drivers/gpu/drm/nouveau/nvkm/core/ |
D | notify.c | 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() 50 nvkm_notify_get_locked(struct nvkm_notify *notify) in nvkm_notify_get_locked() argument [all …]
|
D | client.c | 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() 116 if (index < ARRAY_SIZE(client->notify)) { in nvkm_client_notify_del() [all …]
|
D | event.c | 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()
|
/drivers/gpu/drm/nouveau/nvif/ |
D | notify.c | 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() 57 flush_work(¬ify->work); in nvif_notify_put() [all …]
|
/drivers/acpi/acpica/ |
D | evmisc.c | 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() 129 info->notify.handler_list_head = handler_list_head; in acpi_ev_queue_notify_request() 130 info->notify.global = &acpi_gbl_global_notify[handler_list_id]; 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() [all …]
|
D | evgpeutil.c | 275 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()
|
D | evxface.c | 147 if (handler_obj->notify.handler == handler) { in acpi_install_notify_handler() 152 handler_obj = handler_obj->notify.next[i]; in acpi_install_notify_handler() 165 handler_obj->notify.node = node; in acpi_install_notify_handler() 166 handler_obj->notify.handler_type = handler_type; in acpi_install_notify_handler() 167 handler_obj->notify.handler = handler; in acpi_install_notify_handler() 168 handler_obj->notify.context = context; in acpi_install_notify_handler() 174 handler_obj->notify.next[i] = in acpi_install_notify_handler() 294 (handler_obj->notify.handler != handler)) { in ACPI_EXPORT_SYMBOL() 296 handler_obj = handler_obj->notify.next[i]; in ACPI_EXPORT_SYMBOL() 307 previous_handler_obj->notify.next[i] = in ACPI_EXPORT_SYMBOL() [all …]
|
/drivers/gpu/drm/amd/display/dmub/src/ |
D | dmub_srv_stat.c | 47 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() 73 notify->type = DMUB_NOTIFICATION_AUX_REPLY; in dmub_srv_stat_get_notification() 74 notify->link_index = cmd.dp_aux_reply.control.instance; in dmub_srv_stat_get_notification() 75 notify->result = cmd.dp_aux_reply.control.result; in dmub_srv_stat_get_notification() 76 dmub_memcpy((void *)¬ify->aux_reply, in dmub_srv_stat_get_notification() 80 notify->type = DMUB_NOTIFICATION_NO_DATA; in dmub_srv_stat_get_notification() [all …]
|
/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 | gf100.c | 39 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()
|
D | chan.c | 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()
|
/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 …]
|
D | f_rndis.c | 77 struct usb_ep *notify; member 404 status = usb_ep_queue(rndis->notify, req, GFP_ATOMIC); in rndis_response_available() 433 if (ep != rndis->notify) in rndis_response_complete() 441 status = usb_ep_queue(rndis->notify, req, GFP_ATOMIC); in rndis_response_complete() 548 usb_ep_disable(rndis->notify); in rndis_set_alt() 550 if (!rndis->notify->desc) { in rndis_set_alt() 552 if (config_ep_by_speed(cdev->gadget, f, rndis->notify)) in rndis_set_alt() 555 usb_ep_enable(rndis->notify); in rndis_set_alt() 614 if (!rndis->notify->enabled) in rndis_disable() 622 usb_ep_disable(rndis->notify); in rndis_disable() [all …]
|
D | f_ecm.c | 52 struct usb_ep *notify; member 425 status = usb_ep_queue(ecm->notify, req, GFP_ATOMIC); in ecm_do_notify() 544 usb_ep_disable(ecm->notify); in ecm_set_alt() 545 if (!(ecm->notify->desc)) { in ecm_set_alt() 547 if (config_ep_by_speed(cdev->gadget, f, ecm->notify)) in ecm_set_alt() 550 usb_ep_enable(ecm->notify); in ecm_set_alt() 634 usb_ep_disable(ecm->notify); in ecm_disable() 635 ecm->notify->desc = NULL; in ecm_disable() 765 ecm->notify = ep; in ecm_bind() 810 ecm->notify->name); in ecm_bind() [all …]
|
/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
D | base.c | 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 195 notify->size = sizeof(struct nvif_notify_uevent_rep); in nvkm_fifo_uevent_ctor() [all …]
|
/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()
|
/drivers/xen/ |
D | gntalloc.c | 96 struct notify_info notify; /* Unmap notification */ member 180 if (gref->notify.flags & UNMAP_NOTIFY_CLEAR_BYTE) { in __del_gref() 182 tmp[gref->notify.pgoff] = 0; in __del_gref() 185 if (gref->notify.flags & UNMAP_NOTIFY_SEND_EVENT) { in __del_gref() 186 notify_remote_via_evtchn(gref->notify.event); in __del_gref() 187 evtchn_put(gref->notify.event); in __del_gref() 190 gref->notify.flags = 0; in __del_gref() 416 if (gref->notify.flags & UNMAP_NOTIFY_SEND_EVENT) in gntalloc_ioctl_unmap_notify() 417 evtchn_put(gref->notify.event); in gntalloc_ioctl_unmap_notify() 419 gref->notify.flags = op.action; in gntalloc_ioctl_unmap_notify() [all …]
|
D | pvcalls-front.c | 265 int notify, req_id, ret; in pvcalls_front_socket() local 318 RING_PUSH_REQUESTS_AND_CHECK_NOTIFY(&bedata->ring, notify); in pvcalls_front_socket() 320 if (notify) in pvcalls_front_socket() 418 int notify, req_id, ret; in pvcalls_front_connect() local 464 RING_PUSH_REQUESTS_AND_CHECK_NOTIFY(&bedata->ring, notify); in pvcalls_front_connect() 467 if (notify) in pvcalls_front_connect() 666 int notify, req_id, ret; in pvcalls_front_bind() local 696 RING_PUSH_REQUESTS_AND_CHECK_NOTIFY(&bedata->ring, notify); in pvcalls_front_bind() 698 if (notify) in pvcalls_front_bind() 719 int notify, req_id, ret; in pvcalls_front_listen() local [all …]
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_fence.c | 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() 523 nvif_notify_get(&fctx->notify); in nouveau_fence_enable_signaling() 529 nvif_notify_put(&fctx->notify); in nouveau_fence_enable_signaling()
|
/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | base.c | 62 struct nvkm_notify *notify) in nvkm_disp_vblank_ctor() argument 65 container_of(notify->event, typeof(*disp), vblank); in nvkm_disp_vblank_ctor() 72 notify->size = sizeof(struct nvif_notify_head_rep_v0); in nvkm_disp_vblank_ctor() 74 notify->types = 1; in nvkm_disp_vblank_ctor() 75 notify->index = req->v0.head; in nvkm_disp_vblank_ctor() 99 struct nvkm_notify *notify) in nvkm_disp_hpd_ctor() argument 102 container_of(notify->event, typeof(*disp), hpd); in nvkm_disp_hpd_ctor() 110 notify->size = sizeof(struct nvif_notify_conn_rep_v0); in nvkm_disp_hpd_ctor() 114 notify->types = req->v0.mask; in nvkm_disp_hpd_ctor() 115 notify->index = req->v0.conn; in nvkm_disp_hpd_ctor()
|
/drivers/firmware/tegra/ |
D | ivc.c | 324 ivc->notify(ivc, ivc->notify_data); in tegra_ivc_read_advance() 380 ivc->notify(ivc, ivc->notify_data); in tegra_ivc_write_advance() 392 ivc->notify(ivc, ivc->notify_data); in tegra_ivc_reset() 461 ivc->notify(ivc, ivc->notify_data); in tegra_ivc_notified() 501 ivc->notify(ivc, ivc->notify_data); in tegra_ivc_notified() 525 ivc->notify(ivc, ivc->notify_data); in tegra_ivc_notified() 615 void (*notify)(struct tegra_ivc *ivc, void *data), in tegra_ivc_init() 621 if (WARN_ON(!ivc || !notify)) in tegra_ivc_init() 659 ivc->notify = notify; in tegra_ivc_init()
|
/drivers/infiniband/hw/hfi1/ |
D | affinity.c | 790 static void hfi1_irq_notifier_notify(struct irq_affinity_notify *notify, in hfi1_irq_notifier_notify() argument 794 struct hfi1_msix_entry *msix = container_of(notify, in hfi1_irq_notifier_notify() 796 notify); in hfi1_irq_notifier_notify() 812 struct irq_affinity_notify *notify = &msix->notify; in hfi1_setup_sdma_notifier() local 814 notify->irq = msix->irq; in hfi1_setup_sdma_notifier() 815 notify->notify = hfi1_irq_notifier_notify; in hfi1_setup_sdma_notifier() 816 notify->release = hfi1_irq_notifier_release; in hfi1_setup_sdma_notifier() 818 if (irq_set_affinity_notifier(notify->irq, notify)) in hfi1_setup_sdma_notifier() 820 notify->irq); in hfi1_setup_sdma_notifier() 825 struct irq_affinity_notify *notify = &msix->notify; in hfi1_cleanup_sdma_notifier() local [all …]
|
/drivers/firmware/arm_scmi/ |
D | system.c | 41 struct scmi_system_power_state_notify *notify; in scmi_system_request_notify() local 44 sizeof(*notify), 0, &t); in scmi_system_request_notify() 48 notify = t->tx.buf; in scmi_system_request_notify() 49 notify->notify_enable = enable ? cpu_to_le32(BIT(0)) : 0; in scmi_system_request_notify()
|
/drivers/isdn/mISDN/ |
D | stack.c | 207 if (st->notify != NULL) { in mISDNStackd() 208 complete(st->notify); in mISDNStackd() 209 st->notify = NULL; in mISDNStackd() 272 if (st->notify != NULL) { in mISDNStackd() 273 complete(st->notify); in mISDNStackd() 274 st->notify = NULL; in mISDNStackd() 317 if (st->notify != NULL) { in mISDNStackd() 318 complete(st->notify); in mISDNStackd() 319 st->notify = NULL; in mISDNStackd() 401 newst->notify = &done; in create_stack() [all …]
|
/drivers/virtio/ |
D | virtio_pci_modern_dev.c | 217 int err, common, isr, notify, device; in vp_modern_probe() local 254 notify = virtio_pci_find_capability(pci_dev, VIRTIO_PCI_CAP_NOTIFY_CFG, in vp_modern_probe() 257 if (!isr || !notify) { in vp_modern_probe() 260 common, isr, notify); in vp_modern_probe() 298 notify + offsetof(struct virtio_pci_notify_cap, in vp_modern_probe() 303 notify + offsetof(struct virtio_pci_notify_cap, in vp_modern_probe() 308 notify + offsetof(struct virtio_pci_notify_cap, in vp_modern_probe() 317 mdev->notify_base = vp_modern_map_capability(mdev, notify, in vp_modern_probe() 325 mdev->notify_map_cap = notify; in vp_modern_probe()
|