Lines Matching refs:SGTotal
2278 (le16_to_cpu(c->Header.SGTotal) - h->max_cmd_sg_entries); in hpsa_map_sg_chain_block()
2296 if (le16_to_cpu(c->Header.SGTotal) <= h->max_cmd_sg_entries) in hpsa_unmap_sg_chain_block()
2567 (le16_to_cpu(cp->Header.SGTotal) > h->max_cmd_sg_entries)) in complete_scsi_command()
2615 cp->Header.SGTotal = cpu_to_le16(cp->Header.SGList); in complete_scsi_command()
2783 cp->Header.SGTotal = cpu_to_le16(0); in hpsa_map_one()
2791 cp->Header.SGTotal = cpu_to_le16(0); in hpsa_map_one()
2798 cp->Header.SGTotal = cpu_to_le16(1); /* total sgs in cmd list */ in hpsa_map_one()
4598 cp->Header.SGTotal = cpu_to_le16(use_sg + 1); in hpsa_scatter_gather()
4609 cp->Header.SGTotal = cpu_to_le16(use_sg); /* total sgs in cmd list */ in hpsa_scatter_gather()
6310 c->Header.SGTotal = cpu_to_le16(1); in hpsa_passthru_ioctl()
6313 c->Header.SGTotal = cpu_to_le16(0); in hpsa_passthru_ioctl()
6444 c->Header.SGTotal = cpu_to_le16(sg_used); in hpsa_big_passthru_ioctl()
6589 c->Header.SGTotal = cpu_to_le16(1); in fill_cmd()
6592 c->Header.SGTotal = cpu_to_le16(0); in fill_cmd()
7015 cmd->CommandHeader.SGTotal = cpu_to_le16(0); in hpsa_message()