Lines Matching refs:cnic
784 struct bnx2i_hba *bnx2i_alloc_hba(struct cnic_dev *cnic) in bnx2i_alloc_hba() argument
792 shost->dma_boundary = cnic->pcidev->dma_mask; in bnx2i_alloc_hba()
801 hba->netdev = cnic->netdev; in bnx2i_alloc_hba()
803 hba->pcidev = cnic->pcidev; in bnx2i_alloc_hba()
812 bnx2i_identify_device(hba, cnic); in bnx2i_alloc_hba()
1573 len = sysfs_format_mac(buf, hba->cnic->mac_addr, 6); in bnx2i_host_get_param()
1675 struct cnic_dev *cnic = NULL; in bnx2i_check_route() local
1678 if (hba && hba->cnic) in bnx2i_check_route()
1679 cnic = hba->cnic->cm_select_dev(desti, CNIC_ULP_ISCSI); in bnx2i_check_route()
1680 if (!cnic) { in bnx2i_check_route()
1685 hba = bnx2i_find_hba_for_cnic(cnic); in bnx2i_check_route()
1717 hba->cnic->cm_destroy(ep->cm_sk); in bnx2i_tear_down_conn()
1787 struct cnic_dev *cnic; in bnx2i_ep_connect() local
1812 cnic = hba->cnic; in bnx2i_ep_connect()
1880 rc = cnic->cm_create(cnic, CNIC_ULP_ISCSI, bnx2i_ep->ep_cid, in bnx2i_ep_connect()
1909 rc = cnic->cm_connect(bnx2i_ep->cm_sk, &saddr); in bnx2i_ep_connect()
2034 struct cnic_dev *cnic; in bnx2i_hw_ep_disconnect() local
2044 cnic = hba->cnic; in bnx2i_hw_ep_disconnect()
2045 if (!cnic) in bnx2i_hw_ep_disconnect()
2090 close_ret = cnic->cm_close(bnx2i_ep->cm_sk); in bnx2i_hw_ep_disconnect()
2092 close_ret = cnic->cm_abort(bnx2i_ep->cm_sk); in bnx2i_hw_ep_disconnect()
2192 hba->cnic->iscsi_nl_msg_recv(hba->cnic, ISCSI_UEVENT_PATH_UPDATE, buf, in bnx2i_nl_set_path()