Lines Matching refs:psgl

2302 	struct iscsi_sge *psgl;  in hwi_write_sgl_v2()  local
2346 psgl = (struct iscsi_sge *)io_task->psgl_handle->pfrag; in hwi_write_sgl_v2()
2347 memset(psgl, 0, sizeof(*psgl) * BE2_SGE); in hwi_write_sgl_v2()
2349 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, io_task->bhs_len - 2); in hwi_write_sgl_v2()
2351 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl, in hwi_write_sgl_v2()
2353 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl, in hwi_write_sgl_v2()
2374 psgl++; in hwi_write_sgl_v2()
2375 psgl++; in hwi_write_sgl_v2()
2377 for (index = 0; index < num_sg; index++, sg = sg_next(sg), psgl++) { in hwi_write_sgl_v2()
2380 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl, in hwi_write_sgl_v2()
2382 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl, in hwi_write_sgl_v2()
2384 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, sg_len); in hwi_write_sgl_v2()
2385 AMAP_SET_BITS(struct amap_iscsi_sge, sge_offset, psgl, offset); in hwi_write_sgl_v2()
2386 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 0); in hwi_write_sgl_v2()
2389 psgl--; in hwi_write_sgl_v2()
2390 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 1); in hwi_write_sgl_v2()
2397 struct iscsi_sge *psgl; in hwi_write_sgl() local
2435 psgl = (struct iscsi_sge *)io_task->psgl_handle->pfrag; in hwi_write_sgl()
2436 memset(psgl, 0, sizeof(*psgl) * BE2_SGE); in hwi_write_sgl()
2438 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, io_task->bhs_len - 2); in hwi_write_sgl()
2440 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl, in hwi_write_sgl()
2442 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl, in hwi_write_sgl()
2462 psgl++; in hwi_write_sgl()
2463 psgl++; in hwi_write_sgl()
2465 for (index = 0; index < num_sg; index++, sg = sg_next(sg), psgl++) { in hwi_write_sgl()
2468 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl, in hwi_write_sgl()
2470 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl, in hwi_write_sgl()
2472 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, sg_len); in hwi_write_sgl()
2473 AMAP_SET_BITS(struct amap_iscsi_sge, sge_offset, psgl, offset); in hwi_write_sgl()
2474 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 0); in hwi_write_sgl()
2477 psgl--; in hwi_write_sgl()
2478 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 1); in hwi_write_sgl()
2488 struct iscsi_sge *psgl; in hwi_write_buffer() local
2535 psgl = (struct iscsi_sge *)io_task->psgl_handle->pfrag; in hwi_write_buffer()
2537 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, io_task->bhs_len); in hwi_write_buffer()
2539 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl, in hwi_write_buffer()
2541 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl, in hwi_write_buffer()
2544 psgl++; in hwi_write_buffer()
2545 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl, 0); in hwi_write_buffer()
2546 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl, 0); in hwi_write_buffer()
2547 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, 0); in hwi_write_buffer()
2548 AMAP_SET_BITS(struct amap_iscsi_sge, sge_offset, psgl, 0); in hwi_write_buffer()
2549 AMAP_SET_BITS(struct amap_iscsi_sge, rsvd0, psgl, 0); in hwi_write_buffer()
2550 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 0); in hwi_write_buffer()
2552 psgl++; in hwi_write_buffer()
2554 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl, in hwi_write_buffer()
2556 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl, in hwi_write_buffer()
2559 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, 0x106); in hwi_write_buffer()
2561 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 1); in hwi_write_buffer()