Lines Matching refs:psg

222 static unsigned long aac_build_sg64(Scsi_Cmnd* scsicmd, struct sgmap64* psg);
1633 static unsigned long aac_build_sg(Scsi_Cmnd* scsicmd, struct sgmap* psg) in aac_build_sg() argument
1640 psg->count = cpu_to_le32(0); in aac_build_sg()
1641 psg->sg[0].addr = cpu_to_le32(NULL); in aac_build_sg()
1642 psg->sg[0].count = cpu_to_le32(0); in aac_build_sg()
1651 psg->count = cpu_to_le32(sg_count); in aac_build_sg()
1656 psg->sg[i].addr = cpu_to_le32(sg_dma_address(sg)); in aac_build_sg()
1657 psg->sg[i].count = cpu_to_le32(sg_dma_len(sg)); in aac_build_sg()
1663 psg->sg[i-1].count -= (byte_count - scsicmd->request_bufflen); in aac_build_sg()
1678 psg->count = cpu_to_le32(1); in aac_build_sg()
1679 psg->sg[0].addr = cpu_to_le32(addr); in aac_build_sg()
1680 psg->sg[0].count = cpu_to_le32(scsicmd->request_bufflen); in aac_build_sg()
1689 static unsigned long aac_build_sg64(Scsi_Cmnd* scsicmd, struct sgmap64* psg) in aac_build_sg64() argument
1697 psg->count = cpu_to_le32(0); in aac_build_sg64()
1698 psg->sg[0].addr[0] = cpu_to_le32(NULL); in aac_build_sg64()
1699 psg->sg[0].addr[1] = cpu_to_le32(NULL); in aac_build_sg64()
1700 psg->sg[0].count = cpu_to_le32(0); in aac_build_sg64()
1709 psg->count = cpu_to_le32(sg_count); in aac_build_sg64()
1715 psg->sg[i].addr[1] = (u32)(le_addr>>32); in aac_build_sg64()
1716 psg->sg[i].addr[0] = (u32)(le_addr & 0xffffffff); in aac_build_sg64()
1717 psg->sg[i].count = cpu_to_le32(sg_dma_len(sg)); in aac_build_sg64()
1723 psg->sg[i-1].count -= (byte_count - scsicmd->request_bufflen); in aac_build_sg64()
1738 psg->count = cpu_to_le32(1); in aac_build_sg64()
1740 psg->sg[0].addr[1] = (u32)(le_addr>>32); in aac_build_sg64()
1741 psg->sg[0].addr[0] = (u32)(le_addr & 0xffffffff); in aac_build_sg64()
1742 psg->sg[0].count = cpu_to_le32(scsicmd->request_bufflen); in aac_build_sg64()