Lines Matching refs:sgpge
2397 struct bfi_sge_s *sge, *sgpge; in bfa_ioim_send_ioreq() local
2428 sgpge = NULL; in bfa_ioim_send_ioreq()
2443 sgpge = sgpg->sgpg->sges; in bfa_ioim_send_ioreq()
2446 sgpge->sga = *(union bfi_addr_u *) &addr; in bfa_ioim_send_ioreq()
2447 sgpge->sg_len = sg_dma_len(sg); in bfa_ioim_send_ioreq()
2448 pgcumsz += sgpge->sg_len; in bfa_ioim_send_ioreq()
2453 sgpge->flags = BFI_SGE_DATA; in bfa_ioim_send_ioreq()
2455 sgpge->flags = BFI_SGE_DATA_CPL; in bfa_ioim_send_ioreq()
2457 sgpge->flags = BFI_SGE_DATA_LAST; in bfa_ioim_send_ioreq()
2459 bfa_sge_to_le(sgpge); in bfa_ioim_send_ioreq()
2461 sgpge++; in bfa_ioim_send_ioreq()
2463 sgpge->flags = BFI_SGE_PGDLEN; in bfa_ioim_send_ioreq()
2464 sgpge->sga.a32.addr_lo = 0; in bfa_ioim_send_ioreq()
2465 sgpge->sga.a32.addr_hi = 0; in bfa_ioim_send_ioreq()
2466 sgpge->sg_len = pgcumsz; in bfa_ioim_send_ioreq()
2467 bfa_sge_to_le(sgpge); in bfa_ioim_send_ioreq()
2470 sgpge->flags = BFI_SGE_LINK; in bfa_ioim_send_ioreq()
2471 sgpge->sga = sgpg->sgpg_pa; in bfa_ioim_send_ioreq()
2472 sgpge->sg_len = pgcumsz; in bfa_ioim_send_ioreq()
2473 bfa_sge_to_le(sgpge); in bfa_ioim_send_ioreq()