Home
last modified time | relevance | path

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

/drivers/hid/intel-ish-hid/ishtp/
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()
Dbus.h45 void (*event_cb)(struct ishtp_cl_device *device); member
/drivers/net/ethernet/qlogic/qed/
Dqed_iwarp.c813 ep->event_cb(ep->cb_context, &params); in qed_iwarp_mpa_received()
990 ep->event_cb(ep->cb_context, &params); in qed_iwarp_mpa_reply_arrived()
1084 ep->event_cb(ep->cb_context, &params); in qed_iwarp_mpa_complete()
1220 ep->event_cb = iparams->event_cb; in qed_iwarp_connect()
2445 ep->event_cb = listener->event_cb; in qed_iwarp_ll2_comp_syn_pkt()
2883 ep->event_cb(ep->cb_context, &params); in qed_iwarp_qp_in_error()
2891 bool event_cb = false; in qed_iwarp_exception_received() local
2900 event_cb = true; in qed_iwarp_exception_received()
2905 event_cb = true; in qed_iwarp_exception_received()
2909 event_cb = true; in qed_iwarp_exception_received()
[all …]
Dqed_iwarp.h140 iwarp_event_handler event_cb; member
150 iwarp_event_handler event_cb; member
Dqed_iscsi.h26 iscsi_event_cb_t event_cb; member
Dqed_nvmetcp.h33 nvmetcp_event_cb_t event_cb; member
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()
Dqed_iscsi.c124 if (p_hwfn->p_iscsi_info->event_cb) { in qed_iscsi_async_event()
127 return p_iscsi->event_cb(p_iscsi->event_context, in qed_iscsi_async_event()
251 p_hwfn->p_iscsi_info->event_cb = async_event_cb; in qed_sp_iscsi_func_start()
/drivers/thunderbolt/
Dctl.h21 typedef bool (*event_cb)(void *data, enum tb_cfg_pkg_type type, typedef
24 struct tb_ctl *tb_ctl_alloc(struct tb_nhi *nhi, int timeout_msec, event_cb cb,
Dctl.c48 event_cb callback;
626 struct tb_ctl *tb_ctl_alloc(struct tb_nhi *nhi, int timeout_msec, event_cb cb, in tb_ctl_alloc()
/drivers/net/ethernet/freescale/fman/
Dfman_tgec.c211 fman_mac_exception_cb *event_cb; member
280 if (!tgec->event_cb) { in check_init_parameters()
821 tgec->event_cb = params->event_cb; in tgec_config()
Dfman_mac.h195 fman_mac_exception_cb *event_cb; /* MDIO Events Callback Routine */ member
Dfman_memac.c342 fman_mac_exception_cb *event_cb; member
607 if (!memac->event_cb) { in check_init_parameters()
1190 memac->event_cb = params->event_cb; in memac_config()
Dfman_dtsec.c332 fman_mac_exception_cb *event_cb; member
593 if (!dtsec->event_cb) { in check_init_parameters()
1532 dtsec->event_cb = params->event_cb; in dtsec_config()
Dmac.c115 params->event_cb = mac_exception; in set_fman_mac_params()
/drivers/net/ethernet/marvell/octeontx2/af/
Dlmac_common.h36 struct cgx_event_cb event_cb; member
Dcgx.c1134 if (!lmac->event_cb.notify_link_chg) { in cgx_link_change_handler()
1147 if (lmac->event_cb.notify_link_chg(&event, lmac->event_cb.data)) in cgx_link_change_handler()
1238 lmac->event_cb = *cb; in cgx_lmac_evh_register()
1254 lmac->event_cb.notify_link_chg = NULL; in cgx_lmac_evh_unregister()
1255 lmac->event_cb.data = NULL; in cgx_lmac_evh_unregister()
/drivers/vdpa/mlx5/core/
Dmlx5_vdpa.h60 struct vdpa_callback event_cb; member
/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c530 struct vdpa_callback *event_cb; in mlx5_vdpa_handle_completions() local
532 event_cb = &ndev->event_cbs[mvq->index]; in mlx5_vdpa_handle_completions()
540 if (event_cb->callback) in mlx5_vdpa_handle_completions()
541 event_cb->callback(event_cb->private); in mlx5_vdpa_handle_completions()
1702 mvdev->cvq.event_cb = *cb; in mlx5_vdpa_set_vq_cb()
1709 if (!cvq->event_cb.callback) in mlx5_cvq_notify()
1712 cvq->event_cb.callback(cvq->event_cb.private); in mlx5_cvq_notify()
/drivers/thermal/
Dthermal_netlink.c208 static cb_t event_cb[] = { variable
248 ret = event_cb[event](p); in thermal_genl_send_event()
/drivers/mfd/
Ddln2.c127 dln2_event_cb_t event_cb) in dln2_register_event_cb() argument
139 entry->callback = event_cb; in dln2_register_event_cb()
/drivers/infiniband/hw/qedr/
Dqedr_iw_cm.c579 in_params.event_cb = qedr_iw_event_handler; in qedr_iw_connect()
684 iparams.event_cb = qedr_iw_event_handler; in qedr_iw_create_listen()
/drivers/crypto/hisilicon/
Dqm.h309 void (*event_cb)(struct hisi_qp *qp); member
Dqm.c789 if (qp->event_cb) { in qm_poll_qp()
790 qp->event_cb(qp); in qm_poll_qp()
2500 qp->event_cb = NULL; in qm_create_qp_nolock()
2932 qp->event_cb = qm_qp_event_notifier; in hisi_qm_uacce_get_queue()