Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/brocade/bna/
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 …]
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 …]
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 …]
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);
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 …]
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()
Dbfa_cee.h39 struct bfa_cee_cbfn cbfn; member
57 bfa_cee_get_attr_cbfn_t cbfn, void *cbarg);
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 …]
Dbna_tx_rx.c747 void (*cbfn)(struct bnad *, struct bna_rx *)) in bna_rx_mcast_add()
755 if (cbfn) in bna_rx_mcast_add()
756 cbfn(rx->bna->bnad, rx); in bna_rx_mcast_add()
766 rxf->cam_fltr_cbfn = cbfn; in bna_rx_mcast_add()
1273 void (*cbfn)(void *, struct bna_rx *); \
1275 cbfn = (rx)->stop_cbfn; \
1279 cbfn(cbarg, rx); \
2548 void (*cbfn)(void *, struct bna_rx *)) in bna_rx_disable()
2552 (*cbfn)(rx->bna->bnad, rx); in bna_rx_disable()
2554 rx->stop_cbfn = cbfn; in bna_rx_disable()
[all …]
/linux-6.1.9/drivers/scsi/bfa/
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 …]
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 …]
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);
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 …]
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 …]
Dbfa_svc.c1001 u32 reqlen, struct fchs_s *fchs, bfa_cb_fcxp_send_t cbfn, in bfa_fcxp_send() argument
1023 fcxp->send_cbfn = cbfn ? cbfn : bfa_fcxp_null_comp; in bfa_fcxp_send()
3667 void (*cbfn) (void *cbarg, in bfa_fcport_event_register()
3673 fcport->event_cbfn = cbfn; in bfa_fcport_event_register()
5282 wqe->cbfn(wqe->cbarg); in bfa_sgpg_mfree()
5327 bfa_sgpg_winit(struct bfa_sgpg_wqe_s *wqe, void (*cbfn) (void *cbarg), in bfa_sgpg_winit()
5331 wqe->cbfn = cbfn; in bfa_sgpg_winit()
5716 dport->cbfn = NULL; in bfa_fcdiag_attach()
5731 fcdiag->lb.cbfn(fcdiag->lb.cbarg, fcdiag->lb.status); in bfa_fcdiag_iocdisable()
5757 fcdiag->qtest.cbfn(fcdiag->qtest.cbarg, fcdiag->qtest.status); in bfa_fcdiag_queuetest_timeout()
[all …]
Dbfa.h115 (__hcb_qe)->cbfn = (__cbfn); \
124 (__hcb_qe)->cbfn = (__cbfn); \
434 (__qe)->hcb_qe.cbfn = (__cbfn); \
Dbfa_core.c1368 bfa_cb_iocfc_t cbfn, void *cbarg) in bfa_faa_query() argument
1382 iocfc->faa_args.faa_cb.faa_cbfn = cbfn; in bfa_faa_query()
1910 bfa_cb_cbfn_status_t cbfn; in bfa_comp_process() local
1917 cbfn = (bfa_cb_cbfn_status_t)(hcb_qe->cbfn); in bfa_comp_process()
1918 cbfn(hcb_qe->cbarg, hcb_qe->fw_status); in bfa_comp_process()
1920 hcb_qe->cbfn(hcb_qe->cbarg, BFA_TRUE); in bfa_comp_process()
1934 hcb_qe->cbfn(hcb_qe->cbarg, BFA_FALSE); in bfa_comp_free()
Dbfa_fcs_rport.c1917 bfa_cb_fcxp_send_t cbfn; in bfa_fcs_rport_send_nsdisc() local
1933 cbfn = bfa_fcs_rport_gidpn_response; in bfa_fcs_rport_send_nsdisc()
1937 cbfn = bfa_fcs_rport_gpnid_response; in bfa_fcs_rport_send_nsdisc()
1941 FC_CLASS_3, len, &fchs, cbfn, in bfa_fcs_rport_send_nsdisc()
/linux-6.1.9/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.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 …]
Dcsio_mb.h237 void (*cbfn) (struct csio_hw *, struct csio_mb *));
242 void (*cbfn)(struct csio_hw *, struct csio_mb *));
Dcsio_lnode.c681 void (*cbfn) (struct csio_hw *, struct csio_mb *)) in csio_ln_vnp_read()
698 cbfn); in csio_ln_vnp_read()
832 void (*cbfn) (struct csio_hw *, struct csio_mb *)) in csio_ln_read_fcf_entry()
845 ln->portid, ln->fcf_flowid, cbfn); in csio_ln_read_fcf_entry()
/linux-6.1.9/drivers/scsi/be2iscsi/
Dbe_mgmt.c224 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()
949 ctrl->ptag_state[tag].cbfn = beiscsi_boot_process_compl; in beiscsi_boot_logout_sess()
988 ctrl->ptag_state[tag].cbfn = beiscsi_boot_process_compl; in beiscsi_boot_reopen_sess()
1046 ctrl->ptag_state[tag].cbfn = beiscsi_boot_process_compl; in beiscsi_boot_get_sinfo()
1076 ctrl->ptag_state[tag].cbfn = beiscsi_boot_process_compl; in __beiscsi_boot_get_shandle()
Dbe.h107 void (*cbfn)(struct beiscsi_hba *, unsigned int); member
Dbe_cmds.c122 phba->ctrl.ptag_state[tag].cbfn = NULL; in alloc_mcc_wrb()
541 if (ctrl->ptag_state[tag].cbfn) in beiscsi_process_mcc_compl()
542 ctrl->ptag_state[tag].cbfn(phba, tag); in beiscsi_process_mcc_compl()