Home
last modified time | relevance | path

Searched refs:event_cb (Results 1 – 25 of 33) sorted by relevance

12

/linux/drivers/hid/intel-ish-hid/ishtp/
H A Dbus.c263 if (device->event_cb) { in ishtp_cl_device_remove()
264 device->event_cb = NULL; in ishtp_cl_device_remove()
338 device->event_cb = NULL; in ishtp_cl_device_reset()
527 if (device->event_cb) in ishtp_bus_event_work()
528 device->event_cb(device); in ishtp_bus_event_work()
540 if (!device || !device->event_cb) in ishtp_cl_bus_rx_event()
543 if (device->event_cb) in ishtp_cl_bus_rx_event()
557 void (*event_cb)(struct ishtp_cl_device *)) in ishtp_register_event_cb()
559 if (device->event_cb) in ishtp_register_event_cb()
562 device->event_cb = event_cb; in ishtp_register_event_cb()
H A Dbus.h45 void (*event_cb)(struct ishtp_cl_device *device); member
/linux/include/linux/usb/
H A Dljca.h55 ljca_event_cb_t event_cb; member
104 int ljca_register_event_cb(struct ljca_client *client, ljca_event_cb_t event_cb, void *context);
/linux/drivers/usb/misc/
H A Dusb-ljca.c207 client->event_cb(client->context, header->cmd, in ljca_handle_event()
385 int ljca_register_event_cb(struct ljca_client *client, ljca_event_cb_t event_cb, in ljca_register_event_cb() argument
390 if (!event_cb) in ljca_register_event_cb()
395 if (client->event_cb) { in ljca_register_event_cb()
400 client->event_cb = event_cb; in ljca_register_event_cb()
415 client->event_cb = NULL; in ljca_unregister_event_cb()
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_iwarp.c815 ep->event_cb(ep->cb_context, &params); in qed_iwarp_mpa_received()
992 ep->event_cb(ep->cb_context, &params); in qed_iwarp_mpa_reply_arrived()
1086 ep->event_cb(ep->cb_context, &params); in qed_iwarp_mpa_complete()
1222 ep->event_cb = iparams->event_cb; in qed_iwarp_connect()
2447 ep->event_cb = listener->event_cb; in qed_iwarp_ll2_comp_syn_pkt()
2885 ep->event_cb(ep->cb_context, &params); in qed_iwarp_qp_in_error()
2893 bool event_cb = false; in qed_iwarp_exception_received() local
2902 event_cb = true; in qed_iwarp_exception_received()
2907 event_cb = true; in qed_iwarp_exception_received()
2911 event_cb = true; in qed_iwarp_exception_received()
[all …]
H A Dqed_iwarp.h140 iwarp_event_handler event_cb; member
150 iwarp_event_handler event_cb; member
H A Dqed_iscsi.h26 iscsi_event_cb_t event_cb; member
H A Dqed_nvmetcp.h33 nvmetcp_event_cb_t event_cb; member
H A Dqed_nvmetcp.c36 if (p_hwfn->p_nvmetcp_info->event_cb) { in qed_nvmetcp_async_event()
39 return p_nvmetcp->event_cb(p_nvmetcp->event_context, in qed_nvmetcp_async_event()
112 p_hwfn->p_nvmetcp_info->event_cb = async_event_cb; in qed_sp_nvmetcp_func_start()
/linux/drivers/thunderbolt/
H A Dctl.h21 typedef bool (*event_cb)(void *data, enum tb_cfg_pkg_type type, typedef
25 event_cb cb, void *cb_data);
/linux/drivers/vdpa/pds/
H A Dvdpa_dev.h27 struct vdpa_callback event_cb; member
H A Dvdpa_dev.c103 pdsv->vqs[qid].event_cb = *cb; in pds_vdpa_set_vq_cb()
111 if (vq->event_cb.callback) in pds_vdpa_isr()
112 vq->event_cb.callback(vq->event_cb.private); in pds_vdpa_isr()
/linux/drivers/misc/mei/
H A Dvsc-tp.h37 int vsc_tp_register_event_cb(struct vsc_tp *tp, vsc_tp_event_cb_t event_cb,
H A Dvsc-tp.c395 int vsc_tp_register_event_cb(struct vsc_tp *tp, vsc_tp_event_cb_t event_cb, in vsc_tp_register_event_cb() argument
398 tp->event_notify = event_cb; in vsc_tp_register_event_cb()
/linux/include/linux/mfd/
H A Ddln2.h38 dln2_event_cb_t event_cb);
/linux/drivers/net/ethernet/fungible/funcore/
H A Dfun_dev.h98 fun_admin_event_cb event_cb; member
/linux/drivers/net/ethernet/freescale/fman/
H A Dfman_mac.h175 fman_mac_exception_cb *event_cb; /* MDIO Events Callback Routine */ member
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dlmac_common.h41 struct cgx_event_cb event_cb; member
H A Dcgx.c1321 if (!lmac->event_cb.notify_link_chg) { in cgx_link_change_handler()
1334 if (lmac->event_cb.notify_link_chg(&event, lmac->event_cb.data)) in cgx_link_change_handler()
1425 lmac->event_cb = *cb; in cgx_lmac_evh_register()
1441 lmac->event_cb.notify_link_chg = NULL; in cgx_lmac_evh_unregister()
1442 lmac->event_cb.data = NULL; in cgx_lmac_evh_unregister()
/linux/include/linux/qed/
H A Dqed_rdma_if.h503 iwarp_event_handler event_cb; member
517 iwarp_event_handler event_cb; member
/linux/drivers/vdpa/mlx5/core/
H A Dmlx5_vdpa.h62 struct vdpa_callback event_cb; member
/linux/drivers/mfd/
H A Ddln2.c121 dln2_event_cb_t event_cb) in dln2_register_event_cb() argument
133 entry->callback = event_cb; in dln2_register_event_cb()
/linux/drivers/infiniband/hw/qedr/
H A Dqedr_iw_cm.c580 in_params.event_cb = qedr_iw_event_handler; in qedr_iw_connect()
685 iparams.event_cb = qedr_iw_event_handler; in qedr_iw_create_listen()
/linux/drivers/thermal/
H A Dthermal_netlink.c291 static cb_t event_cb[] = { variable
333 ret = event_cb[event](p); in thermal_genl_send_event()
/linux/drivers/vdpa/mlx5/net/
H A Dmlx5_vnet.c514 struct vdpa_callback *event_cb; in mlx5_vdpa_handle_completions() local
516 event_cb = &ndev->event_cbs[mvq->index]; in mlx5_vdpa_handle_completions()
524 if (event_cb->callback) in mlx5_vdpa_handle_completions()
525 event_cb->callback(event_cb->private); in mlx5_vdpa_handle_completions()
2505 mvdev->cvq.event_cb = *cb; in mlx5_vdpa_set_vq_cb()
2512 if (!cvq->event_cb.callback) in mlx5_cvq_notify()
2515 cvq->event_cb.callback(cvq->event_cb.private); in mlx5_cvq_notify()

12