Lines Matching refs:sgpge
2461 struct bfi_sge_s *sge, *sgpge; in bfa_ioim_send_ioreq() local
2492 sgpge = NULL; in bfa_ioim_send_ioreq()
2507 sgpge = sgpg->sgpg->sges; in bfa_ioim_send_ioreq()
2510 sgpge->sga = *(union bfi_addr_u *) &addr; in bfa_ioim_send_ioreq()
2511 sgpge->sg_len = sg_dma_len(sg); in bfa_ioim_send_ioreq()
2512 pgcumsz += sgpge->sg_len; in bfa_ioim_send_ioreq()
2517 sgpge->flags = BFI_SGE_DATA; in bfa_ioim_send_ioreq()
2519 sgpge->flags = BFI_SGE_DATA_CPL; in bfa_ioim_send_ioreq()
2521 sgpge->flags = BFI_SGE_DATA_LAST; in bfa_ioim_send_ioreq()
2523 bfa_sge_to_le(sgpge); in bfa_ioim_send_ioreq()
2525 sgpge++; in bfa_ioim_send_ioreq()
2527 sgpge->flags = BFI_SGE_PGDLEN; in bfa_ioim_send_ioreq()
2528 sgpge->sga.a32.addr_lo = 0; in bfa_ioim_send_ioreq()
2529 sgpge->sga.a32.addr_hi = 0; in bfa_ioim_send_ioreq()
2530 sgpge->sg_len = pgcumsz; in bfa_ioim_send_ioreq()
2531 bfa_sge_to_le(sgpge); in bfa_ioim_send_ioreq()
2534 sgpge->flags = BFI_SGE_LINK; in bfa_ioim_send_ioreq()
2535 sgpge->sga = sgpg->sgpg_pa; in bfa_ioim_send_ioreq()
2536 sgpge->sg_len = pgcumsz; in bfa_ioim_send_ioreq()
2537 bfa_sge_to_le(sgpge); in bfa_ioim_send_ioreq()