Lines Matching refs:psgl
2323 struct iscsi_sge *psgl; in hwi_write_sgl_v2() local
2367 psgl = (struct iscsi_sge *)io_task->psgl_handle->pfrag; in hwi_write_sgl_v2()
2368 memset(psgl, 0, sizeof(*psgl) * BE2_SGE); in hwi_write_sgl_v2()
2370 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, io_task->bhs_len - 2); in hwi_write_sgl_v2()
2372 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl, in hwi_write_sgl_v2()
2374 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl, in hwi_write_sgl_v2()
2395 psgl++; in hwi_write_sgl_v2()
2396 psgl++; in hwi_write_sgl_v2()
2398 for (index = 0; index < num_sg; index++, sg = sg_next(sg), psgl++) { in hwi_write_sgl_v2()
2401 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl, in hwi_write_sgl_v2()
2403 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl, in hwi_write_sgl_v2()
2405 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, sg_len); in hwi_write_sgl_v2()
2406 AMAP_SET_BITS(struct amap_iscsi_sge, sge_offset, psgl, offset); in hwi_write_sgl_v2()
2407 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 0); in hwi_write_sgl_v2()
2410 psgl--; in hwi_write_sgl_v2()
2411 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 1); in hwi_write_sgl_v2()
2418 struct iscsi_sge *psgl; in hwi_write_sgl() local
2456 psgl = (struct iscsi_sge *)io_task->psgl_handle->pfrag; in hwi_write_sgl()
2457 memset(psgl, 0, sizeof(*psgl) * BE2_SGE); in hwi_write_sgl()
2459 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, io_task->bhs_len - 2); in hwi_write_sgl()
2461 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl, in hwi_write_sgl()
2463 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl, in hwi_write_sgl()
2483 psgl++; in hwi_write_sgl()
2484 psgl++; in hwi_write_sgl()
2486 for (index = 0; index < num_sg; index++, sg = sg_next(sg), psgl++) { in hwi_write_sgl()
2489 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl, in hwi_write_sgl()
2491 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl, in hwi_write_sgl()
2493 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, sg_len); in hwi_write_sgl()
2494 AMAP_SET_BITS(struct amap_iscsi_sge, sge_offset, psgl, offset); in hwi_write_sgl()
2495 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 0); in hwi_write_sgl()
2498 psgl--; in hwi_write_sgl()
2499 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 1); in hwi_write_sgl()
2509 struct iscsi_sge *psgl; in hwi_write_buffer() local
2556 psgl = (struct iscsi_sge *)io_task->psgl_handle->pfrag; in hwi_write_buffer()
2558 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, io_task->bhs_len); in hwi_write_buffer()
2560 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl, in hwi_write_buffer()
2562 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl, in hwi_write_buffer()
2565 psgl++; in hwi_write_buffer()
2566 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl, 0); in hwi_write_buffer()
2567 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl, 0); in hwi_write_buffer()
2568 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, 0); in hwi_write_buffer()
2569 AMAP_SET_BITS(struct amap_iscsi_sge, sge_offset, psgl, 0); in hwi_write_buffer()
2570 AMAP_SET_BITS(struct amap_iscsi_sge, rsvd0, psgl, 0); in hwi_write_buffer()
2571 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 0); in hwi_write_buffer()
2573 psgl++; in hwi_write_buffer()
2575 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl, in hwi_write_buffer()
2577 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl, in hwi_write_buffer()
2580 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, 0x106); in hwi_write_buffer()
2582 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 1); in hwi_write_buffer()