Lines Matching refs:cnic
119 if (tmp_hba->cnic && tmp_hba->cnic->cm_select_dev) { in get_adapter_list_head()
135 struct bnx2i_hba *bnx2i_find_hba_for_cnic(struct cnic_dev *cnic) in bnx2i_find_hba_for_cnic() argument
141 if (hba->cnic == cnic) { in bnx2i_find_hba_for_cnic()
273 static int bnx2i_init_one(struct bnx2i_hba *hba, struct cnic_dev *cnic) in bnx2i_init_one() argument
278 if (!cnic->max_iscsi_conn) { in bnx2i_init_one()
285 hba->cnic = cnic; in bnx2i_init_one()
286 rc = cnic->register_device(cnic, CNIC_ULP_ISCSI, hba); in bnx2i_init_one()
294 "hba=%p, cnic=%p\n", hba, cnic); in bnx2i_init_one()
357 hba->cnic->unregister_device(hba->cnic, CNIC_ULP_ISCSI); in bnx2i_ulp_exit()
381 stats = (struct iscsi_stats_info *)hba->cnic->stats_addr; in bnx2i_get_stats()
387 memcpy(stats->mac_add1 + 2, hba->cnic->mac_addr, ETH_ALEN); in bnx2i_get_stats()
535 hba->cnic->unregister_device(hba->cnic, CNIC_ULP_ISCSI); in bnx2i_mod_exit()