/Linux-v4.19/drivers/net/ethernet/brocade/bna/ |
D | bfa_cee.c | 88 if (cee->cbfn.get_attr_cbfn) in bfa_cee_get_attr_isr() 89 cee->cbfn.get_attr_cbfn(cee->cbfn.get_attr_cbarg, status); in bfa_cee_get_attr_isr() 108 if (cee->cbfn.get_stats_cbfn) in bfa_cee_get_stats_isr() 109 cee->cbfn.get_stats_cbfn(cee->cbfn.get_stats_cbarg, status); in bfa_cee_get_stats_isr() 127 if (cee->cbfn.reset_stats_cbfn) in bfa_cee_reset_stats_isr() 128 cee->cbfn.reset_stats_cbfn(cee->cbfn.reset_stats_cbarg, status); in bfa_cee_reset_stats_isr() 167 bfa_cee_get_attr_cbfn_t cbfn, void *cbarg) in bfa_nw_cee_get_attr() argument 181 cee->cbfn.get_attr_cbfn = cbfn; in bfa_nw_cee_get_attr() 182 cee->cbfn.get_attr_cbarg = cbarg; in bfa_nw_cee_get_attr() 236 if (cee->cbfn.get_attr_cbfn) { in bfa_cee_notify() [all …]
|
D | bfa_ioc.h | 109 bfa_mbox_cmd_cbfn_t cbfn; member 120 bfa_ioc_mbox_mcfunc_t cbfn; /*!< message handlers */ member 148 bfa_ioc_notify_cbfn_t cbfn; member 154 (__notify)->cbfn = (__cbfn); \ 189 struct bfa_ioc_cbfn *cbfn; member 254 bfa_mbox_cmd_cbfn_t cbfn, void *cbarg); 257 bfa_ioc_mbox_mcfunc_t cbfn, void *cbarg); 275 struct bfa_ioc_cbfn *cbfn); 334 bfa_cb_flash cbfn; /* user callback function */ member 344 bfa_cb_flash cbfn, void *cbarg); [all …]
|
D | bna.h | 86 void (*cbfn)(struct bna_rx *); \ 88 cbfn = (rxf)->stop_cbfn; \ 92 cbfn(cbarg); \ 99 void (*cbfn)(struct bna_rx *); \ 101 cbfn = (rxf)->start_cbfn; \ 105 cbfn(cbarg); \ 112 void (*cbfn)(struct bnad *, struct bna_rx *); \ 114 cbfn = (rxf)->cam_fltr_cbfn; \ 118 cbfn(cbarg, rxf->rx); \ 323 void (*cbfn)(void *, struct bna_tx *)); [all …]
|
D | bfa_msgq.h | 44 (_cmd)->cbfn = (_cbfn); \ 56 bfa_msgq_cmdcbfn_t cbfn; member 104 bfa_msgq_mcfunc_t cbfn; member 126 bfa_msgq_mcfunc_t cbfn, void *cbarg);
|
D | bfa_ioc.c | 282 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_enabling() 289 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_enabling() 334 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_getattr() 356 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_OK); in bfa_ioc_sm_op_entry() 444 ioc->cbfn->disable_cbfn(ioc->bfa); in bfa_ioc_sm_disabled() 476 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_fail_retry() 483 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_fail_retry() 515 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_fail() 548 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_hwfail() 552 ioc->cbfn->disable_cbfn(ioc->bfa); in bfa_ioc_sm_hwfail() [all …]
|
D | bfa_msgq.c | 28 bfa_msgq_cmdcbfn_t cbfn; \ 30 cbfn = (_cmdq_ent)->cbfn; \ 32 (_cmdq_ent)->cbfn = NULL; \ 34 if (cbfn) { \ 35 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() 625 bfa_msgq_mcfunc_t cbfn, void *cbarg) in bfa_msgq_regisr() argument 627 msgq->rspq.rsphdlr[mc].cbfn = cbfn; in bfa_msgq_regisr()
|
D | bfa_cee.h | 47 struct bfa_cee_cbfn cbfn; member 65 bfa_cee_get_attr_cbfn_t cbfn, void *cbarg);
|
D | bna_enet.c | 395 void (*cbfn)(struct bna_enet *); \ 396 cbfn = (_ethport)->stop_cbfn; \ 398 cbfn(&(_ethport)->bna->enet); \ 405 void (*cbfn)(struct bnad *, enum bna_cb_status); \ 406 cbfn = (ethport)->adminup_cbfn; \ 408 cbfn((ethport)->bna->bnad, status); \ 877 void (*cbfn)(void *); \ 879 cbfn = (enet)->stop_cbfn; \ 883 cbfn(cbarg); \ 890 void (*cbfn)(struct bnad *); \ [all …]
|
D | bna_tx_rx.c | 755 void (*cbfn)(struct bnad *, struct bna_rx *)) in bna_rx_mcast_add() 763 if (cbfn) in bna_rx_mcast_add() 764 cbfn(rx->bna->bnad, rx); in bna_rx_mcast_add() 774 rxf->cam_fltr_cbfn = cbfn; in bna_rx_mcast_add() 1281 void (*cbfn)(void *, struct bna_rx *); \ 1283 cbfn = (rx)->stop_cbfn; \ 1287 cbfn(cbarg, rx); \ 2556 void (*cbfn)(void *, struct bna_rx *)) in bna_rx_disable() 2560 (*cbfn)(rx->bna->bnad, rx); in bna_rx_disable() 2562 rx->stop_cbfn = cbfn; in bna_rx_disable() [all …]
|
/Linux-v4.19/drivers/scsi/bfa/ |
D | bfa_port.c | 227 bfa_port_enable(struct bfa_port_s *port, bfa_port_endis_cbfn_t cbfn, in bfa_port_enable() argument 262 port->endis_cbfn = cbfn; in bfa_port_enable() 283 bfa_port_disable(struct bfa_port_s *port, bfa_port_endis_cbfn_t cbfn, in bfa_port_disable() argument 318 port->endis_cbfn = cbfn; in bfa_port_disable() 340 bfa_port_stats_cbfn_t cbfn, void *cbarg) in bfa_port_get_stats() argument 357 port->stats_cbfn = cbfn; in bfa_port_get_stats() 378 bfa_port_clear_stats(struct bfa_port_s *port, bfa_port_stats_cbfn_t cbfn, in bfa_port_clear_stats() argument 395 port->stats_cbfn = cbfn; in bfa_port_clear_stats() 539 if (cee->cbfn.get_attr_cbfn) { in bfa_cee_get_attr_isr() 541 cee->cbfn.get_attr_cbfn(cee->cbfn.get_attr_cbarg, status); in bfa_cee_get_attr_isr() [all …]
|
D | bfa_ioc.h | 249 bfa_ioc_mbox_mcfunc_t cbfn; /* message handlers */ member 281 bfa_ioc_notify_cbfn_t cbfn; member 289 (__notify)->cbfn = (__cbfn); \ 324 struct bfa_ioc_cbfn_s *cbfn; member 379 bfa_cb_cbfn_t cbfn; member 415 bfa_ablk_cbfn_t cbfn; member 432 bfa_cb_sfp_t cbfn; member 464 bfa_cb_sfp_t cbfn, void *cbarg); 468 bfa_cb_sfp_t cbfn, void *cbarg); 472 bfa_cb_sfp_t cbfn, void *cbarg); [all …]
|
D | bfa_port.h | 61 bfa_port_stats_cbfn_t cbfn, void *cbarg); 63 bfa_port_stats_cbfn_t cbfn, void *cbarg); 65 bfa_port_endis_cbfn_t cbfn, void *cbarg); 67 bfa_port_endis_cbfn_t cbfn, void *cbarg); 98 struct bfa_cee_cbfn_s cbfn; member 120 bfa_cee_get_attr_cbfn_t cbfn, void *cbarg); 123 bfa_cee_get_stats_cbfn_t cbfn, void *cbarg); 125 bfa_cee_reset_stats_cbfn_t cbfn, void *cbarg);
|
D | bfa_ioc.c | 345 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_enabling() 352 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_enabling() 400 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_getattr() 424 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_OK); in bfa_ioc_sm_op_entry() 528 ioc->cbfn->disable_cbfn(ioc->bfa); in bfa_ioc_sm_disabled() 566 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_fail_retry() 573 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_fail_retry() 612 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_fail() 648 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_hwfail() 652 ioc->cbfn->disable_cbfn(ioc->bfa); in bfa_ioc_sm_hwfail() [all …]
|
D | bfa_svc.h | 42 void (*cbfn) (void *cbarg); /* callback function */ member 79 void (*cbfn) (void *cbarg), void *cbarg); 639 bfa_cb_fcxp_send_t cbfn, 691 bfa_cb_iocfc_t cbfn, void *cbarg); 698 bfa_cb_diag_t cbfn; member 710 bfa_cb_diag_t cbfn; member 721 bfa_cb_diag_t cbfn; member 750 bfa_cb_diag_t cbfn, void *cbarg); 753 bfa_cb_diag_t cbfn, void *cbarg); 756 bfa_cb_diag_t cbfn, void *cbarg); [all …]
|
D | bfa_svc.c | 1015 u32 reqlen, struct fchs_s *fchs, bfa_cb_fcxp_send_t cbfn, in bfa_fcxp_send() argument 1037 fcxp->send_cbfn = cbfn ? cbfn : bfa_fcxp_null_comp; in bfa_fcxp_send() 3681 void (*cbfn) (void *cbarg, in bfa_fcport_event_register() 3687 fcport->event_cbfn = cbfn; in bfa_fcport_event_register() 5296 wqe->cbfn(wqe->cbarg); in bfa_sgpg_mfree() 5341 bfa_sgpg_winit(struct bfa_sgpg_wqe_s *wqe, void (*cbfn) (void *cbarg), in bfa_sgpg_winit() 5345 wqe->cbfn = cbfn; in bfa_sgpg_winit() 5733 dport->cbfn = NULL; in bfa_fcdiag_attach() 5748 fcdiag->lb.cbfn(fcdiag->lb.cbarg, fcdiag->lb.status); in bfa_fcdiag_iocdisable() 5774 fcdiag->qtest.cbfn(fcdiag->qtest.cbarg, fcdiag->qtest.status); in bfa_fcdiag_queuetest_timeout() [all …]
|
D | bfa.h | 124 (__hcb_qe)->cbfn = (__cbfn); \ 133 (__hcb_qe)->cbfn = (__cbfn); \ 443 (__qe)->hcb_qe.cbfn = (__cbfn); \
|
D | bfa_core.c | 1376 bfa_cb_iocfc_t cbfn, void *cbarg) in bfa_faa_query() argument 1390 iocfc->faa_args.faa_cb.faa_cbfn = cbfn; in bfa_faa_query() 1918 bfa_cb_cbfn_status_t cbfn; in bfa_comp_process() local 1925 cbfn = (bfa_cb_cbfn_status_t)(hcb_qe->cbfn); in bfa_comp_process() 1926 cbfn(hcb_qe->cbarg, hcb_qe->fw_status); in bfa_comp_process() 1928 hcb_qe->cbfn(hcb_qe->cbarg, BFA_TRUE); in bfa_comp_process() 1942 hcb_qe->cbfn(hcb_qe->cbarg, BFA_FALSE); in bfa_comp_free()
|
D | bfa_fcs_rport.c | 1930 bfa_cb_fcxp_send_t cbfn; in bfa_fcs_rport_send_nsdisc() local 1946 cbfn = bfa_fcs_rport_gidpn_response; in bfa_fcs_rport_send_nsdisc() 1950 cbfn = bfa_fcs_rport_gpnid_response; in bfa_fcs_rport_send_nsdisc() 1954 FC_CLASS_3, len, &fchs, cbfn, in bfa_fcs_rport_send_nsdisc()
|
/Linux-v4.19/drivers/scsi/csiostor/ |
D | csio_mb.c | 78 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 …]
|
D | csio_wr.c | 417 void (*cbfn) (struct csio_hw *, struct csio_mb *)) in csio_wr_iq_create() 496 csio_mb_iq_alloc_write(hw, mbp, priv, CSIO_MB_DEFAULT_TMO, &iqp, cbfn); in csio_wr_iq_create() 504 if (cbfn != NULL) in csio_wr_iq_create() 558 void (*cbfn) (struct csio_hw *, struct csio_mb *)) in csio_wr_eq_create() 584 &eqp, cbfn); in csio_wr_eq_create() 592 if (cbfn != NULL) in csio_wr_eq_create() 632 void (*cbfn)(struct csio_hw *, struct csio_mb *)) in csio_wr_iq_destroy() 658 csio_mb_iq_free(hw, mbp, priv, CSIO_MB_DEFAULT_TMO, &iqp, cbfn); in csio_wr_iq_destroy() 666 if (cbfn != NULL) in csio_wr_iq_destroy() 706 void (*cbfn) (struct csio_hw *, struct csio_mb *)) in csio_wr_eq_destroy() [all …]
|
D | csio_mb.h | 237 void (*cbfn) (struct csio_hw *, struct csio_mb *)); 242 void (*cbfn)(struct csio_hw *, struct csio_mb *));
|
D | csio_lnode.c | 678 void (*cbfn) (struct csio_hw *, struct csio_mb *)) in csio_ln_vnp_read() 695 cbfn); in csio_ln_vnp_read() 829 void (*cbfn) (struct csio_hw *, struct csio_mb *)) in csio_ln_read_fcf_entry() 842 ln->portid, ln->fcf_flowid, cbfn); in csio_ln_read_fcf_entry()
|
/Linux-v4.19/drivers/scsi/be2iscsi/ |
D | be_mgmt.c | 223 void (*cbfn)(struct beiscsi_hba *, in beiscsi_exec_nemb_cmd() 247 if (cbfn) { in beiscsi_exec_nemb_cmd() 251 ctrl->ptag_state[tag].cbfn = cbfn; in beiscsi_exec_nemb_cmd() 263 if (cbfn) in beiscsi_exec_nemb_cmd() 941 ctrl->ptag_state[tag].cbfn = beiscsi_boot_process_compl; in beiscsi_boot_logout_sess() 980 ctrl->ptag_state[tag].cbfn = beiscsi_boot_process_compl; in beiscsi_boot_reopen_sess() 1037 ctrl->ptag_state[tag].cbfn = beiscsi_boot_process_compl; in beiscsi_boot_get_sinfo() 1067 ctrl->ptag_state[tag].cbfn = beiscsi_boot_process_compl; in __beiscsi_boot_get_shandle()
|
D | be.h | 112 void (*cbfn)(struct beiscsi_hba *, unsigned int); member
|
D | be_cmds.c | 127 phba->ctrl.ptag_state[tag].cbfn = NULL; in alloc_mcc_wrb() 546 if (ctrl->ptag_state[tag].cbfn) in beiscsi_process_mcc_compl() 547 ctrl->ptag_state[tag].cbfn(phba, tag); in beiscsi_process_mcc_compl()
|