Lines Matching refs:Header
1041 c->busaddr |= 1 | (h->blockFetchTable[c->Header.SGList] << 1); in set_performant_mode()
1044 c->Header.ReplyQueue = reply_queue; in set_performant_mode()
1065 c->busaddr |= 1 | (h->ioaccel1_blockFetchTable[c->Header.SGList] << 1) | in set_ioaccel1_performant_mode()
2291 (le16_to_cpu(c->Header.SGTotal) - h->max_cmd_sg_entries); in hpsa_map_sg_chain_block()
2309 if (le16_to_cpu(c->Header.SGTotal) <= h->max_cmd_sg_entries) in hpsa_unmap_sg_chain_block()
2579 (le16_to_cpu(cp->Header.SGTotal) > h->max_cmd_sg_entries)) in complete_scsi_command()
2628 cp->Header.SGList = scsi_sg_count(cmd); in complete_scsi_command()
2629 cp->Header.SGTotal = cpu_to_le16(cp->Header.SGList); in complete_scsi_command()
2632 cp->Header.tag = c->tag; in complete_scsi_command()
2633 memcpy(cp->Header.LUN.LunAddrBytes, c->CISS_LUN, 8); in complete_scsi_command()
2807 cp->Header.SGList = 0; in hpsa_map_one()
2808 cp->Header.SGTotal = cpu_to_le16(0); in hpsa_map_one()
2815 cp->Header.SGList = 0; in hpsa_map_one()
2816 cp->Header.SGTotal = cpu_to_le16(0); in hpsa_map_one()
2822 cp->Header.SGList = 1; /* no. SGs contig in this cmd */ in hpsa_map_one()
2823 cp->Header.SGTotal = cpu_to_le16(1); /* total sgs in cmd list */ in hpsa_map_one()
2904 const u8 *lun = c->Header.LUN.LunAddrBytes; in hpsa_print_cmd()
3109 match = !memcmp(scsi3addr, &c->Header.LUN.LunAddrBytes, in hpsa_cmd_dev_match()
3110 sizeof(c->Header.LUN.LunAddrBytes)); in hpsa_cmd_dev_match()
4599 cp->Header.SGList = h->max_cmd_sg_entries; in hpsa_scatter_gather()
4600 cp->Header.SGTotal = cpu_to_le16(use_sg + 1); in hpsa_scatter_gather()
4610 cp->Header.SGList = (u8) use_sg; /* no. SGs contig in this cmd */ in hpsa_scatter_gather()
4611 cp->Header.SGTotal = cpu_to_le16(use_sg); /* total sgs in cmd list */ in hpsa_scatter_gather()
4780 c->Header.SGList = use_sg; in hpsa_scsi_ioaccel1_queue_command()
5422 c->Header.ReplyQueue = 0; /* unused in simple mode */ in hpsa_ciss_submit()
5423 memcpy(&c->Header.LUN.LunAddrBytes[0], &dev->scsi3addr[0], 8); in hpsa_ciss_submit()
5424 c->Header.tag = cpu_to_le64((c->cmdindex << DIRECT_LOOKUP_SHIFT)); in hpsa_ciss_submit()
5494 c->Header.tag = cpu_to_le64((u64) (index << DIRECT_LOOKUP_SHIFT)); in hpsa_cmd_init()
6379 c->Header.ReplyQueue = 0; /* unused in simple mode */ in hpsa_passthru_ioctl()
6381 c->Header.SGList = 1; in hpsa_passthru_ioctl()
6382 c->Header.SGTotal = cpu_to_le16(1); in hpsa_passthru_ioctl()
6384 c->Header.SGList = 0; in hpsa_passthru_ioctl()
6385 c->Header.SGTotal = cpu_to_le16(0); in hpsa_passthru_ioctl()
6387 memcpy(&c->Header.LUN, &iocommand.LUN_info, sizeof(c->Header.LUN)); in hpsa_passthru_ioctl()
6510 c->Header.ReplyQueue = 0; in hpsa_big_passthru_ioctl()
6511 c->Header.SGList = (u8) sg_used; in hpsa_big_passthru_ioctl()
6512 c->Header.SGTotal = cpu_to_le16(sg_used); in hpsa_big_passthru_ioctl()
6513 memcpy(&c->Header.LUN, &ioc->LUN_info, sizeof(c->Header.LUN)); in hpsa_big_passthru_ioctl()
6654 c->Header.ReplyQueue = 0; in fill_cmd()
6656 c->Header.SGList = 1; in fill_cmd()
6657 c->Header.SGTotal = cpu_to_le16(1); in fill_cmd()
6659 c->Header.SGList = 0; in fill_cmd()
6660 c->Header.SGTotal = cpu_to_le16(0); in fill_cmd()
6662 memcpy(c->Header.LUN.LunAddrBytes, scsi3addr, 8); in fill_cmd()