| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/core/ |
| H A 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 …]
|
| H A 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 …]
|
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvif/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/acpi/acpica/ |
| H 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() 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 …]
|
| /OK3568_Linux_fs/kernel/net/netfilter/ |
| H A 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 …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/ |
| H A D | hal_ser.c | 32 enum RTW_PHL_SER_NOTIFY_EVENT notify = RTW_PHL_SER_L2_RESET; in rtw_hal_ser_get_error_status() local 37 notify = RTW_PHL_SER_PAUSE_TRX; in rtw_hal_ser_get_error_status() 39 notify = RTW_PHL_SER_DO_RECOVERY; in rtw_hal_ser_get_error_status() 41 notify = RTW_PHL_SER_READY; in rtw_hal_ser_get_error_status() 43 notify = RTW_PHL_SER_L0_RESET; in rtw_hal_ser_get_error_status() 45 notify = RTW_PHL_SER_DUMP_FW_LOG; in rtw_hal_ser_get_error_status() 47 notify = RTW_PHL_SER_LOG_ONLY; in rtw_hal_ser_get_error_status() 50 notify = RTW_PHL_SER_L2_RESET; in rtw_hal_ser_get_error_status() 53 return notify; in rtw_hal_ser_get_error_status()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/ |
| H A D | hal_ser.c | 32 enum RTW_PHL_SER_NOTIFY_EVENT notify = RTW_PHL_SER_L2_RESET; in rtw_hal_ser_get_error_status() local 37 notify = RTW_PHL_SER_PAUSE_TRX; in rtw_hal_ser_get_error_status() 39 notify = RTW_PHL_SER_DO_RECOVERY; in rtw_hal_ser_get_error_status() 41 notify = RTW_PHL_SER_READY; in rtw_hal_ser_get_error_status() 43 notify = RTW_PHL_SER_L0_RESET; in rtw_hal_ser_get_error_status() 45 notify = RTW_PHL_SER_DUMP_FW_LOG; in rtw_hal_ser_get_error_status() 47 notify = RTW_PHL_SER_LOG_ONLY; in rtw_hal_ser_get_error_status() 50 notify = RTW_PHL_SER_L2_RESET; in rtw_hal_ser_get_error_status() 53 return notify; in rtw_hal_ser_get_error_status()
|
| /OK3568_Linux_fs/external/xserver/present/ |
| H A D | present_notify.c | 37 present_notify_ptr notify; in present_clear_window_notifies() local 43 xorg_list_for_each_entry(notify, &window_priv->notifies, window_list) { in present_clear_window_notifies() 44 notify->window = NULL; in present_clear_window_notifies() 53 present_free_window_notify(present_notify_ptr notify) in present_free_window_notify() argument 55 xorg_list_del(¬ify->window_list); in present_free_window_notify() 63 present_add_window_notify(present_notify_ptr notify) in present_add_window_notify() argument 65 WindowPtr window = notify->window; in present_add_window_notify() 71 xorg_list_add(¬ify->window_list, &window_priv->notifies); in present_add_window_notify()
|
| /OK3568_Linux_fs/kernel/sound/aoa/core/ |
| H A 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()
|
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/lib/ |
| H A 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() 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()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/engine/sw/ |
| H A 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()
|
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/usb/gadget/function/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
| H A 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 …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/ |
| H A D | phl_btc_fsm.c | 124 pbtc->ntfy->notify, in btc_service_st_hdl() 166 pbtc->ntfy->notify, in btc_service_st_hdl() 331 int rtw_phl_btc_notify(void *phl, enum RTW_PHL_BTC_NOTIFY notify, in rtw_phl_btc_notify() argument 342 switch (notify) { in rtw_phl_btc_notify() 354 notify); in rtw_phl_btc_notify() 361 notify); in rtw_phl_btc_notify() 376 ntfy.notify = PHL_BTC_NTFY_ROLE_INFO; in rtw_phl_btc_role_notify() 381 rtw_phl_btc_notify(phl, ntfy.notify, &ntfy); in rtw_phl_btc_role_notify() 393 ntfy.notify = PHL_BTC_NTFY_PACKET_EVT; in rtw_phl_btc_packet_event_notify() 398 rtw_phl_btc_notify(phl, ntfy.notify, &ntfy); in rtw_phl_btc_packet_event_notify() [all …]
|
| H A D | phl_cmd_ser.c | 89 enum RTW_PHL_SER_NOTIFY_EVENT notify = RTW_PHL_SER_L2_RESET; in _ser_event_notify() local 93 notify = rtw_hal_ser_get_error_status(phl_info->hal, &err); in _ser_event_notify() 96 *p_ntfy = notify; in _ser_event_notify() 98 phl_info->phl_com->phl_stats.ser_event[notify]++; in _ser_event_notify() 100 PHL_TRACE(COMP_PHL_DBG, _PHL_INFO_, "_ser_event_notify, error 0x%x, notify 0x%x\n", err, notify); in _ser_event_notify() 102 if (notify == RTW_PHL_SER_L0_RESET) { in _ser_event_notify() 107 if (notify == RTW_PHL_SER_LOG_ONLY) { in _ser_event_notify() 112 if (notify == RTW_PHL_SER_DUMP_FW_LOG) { in _ser_event_notify() 122 return phl_ser_send_msg(phl, notify); in _ser_event_notify() 472 u8 notify = RTW_PHL_SER_L0_RESET; in _ser_msg_hdl_evt_chk() local [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/ |
| H A D | phl_btc_fsm.c | 124 pbtc->ntfy->notify, in btc_service_st_hdl() 166 pbtc->ntfy->notify, in btc_service_st_hdl() 331 int rtw_phl_btc_notify(void *phl, enum RTW_PHL_BTC_NOTIFY notify, in rtw_phl_btc_notify() argument 342 switch (notify) { in rtw_phl_btc_notify() 354 notify); in rtw_phl_btc_notify() 361 notify); in rtw_phl_btc_notify() 376 ntfy.notify = PHL_BTC_NTFY_ROLE_INFO; in rtw_phl_btc_role_notify() 381 rtw_phl_btc_notify(phl, ntfy.notify, &ntfy); in rtw_phl_btc_role_notify() 393 ntfy.notify = PHL_BTC_NTFY_PACKET_EVT; in rtw_phl_btc_packet_event_notify() 398 rtw_phl_btc_notify(phl, ntfy.notify, &ntfy); in rtw_phl_btc_packet_event_notify() [all …]
|
| H A D | phl_cmd_ser.c | 89 enum RTW_PHL_SER_NOTIFY_EVENT notify = RTW_PHL_SER_L2_RESET; in _ser_event_notify() local 93 notify = rtw_hal_ser_get_error_status(phl_info->hal, &err); in _ser_event_notify() 96 *p_ntfy = notify; in _ser_event_notify() 98 phl_info->phl_com->phl_stats.ser_event[notify]++; in _ser_event_notify() 100 PHL_TRACE(COMP_PHL_DBG, _PHL_INFO_, "_ser_event_notify, error 0x%x, notify 0x%x\n", err, notify); in _ser_event_notify() 102 if (notify == RTW_PHL_SER_L0_RESET) { in _ser_event_notify() 107 if (notify == RTW_PHL_SER_LOG_ONLY) { in _ser_event_notify() 112 if (notify == RTW_PHL_SER_DUMP_FW_LOG) { in _ser_event_notify() 122 return phl_ser_send_msg(phl, notify); in _ser_event_notify() 472 u8 notify = RTW_PHL_SER_L0_RESET; in _ser_msg_hdl_evt_chk() local [all …]
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/common/media_buffer/ |
| H A D | media_buffer_pool.c | 239 if(pBufPool->notify.fpCallback == NULL) in MediaBufPoolRegisterCb() 241 pBufPool->notify.fpCallback = fpCallback; in MediaBufPoolRegisterCb() 242 pBufPool->notify.pUserContext = pUserContext; in MediaBufPoolRegisterCb() 269 if(pBufPool->notify.fpCallback == fpCallback) in MediaBufPoolDeregisterCb() 271 pBufPool->notify.fpCallback = NULL; in MediaBufPoolDeregisterCb() 272 pBufPool->notify.pUserContext = NULL; in MediaBufPoolDeregisterCb() 348 if(pBufPool->notify.fpCallback != NULL) in MediaBufPoolFreeBuffer() 350 (pBufPool->notify.fpCallback)(pBufPool->notify.pUserContext, pBuf); in MediaBufPoolFreeBuffer()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qede/ |
| H 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()
|
| /OK3568_Linux_fs/kernel/net/openvswitch/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/xen/ |
| H A 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 …]
|
| /OK3568_Linux_fs/external/xserver/os/ |
| H A D | busfault.c | 46 busfault_notify_ptr notify; member 54 busfault_register_mmap(void *addr, size_t size, busfault_notify_ptr notify, void *context) in busfault_register_mmap() argument 64 busfault->notify = notify; in busfault_register_mmap() 91 (*busfault->notify)(busfault->context); in busfault_check()
|