Lines Matching refs:iscsi

1269 		cp->ctx_tbl[i].proto.iscsi = &cp->iscsi_tbl[i];  in cnic_alloc_bnx2x_resc()
1594 struct cnic_iscsi *iscsi = ctx->proto.iscsi; in cnic_free_bnx2x_conn_resc() local
1596 cnic_free_dma(dev, &iscsi->hq_info); in cnic_free_bnx2x_conn_resc()
1597 cnic_free_dma(dev, &iscsi->r2tq_info); in cnic_free_bnx2x_conn_resc()
1598 cnic_free_dma(dev, &iscsi->task_array_info); in cnic_free_bnx2x_conn_resc()
1613 struct cnic_iscsi *iscsi = ctx->proto.iscsi; in cnic_alloc_bnx2x_conn_resc() local
1634 ret = cnic_alloc_dma(dev, &iscsi->task_array_info, pages, 1); in cnic_alloc_bnx2x_conn_resc()
1639 ret = cnic_alloc_dma(dev, &iscsi->r2tq_info, pages, 1); in cnic_alloc_bnx2x_conn_resc()
1644 ret = cnic_alloc_dma(dev, &iscsi->hq_info, pages, 1); in cnic_alloc_bnx2x_conn_resc()
1696 struct cnic_iscsi *iscsi = ctx->proto.iscsi; in cnic_setup_bnx2x_ctx() local
1718 ictx->xstorm_st_context.iscsi.first_burst_length = in cnic_setup_bnx2x_ctx()
1720 ictx->xstorm_st_context.iscsi.max_send_pdu_length = in cnic_setup_bnx2x_ctx()
1722 ictx->xstorm_st_context.iscsi.sq_pbl_base.lo = in cnic_setup_bnx2x_ctx()
1724 ictx->xstorm_st_context.iscsi.sq_pbl_base.hi = in cnic_setup_bnx2x_ctx()
1726 ictx->xstorm_st_context.iscsi.sq_curr_pbe.lo = req2->sq_first_pte.hi; in cnic_setup_bnx2x_ctx()
1727 ictx->xstorm_st_context.iscsi.sq_curr_pbe.hi = req2->sq_first_pte.lo; in cnic_setup_bnx2x_ctx()
1728 ictx->xstorm_st_context.iscsi.hq_pbl_base.lo = in cnic_setup_bnx2x_ctx()
1729 iscsi->hq_info.pgtbl_map & 0xffffffff; in cnic_setup_bnx2x_ctx()
1730 ictx->xstorm_st_context.iscsi.hq_pbl_base.hi = in cnic_setup_bnx2x_ctx()
1731 (u64) iscsi->hq_info.pgtbl_map >> 32; in cnic_setup_bnx2x_ctx()
1732 ictx->xstorm_st_context.iscsi.hq_curr_pbe_base.lo = in cnic_setup_bnx2x_ctx()
1733 iscsi->hq_info.pgtbl[0]; in cnic_setup_bnx2x_ctx()
1734 ictx->xstorm_st_context.iscsi.hq_curr_pbe_base.hi = in cnic_setup_bnx2x_ctx()
1735 iscsi->hq_info.pgtbl[1]; in cnic_setup_bnx2x_ctx()
1736 ictx->xstorm_st_context.iscsi.r2tq_pbl_base.lo = in cnic_setup_bnx2x_ctx()
1737 iscsi->r2tq_info.pgtbl_map & 0xffffffff; in cnic_setup_bnx2x_ctx()
1738 ictx->xstorm_st_context.iscsi.r2tq_pbl_base.hi = in cnic_setup_bnx2x_ctx()
1739 (u64) iscsi->r2tq_info.pgtbl_map >> 32; in cnic_setup_bnx2x_ctx()
1740 ictx->xstorm_st_context.iscsi.r2tq_curr_pbe_base.lo = in cnic_setup_bnx2x_ctx()
1741 iscsi->r2tq_info.pgtbl[0]; in cnic_setup_bnx2x_ctx()
1742 ictx->xstorm_st_context.iscsi.r2tq_curr_pbe_base.hi = in cnic_setup_bnx2x_ctx()
1743 iscsi->r2tq_info.pgtbl[1]; in cnic_setup_bnx2x_ctx()
1744 ictx->xstorm_st_context.iscsi.task_pbl_base.lo = in cnic_setup_bnx2x_ctx()
1745 iscsi->task_array_info.pgtbl_map & 0xffffffff; in cnic_setup_bnx2x_ctx()
1746 ictx->xstorm_st_context.iscsi.task_pbl_base.hi = in cnic_setup_bnx2x_ctx()
1747 (u64) iscsi->task_array_info.pgtbl_map >> 32; in cnic_setup_bnx2x_ctx()
1748 ictx->xstorm_st_context.iscsi.task_pbl_cache_idx = in cnic_setup_bnx2x_ctx()
1750 ictx->xstorm_st_context.iscsi.flags.flags |= in cnic_setup_bnx2x_ctx()
1752 ictx->xstorm_st_context.iscsi.flags.flags |= in cnic_setup_bnx2x_ctx()
1766 ictx->tstorm_st_context.iscsi.hdr_bytes_2_fetch = ISCSI_HEADER_SIZE; in cnic_setup_bnx2x_ctx()
1768 ictx->tstorm_st_context.iscsi.rq_db_phy_addr.lo = in cnic_setup_bnx2x_ctx()
1770 ictx->tstorm_st_context.iscsi.rq_db_phy_addr.hi = in cnic_setup_bnx2x_ctx()
1772 ictx->tstorm_st_context.iscsi.iscsi_conn_id = req1->iscsi_conn_id; in cnic_setup_bnx2x_ctx()
1788 iscsi->r2tq_info.pgtbl_map & 0xffffffff; in cnic_setup_bnx2x_ctx()
1790 (u64) iscsi->r2tq_info.pgtbl_map >> 32; in cnic_setup_bnx2x_ctx()
1792 iscsi->r2tq_info.pgtbl[0]; in cnic_setup_bnx2x_ctx()
1794 iscsi->r2tq_info.pgtbl[1]; in cnic_setup_bnx2x_ctx()
1822 iscsi->task_array_info.pgtbl_map & 0xffffffff; in cnic_setup_bnx2x_ctx()
1824 (u64) iscsi->task_array_info.pgtbl_map >> 32; in cnic_setup_bnx2x_ctx()
1826 iscsi->task_array_info.pgtbl[0]; in cnic_setup_bnx2x_ctx()
1828 iscsi->task_array_info.pgtbl[1]; in cnic_setup_bnx2x_ctx()
1839 iscsi->hq_info.pgtbl_map & 0xffffffff; in cnic_setup_bnx2x_ctx()
1841 (u64) iscsi->hq_info.pgtbl_map >> 32; in cnic_setup_bnx2x_ctx()
1842 ictx->cstorm_st_context.hq_curr_pbe.lo = iscsi->hq_info.pgtbl[0]; in cnic_setup_bnx2x_ctx()
1843 ictx->cstorm_st_context.hq_curr_pbe.hi = iscsi->hq_info.pgtbl[1]; in cnic_setup_bnx2x_ctx()
1845 iscsi->task_array_info.pgtbl_map & 0xffffffff; in cnic_setup_bnx2x_ctx()
1847 (u64) iscsi->task_array_info.pgtbl_map >> 32; in cnic_setup_bnx2x_ctx()