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()
1563 len = sysfs_format_mac(buf, hba->cnic->mac_addr, 6); in bnx2i_host_get_param()
1666 struct cnic_dev *cnic = NULL; in bnx2i_check_route() local
1669 if (hba && hba->cnic) in bnx2i_check_route()
1670 cnic = hba->cnic->cm_select_dev(desti, CNIC_ULP_ISCSI); in bnx2i_check_route()
1671 if (!cnic) { in bnx2i_check_route()
1676 hba = bnx2i_find_hba_for_cnic(cnic); in bnx2i_check_route()
1708 hba->cnic->cm_destroy(ep->cm_sk); in bnx2i_tear_down_conn()
1780 struct cnic_dev *cnic; in bnx2i_ep_connect() local
1805 cnic = hba->cnic; in bnx2i_ep_connect()
1875 rc = cnic->cm_create(cnic, CNIC_ULP_ISCSI, bnx2i_ep->ep_cid, in bnx2i_ep_connect()
1904 rc = cnic->cm_connect(bnx2i_ep->cm_sk, &saddr); in bnx2i_ep_connect()
2028 struct cnic_dev *cnic; in bnx2i_hw_ep_disconnect() local
2038 cnic = hba->cnic; in bnx2i_hw_ep_disconnect()
2039 if (!cnic) in bnx2i_hw_ep_disconnect()
2086 close_ret = cnic->cm_close(bnx2i_ep->cm_sk); in bnx2i_hw_ep_disconnect()
2088 close_ret = cnic->cm_abort(bnx2i_ep->cm_sk); in bnx2i_hw_ep_disconnect()
2187 hba->cnic->iscsi_nl_msg_recv(hba->cnic, ISCSI_UEVENT_PATH_UPDATE, buf, in bnx2i_nl_set_path()