Lines Matching refs:Header

753 		c->busaddr |= 1 | (h->blockFetchTable[c->Header.SGList] << 1);  in set_performant_mode()
755 c->Header.ReplyQueue = in set_performant_mode()
774 c->busaddr |= 1 | (h->ioaccel1_blockFetchTable[c->Header.SGList] << 1) | in set_ioaccel1_performant_mode()
1594 (le16_to_cpu(c->Header.SGTotal) - h->max_cmd_sg_entries); in hpsa_map_sg_chain_block()
1612 if (le16_to_cpu(c->Header.SGTotal) <= h->max_cmd_sg_entries) in hpsa_unmap_sg_chain_block()
1778 (le16_to_cpu(cp->Header.SGTotal) > h->max_cmd_sg_entries)) in complete_scsi_command()
1816 cp->Header.SGList = scsi_sg_count(cmd); in complete_scsi_command()
1817 cp->Header.SGTotal = cpu_to_le16(cp->Header.SGList); in complete_scsi_command()
1820 cp->Header.tag = c->tag; in complete_scsi_command()
1821 memcpy(cp->Header.LUN.LunAddrBytes, c->CISS_LUN, 8); in complete_scsi_command()
1981 cp->Header.SGList = 0; in hpsa_map_one()
1982 cp->Header.SGTotal = cpu_to_le16(0); in hpsa_map_one()
1989 cp->Header.SGList = 0; in hpsa_map_one()
1990 cp->Header.SGTotal = cpu_to_le16(0); in hpsa_map_one()
1996 cp->Header.SGList = 1; /* no. SGs contig in this cmd */ in hpsa_map_one()
1997 cp->Header.SGTotal = cpu_to_le16(1); /* total sgs in cmd list */ in hpsa_map_one()
2058 const u8 *lun = c->Header.LUN.LunAddrBytes; in hpsa_print_cmd()
3296 cp->Header.SGList = h->max_cmd_sg_entries; in hpsa_scatter_gather()
3297 cp->Header.SGTotal = cpu_to_le16(use_sg + 1); in hpsa_scatter_gather()
3307 cp->Header.SGList = (u8) use_sg; /* no. SGs contig in this cmd */ in hpsa_scatter_gather()
3308 cp->Header.SGTotal = cpu_to_le16(use_sg); /* total sgs in cmd list */ in hpsa_scatter_gather()
3433 c->Header.SGList = use_sg; in hpsa_scsi_ioaccel1_queue_command()
4003 c->Header.ReplyQueue = 0; /* unused in simple mode */ in hpsa_ciss_submit()
4004 memcpy(&c->Header.LUN.LunAddrBytes[0], &scsi3addr[0], 8); in hpsa_ciss_submit()
4005 c->Header.tag = cpu_to_le64((c->cmdindex << DIRECT_LOOKUP_SHIFT)); in hpsa_ciss_submit()
4409 tag = le64_to_cpu(c->Header.tag); in hpsa_get_tag()
4708 c->Header.tag = cpu_to_le64((u64) (i << DIRECT_LOOKUP_SHIFT)); in cmd_alloc()
4923 c->Header.ReplyQueue = 0; /* unused in simple mode */ in hpsa_passthru_ioctl()
4925 c->Header.SGList = 1; in hpsa_passthru_ioctl()
4926 c->Header.SGTotal = cpu_to_le16(1); in hpsa_passthru_ioctl()
4928 c->Header.SGList = 0; in hpsa_passthru_ioctl()
4929 c->Header.SGTotal = cpu_to_le16(0); in hpsa_passthru_ioctl()
4931 memcpy(&c->Header.LUN, &iocommand.LUN_info, sizeof(c->Header.LUN)); in hpsa_passthru_ioctl()
5056 c->Header.ReplyQueue = 0; in hpsa_big_passthru_ioctl()
5057 c->Header.SGList = (u8) sg_used; in hpsa_big_passthru_ioctl()
5058 c->Header.SGTotal = cpu_to_le16(sg_used); in hpsa_big_passthru_ioctl()
5059 memcpy(&c->Header.LUN, &ioc->LUN_info, sizeof(c->Header.LUN)); in hpsa_big_passthru_ioctl()
5195 c->Header.ReplyQueue = 0; in fill_cmd()
5197 c->Header.SGList = 1; in fill_cmd()
5198 c->Header.SGTotal = cpu_to_le16(1); in fill_cmd()
5200 c->Header.SGList = 0; in fill_cmd()
5201 c->Header.SGTotal = cpu_to_le16(0); in fill_cmd()
5203 memcpy(c->Header.LUN.LunAddrBytes, scsi3addr, 8); in fill_cmd()
5311 a->Header.tag, c->Header.tag); in fill_cmd()
5322 memcpy(&c->Request.CDB[4], &a->Header.tag, in fill_cmd()
5323 sizeof(a->Header.tag)); in fill_cmd()