Home
last modified time | relevance | path

Searched refs:event_handler (Results 1 – 25 of 85) sorted by relevance

1234

/drivers/infiniband/hw/amso1100/
Dc2_ae.c227 if (cm_id->event_handler) in c2_ae_event()
228 cm_id->event_handler(cm_id, &cm_event); in c2_ae_event()
236 if (qp->ibqp.event_handler) in c2_ae_event()
237 qp->ibqp.event_handler(&ib_event, in c2_ae_event()
245 BUG_ON(cm_id->event_handler==(void*)0x6b6b6b6b); in c2_ae_event()
255 if (cm_id->event_handler) in c2_ae_event()
256 cm_id->event_handler(cm_id, &cm_event); in c2_ae_event()
297 if (cm_id->event_handler) in c2_ae_event()
298 cm_id->event_handler(cm_id, &cm_event); in c2_ae_event()
311 if (cq->ibcq.event_handler) in c2_ae_event()
[all …]
Dc2_intr.c203 req->cm_id->event_handler(req->cm_id, &cm_event); in handle_vq()
/drivers/clocksource/
Dbcm2835_timer.c85 void (*event_handler)(struct clock_event_device *); in bcm2835_time_interrupt() local
89 event_handler = ACCESS_ONCE(timer->evt.event_handler); in bcm2835_time_interrupt()
90 if (event_handler) in bcm2835_time_interrupt()
91 event_handler(&timer->evt); in bcm2835_time_interrupt()
Ddw_apb_timer.c92 if (!evt->event_handler) { in dw_apb_clockevent_irq()
100 evt->event_handler(evt); in dw_apb_clockevent_irq()
Dmetag_generic.c95 evt->event_handler(evt); in metag_timer_interrupt()
Dvt8500_timer.c120 evt->event_handler(evt); in vt8500_timer_interrupt()
Dcs5535-clockevt.c128 cs5535_clockevent.event_handler(&cs5535_clockevent); in mfgpt_tick()
Dsun4i_timer.c87 evt->event_handler(evt); in sun4i_timer_interrupt()
/drivers/infiniband/core/
Ddevice.c496 int ib_register_event_handler (struct ib_event_handler *event_handler) in ib_register_event_handler() argument
500 spin_lock_irqsave(&event_handler->device->event_handler_lock, flags); in ib_register_event_handler()
501 list_add_tail(&event_handler->list, in ib_register_event_handler()
502 &event_handler->device->event_handler_list); in ib_register_event_handler()
503 spin_unlock_irqrestore(&event_handler->device->event_handler_lock, flags); in ib_register_event_handler()
516 int ib_unregister_event_handler(struct ib_event_handler *event_handler) in ib_unregister_event_handler() argument
520 spin_lock_irqsave(&event_handler->device->event_handler_lock, flags); in ib_unregister_event_handler()
521 list_del(&event_handler->list); in ib_unregister_event_handler()
522 spin_unlock_irqrestore(&event_handler->device->event_handler_lock, flags); in ib_unregister_event_handler()
Dverbs.c278 srq->event_handler = srq_init_attr->event_handler; in ib_create_srq()
351 if (event->element.qp->event_handler) in __ib_shared_qp_event_handler()
352 event->element.qp->event_handler(event, event->element.qp->qp_context); in __ib_shared_qp_event_handler()
363 void (*event_handler)(struct ib_event *, void *), in __ib_open_qp()
376 qp->event_handler = event_handler; in __ib_open_qp()
400 qp = __ib_open_qp(real_qp, qp_open_attr->event_handler, in ib_open_qp()
427 qp->event_handler = __ib_shared_qp_event_handler; in ib_create_qp()
437 qp = __ib_open_qp(real_qp, qp_init_attr->event_handler, in ib_create_qp()
444 qp->event_handler = qp_init_attr->event_handler; in ib_create_qp()
910 void (*event_handler)(struct ib_event *, void *), in ib_create_cq()
[all …]
Dcache.c389 INIT_IB_EVENT_HANDLER(&device->cache.event_handler, in ib_cache_setup_one()
391 if (ib_register_event_handler(&device->cache.event_handler)) in ib_cache_setup_one()
412 ib_unregister_event_handler(&device->cache.event_handler); in ib_cache_cleanup_one()
Dcma.c421 struct rdma_cm_id *rdma_create_id(rdma_cm_event_handler event_handler, in rdma_create_id() argument
434 id_priv->id.event_handler = event_handler; in rdma_create_id()
1068 ret = id_priv->id.event_handler(&id_priv->id, &event); in cma_ib_handler()
1097 id = rdma_create_id(listen_id->event_handler, listen_id->context, in cma_new_conn_id()
1147 id = rdma_create_id(listen_id->event_handler, listen_id->context, in cma_new_udp_id()
1244 ret = conn_id->id.event_handler(&conn_id->id, &event); in cma_req_handler()
1384 ret = id_priv->id.event_handler(&id_priv->id, &event); in cma_iw_handler()
1414 new_cm_id = rdma_create_id(listen_id->id.event_handler, in iw_conn_req_handler()
1474 ret = conn_id->id.event_handler(&conn_id->id, &event); in iw_conn_req_handler()
1559 id->event_handler = id_priv->id.event_handler; in cma_listen_handler()
[all …]
Dmulticast.c71 struct ib_event_handler event_handler; member
777 dev = container_of(handler, struct mcast_device, event_handler); in mcast_event_handler()
843 INIT_IB_EVENT_HANDLER(&dev->event_handler, device, mcast_event_handler); in mcast_add_one()
844 ib_register_event_handler(&dev->event_handler); in mcast_add_one()
857 ib_unregister_event_handler(&dev->event_handler); in mcast_remove_one()
Dsa_query.c71 struct ib_event_handler event_handler; member
449 container_of(handler, typeof(*sa_dev), event_handler); in ib_sa_event()
1187 INIT_IB_EVENT_HANDLER(&sa_dev->event_handler, device, ib_sa_event); in ib_sa_add_one()
1188 if (ib_register_event_handler(&sa_dev->event_handler)) in ib_sa_add_one()
1215 ib_unregister_event_handler(&sa_dev->event_handler); in ib_sa_remove_one()
/drivers/devfreq/
Ddevfreq.c391 devfreq->governor->event_handler(devfreq, in _remove_devfreq()
497 err = devfreq->governor->event_handler(devfreq, in devfreq_add_device()
545 return devfreq->governor->event_handler(devfreq, in devfreq_suspend_device()
562 return devfreq->governor->event_handler(devfreq, in devfreq_resume_device()
604 ret = devfreq->governor->event_handler(devfreq, in devfreq_add_governor()
615 ret = devfreq->governor->event_handler(devfreq, in devfreq_add_governor()
668 ret = devfreq->governor->event_handler(devfreq, in devfreq_remove_governor()
718 ret = df->governor->event_handler(df, DEVFREQ_GOV_STOP, NULL); in store_governor()
727 ret = df->governor->event_handler(df, DEVFREQ_GOV_START, NULL); in store_governor()
800 df->governor->event_handler(df, DEVFREQ_GOV_INTERVAL, &value); in store_polling_interval()
Dgovernor_powersave.c44 .event_handler = devfreq_powersave_handler,
Dgovernor_performance.c47 .event_handler = devfreq_performance_handler,
Dgovernor_simpleondemand.c127 .event_handler = devfreq_simple_ondemand_handler,
/drivers/staging/usbip/
Dusbip_event.c25 static int event_handler(struct usbip_device *ud) in event_handler() function
74 if (event_handler(ud) < 0) in event_handler_loop()
/drivers/infiniband/hw/cxgb4/
Dev.c75 if (qhp->ibqp.event_handler) in post_qp_event()
76 (*qhp->ibqp.event_handler)(&event, qhp->ibqp.qp_context); in post_qp_event()
/drivers/ntb/
Dntb_transport.c118 void (*event_handler) (void *data, int status); member
568 if (qp->event_handler) in ntb_qp_link_cleanup()
569 qp->event_handler(qp->cb_data, NTB_LINK_DOWN); in ntb_qp_link_cleanup()
790 if (qp->event_handler) in ntb_qp_link_work()
791 qp->event_handler(qp->cb_data, NTB_LINK_UP); in ntb_qp_link_work()
810 qp->event_handler = NULL; in ntb_transport_init_queue()
1201 qp->event_handler = handlers->event_handler; in ntb_transport_create_queue()
/drivers/infiniband/hw/cxgb3/
Diwch_ev.c95 if (qhp->ibqp.event_handler) in post_qp_event()
96 (*qhp->ibqp.event_handler)(&event, qhp->ibqp.qp_context); in post_qp_event()
/drivers/infiniband/hw/ehca/
Dehca_irq.c192 if (!qp->ib_srq.event_handler) in dispatch_qp_event()
196 qp->ib_srq.event_handler(&event, qp->ib_srq.srq_context); in dispatch_qp_event()
198 if (!qp->ib_qp.event_handler) in dispatch_qp_event()
202 qp->ib_qp.event_handler(&event, qp->ib_qp.qp_context); in dispatch_qp_event()
/drivers/infiniband/ulp/iser/
Diser_verbs.c126 INIT_IB_EVENT_HANDLER(&device->event_handler, device->ib_device, in iser_create_device_ib_res()
128 if (ib_register_event_handler(&device->event_handler)) in iser_create_device_ib_res()
170 (void)ib_unregister_event_handler(&device->event_handler); in iser_free_device_ib_res()
269 init_attr.event_handler = iser_qp_event_callback; in iser_create_ib_conn_res()
/drivers/infiniband/hw/qib/
Dqib_qp.c548 } else if (qp->ibqp.event_handler) in qib_error_qp()
830 qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); in qib_modify_qp()
836 qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); in qib_modify_qp()
885 init_attr->event_handler = qp->ibqp.event_handler; in qib_query_qp()

1234