Home
last modified time | relevance | path

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

/openbmc/linux/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()
172 cee->cbfn.get_attr_cbfn = cbfn; in bfa_nw_cee_get_attr()
231 cee->cbfn.get_attr_cbfn( in bfa_cee_notify()
232 cee->cbfn.get_attr_cbarg, in bfa_cee_notify()
240 cee->cbfn.get_stats_cbfn( in bfa_cee_notify()
[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); \
106 cbfn = (rxf)->cam_fltr_cbfn; \
110 cbfn(cbarg, rxf->rx); \
361 void (*cbfn)(struct bnad *,
387 void (*cbfn)(void *));
[all …]
H A Dbfa_ioc.h101 bfa_mbox_cmd_cbfn_t cbfn; member
140 bfa_ioc_notify_cbfn_t cbfn; member
146 (__notify)->cbfn = (__cbfn); \
185 struct bfa_ioc_cbfn *cbfn; member
250 bfa_mbox_cmd_cbfn_t cbfn, void *cbarg);
253 bfa_ioc_mbox_mcfunc_t cbfn, void *cbarg);
271 struct bfa_ioc_cbfn *cbfn);
330 bfa_cb_flash cbfn; /* user callback function */ member
340 bfa_cb_flash cbfn, void *cbarg);
343 bfa_cb_flash cbfn, void *cbarg);
[all …]
H A Dbfa_msgq.h36 (_cmd)->cbfn = (_cbfn); \
48 bfa_msgq_cmdcbfn_t cbfn; member
100 bfa_msgq_mcfunc_t cbfn; member
122 bfa_msgq_mcfunc_t cbfn, void *cbarg);
H A Dbfa_ioc.c2160 if (cmd->cbfn) { in bfa_ioc_mbox_poll()
2161 cbfn = cmd->cbfn; in bfa_ioc_mbox_poll()
2163 cmd->cbfn = NULL; in bfa_ioc_mbox_poll()
2164 cbfn(cbarg); in bfa_ioc_mbox_poll()
2479 ioc->cbfn = cbfn; in bfa_nw_ioc_attach()
2635 mod->mbhdlr[mc].cbfn = cbfn; in bfa_nw_ioc_mbox_regisr()
2656 cmd->cbfn = cbfn; in bfa_nw_ioc_mbox_queue()
3036 if (flash->cbfn) in bfa_flash_cb()
3272 flash->cbfn = cbfn; in bfa_nw_flash_get_attr()
3319 flash->cbfn = cbfn; in bfa_nw_flash_update_part()
[all …]
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)); \
476 if ((mc >= BFI_MC_MAX) || (rspq->rsphdlr[mc].cbfn == NULL)) in bfa_msgq_rspq_pi_update()
479 (rspq->rsphdlr[mc].cbfn)(rspq->rsphdlr[mc].cbarg, msghdr); in bfa_msgq_rspq_pi_update()
615 bfa_msgq_mcfunc_t cbfn, void *cbarg) in bfa_msgq_regisr() argument
617 msgq->rspq.rsphdlr[mc].cbfn = cbfn; in bfa_msgq_regisr()
H A Dbfa_cee.h39 struct bfa_cee_cbfn cbfn; member
57 bfa_cee_get_attr_cbfn_t cbfn, void *cbarg);
H A Dbna_enet.c869 void (*cbfn)(void *); \
871 cbfn = (enet)->stop_cbfn; \
875 cbfn(cbarg); \
883 cbfn = (enet)->mtu_cbfn; \
885 cbfn((enet)->bna->bnad); \
1271 void (*cbfn)(void *)) in bna_enet_disable()
1274 (*cbfn)(enet->bna->bnad); in bna_enet_disable()
1278 enet->stop_cbfn = cbfn; in bna_enet_disable()
1297 void (*cbfn)(struct bnad *)) in bna_enet_mtu_set()
1301 enet->mtu_cbfn = cbfn; in bna_enet_mtu_set()
[all …]
H A Dbna_tx_rx.c755 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()
1275 cbfn = (rx)->stop_cbfn; \
1279 cbfn(cbarg, rx); \
2552 (*cbfn)(rx->bna->bnad, rx); in bna_rx_disable()
2554 rx->stop_cbfn = cbfn; in bna_rx_disable()
2763 cbfn = (tx)->stop_cbfn; \
2767 cbfn(cbarg, (tx)); \
3540 (*cbfn)(tx->bna->bnad, tx); in bna_tx_disable()
[all …]
/openbmc/linux/drivers/scsi/bfa/
H A Dbfa_port.c254 port->endis_cbfn = cbfn; in bfa_port_enable()
310 port->endis_cbfn = cbfn; in bfa_port_disable()
349 port->stats_cbfn = cbfn; in bfa_port_get_stats()
387 port->stats_cbfn = cbfn; in bfa_port_clear_stats()
533 cee->cbfn.get_attr_cbfn(cee->cbfn.get_attr_cbarg, status); in bfa_cee_get_attr_isr()
569 cee->cbfn.get_stats_cbfn(cee->cbfn.get_stats_cbarg, status); in bfa_cee_get_stats_isr()
589 cee->cbfn.reset_stats_cbfn(cee->cbfn.reset_stats_cbarg, status); in bfa_cee_reset_stats_isr()
663 cee->cbfn.get_attr_cbfn = cbfn; in bfa_cee_get_attr()
703 cee->cbfn.get_stats_cbfn = cbfn; in bfa_cee_get_stats()
740 cee->cbfn.reset_stats_cbfn = cbfn; in bfa_cee_reset_stats()
[all …]
H A Dbfa_ioc.h273 bfa_ioc_notify_cbfn_t cbfn; member
316 struct bfa_ioc_cbfn_s *cbfn; member
374 bfa_cb_cbfn_t cbfn; member
411 bfa_ablk_cbfn_t cbfn; member
428 bfa_cb_sfp_t cbfn; member
464 bfa_cb_sfp_t cbfn, void *cbarg);
468 bfa_cb_sfp_t cbfn, void *cbarg);
552 bfa_cb_diag_t cbfn; member
577 bfa_cb_diag_t cbfn; member
588 bfa_cb_diag_t cbfn; member
[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.c2361 ioc->cbfn = cbfn; in bfa_ioc_attach()
3433 ablk->cbfn = cbfn; in bfa_ablk_pf_create()
4081 sfp->cbfn = cbfn; in bfa_sfp_show()
5540 phy->cbfn = cbfn; in bfa_phy_get_attr()
5580 phy->cbfn = cbfn; in bfa_phy_get_stats()
5628 phy->cbfn = cbfn; in bfa_phy_update()
5679 phy->cbfn = cbfn; in bfa_phy_read()
6370 fru->cbfn = cbfn; in bfa_fruvpd_update()
6420 fru->cbfn = cbfn; in bfa_fruvpd_read()
6489 fru->cbfn = cbfn; in bfa_tfru_write()
[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.c1023 fcxp->send_cbfn = cbfn ? cbfn : bfa_fcxp_null_comp; in bfa_fcxp_send()
3673 fcport->event_cbfn = cbfn; in bfa_fcport_event_register()
5282 wqe->cbfn(wqe->cbarg); in bfa_sgpg_mfree()
5331 wqe->cbfn = cbfn; in bfa_sgpg_winit()
5716 dport->cbfn = NULL; in bfa_fcdiag_attach()
6024 fcdiag->lb.cbfn = cbfn; in bfa_fcdiag_loopback()
6067 fcdiag->qtest.cbfn = cbfn; in bfa_fcdiag_queuetest()
6131 dport->cbfn = NULL; in bfa_cb_fcdiag_dport()
6731 dport->cbfn = cbfn; in bfa_dport_enable()
6788 dport->cbfn = cbfn; in bfa_dport_disable()
[all …]
H A Dbfa.h114 (__hcb_qe)->cbfn = (__cbfn); \
123 (__hcb_qe)->cbfn = (__cbfn); \
433 (__qe)->hcb_qe.cbfn = (__cbfn); \
H A 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()
1918 hcb_qe->cbfn(hcb_qe->cbarg, BFA_TRUE); in bfa_comp_process()
1932 hcb_qe->cbfn(hcb_qe->cbarg, BFA_FALSE); in bfa_comp_free()
H A 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()
/openbmc/linux/drivers/scsi/csiostor/
H A Dcsio_mb.c82 CSIO_INIT_MBP(mbp, cmdp, tmo, hw, cbfn, 1); in csio_mb_hello()
145 CSIO_INIT_MBP(mbp, cmdp, tmo, hw, cbfn, 1); in csio_mb_bye()
168 CSIO_INIT_MBP(mbp, cmdp, tmo, hw, cbfn, 1); in csio_mb_reset()
203 CSIO_INIT_MBP(mbp, cmdp, tmo, hw, cbfn, 1); in csio_mb_params()
348 CSIO_INIT_MBP(mbp, cmdp, tmo, hw, cbfn, 1); in csio_mb_port()
418 CSIO_INIT_MBP(mbp, cmdp, tmo, hw, cbfn, 1); in csio_mb_initialize()
762 eq_ofld_params, cbfn); in csio_mb_eq_ofld_alloc_write()
846 CSIO_INIT_MBP(mbp, cmdp, mb_tmo, ln, cbfn, 1); in csio_write_fcoe_link_cond_init_mb()
880 CSIO_INIT_MBP(mbp, cmdp, mb_tmo, hw, cbfn, 1); in csio_fcoe_read_res_info_init_mb()
915 CSIO_INIT_MBP(mbp, cmdp, mb_tmo, ln, cbfn, 1); in csio_fcoe_vnp_alloc_init_mb()
[all …]
H A Dcsio_wr.c418 void (*cbfn) (struct csio_hw *, struct csio_mb *)) 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()
723 csio_mb_eq_ofld_free(hw, mbp, priv, CSIO_MB_DEFAULT_TMO, &eqp, cbfn); 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 *));
H A 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()
/openbmc/linux/drivers/scsi/be2iscsi/
H A 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()
H A Dbe.h107 void (*cbfn)(struct beiscsi_hba *, unsigned int); member
H A 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()