Home
last modified time | relevance | path

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

/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()
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 …]
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); \
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 …]
H A 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); \
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);
[all …]
H A 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 …]
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_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 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 …]
H A Dbfa_cee.h39 struct bfa_cee_cbfn cbfn; member
57 bfa_cee_get_attr_cbfn_t cbfn, void *cbarg);
H A 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/drivers/scsi/bfa/
H A 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 …]
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);
/linux/drivers/scsi/csiostor/
H A 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 …]
H A 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 …]
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()
/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()