Home
last modified time | relevance | path

Searched refs:cbfn (Results 1 – 25 of 39) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/net/ethernet/brocade/bna/
H A Dbfa_cee.c80 if (cee->cbfn.get_attr_cbfn) in bfa_cee_get_attr_isr()
81 cee->cbfn.get_attr_cbfn(cee->cbfn.get_attr_cbarg, status); in bfa_cee_get_attr_isr()
100 if (cee->cbfn.get_stats_cbfn) in bfa_cee_get_stats_isr()
101 cee->cbfn.get_stats_cbfn(cee->cbfn.get_stats_cbarg, status); in bfa_cee_get_stats_isr()
115 if (cee->cbfn.reset_stats_cbfn) in bfa_cee_reset_stats_isr()
116 cee->cbfn.reset_stats_cbfn(cee->cbfn.reset_stats_cbarg, status); in bfa_cee_reset_stats_isr()
158 bfa_cee_get_attr_cbfn_t cbfn, void *cbarg) in bfa_nw_cee_get_attr() argument
172 cee->cbfn.get_attr_cbfn = cbfn; in bfa_nw_cee_get_attr()
173 cee->cbfn.get_attr_cbarg = cbarg; in bfa_nw_cee_get_attr()
230 if (cee->cbfn.get_attr_cbfn) { in bfa_cee_notify()
[all …]
H A Dbfa_ioc.h101 bfa_mbox_cmd_cbfn_t cbfn; member
112 bfa_ioc_mbox_mcfunc_t cbfn; /*!< message handlers */ member
140 bfa_ioc_notify_cbfn_t cbfn; member
146 (__notify)->cbfn = (__cbfn); \
181 struct bfa_ioc_cbfn *cbfn; member
246 bfa_mbox_cmd_cbfn_t cbfn, void *cbarg);
249 bfa_ioc_mbox_mcfunc_t cbfn, void *cbarg);
267 struct bfa_ioc_cbfn *cbfn);
326 bfa_cb_flash cbfn; /* user callback function */ member
336 bfa_cb_flash cbfn, void *cbarg);
[all …]
H A Dbna.h78 void (*cbfn)(struct bna_rx *); \
80 cbfn = (rxf)->stop_cbfn; \
84 cbfn(cbarg); \
91 void (*cbfn)(struct bna_rx *); \
93 cbfn = (rxf)->start_cbfn; \
97 cbfn(cbarg); \
104 void (*cbfn)(struct bnad *, struct bna_rx *); \
106 cbfn = (rxf)->cam_fltr_cbfn; \
110 cbfn(cbarg, rxf->rx); \
315 void (*cbfn)(void *, struct bna_tx *));
[all …]
H A Dbfa_ioc.c274 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_enabling()
281 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_enabling()
326 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_getattr()
348 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_OK); in bfa_ioc_sm_op_entry()
437 ioc->cbfn->disable_cbfn(ioc->bfa); in bfa_ioc_sm_disabled()
469 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_fail_retry()
476 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_fail_retry()
508 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_fail()
541 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_hwfail()
545 ioc->cbfn->disable_cbfn(ioc->bfa); in bfa_ioc_sm_hwfail()
[all …]
H A Dbfa_msgq.h36 (_cmd)->cbfn = (_cbfn); \
48 bfa_msgq_cmdcbfn_t cbfn; member
96 bfa_msgq_mcfunc_t cbfn; member
118 bfa_msgq_mcfunc_t cbfn, void *cbarg);
H A Dbfa_msgq.c20 bfa_msgq_cmdcbfn_t cbfn; \
22 cbfn = (_cmdq_ent)->cbfn; \
24 (_cmdq_ent)->cbfn = NULL; \
26 if (cbfn) { \
27 cbfn(cbarg, (_status)); \
478 if ((mc >= BFI_MC_MAX) || (rspq->rsphdlr[mc].cbfn == NULL)) in bfa_msgq_rspq_pi_update()
481 (rspq->rsphdlr[mc].cbfn)(rspq->rsphdlr[mc].cbarg, msghdr); in bfa_msgq_rspq_pi_update()
617 bfa_msgq_mcfunc_t cbfn, void *cbarg) in bfa_msgq_regisr() argument
619 msgq->rspq.rsphdlr[mc].cbfn = cbfn; in bfa_msgq_regisr()
H A Dbna_enet.c387 void (*cbfn)(struct bna_enet *); \
388 cbfn = (_ethport)->stop_cbfn; \
390 cbfn(&(_ethport)->bna->enet); \
397 void (*cbfn)(struct bnad *, enum bna_cb_status); \
398 cbfn = (ethport)->adminup_cbfn; \
400 cbfn((ethport)->bna->bnad, status); \
869 void (*cbfn)(void *); \
871 cbfn = (enet)->stop_cbfn; \
875 cbfn(cbarg); \
882 void (*cbfn)(struct bnad *); \
[all …]
H A Dbfa_cee.h39 struct bfa_cee_cbfn cbfn; member
57 bfa_cee_get_attr_cbfn_t cbfn, void *cbarg);
/OK3568_Linux_fs/kernel/drivers/scsi/bfa/
H A Dbfa_port.c219 bfa_port_enable(struct bfa_port_s *port, bfa_port_endis_cbfn_t cbfn, in bfa_port_enable() argument
254 port->endis_cbfn = cbfn; in bfa_port_enable()
275 bfa_port_disable(struct bfa_port_s *port, bfa_port_endis_cbfn_t cbfn, in bfa_port_disable() argument
310 port->endis_cbfn = cbfn; in bfa_port_disable()
332 bfa_port_stats_cbfn_t cbfn, void *cbarg) in bfa_port_get_stats() argument
349 port->stats_cbfn = cbfn; in bfa_port_get_stats()
370 bfa_port_clear_stats(struct bfa_port_s *port, bfa_port_stats_cbfn_t cbfn, in bfa_port_clear_stats() argument
387 port->stats_cbfn = cbfn; in bfa_port_clear_stats()
531 if (cee->cbfn.get_attr_cbfn) { in bfa_cee_get_attr_isr()
533 cee->cbfn.get_attr_cbfn(cee->cbfn.get_attr_cbarg, status); in bfa_cee_get_attr_isr()
[all …]
H A Dbfa_ioc.h241 bfa_ioc_mbox_mcfunc_t cbfn; /* message handlers */ member
273 bfa_ioc_notify_cbfn_t cbfn; member
281 (__notify)->cbfn = (__cbfn); \
316 struct bfa_ioc_cbfn_s *cbfn; member
371 bfa_cb_cbfn_t cbfn; member
407 bfa_ablk_cbfn_t cbfn; member
424 bfa_cb_sfp_t cbfn; member
456 bfa_cb_sfp_t cbfn, void *cbarg);
460 bfa_cb_sfp_t cbfn, void *cbarg);
464 bfa_cb_sfp_t cbfn, void *cbarg);
[all …]
H A Dbfa_port.h53 bfa_port_stats_cbfn_t cbfn, void *cbarg);
55 bfa_port_stats_cbfn_t cbfn, void *cbarg);
57 bfa_port_endis_cbfn_t cbfn, void *cbarg);
59 bfa_port_endis_cbfn_t cbfn, void *cbarg);
90 struct bfa_cee_cbfn_s cbfn; member
112 bfa_cee_get_attr_cbfn_t cbfn, void *cbarg);
115 bfa_cee_get_stats_cbfn_t cbfn, void *cbarg);
117 bfa_cee_reset_stats_cbfn_t cbfn, void *cbarg);
H A Dbfa_ioc.c337 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_enabling()
344 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_enabling()
392 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_getattr()
416 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_OK); in bfa_ioc_sm_op_entry()
520 ioc->cbfn->disable_cbfn(ioc->bfa); in bfa_ioc_sm_disabled()
558 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_fail_retry()
565 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_fail_retry()
604 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_fail()
640 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_hwfail()
644 ioc->cbfn->disable_cbfn(ioc->bfa); in bfa_ioc_sm_hwfail()
[all …]
H A Dbfa_svc.h34 void (*cbfn) (void *cbarg); /* callback function */ member
71 void (*cbfn) (void *cbarg), void *cbarg);
631 bfa_cb_fcxp_send_t cbfn,
683 bfa_cb_iocfc_t cbfn, void *cbarg);
690 bfa_cb_diag_t cbfn; member
702 bfa_cb_diag_t cbfn; member
713 bfa_cb_diag_t cbfn; member
742 bfa_cb_diag_t cbfn, void *cbarg);
745 bfa_cb_diag_t cbfn, void *cbarg);
748 bfa_cb_diag_t cbfn, void *cbarg);
[all …]
H A Dbfa_svc.c1007 u32 reqlen, struct fchs_s *fchs, bfa_cb_fcxp_send_t cbfn, in bfa_fcxp_send() argument
1029 fcxp->send_cbfn = cbfn ? cbfn : bfa_fcxp_null_comp; in bfa_fcxp_send()
3673 void (*cbfn) (void *cbarg, in bfa_fcport_event_register()
3679 fcport->event_cbfn = cbfn; in bfa_fcport_event_register()
5288 wqe->cbfn(wqe->cbarg); in bfa_sgpg_mfree()
5333 bfa_sgpg_winit(struct bfa_sgpg_wqe_s *wqe, void (*cbfn) (void *cbarg), in bfa_sgpg_winit()
5337 wqe->cbfn = cbfn; in bfa_sgpg_winit()
5722 dport->cbfn = NULL; in bfa_fcdiag_attach()
5737 fcdiag->lb.cbfn(fcdiag->lb.cbarg, fcdiag->lb.status); in bfa_fcdiag_iocdisable()
5763 fcdiag->qtest.cbfn(fcdiag->qtest.cbarg, fcdiag->qtest.status); in bfa_fcdiag_queuetest_timeout()
[all …]
H A Dbfa.h115 (__hcb_qe)->cbfn = (__cbfn); \
124 (__hcb_qe)->cbfn = (__cbfn); \
434 (__qe)->hcb_qe.cbfn = (__cbfn); \
/OK3568_Linux_fs/kernel/drivers/scsi/csiostor/
H A Dcsio_mb.c78 void (*cbfn) (struct csio_hw *, struct csio_mb *)) in csio_mb_hello()
82 CSIO_INIT_MBP(mbp, cmdp, tmo, hw, cbfn, 1); in csio_mb_hello()
141 void (*cbfn) (struct csio_hw *, struct csio_mb *)) in csio_mb_bye()
145 CSIO_INIT_MBP(mbp, cmdp, tmo, hw, cbfn, 1); in csio_mb_bye()
164 void (*cbfn) (struct csio_hw *, struct csio_mb *)) in csio_mb_reset()
168 CSIO_INIT_MBP(mbp, cmdp, tmo, hw, cbfn, 1); in csio_mb_reset()
196 void (*cbfn)(struct csio_hw *, struct csio_mb *)) in csio_mb_params()
203 CSIO_INIT_MBP(mbp, cmdp, tmo, hw, cbfn, 1); in csio_mb_params()
302 void (*cbfn) (struct csio_hw *, struct csio_mb *)) in csio_mb_caps_config()
307 CSIO_INIT_MBP(mbp, cmdp, tmo, hw, cbfn, wr ? 0 : 1); in csio_mb_caps_config()
[all …]
H A Dcsio_wr.c418 void (*cbfn) (struct csio_hw *, struct csio_mb *)) in csio_wr_iq_create()
497 csio_mb_iq_alloc_write(hw, mbp, priv, CSIO_MB_DEFAULT_TMO, &iqp, cbfn); in csio_wr_iq_create()
505 if (cbfn != NULL) in csio_wr_iq_create()
559 void (*cbfn) (struct csio_hw *, struct csio_mb *)) in csio_wr_eq_create()
585 &eqp, cbfn); in csio_wr_eq_create()
593 if (cbfn != NULL) in csio_wr_eq_create()
633 void (*cbfn)(struct csio_hw *, struct csio_mb *)) in csio_wr_iq_destroy()
659 csio_mb_iq_free(hw, mbp, priv, CSIO_MB_DEFAULT_TMO, &iqp, cbfn); in csio_wr_iq_destroy()
667 if (cbfn != NULL) in csio_wr_iq_destroy()
707 void (*cbfn) (struct csio_hw *, struct csio_mb *)) in csio_wr_eq_destroy()
[all …]
H A Dcsio_mb.h237 void (*cbfn) (struct csio_hw *, struct csio_mb *));
242 void (*cbfn)(struct csio_hw *, struct csio_mb *));
/OK3568_Linux_fs/kernel/drivers/scsi/be2iscsi/
H A Dbe_mgmt.c224 void (*cbfn)(struct beiscsi_hba *, in beiscsi_exec_nemb_cmd()
248 if (cbfn) { in beiscsi_exec_nemb_cmd()
252 ctrl->ptag_state[tag].cbfn = cbfn; in beiscsi_exec_nemb_cmd()
264 if (cbfn) in beiscsi_exec_nemb_cmd()
943 ctrl->ptag_state[tag].cbfn = beiscsi_boot_process_compl; in beiscsi_boot_logout_sess()
982 ctrl->ptag_state[tag].cbfn = beiscsi_boot_process_compl; in beiscsi_boot_reopen_sess()
1040 ctrl->ptag_state[tag].cbfn = beiscsi_boot_process_compl; in beiscsi_boot_get_sinfo()
1070 ctrl->ptag_state[tag].cbfn = beiscsi_boot_process_compl; in __beiscsi_boot_get_shandle()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Dbcmxtlv.c265 bcm_xtlv_unpack_cbfn_t *cbfn) in bcm_unpack_xtlv_buf() argument
275 ASSERT(!buflen || cbfn); in bcm_unpack_xtlv_buf()
291 if ((res = cbfn(ctx, ptlv->data, type, len)) != BCME_OK) in bcm_unpack_xtlv_buf()
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Dbcmxtlv.c414 bcm_xtlv_unpack_cbfn_t *cbfn) in bcm_unpack_xtlv_buf() argument
426 ASSERT(!buflen || cbfn); in bcm_unpack_xtlv_buf()
439 if ((res = cbfn(ctx, data, type, len)) != BCME_OK) in bcm_unpack_xtlv_buf()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Dbcmxtlv.c414 bcm_xtlv_unpack_cbfn_t *cbfn) in bcm_unpack_xtlv_buf() argument
426 ASSERT(!buflen || cbfn); in bcm_unpack_xtlv_buf()
439 if ((res = cbfn(ctx, data, type, len)) != BCME_OK) in bcm_unpack_xtlv_buf()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Dbcmxtlv.c414 bcm_xtlv_unpack_cbfn_t *cbfn) in bcm_unpack_xtlv_buf() argument
426 ASSERT(!buflen || cbfn); in bcm_unpack_xtlv_buf()
439 if ((res = cbfn(ctx, data, type, len)) != BCME_OK) in bcm_unpack_xtlv_buf()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Dbcmxtlv.c429 bcm_xtlv_unpack_cbfn_t *cbfn) in bcm_unpack_xtlv_buf() argument
441 ASSERT(!buflen || cbfn); in bcm_unpack_xtlv_buf()
457 if ((res = cbfn(ctx, data, type, len)) != BCME_OK) { in bcm_unpack_xtlv_buf()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dbcmxtlv.c429 bcm_xtlv_unpack_cbfn_t *cbfn) in bcm_unpack_xtlv_buf() argument
441 ASSERT(!buflen || cbfn); in bcm_unpack_xtlv_buf()
457 if ((res = cbfn(ctx, data, type, len)) != BCME_OK) { in bcm_unpack_xtlv_buf()

12