Lines Matching refs:sgpge
2448 struct bfi_sge_s *sge, *sgpge; in bfa_ioim_send_ioreq() local
2479 sgpge = NULL; in bfa_ioim_send_ioreq()
2494 sgpge = sgpg->sgpg->sges; in bfa_ioim_send_ioreq()
2497 sgpge->sga = *(union bfi_addr_u *) &addr; in bfa_ioim_send_ioreq()
2498 sgpge->sg_len = sg_dma_len(sg); in bfa_ioim_send_ioreq()
2499 pgcumsz += sgpge->sg_len; in bfa_ioim_send_ioreq()
2504 sgpge->flags = BFI_SGE_DATA; in bfa_ioim_send_ioreq()
2506 sgpge->flags = BFI_SGE_DATA_CPL; in bfa_ioim_send_ioreq()
2508 sgpge->flags = BFI_SGE_DATA_LAST; in bfa_ioim_send_ioreq()
2510 bfa_sge_to_le(sgpge); in bfa_ioim_send_ioreq()
2512 sgpge++; in bfa_ioim_send_ioreq()
2514 sgpge->flags = BFI_SGE_PGDLEN; in bfa_ioim_send_ioreq()
2515 sgpge->sga.a32.addr_lo = 0; in bfa_ioim_send_ioreq()
2516 sgpge->sga.a32.addr_hi = 0; in bfa_ioim_send_ioreq()
2517 sgpge->sg_len = pgcumsz; in bfa_ioim_send_ioreq()
2518 bfa_sge_to_le(sgpge); in bfa_ioim_send_ioreq()
2521 sgpge->flags = BFI_SGE_LINK; in bfa_ioim_send_ioreq()
2522 sgpge->sga = sgpg->sgpg_pa; in bfa_ioim_send_ioreq()
2523 sgpge->sg_len = pgcumsz; in bfa_ioim_send_ioreq()
2524 bfa_sge_to_le(sgpge); in bfa_ioim_send_ioreq()