| /drivers/gpu/drm/amd/display/dmub/src/ |
| A 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() 76 dmub_memcpy((void *)¬ify->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() 101 dmub_memcpy(¬ify->hpd_sense_notify, in dmub_srv_stat_get_notification() 123 notify->pending_notification = false; in dmub_srv_stat_get_notification() [all …]
|
| /drivers/acpi/acpica/ |
| A 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() 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 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()
|
| A 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() 296 handler_obj = handler_obj->notify.next[i]; in ACPI_EXPORT_SYMBOL() 307 previous_handler_obj->notify.next[i] = in ACPI_EXPORT_SYMBOL() 308 handler_obj->notify.next[i]; in ACPI_EXPORT_SYMBOL() [all …]
|
| A D | evgpe.c | 460 struct acpi_gpe_notify_info *notify; in acpi_ev_asynch_execute_gpe_method() local 479 notify = gpe_event_info->dispatch.notify_list; in acpi_ev_asynch_execute_gpe_method() 480 while (ACPI_SUCCESS(status) && notify) { in acpi_ev_asynch_execute_gpe_method() 482 acpi_ev_queue_notify_request(notify->device_node, in acpi_ev_asynch_execute_gpe_method() 485 notify = notify->next; in acpi_ev_asynch_execute_gpe_method()
|
| /drivers/gpu/drm/amd/display/dc/core/ |
| A D | dc_stat.c | 48 void dc_stat_get_dmub_notification(const struct dc *dc, struct dmub_notification *notify) in dc_stat_get_dmub_notification() argument 58 status = dmub_srv_stat_get_notification(dmub, notify); in dc_stat_get_dmub_notification() 62 if (notify->type == DMUB_NOTIFICATION_HPD || in dc_stat_get_dmub_notification() 63 notify->type == DMUB_NOTIFICATION_HPD_IRQ || in dc_stat_get_dmub_notification() 64 notify->type == DMUB_NOTIFICATION_AUX_REPLY || in dc_stat_get_dmub_notification() 65 notify->type == DMUB_NOTIFICATION_DPIA_NOTIFICATION || in dc_stat_get_dmub_notification() 66 notify->type == DMUB_NOTIFICATION_SET_CONFIG_REPLY) { in dc_stat_get_dmub_notification() 67 notify->link_index = in dc_stat_get_dmub_notification() 68 get_link_index_from_dpia_port_index(dc, notify->link_index); in dc_stat_get_dmub_notification()
|
| /drivers/gpu/drm/nouveau/nvkm/engine/sw/ |
| A D | nv50.c | 39 nv50_sw_chan_vblsem_release(struct nvkm_event_ntfy *notify, u32 bits) in nv50_sw_chan_vblsem_release() argument 42 container_of(notify, typeof(*chan), vblank.notify[notify->id]); in nv50_sw_chan_vblsem_release() 73 nvkm_event_ntfy_allow(&chan->vblank.notify[data]); in nv50_sw_chan_mthd() 89 for (i = 0; i < ARRAY_SIZE(chan->vblank.notify); i++) in nv50_sw_chan_dtor() 90 nvkm_event_ntfy_del(&chan->vblank.notify[i]); in nv50_sw_chan_dtor() 119 nv50_sw_chan_vblsem_release, &chan->vblank.notify[i]); in nv50_sw_chan_new()
|
| A D | gf100.c | 39 gf100_sw_chan_vblsem_release(struct nvkm_event_ntfy *notify, u32 bits) in gf100_sw_chan_vblsem_release() argument 42 container_of(notify, typeof(*chan), vblank.notify[notify->id]); in gf100_sw_chan_vblsem_release() 76 nvkm_event_ntfy_allow(&chan->vblank.notify[data]); in gf100_sw_chan_mthd() 124 gf100_sw_chan_vblsem_release, &chan->vblank.notify[i]); in gf100_sw_chan_new()
|
| /drivers/usb/gadget/function/ |
| A D | f_acm.c | 54 struct usb_ep *notify; member 429 if (acm->notify->enabled) { in acm_set_alt() 432 usb_ep_disable(acm->notify); in acm_set_alt() 435 if (!acm->notify->desc) in acm_set_alt() 439 usb_ep_enable(acm->notify); in acm_set_alt() 442 if (acm->notify->enabled) { in acm_set_alt() 474 usb_ep_disable(acm->notify); in acm_disable() 508 notify = req->buf; in acm_cdc_notify() 509 buf = notify + 1; in acm_cdc_notify() 665 acm->notify = ep; in acm_bind() [all …]
|
| A D | f_rndis.c | 77 struct usb_ep *notify; member 391 status = usb_ep_queue(rndis->notify, req, GFP_ATOMIC); in rndis_response_available() 420 if (ep != rndis->notify) in rndis_response_complete() 535 usb_ep_disable(rndis->notify); in rndis_set_alt() 537 if (!rndis->notify->desc) { in rndis_set_alt() 542 usb_ep_enable(rndis->notify); in rndis_set_alt() 601 if (!rndis->notify->enabled) in rndis_disable() 609 usb_ep_disable(rndis->notify); in rndis_disable() 610 rndis->notify->desc = NULL; in rndis_disable() 751 rndis->notify = ep; in rndis_bind() [all …]
|
| A D | f_ecm.c | 53 struct usb_ep *notify; member 414 status = usb_ep_queue(ecm->notify, req, GFP_ATOMIC); in ecm_do_notify() 533 usb_ep_disable(ecm->notify); in ecm_set_alt() 534 if (!(ecm->notify->desc)) { in ecm_set_alt() 539 usb_ep_enable(ecm->notify); in ecm_set_alt() 623 usb_ep_disable(ecm->notify); in ecm_disable() 624 ecm->notify->desc = NULL; in ecm_disable() 750 ecm->notify = ep; in ecm_bind() 793 ecm->notify->name); in ecm_bind() 923 usb_ep_dequeue(ecm->notify, ecm->notify_req); in ecm_unbind() [all …]
|
| /drivers/net/ethernet/qlogic/qede/ |
| A 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/ |
| A D | gntalloc.c | 178 if (gref->notify.flags & UNMAP_NOTIFY_CLEAR_BYTE) { in __del_gref() 180 tmp[gref->notify.pgoff] = 0; in __del_gref() 183 if (gref->notify.flags & UNMAP_NOTIFY_SEND_EVENT) { in __del_gref() 184 notify_remote_via_evtchn(gref->notify.event); in __del_gref() 185 evtchn_put(gref->notify.event); in __del_gref() 188 gref->notify.flags = 0; in __del_gref() 413 if (gref->notify.flags & UNMAP_NOTIFY_SEND_EVENT) in gntalloc_ioctl_unmap_notify() 414 evtchn_put(gref->notify.event); in gntalloc_ioctl_unmap_notify() 416 gref->notify.flags = op.action; in gntalloc_ioctl_unmap_notify() 417 gref->notify.pgoff = pgoff; in gntalloc_ioctl_unmap_notify() [all …]
|
| A D | pvcalls-front.c | 275 int notify, req_id, ret; in pvcalls_front_socket() local 330 if (notify) in pvcalls_front_socket() 429 int notify, req_id, ret; in pvcalls_front_connect() local 477 if (notify) in pvcalls_front_connect() 679 int notify, req_id, ret; in pvcalls_front_bind() local 711 if (notify) in pvcalls_front_bind() 733 int notify, req_id, ret; in pvcalls_front_listen() local 761 if (notify) in pvcalls_front_listen() 873 if (notify) in pvcalls_front_accept() 966 if (notify) in pvcalls_front_poll_passive() [all …]
|
| /drivers/infiniband/hw/hfi1/ |
| A D | affinity.c | 783 struct hfi1_msix_entry *msix = container_of(notify, in hfi1_irq_notifier_notify() 785 notify); in hfi1_irq_notifier_notify() 801 struct irq_affinity_notify *notify = &msix->notify; in hfi1_setup_sdma_notifier() local 803 notify->irq = msix->irq; in hfi1_setup_sdma_notifier() 804 notify->notify = hfi1_irq_notifier_notify; in hfi1_setup_sdma_notifier() 805 notify->release = hfi1_irq_notifier_release; in hfi1_setup_sdma_notifier() 807 if (irq_set_affinity_notifier(notify->irq, notify)) in hfi1_setup_sdma_notifier() 809 notify->irq); in hfi1_setup_sdma_notifier() 814 struct irq_affinity_notify *notify = &msix->notify; in hfi1_cleanup_sdma_notifier() local 816 if (irq_set_affinity_notifier(notify->irq, NULL)) in hfi1_cleanup_sdma_notifier() [all …]
|
| /drivers/firmware/tegra/ |
| A D | ivc.c | 336 ivc->notify(ivc, ivc->notify_data); in tegra_ivc_read_advance() 392 ivc->notify(ivc, ivc->notify_data); in tegra_ivc_write_advance() 404 ivc->notify(ivc, ivc->notify_data); in tegra_ivc_reset() 474 ivc->notify(ivc, ivc->notify_data); in tegra_ivc_notified() 514 ivc->notify(ivc, ivc->notify_data); in tegra_ivc_notified() 538 ivc->notify(ivc, ivc->notify_data); in tegra_ivc_notified() 649 void (*notify)(struct tegra_ivc *ivc, void *data), in tegra_ivc_init() 655 if (WARN_ON(!ivc || !notify)) in tegra_ivc_init() 693 ivc->notify = notify; in tegra_ivc_init()
|
| /drivers/isdn/mISDN/ |
| A D | stack.c | 207 if (st->notify != NULL) { in mISDNStackd() 208 complete(st->notify); in mISDNStackd() 209 st->notify = NULL; in mISDNStackd() 273 complete(st->notify); in mISDNStackd() 274 st->notify = NULL; in mISDNStackd() 318 complete(st->notify); in mISDNStackd() 319 st->notify = NULL; in mISDNStackd() 401 newst->notify = &done; in create_stack() 630 if (st->notify) { in delete_stack() 633 complete(st->notify); in delete_stack() [all …]
|
| /drivers/firmware/arm_scmi/ |
| A D | system.c | 58 struct scmi_system_power_state_notify *notify; in scmi_system_request_notify() local 61 sizeof(*notify), 0, &t); in scmi_system_request_notify() 65 notify = t->tx.buf; in scmi_system_request_notify() 66 notify->notify_enable = enable ? cpu_to_le32(BIT(0)) : 0; in scmi_system_request_notify()
|
| A D | powercap.c | 753 struct scmi_msg_powercap_notify_cap *notify; in scmi_powercap_notify() local 756 sizeof(*notify), 0, &t); in scmi_powercap_notify() 760 notify = t->tx.buf; in scmi_powercap_notify() 761 notify->domain = cpu_to_le32(domain); in scmi_powercap_notify() 762 notify->notify_enable = cpu_to_le32(enable ? BIT(0) : 0); in scmi_powercap_notify() 768 struct scmi_msg_powercap_notify_thresh *notify; in scmi_powercap_notify() local 790 sizeof(*notify), 0, &t); in scmi_powercap_notify() 794 notify = t->tx.buf; in scmi_powercap_notify() 795 notify->domain = cpu_to_le32(domain); in scmi_powercap_notify() 797 notify->power_thresh_low = cpu_to_le32(low); in scmi_powercap_notify() [all …]
|
| /drivers/vdpa/virtio_pci/ |
| A D | vp_vdpa.c | 27 void __iomem *notify; member 367 vp_iowrite16(qid, vp_vdpa->vring[qid].notify); in vp_vdpa_kick_vq() 375 vp_iowrite32(data, vp_vdpa->vring[qid].notify); in vp_vdpa_kick_vq_with_data() 457 struct vdpa_notification_area notify; in vp_vdpa_get_vq_notification() local 459 notify.addr = vp_vdpa->vring[qid].notify_pa; in vp_vdpa_get_vq_notification() 460 notify.size = mdev->notify_offset_multiplier; in vp_vdpa_get_vq_notification() 462 return notify; in vp_vdpa_get_vq_notification() 559 vp_vdpa->vring[i].notify = in vp_vdpa_dev_add() 562 if (!vp_vdpa->vring[i].notify) { in vp_vdpa_dev_add()
|
| /drivers/virtio/ |
| A D | virtio_pci_modern_dev.c | 226 int err, common, isr, notify, device; in vp_modern_probe() local 269 notify = virtio_pci_find_capability(pci_dev, VIRTIO_PCI_CAP_NOTIFY_CFG, in vp_modern_probe() 272 if (!isr || !notify) { in vp_modern_probe() 275 common, isr, notify); in vp_modern_probe() 315 notify + offsetof(struct virtio_pci_notify_cap, in vp_modern_probe() 320 notify + offsetof(struct virtio_pci_notify_cap, in vp_modern_probe() 325 notify + offsetof(struct virtio_pci_notify_cap, in vp_modern_probe() 334 mdev->notify_base = vp_modern_map_capability(mdev, notify, in vp_modern_probe() 342 mdev->notify_map_cap = notify; in vp_modern_probe()
|
| A D | virtio_rtc_driver.c | 324 bool notify; in viortc_alarmq_hdlr() local 362 notify = virtqueue_kick_prepare(vq); in viortc_alarmq_hdlr() 366 if (notify) in viortc_alarmq_hdlr() 421 bool notify; in viortc_msg_xfer() local 443 notify = virtqueue_kick_prepare(vq->vq); in viortc_msg_xfer() 447 if (notify) in viortc_msg_xfer() 1273 bool notify; in viortc_probe() local 1303 notify = virtqueue_kick_prepare(alarm_vq); in viortc_probe() 1353 bool notify = false; in viortc_restore() local 1369 notify = virtqueue_kick_prepare(alarm_vq); in viortc_restore() [all …]
|
| /drivers/soc/qcom/ |
| A D | pmic_glink_altmode.c | 317 const struct usbc_notify *notify; in pmic_glink_altmode_sc8280xp_notify() local 324 if (len != sizeof(*notify)) { in pmic_glink_altmode_sc8280xp_notify() 330 notify = data; in pmic_glink_altmode_sc8280xp_notify() 332 port = notify->payload[0]; in pmic_glink_altmode_sc8280xp_notify() 333 orientation = notify->payload[1]; in pmic_glink_altmode_sc8280xp_notify() 334 mode = FIELD_GET(SC8280XP_DPAM_MASK, notify->payload[8]) - DPAM_HPD_A; in pmic_glink_altmode_sc8280xp_notify() 335 hpd_state = FIELD_GET(SC8280XP_HPD_STATE_MASK, notify->payload[8]); in pmic_glink_altmode_sc8280xp_notify() 336 hpd_irq = FIELD_GET(SC8280XP_HPD_IRQ_MASK, notify->payload[8]); in pmic_glink_altmode_sc8280xp_notify()
|
| /drivers/gpu/drm/bridge/synopsys/ |
| A D | dw-hdmi-cec.c | 63 struct cec_notifier *notify; member 287 cec->notify = cec_notifier_cec_adap_register(pdev->dev.parent, in dw_hdmi_cec_probe() 289 if (!cec->notify) in dw_hdmi_cec_probe() 294 cec_notifier_cec_adap_unregister(cec->notify, cec->adap); in dw_hdmi_cec_probe() 311 cec_notifier_cec_adap_unregister(cec->notify, cec->adap); in dw_hdmi_cec_remove()
|
| /drivers/scsi/snic/ |
| A D | vnic_dev.c | 42 struct vnic_devcmd_notify *notify; member 594 if (!vdev->notify) { in svnic_dev_notify_set() 595 vdev->notify = dma_alloc_coherent(&vdev->pdev->dev, in svnic_dev_notify_set() 598 if (!vdev->notify) in svnic_dev_notify_set() 628 if (!vdev->notify) in vnic_dev_notify_ready() 633 memcpy(&vdev->notify_copy, vdev->notify, in vnic_dev_notify_ready() 684 if (vdev->notify) in svnic_dev_unregister() 687 vdev->notify, in svnic_dev_unregister()
|