Lines Matching refs:psgl
2077 struct iscsi_sge *psgl; in hwi_write_sgl_v2() local
2121 psgl = (struct iscsi_sge *)io_task->psgl_handle->pfrag; in hwi_write_sgl_v2()
2122 memset(psgl, 0, sizeof(*psgl) * BE2_SGE); in hwi_write_sgl_v2()
2124 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, io_task->bhs_len - 2); in hwi_write_sgl_v2()
2126 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl, in hwi_write_sgl_v2()
2128 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl, in hwi_write_sgl_v2()
2149 psgl++; in hwi_write_sgl_v2()
2150 psgl++; in hwi_write_sgl_v2()
2152 for (index = 0; index < num_sg; index++, sg = sg_next(sg), psgl++) { in hwi_write_sgl_v2()
2155 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl, in hwi_write_sgl_v2()
2157 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl, in hwi_write_sgl_v2()
2159 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, sg_len); in hwi_write_sgl_v2()
2160 AMAP_SET_BITS(struct amap_iscsi_sge, sge_offset, psgl, offset); in hwi_write_sgl_v2()
2161 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 0); in hwi_write_sgl_v2()
2164 psgl--; in hwi_write_sgl_v2()
2165 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 1); in hwi_write_sgl_v2()
2172 struct iscsi_sge *psgl; in hwi_write_sgl() local
2210 psgl = (struct iscsi_sge *)io_task->psgl_handle->pfrag; in hwi_write_sgl()
2211 memset(psgl, 0, sizeof(*psgl) * BE2_SGE); in hwi_write_sgl()
2213 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, io_task->bhs_len - 2); in hwi_write_sgl()
2215 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl, in hwi_write_sgl()
2217 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl, in hwi_write_sgl()
2237 psgl++; in hwi_write_sgl()
2238 psgl++; in hwi_write_sgl()
2240 for (index = 0; index < num_sg; index++, sg = sg_next(sg), psgl++) { in hwi_write_sgl()
2243 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl, in hwi_write_sgl()
2245 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl, in hwi_write_sgl()
2247 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, sg_len); in hwi_write_sgl()
2248 AMAP_SET_BITS(struct amap_iscsi_sge, sge_offset, psgl, offset); in hwi_write_sgl()
2249 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 0); in hwi_write_sgl()
2252 psgl--; in hwi_write_sgl()
2253 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 1); in hwi_write_sgl()
2263 struct iscsi_sge *psgl; in hwi_write_buffer() local
2313 psgl = (struct iscsi_sge *)io_task->psgl_handle->pfrag; in hwi_write_buffer()
2315 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, io_task->bhs_len); in hwi_write_buffer()
2317 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl, in hwi_write_buffer()
2319 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl, in hwi_write_buffer()
2322 psgl++; in hwi_write_buffer()
2323 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl, 0); in hwi_write_buffer()
2324 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl, 0); in hwi_write_buffer()
2325 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, 0); in hwi_write_buffer()
2326 AMAP_SET_BITS(struct amap_iscsi_sge, sge_offset, psgl, 0); in hwi_write_buffer()
2327 AMAP_SET_BITS(struct amap_iscsi_sge, rsvd0, psgl, 0); in hwi_write_buffer()
2328 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 0); in hwi_write_buffer()
2330 psgl++; in hwi_write_buffer()
2332 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl, in hwi_write_buffer()
2334 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl, in hwi_write_buffer()
2337 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, 0x106); in hwi_write_buffer()
2339 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 1); in hwi_write_buffer()