Lines Matching refs:cnic
91 static struct bnx2fc_hba *bnx2fc_find_hba_for_cnic(struct cnic_dev *cnic);
1356 static struct bnx2fc_hba *bnx2fc_hba_create(struct cnic_dev *cnic) in bnx2fc_hba_create() argument
1371 hba->cnic = cnic; in bnx2fc_hba_create()
1373 hba->max_tasks = cnic->max_fcoe_exchanges; in bnx2fc_hba_create()
1383 hba->phys_dev = cnic->netdev; in bnx2fc_hba_create()
1726 struct cnic_dev *cnic; in bnx2fc_bind_pcidev() local
1729 if (!hba->cnic) { in bnx2fc_bind_pcidev()
1733 cnic = hba->cnic; in bnx2fc_bind_pcidev()
1734 pdev = hba->pcidev = cnic->pcidev; in bnx2fc_bind_pcidev()
1792 struct cnic_dev *cnic; in bnx2fc_ulp_get_stats() local
1798 cnic = hba->cnic; in bnx2fc_ulp_get_stats()
1799 stats_addr = &cnic->stats_addr->fcoe_stat; in bnx2fc_ulp_get_stats()
1912 hba->cnic->netdev->name); in bnx2fc_fw_init()
2194 if (!hba->cnic) in __bnx2fc_enable()
2203 if (!hba->cnic->get_fc_npiv_tbl) in __bnx2fc_enable()
2210 if (hba->cnic->get_fc_npiv_tbl(hba->cnic, npiv_tbl)) in __bnx2fc_enable()
2472 static struct bnx2fc_hba *bnx2fc_find_hba_for_cnic(struct cnic_dev *cnic) in bnx2fc_find_hba_for_cnic() argument
2478 if (hba->cnic == cnic) in bnx2fc_find_hba_for_cnic()
2550 hba->cnic->unregister_device(hba->cnic, CNIC_ULP_FCOE); in bnx2fc_ulp_exit()
2777 hba->cnic->unregister_device(hba->cnic, in bnx2fc_mod_exit()