Home
last modified time | relevance | path

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

/drivers/net/ethernet/brocade/bna/
Dbfa_cee.c87 if (cee->cbfn.get_attr_cbfn) in bfa_cee_get_attr_isr()
88 cee->cbfn.get_attr_cbfn(cee->cbfn.get_attr_cbarg, status); in bfa_cee_get_attr_isr()
107 if (cee->cbfn.get_stats_cbfn) in bfa_cee_get_stats_isr()
108 cee->cbfn.get_stats_cbfn(cee->cbfn.get_stats_cbarg, status); in bfa_cee_get_stats_isr()
126 if (cee->cbfn.reset_stats_cbfn) in bfa_cee_reset_stats_isr()
127 cee->cbfn.reset_stats_cbfn(cee->cbfn.reset_stats_cbarg, status); in bfa_cee_reset_stats_isr()
166 bfa_cee_get_attr_cbfn_t cbfn, void *cbarg) in bfa_nw_cee_get_attr() argument
180 cee->cbfn.get_attr_cbfn = cbfn; in bfa_nw_cee_get_attr()
181 cee->cbfn.get_attr_cbarg = cbarg; in bfa_nw_cee_get_attr()
235 if (cee->cbfn.get_attr_cbfn) { in bfa_cee_notify()
[all …]
Dbna.h188 void (*cbfn)(struct bna_rx *); \
190 cbfn = (rxf)->stop_cbfn; \
194 cbfn(cbarg); \
201 void (*cbfn)(struct bna_rx *); \
203 cbfn = (rxf)->start_cbfn; \
207 cbfn(cbarg); \
214 void (*cbfn)(struct bnad *, struct bna_rx *); \
216 cbfn = (rxf)->cam_fltr_cbfn; \
220 cbfn(cbarg, rxf->rx); \
227 void (*cbfn)(struct bnad *, struct bna_rx *); \
[all …]
Dbfa_ioc.h108 bfa_mbox_cmd_cbfn_t cbfn; member
119 bfa_ioc_mbox_mcfunc_t cbfn; /*!< message handlers */ member
147 bfa_ioc_notify_cbfn_t cbfn; member
153 (__notify)->cbfn = (__cbfn); \
188 struct bfa_ioc_cbfn *cbfn; member
250 bfa_mbox_cmd_cbfn_t cbfn, void *cbarg);
253 bfa_ioc_mbox_mcfunc_t cbfn, void *cbarg);
278 struct bfa_ioc_cbfn *cbfn);
336 bfa_cb_flash cbfn; /* user callback function */ member
346 bfa_cb_flash cbfn, void *cbarg);
[all …]
Dbfa_ioc.c279 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_enabling()
286 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_enabling()
331 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_getattr()
353 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_OK); in bfa_ioc_sm_op_entry()
441 ioc->cbfn->disable_cbfn(ioc->bfa); in bfa_ioc_sm_disabled()
473 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_fail_retry()
480 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_fail_retry()
512 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_fail()
545 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_hwfail()
549 ioc->cbfn->disable_cbfn(ioc->bfa); in bfa_ioc_sm_hwfail()
[all …]
Dbfa_msgq.h43 (_cmd)->cbfn = (_cbfn); \
55 bfa_msgq_cmdcbfn_t cbfn; member
103 bfa_msgq_mcfunc_t cbfn; member
125 bfa_msgq_mcfunc_t cbfn, void *cbarg);
Dbfa_msgq.c27 bfa_msgq_cmdcbfn_t cbfn; \
29 cbfn = (_cmdq_ent)->cbfn; \
31 (_cmdq_ent)->cbfn = NULL; \
33 if (cbfn) { \
34 cbfn(cbarg, (_status)); \
484 if ((mc >= BFI_MC_MAX) || (rspq->rsphdlr[mc].cbfn == NULL)) in bfa_msgq_rspq_pi_update()
487 (rspq->rsphdlr[mc].cbfn)(rspq->rsphdlr[mc].cbarg, msghdr); in bfa_msgq_rspq_pi_update()
624 bfa_msgq_mcfunc_t cbfn, void *cbarg) in bfa_msgq_regisr() argument
626 msgq->rspq.rsphdlr[mc].cbfn = cbfn; in bfa_msgq_regisr()
Dbna_enet.c386 void (*cbfn)(struct bna_enet *); \
387 cbfn = (_ethport)->stop_cbfn; \
389 cbfn(&(_ethport)->bna->enet); \
396 void (*cbfn)(struct bnad *, enum bna_cb_status); \
397 cbfn = (ethport)->adminup_cbfn; \
399 cbfn((ethport)->bna->bnad, status); \
868 void (*cbfn)(void *); \
870 cbfn = (enet)->stop_cbfn; \
874 cbfn(cbarg); \
881 void (*cbfn)(struct bnad *); \
[all …]
Dbfa_cee.h46 struct bfa_cee_cbfn cbfn; member
64 bfa_cee_get_attr_cbfn_t cbfn, void *cbarg);
Dbna_tx_rx.c851 void (*cbfn)(struct bnad *, struct bna_rx *)) in bna_rx_ucast_set()
865 rxf->cam_fltr_cbfn = cbfn; in bna_rx_ucast_set()
875 void (*cbfn)(struct bnad *, struct bna_rx *)) in bna_rx_mcast_add()
883 if (cbfn) in bna_rx_mcast_add()
884 cbfn(rx->bna->bnad, rx); in bna_rx_mcast_add()
895 rxf->cam_fltr_cbfn = cbfn; in bna_rx_mcast_add()
905 void (*cbfn)(struct bnad *, struct bna_rx *)) in bna_rx_mcast_listset()
951 rxf->cam_fltr_cbfn = cbfn; in bna_rx_mcast_listset()
1322 void (*cbfn)(void *, struct bna_rx *); \
1324 cbfn = (rx)->stop_cbfn; \
[all …]
/drivers/scsi/bfa/
Dbfa_port.c232 bfa_port_enable(struct bfa_port_s *port, bfa_port_endis_cbfn_t cbfn, in bfa_port_enable() argument
267 port->endis_cbfn = cbfn; in bfa_port_enable()
288 bfa_port_disable(struct bfa_port_s *port, bfa_port_endis_cbfn_t cbfn, in bfa_port_disable() argument
323 port->endis_cbfn = cbfn; in bfa_port_disable()
345 bfa_port_stats_cbfn_t cbfn, void *cbarg) in bfa_port_get_stats() argument
362 port->stats_cbfn = cbfn; in bfa_port_get_stats()
383 bfa_port_clear_stats(struct bfa_port_s *port, bfa_port_stats_cbfn_t cbfn, in bfa_port_clear_stats() argument
400 port->stats_cbfn = cbfn; in bfa_port_clear_stats()
547 if (cee->cbfn.get_attr_cbfn) { in bfa_cee_get_attr_isr()
549 cee->cbfn.get_attr_cbfn(cee->cbfn.get_attr_cbarg, status); in bfa_cee_get_attr_isr()
[all …]
Dbfa_ioc.h244 bfa_ioc_mbox_mcfunc_t cbfn; /* message handlers */ member
276 bfa_ioc_notify_cbfn_t cbfn; member
284 (__notify)->cbfn = (__cbfn); \
319 struct bfa_ioc_cbfn_s *cbfn; member
368 bfa_cb_cbfn_t cbfn; member
404 bfa_ablk_cbfn_t cbfn; member
421 bfa_cb_sfp_t cbfn; member
453 bfa_cb_sfp_t cbfn, void *cbarg);
457 bfa_cb_sfp_t cbfn, void *cbarg);
461 bfa_cb_sfp_t cbfn, void *cbarg);
[all …]
Dbfa_port.h60 bfa_port_stats_cbfn_t cbfn, void *cbarg);
62 bfa_port_stats_cbfn_t cbfn, void *cbarg);
64 bfa_port_endis_cbfn_t cbfn, void *cbarg);
66 bfa_port_endis_cbfn_t cbfn, void *cbarg);
97 struct bfa_cee_cbfn_s cbfn; member
119 bfa_cee_get_attr_cbfn_t cbfn, void *cbarg);
122 bfa_cee_get_stats_cbfn_t cbfn, void *cbarg);
124 bfa_cee_reset_stats_cbfn_t cbfn, void *cbarg);
Dbfa_ioc.c321 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_enabling()
328 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_enabling()
376 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_getattr()
400 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_OK); in bfa_ioc_sm_op_entry()
504 ioc->cbfn->disable_cbfn(ioc->bfa); in bfa_ioc_sm_disabled()
542 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_fail_retry()
549 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_fail_retry()
588 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_fail()
624 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_hwfail()
628 ioc->cbfn->disable_cbfn(ioc->bfa); in bfa_ioc_sm_hwfail()
[all …]
Dbfa_svc.h41 void (*cbfn) (void *cbarg); /* callback function */ member
78 void (*cbfn) (void *cbarg), void *cbarg);
634 bfa_cb_fcxp_send_t cbfn,
686 bfa_cb_iocfc_t cbfn, void *cbarg);
693 bfa_cb_diag_t cbfn; member
705 bfa_cb_diag_t cbfn; member
717 bfa_cb_diag_t cbfn; member
737 bfa_cb_diag_t cbfn, void *cbarg);
740 bfa_cb_diag_t cbfn, void *cbarg);
742 bfa_status_t bfa_dport_enable(struct bfa_s *bfa, bfa_cb_diag_t cbfn,
[all …]
Dbfa_svc.c1052 u32 reqlen, struct fchs_s *fchs, bfa_cb_fcxp_send_t cbfn, in bfa_fcxp_send() argument
1074 fcxp->send_cbfn = cbfn ? cbfn : bfa_fcxp_null_comp; in bfa_fcxp_send()
3706 void (*cbfn) (void *cbarg, in bfa_fcport_event_register()
3712 fcport->event_cbfn = cbfn; in bfa_fcport_event_register()
5258 wqe->cbfn(wqe->cbarg); in bfa_sgpg_mfree()
5303 bfa_sgpg_winit(struct bfa_sgpg_wqe_s *wqe, void (*cbfn) (void *cbarg), in bfa_sgpg_winit()
5307 wqe->cbfn = cbfn; in bfa_sgpg_winit()
5690 dport->cbfn = NULL; in bfa_fcdiag_attach()
5703 fcdiag->lb.cbfn(fcdiag->lb.cbarg, fcdiag->lb.status); in bfa_fcdiag_iocdisable()
5744 fcdiag->qtest.cbfn(fcdiag->qtest.cbarg, fcdiag->qtest.status); in bfa_fcdiag_queuetest_timeout()
[all …]
Dbfa.h123 (__hcb_qe)->cbfn = (__cbfn); \
132 (__hcb_qe)->cbfn = (__cbfn); \
442 (__qe)->hcb_qe.cbfn = (__cbfn); \
Dbfa_core.c1364 bfa_cb_iocfc_t cbfn, void *cbarg) in bfa_faa_query() argument
1371 iocfc->faa_args.faa_cb.faa_cbfn = cbfn; in bfa_faa_query()
1903 bfa_cb_cbfn_status_t cbfn; in bfa_comp_process() local
1910 cbfn = (bfa_cb_cbfn_status_t)(hcb_qe->cbfn); in bfa_comp_process()
1911 cbfn(hcb_qe->cbarg, hcb_qe->fw_status); in bfa_comp_process()
1913 hcb_qe->cbfn(hcb_qe->cbarg, BFA_TRUE); in bfa_comp_process()
1927 hcb_qe->cbfn(hcb_qe->cbarg, BFA_FALSE); in bfa_comp_free()
Dbfa_fcs_rport.c1929 bfa_cb_fcxp_send_t cbfn; in bfa_fcs_rport_send_nsdisc() local
1945 cbfn = bfa_fcs_rport_gidpn_response; in bfa_fcs_rport_send_nsdisc()
1949 cbfn = bfa_fcs_rport_gpnid_response; in bfa_fcs_rport_send_nsdisc()
1953 FC_CLASS_3, len, &fchs, cbfn, in bfa_fcs_rport_send_nsdisc()
/drivers/scsi/csiostor/
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 …]
Dcsio_wr.c422 void (*cbfn) (struct csio_hw *, struct csio_mb *)) in csio_wr_iq_create()
499 csio_mb_iq_alloc_write(hw, mbp, priv, CSIO_MB_DEFAULT_TMO, &iqp, cbfn); in csio_wr_iq_create()
507 if (cbfn != NULL) in csio_wr_iq_create()
561 void (*cbfn) (struct csio_hw *, struct csio_mb *)) in csio_wr_eq_create()
587 &eqp, cbfn); in csio_wr_eq_create()
595 if (cbfn != NULL) in csio_wr_eq_create()
635 void (*cbfn)(struct csio_hw *, struct csio_mb *)) in csio_wr_iq_destroy()
661 csio_mb_iq_free(hw, mbp, priv, CSIO_MB_DEFAULT_TMO, &iqp, cbfn); in csio_wr_iq_destroy()
669 if (cbfn != NULL) in csio_wr_iq_destroy()
709 void (*cbfn) (struct csio_hw *, struct csio_mb *)) in csio_wr_eq_destroy()
[all …]
Dcsio_mb.h252 void (*cbfn) (struct csio_hw *, struct csio_mb *));
257 void (*cbfn)(struct csio_hw *, struct csio_mb *));
Dcsio_lnode.c663 void (*cbfn) (struct csio_hw *, struct csio_mb *)) in csio_ln_vnp_read()
680 cbfn); in csio_ln_vnp_read()
814 void (*cbfn) (struct csio_hw *, struct csio_mb *)) in csio_ln_read_fcf_entry()
827 ln->portid, ln->fcf_flowid, cbfn); in csio_ln_read_fcf_entry()