Lines Matching refs:psgl

2093 	struct iscsi_sge *psgl;  in hwi_write_sgl_v2()  local
2137 psgl = (struct iscsi_sge *)io_task->psgl_handle->pfrag; in hwi_write_sgl_v2()
2138 memset(psgl, 0, sizeof(*psgl) * BE2_SGE); in hwi_write_sgl_v2()
2140 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, io_task->bhs_len - 2); in hwi_write_sgl_v2()
2142 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl, in hwi_write_sgl_v2()
2144 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl, in hwi_write_sgl_v2()
2165 psgl++; in hwi_write_sgl_v2()
2166 psgl++; in hwi_write_sgl_v2()
2168 for (index = 0; index < num_sg; index++, sg = sg_next(sg), psgl++) { in hwi_write_sgl_v2()
2171 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl, in hwi_write_sgl_v2()
2173 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl, in hwi_write_sgl_v2()
2175 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, sg_len); in hwi_write_sgl_v2()
2176 AMAP_SET_BITS(struct amap_iscsi_sge, sge_offset, psgl, offset); in hwi_write_sgl_v2()
2177 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 0); in hwi_write_sgl_v2()
2180 psgl--; in hwi_write_sgl_v2()
2181 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 1); in hwi_write_sgl_v2()
2188 struct iscsi_sge *psgl; in hwi_write_sgl() local
2226 psgl = (struct iscsi_sge *)io_task->psgl_handle->pfrag; in hwi_write_sgl()
2227 memset(psgl, 0, sizeof(*psgl) * BE2_SGE); in hwi_write_sgl()
2229 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, io_task->bhs_len - 2); in hwi_write_sgl()
2231 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl, in hwi_write_sgl()
2233 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl, in hwi_write_sgl()
2253 psgl++; in hwi_write_sgl()
2254 psgl++; in hwi_write_sgl()
2256 for (index = 0; index < num_sg; index++, sg = sg_next(sg), psgl++) { in hwi_write_sgl()
2259 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl, in hwi_write_sgl()
2261 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl, in hwi_write_sgl()
2263 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, sg_len); in hwi_write_sgl()
2264 AMAP_SET_BITS(struct amap_iscsi_sge, sge_offset, psgl, offset); in hwi_write_sgl()
2265 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 0); in hwi_write_sgl()
2268 psgl--; in hwi_write_sgl()
2269 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 1); in hwi_write_sgl()
2279 struct iscsi_sge *psgl; in hwi_write_buffer() local
2329 psgl = (struct iscsi_sge *)io_task->psgl_handle->pfrag; in hwi_write_buffer()
2331 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, io_task->bhs_len); in hwi_write_buffer()
2333 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl, in hwi_write_buffer()
2335 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl, in hwi_write_buffer()
2338 psgl++; in hwi_write_buffer()
2339 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl, 0); in hwi_write_buffer()
2340 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl, 0); in hwi_write_buffer()
2341 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, 0); in hwi_write_buffer()
2342 AMAP_SET_BITS(struct amap_iscsi_sge, sge_offset, psgl, 0); in hwi_write_buffer()
2343 AMAP_SET_BITS(struct amap_iscsi_sge, rsvd0, psgl, 0); in hwi_write_buffer()
2344 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 0); in hwi_write_buffer()
2346 psgl++; in hwi_write_buffer()
2348 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl, in hwi_write_buffer()
2350 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl, in hwi_write_buffer()
2353 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, 0x106); in hwi_write_buffer()
2355 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 1); in hwi_write_buffer()