Lines Matching refs:cnic
91 static struct bnx2fc_hba *bnx2fc_find_hba_for_cnic(struct cnic_dev *cnic);
1353 static struct bnx2fc_hba *bnx2fc_hba_create(struct cnic_dev *cnic) in bnx2fc_hba_create() argument
1368 hba->cnic = cnic; in bnx2fc_hba_create()
1370 hba->max_tasks = cnic->max_fcoe_exchanges; in bnx2fc_hba_create()
1380 hba->phys_dev = cnic->netdev; in bnx2fc_hba_create()
1723 struct cnic_dev *cnic; in bnx2fc_bind_pcidev() local
1726 if (!hba->cnic) { in bnx2fc_bind_pcidev()
1730 cnic = hba->cnic; in bnx2fc_bind_pcidev()
1731 pdev = hba->pcidev = cnic->pcidev; in bnx2fc_bind_pcidev()
1789 struct cnic_dev *cnic; in bnx2fc_ulp_get_stats() local
1795 cnic = hba->cnic; in bnx2fc_ulp_get_stats()
1796 stats_addr = &cnic->stats_addr->fcoe_stat; in bnx2fc_ulp_get_stats()
1909 hba->cnic->netdev->name); in bnx2fc_fw_init()
2191 if (!hba->cnic) in __bnx2fc_enable()
2200 if (!hba->cnic->get_fc_npiv_tbl) in __bnx2fc_enable()
2207 if (hba->cnic->get_fc_npiv_tbl(hba->cnic, npiv_tbl)) in __bnx2fc_enable()
2469 static struct bnx2fc_hba *bnx2fc_find_hba_for_cnic(struct cnic_dev *cnic) in bnx2fc_find_hba_for_cnic() argument
2475 if (hba->cnic == cnic) in bnx2fc_find_hba_for_cnic()
2547 hba->cnic->unregister_device(hba->cnic, CNIC_ULP_FCOE); in bnx2fc_ulp_exit()
2774 hba->cnic->unregister_device(hba->cnic, in bnx2fc_mod_exit()