Lines Matching refs:cbfn
337 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()
948 iocpf->ioc->cbfn->reset_cbfn(iocpf->ioc->bfa); in bfa_iocpf_sm_enabling_entry()
1313 notify->cbfn(notify->cbarg, event); in bfa_ioc_event_notify()
1320 ioc->cbfn->disable_cbfn(ioc->bfa); in bfa_ioc_disable_comp()
1983 mod->mbhdlr[mc].cbfn = NULL; in bfa_ioc_mbox_attach()
2155 ioc->cbfn->hbfail_cbfn(ioc->bfa); in bfa_ioc_fail_notify()
2173 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_pf_fwmismatch()
2357 bfa_ioc_attach(struct bfa_ioc_s *ioc, void *bfa, struct bfa_ioc_cbfn_s *cbfn, in bfa_ioc_attach() argument
2361 ioc->cbfn = cbfn; in bfa_ioc_attach()
2536 mod->mbhdlr[mc].cbfn = mcfuncs[mc]; in bfa_ioc_mbox_register()
2544 bfa_ioc_mbox_mcfunc_t cbfn, void *cbarg) in bfa_ioc_mbox_regisr() argument
2548 mod->mbhdlr[mc].cbfn = cbfn; in bfa_ioc_mbox_regisr()
2608 if ((mc >= BFI_MC_MAX) || (mod->mbhdlr[mc].cbfn == NULL)) in bfa_ioc_mbox_isr()
2611 mod->mbhdlr[mc].cbfn(mod->mbhdlr[mc].cbarg, &m); in bfa_ioc_mbox_isr()
3283 bfa_ablk_cbfn_t cbfn; in bfa_ablk_isr() local
3321 if (ablk->cbfn) { in bfa_ablk_isr()
3322 cbfn = ablk->cbfn; in bfa_ablk_isr()
3323 ablk->cbfn = NULL; in bfa_ablk_isr()
3324 cbfn(ablk->cbarg, rsp->status); in bfa_ablk_isr()
3345 if (ablk->cbfn) in bfa_ablk_notify()
3346 ablk->cbfn(ablk->cbarg, BFA_STATUS_FAILED); in bfa_ablk_notify()
3347 ablk->cbfn = NULL; in bfa_ablk_notify()
3384 bfa_ablk_cbfn_t cbfn, void *cbarg) in bfa_ablk_query() argument
3401 ablk->cbfn = cbfn; in bfa_ablk_query()
3418 bfa_ablk_cbfn_t cbfn, void *cbarg) in bfa_ablk_pf_create() argument
3433 ablk->cbfn = cbfn; in bfa_ablk_pf_create()
3451 bfa_ablk_cbfn_t cbfn, void *cbarg) in bfa_ablk_pf_delete() argument
3465 ablk->cbfn = cbfn; in bfa_ablk_pf_delete()
3480 int max_pf, int max_vf, bfa_ablk_cbfn_t cbfn, void *cbarg) in bfa_ablk_adapter_config() argument
3494 ablk->cbfn = cbfn; in bfa_ablk_adapter_config()
3511 int max_pf, int max_vf, bfa_ablk_cbfn_t cbfn, void *cbarg) in bfa_ablk_port_config() argument
3525 ablk->cbfn = cbfn; in bfa_ablk_port_config()
3543 u16 bw_max, bfa_ablk_cbfn_t cbfn, void *cbarg) in bfa_ablk_pf_update() argument
3557 ablk->cbfn = cbfn; in bfa_ablk_pf_update()
3573 bfa_ablk_optrom_en(struct bfa_ablk_s *ablk, bfa_ablk_cbfn_t cbfn, void *cbarg) in bfa_ablk_optrom_en() argument
3587 ablk->cbfn = cbfn; in bfa_ablk_optrom_en()
3600 bfa_ablk_optrom_dis(struct bfa_ablk_s *ablk, bfa_ablk_cbfn_t cbfn, void *cbarg) in bfa_ablk_optrom_dis() argument
3614 ablk->cbfn = cbfn; in bfa_ablk_optrom_dis()
3640 if (sfp->cbfn) in bfa_cb_sfp_show()
3641 sfp->cbfn(sfp->cbarg, sfp->status); in bfa_cb_sfp_show()
3643 sfp->cbfn = NULL; in bfa_cb_sfp_show()
4025 sfp->cbfn = NULL; in bfa_sfp_attach()
4068 bfa_cb_sfp_t cbfn, void *cbarg) in bfa_sfp_show() argument
4081 sfp->cbfn = cbfn; in bfa_sfp_show()
4099 bfa_cb_sfp_t cbfn, void *cbarg) in bfa_sfp_media() argument
4112 sfp->state_query_cbfn = cbfn; in bfa_sfp_media()
4132 bfa_cb_sfp_t cbfn, void *cbarg) in bfa_sfp_speed() argument
4150 sfp->state_query_cbfn = cbfn; in bfa_sfp_speed()
4212 if (flash->cbfn) in bfa_flash_cb()
4213 flash->cbfn(flash->cbarg, flash->status); in bfa_flash_cb()
4227 flash->cbfn(flash->cbarg, flash->status); in bfa_flash_notify()
4482 flash->cbfn = NULL; in bfa_flash_attach()
4532 bfa_cb_flash_t cbfn, void *cbarg) in bfa_flash_get_attr() argument
4545 flash->cbfn = cbfn; in bfa_flash_get_attr()
4566 u8 instance, bfa_cb_flash_t cbfn, void *cbarg) in bfa_flash_erase_part() argument
4581 flash->cbfn = cbfn; in bfa_flash_erase_part()
4609 bfa_cb_flash_t cbfn, void *cbarg) in bfa_flash_update_part() argument
4636 flash->cbfn = cbfn; in bfa_flash_update_part()
4666 bfa_cb_flash_t cbfn, void *cbarg) in bfa_flash_read_part() argument
4690 flash->cbfn = cbfn; in bfa_flash_read_part()
4726 diag->fwping.cbfn(diag->fwping.cbarg, in bfa_diag_notify()
4733 diag->tsensor.cbfn(diag->tsensor.cbarg, in bfa_diag_notify()
4745 diag->cbfn(diag->cbarg, diag->status); in bfa_diag_notify()
4799 diag->cbfn(diag->cbarg, diag->status); in bfa_diag_memtest_done()
4861 diag->fwping.cbfn(diag->fwping.cbarg, in diag_fwping_comp()
4876 diag->fwping.cbfn(diag->fwping.cbarg, in diag_fwping_comp()
4884 diag->fwping.cbfn(diag->fwping.cbarg, diag->fwping.status); in diag_fwping_comp()
4888 diag->fwping.cbfn(diag->fwping.cbarg, diag->fwping.status); in diag_fwping_comp()
4946 diag->tsensor.cbfn(diag->tsensor.cbarg, diag->tsensor.status); in diag_tempsensor_comp()
5062 bfa_cb_diag_t cbfn, void *cbarg) in bfa_diag_memtest() argument
5079 diag->cbfn = cbfn; in bfa_diag_memtest()
5107 struct bfa_diag_results_fwping *result, bfa_cb_diag_t cbfn, in bfa_diag_fwping() argument
5129 diag->fwping.cbfn = cbfn; in bfa_diag_fwping()
5157 bfa_cb_diag_t cbfn, void *cbarg) in bfa_diag_tsensor_query() argument
5172 diag->tsensor.cbfn = cbfn; in bfa_diag_tsensor_query()
5270 diag->cbfn = NULL; in bfa_diag_attach()
5322 phy->cbfn(phy->cbarg, phy->status); in bfa_phy_notify()
5464 phy->cbfn = NULL; in bfa_phy_attach()
5523 struct bfa_phy_attr_s *attr, bfa_cb_phy_t cbfn, void *cbarg) in bfa_phy_get_attr() argument
5540 phy->cbfn = cbfn; in bfa_phy_get_attr()
5563 bfa_cb_phy_t cbfn, void *cbarg) in bfa_phy_get_stats() argument
5580 phy->cbfn = cbfn; in bfa_phy_get_stats()
5605 bfa_cb_phy_t cbfn, void *cbarg) in bfa_phy_update() argument
5628 phy->cbfn = cbfn; in bfa_phy_update()
5656 bfa_cb_phy_t cbfn, void *cbarg) in bfa_phy_read() argument
5679 phy->cbfn = cbfn; in bfa_phy_read()
5736 if (phy->cbfn) in bfa_phy_intr()
5737 phy->cbfn(phy->cbarg, phy->status); in bfa_phy_intr()
5753 if (phy->cbfn) in bfa_phy_intr()
5754 phy->cbfn(phy->cbarg, phy->status); in bfa_phy_intr()
5763 if (phy->cbfn) in bfa_phy_intr()
5764 phy->cbfn(phy->cbarg, phy->status); in bfa_phy_intr()
5777 if (phy->cbfn) in bfa_phy_intr()
5778 phy->cbfn(phy->cbarg, phy->status); in bfa_phy_intr()
5797 if (phy->cbfn) in bfa_phy_intr()
5798 phy->cbfn(phy->cbarg, phy->status); in bfa_phy_intr()
6199 fru->cbfn(fru->cbarg, fru->status); in bfa_fru_notify()
6295 fru->cbfn = NULL; in bfa_fru_attach()
6347 bfa_cb_fru_t cbfn, void *cbarg, u8 trfr_cmpl) in bfa_fruvpd_update() argument
6370 fru->cbfn = cbfn; in bfa_fruvpd_update()
6397 bfa_cb_fru_t cbfn, void *cbarg) in bfa_fruvpd_read() argument
6420 fru->cbfn = cbfn; in bfa_fruvpd_read()
6469 bfa_cb_fru_t cbfn, void *cbarg) in bfa_tfru_write() argument
6489 fru->cbfn = cbfn; in bfa_tfru_write()
6515 bfa_cb_fru_t cbfn, void *cbarg) in bfa_tfru_read() argument
6534 fru->cbfn = cbfn; in bfa_tfru_read()
6577 if (fru->cbfn) in bfa_fru_intr()
6578 fru->cbfn(fru->cbarg, fru->status); in bfa_fru_intr()
6597 if (fru->cbfn) in bfa_fru_intr()
6598 fru->cbfn(fru->cbarg, fru->status); in bfa_fru_intr()
6612 if (fru->cbfn) in bfa_fru_intr()
6613 fru->cbfn(fru->cbarg, fru->status); in bfa_fru_intr()