/linux-3.4.99/drivers/net/ethernet/brocade/bna/ |
D | bfa_cee.c | 103 if (cee->cbfn.get_attr_cbfn) in bfa_cee_get_attr_isr() 104 cee->cbfn.get_attr_cbfn(cee->cbfn.get_attr_cbarg, status); in bfa_cee_get_attr_isr() 127 if (cee->cbfn.get_stats_cbfn) in bfa_cee_get_stats_isr() 128 cee->cbfn.get_stats_cbfn(cee->cbfn.get_stats_cbarg, status); in bfa_cee_get_stats_isr() 146 if (cee->cbfn.reset_stats_cbfn) in bfa_cee_reset_stats_isr() 147 cee->cbfn.reset_stats_cbfn(cee->cbfn.reset_stats_cbarg, status); in bfa_cee_reset_stats_isr() 198 bfa_cee_get_attr_cbfn_t cbfn, void *cbarg) in bfa_nw_cee_get_attr() argument 212 cee->cbfn.get_attr_cbfn = cbfn; in bfa_nw_cee_get_attr() 213 cee->cbfn.get_attr_cbarg = cbarg; in bfa_nw_cee_get_attr() 278 if (cee->cbfn.get_attr_cbfn) { in bfa_cee_notify() [all …]
|
D | bna.h | 190 void (*cbfn)(struct bna_rx *); \ 192 cbfn = (rxf)->stop_cbfn; \ 196 cbfn(cbarg); \ 203 void (*cbfn)(struct bna_rx *); \ 205 cbfn = (rxf)->start_cbfn; \ 209 cbfn(cbarg); \ 216 void (*cbfn)(struct bnad *, struct bna_rx *); \ 218 cbfn = (rxf)->cam_fltr_cbfn; \ 222 cbfn(cbarg, rxf->rx); \ 229 void (*cbfn)(struct bnad *, struct bna_rx *); \ [all …]
|
D | bfa_ioc.h | 117 bfa_mbox_cmd_cbfn_t cbfn; member 130 bfa_ioc_mbox_mcfunc_t cbfn; /*!< message handlers */ member 162 bfa_ioc_notify_cbfn_t cbfn; member 170 (__notify)->cbfn = (__cbfn); \ 205 struct bfa_ioc_cbfn *cbfn; member 269 bfa_mbox_cmd_cbfn_t cbfn, void *cbarg); 272 bfa_ioc_mbox_mcfunc_t cbfn, void *cbarg); 299 struct bfa_ioc_cbfn *cbfn); 357 bfa_cb_flash cbfn; /* user callback function */ member 367 bfa_cb_flash cbfn, void *cbarg); [all …]
|
D | bfa_msgq.h | 43 (_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);
|
D | bfa_ioc.c | 301 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_enabling() 308 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_enabling() 359 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_getattr() 381 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_OK); in bfa_ioc_sm_op_entry() 472 ioc->cbfn->disable_cbfn(ioc->bfa); in bfa_ioc_sm_disabled() 506 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_fail_retry() 513 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_fail_retry() 547 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_fail() 582 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_hwfail() 586 ioc->cbfn->disable_cbfn(ioc->bfa); in bfa_ioc_sm_hwfail() [all …]
|
D | bfa_msgq.c | 29 bfa_msgq_cmdcbfn_t cbfn; \ 31 cbfn = (_cmdq_ent)->cbfn; \ 33 (_cmdq_ent)->cbfn = NULL; \ 35 if (cbfn) { \ 36 cbfn(cbarg, (_status)); \ 486 if ((mc >= BFI_MC_MAX) || (rspq->rsphdlr[mc].cbfn == NULL)) in bfa_msgq_rspq_pi_update() 489 (rspq->rsphdlr[mc].cbfn)(rspq->rsphdlr[mc].cbarg, msghdr); in bfa_msgq_rspq_pi_update() 626 bfa_msgq_mcfunc_t cbfn, void *cbarg) in bfa_msgq_regisr() argument 628 msgq->rspq.rsphdlr[mc].cbfn = cbfn; in bfa_msgq_regisr()
|
D | bna_enet.c | 387 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); \ 870 void (*cbfn)(void *); \ 872 cbfn = (enet)->stop_cbfn; \ 876 cbfn(cbarg); \ 883 void (*cbfn)(struct bnad *); \ [all …]
|
D | bfa_cee.h | 46 struct bfa_cee_cbfn cbfn; member 64 bfa_cee_get_attr_cbfn_t cbfn, void *cbarg);
|
D | bna_tx_rx.c | 855 void (*cbfn)(struct bnad *, struct bna_rx *)) in bna_rx_ucast_set() 869 rxf->cam_fltr_cbfn = cbfn; in bna_rx_ucast_set() 879 void (*cbfn)(struct bnad *, struct bna_rx *)) in bna_rx_mcast_add() 887 if (cbfn) in bna_rx_mcast_add() 888 cbfn(rx->bna->bnad, rx); in bna_rx_mcast_add() 899 rxf->cam_fltr_cbfn = cbfn; in bna_rx_mcast_add() 909 void (*cbfn)(struct bnad *, struct bna_rx *)) in bna_rx_mcast_listset() 955 rxf->cam_fltr_cbfn = cbfn; in bna_rx_mcast_listset() 1328 void (*cbfn)(void *, struct bna_rx *); \ 1330 cbfn = (rx)->stop_cbfn; \ [all …]
|
/linux-3.4.99/drivers/scsi/bfa/ |
D | bfa_port.c | 232 bfa_port_enable(struct bfa_port_s *port, bfa_port_endis_cbfn_t cbfn, in bfa_port_enable() argument 261 port->endis_cbfn = cbfn; in bfa_port_enable() 282 bfa_port_disable(struct bfa_port_s *port, bfa_port_endis_cbfn_t cbfn, in bfa_port_disable() argument 311 port->endis_cbfn = cbfn; in bfa_port_disable() 333 bfa_port_stats_cbfn_t cbfn, void *cbarg) in bfa_port_get_stats() argument 350 port->stats_cbfn = cbfn; in bfa_port_get_stats() 371 bfa_port_clear_stats(struct bfa_port_s *port, bfa_port_stats_cbfn_t cbfn, in bfa_port_clear_stats() argument 388 port->stats_cbfn = cbfn; in bfa_port_clear_stats() 515 if (cee->cbfn.get_attr_cbfn) { in bfa_cee_get_attr_isr() 517 cee->cbfn.get_attr_cbfn(cee->cbfn.get_attr_cbarg, status); in bfa_cee_get_attr_isr() [all …]
|
D | bfa_port.h | 59 bfa_port_stats_cbfn_t cbfn, void *cbarg); 61 bfa_port_stats_cbfn_t cbfn, void *cbarg); 63 bfa_port_endis_cbfn_t cbfn, void *cbarg); 65 bfa_port_endis_cbfn_t cbfn, void *cbarg); 94 struct bfa_cee_cbfn_s cbfn; member 116 bfa_cee_get_attr_cbfn_t cbfn, void *cbarg); 119 bfa_cee_get_stats_cbfn_t cbfn, void *cbarg); 121 bfa_cee_reset_stats_cbfn_t cbfn, void *cbarg);
|
D | bfa_ioc.h | 244 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 …]
|
D | bfa_ioc.c | 322 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_enabling() 329 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_enabling() 377 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_getattr() 401 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_OK); in bfa_ioc_sm_op_entry() 505 ioc->cbfn->disable_cbfn(ioc->bfa); in bfa_ioc_sm_disabled() 543 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_fail_retry() 550 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_fail_retry() 589 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 …]
|
D | bfa_svc.h | 41 void (*cbfn) (void *cbarg); /* callback function */ member 78 void (*cbfn) (void *cbarg), void *cbarg); 616 bfa_cb_fcxp_send_t cbfn, 667 bfa_cb_iocfc_t cbfn, void *cbarg); 674 bfa_cb_diag_t cbfn; member 686 bfa_cb_diag_t cbfn; member 708 bfa_cb_diag_t cbfn, void *cbarg); 711 bfa_cb_diag_t cbfn, void *cbarg);
|
D | bfa.h | 123 (__hcb_qe)->cbfn = (__cbfn); \ 132 (__hcb_qe)->cbfn = (__cbfn); \ 442 (__qe)->hcb_qe.cbfn = (__cbfn); \
|
D | bfa_core.c | 1291 bfa_cb_iocfc_t cbfn, void *cbarg) in bfa_faa_query() argument 1298 iocfc->faa_args.faa_cb.faa_cbfn = cbfn; in bfa_faa_query() 1827 bfa_cb_cbfn_status_t cbfn; in bfa_comp_process() local 1834 cbfn = (bfa_cb_cbfn_status_t)(hcb_qe->cbfn); in bfa_comp_process() 1835 cbfn(hcb_qe->cbarg, hcb_qe->fw_status); in bfa_comp_process() 1837 hcb_qe->cbfn(hcb_qe->cbarg, BFA_TRUE); in bfa_comp_process() 1851 hcb_qe->cbfn(hcb_qe->cbarg, BFA_FALSE); in bfa_comp_free()
|
D | bfa_svc.c | 1019 u32 reqlen, struct fchs_s *fchs, bfa_cb_fcxp_send_t cbfn, in bfa_fcxp_send() argument 1041 fcxp->send_cbfn = cbfn ? cbfn : bfa_fcxp_null_comp; in bfa_fcxp_send() 3506 void (*cbfn) (void *cbarg, in bfa_fcport_event_register() 3512 fcport->event_cbfn = cbfn; in bfa_fcport_event_register() 4942 wqe->cbfn(wqe->cbarg); in bfa_sgpg_mfree() 4987 bfa_sgpg_winit(struct bfa_sgpg_wqe_s *wqe, void (*cbfn) (void *cbarg), in bfa_sgpg_winit() 4991 wqe->cbfn = cbfn; in bfa_sgpg_winit() 5347 fcdiag->lb.cbfn(fcdiag->lb.cbarg, fcdiag->lb.status); in bfa_fcdiag_iocdisable() 5386 fcdiag->qtest.cbfn(fcdiag->qtest.cbarg, fcdiag->qtest.status); in bfa_fcdiag_queuetest_timeout() 5467 fcdiag->qtest.cbfn(fcdiag->qtest.cbarg, fcdiag->qtest.status); in bfa_fcdiag_queuetest_comp() [all …]
|
D | bfa_fcs_rport.c | 1584 bfa_cb_fcxp_send_t cbfn; in bfa_fcs_rport_send_nsdisc() local 1599 cbfn = bfa_fcs_rport_gidpn_response; in bfa_fcs_rport_send_nsdisc() 1603 cbfn = bfa_fcs_rport_gpnid_response; in bfa_fcs_rport_send_nsdisc() 1607 FC_CLASS_3, len, &fchs, cbfn, in bfa_fcs_rport_send_nsdisc()
|