Lines Matching refs:cnic
786 struct bnx2i_hba *bnx2i_alloc_hba(struct cnic_dev *cnic) in bnx2i_alloc_hba() argument
794 shost->dma_boundary = cnic->pcidev->dma_mask; in bnx2i_alloc_hba()
803 hba->netdev = cnic->netdev; in bnx2i_alloc_hba()
805 hba->pcidev = cnic->pcidev; in bnx2i_alloc_hba()
814 bnx2i_identify_device(hba, cnic); in bnx2i_alloc_hba()
1565 len = sysfs_format_mac(buf, hba->cnic->mac_addr, 6); in bnx2i_host_get_param()
1667 struct cnic_dev *cnic = NULL; in bnx2i_check_route() local
1670 if (hba && hba->cnic) in bnx2i_check_route()
1671 cnic = hba->cnic->cm_select_dev(desti, CNIC_ULP_ISCSI); in bnx2i_check_route()
1672 if (!cnic) { in bnx2i_check_route()
1677 hba = bnx2i_find_hba_for_cnic(cnic); in bnx2i_check_route()
1709 hba->cnic->cm_destroy(ep->cm_sk); in bnx2i_tear_down_conn()
1779 struct cnic_dev *cnic; in bnx2i_ep_connect() local
1804 cnic = hba->cnic; in bnx2i_ep_connect()
1872 rc = cnic->cm_create(cnic, CNIC_ULP_ISCSI, bnx2i_ep->ep_cid, in bnx2i_ep_connect()
1901 rc = cnic->cm_connect(bnx2i_ep->cm_sk, &saddr); in bnx2i_ep_connect()
2026 struct cnic_dev *cnic; in bnx2i_hw_ep_disconnect() local
2036 cnic = hba->cnic; in bnx2i_hw_ep_disconnect()
2037 if (!cnic) in bnx2i_hw_ep_disconnect()
2082 close_ret = cnic->cm_close(bnx2i_ep->cm_sk); in bnx2i_hw_ep_disconnect()
2084 close_ret = cnic->cm_abort(bnx2i_ep->cm_sk); in bnx2i_hw_ep_disconnect()
2184 hba->cnic->iscsi_nl_msg_recv(hba->cnic, ISCSI_UEVENT_PATH_UPDATE, buf, in bnx2i_nl_set_path()