Lines Matching refs:Header

975 		c->busaddr |= 1 | (h->blockFetchTable[c->Header.SGList] << 1);  in set_performant_mode()
979 c->Header.ReplyQueue = in set_performant_mode()
982 c->Header.ReplyQueue = reply_queue % h->nreply_queues; in set_performant_mode()
1006 c->busaddr |= 1 | (h->ioaccel1_blockFetchTable[c->Header.SGList] << 1) | in set_ioaccel1_performant_mode()
2112 (le16_to_cpu(c->Header.SGTotal) - h->max_cmd_sg_entries); in hpsa_map_sg_chain_block()
2130 if (le16_to_cpu(c->Header.SGTotal) <= h->max_cmd_sg_entries) in hpsa_unmap_sg_chain_block()
2396 (le16_to_cpu(cp->Header.SGTotal) > h->max_cmd_sg_entries)) in complete_scsi_command()
2439 cp->Header.SGList = scsi_sg_count(cmd); in complete_scsi_command()
2440 cp->Header.SGTotal = cpu_to_le16(cp->Header.SGList); in complete_scsi_command()
2443 cp->Header.tag = c->tag; in complete_scsi_command()
2444 memcpy(cp->Header.LUN.LunAddrBytes, c->CISS_LUN, 8); in complete_scsi_command()
2607 cp->Header.SGList = 0; in hpsa_map_one()
2608 cp->Header.SGTotal = cpu_to_le16(0); in hpsa_map_one()
2615 cp->Header.SGList = 0; in hpsa_map_one()
2616 cp->Header.SGTotal = cpu_to_le16(0); in hpsa_map_one()
2622 cp->Header.SGList = 1; /* no. SGs contig in this cmd */ in hpsa_map_one()
2623 cp->Header.SGTotal = cpu_to_le16(1); /* total sgs in cmd list */ in hpsa_map_one()
2703 const u8 *lun = c->Header.LUN.LunAddrBytes; in hpsa_print_cmd()
2864 match = !memcmp(scsi3addr, &c->Header.LUN.LunAddrBytes, in hpsa_cmd_dev_match()
2865 sizeof(c->Header.LUN.LunAddrBytes)); in hpsa_cmd_dev_match()
4233 cp->Header.SGList = h->max_cmd_sg_entries; in hpsa_scatter_gather()
4234 cp->Header.SGTotal = cpu_to_le16(use_sg + 1); in hpsa_scatter_gather()
4244 cp->Header.SGList = (u8) use_sg; /* no. SGs contig in this cmd */ in hpsa_scatter_gather()
4245 cp->Header.SGTotal = cpu_to_le16(use_sg); /* total sgs in cmd list */ in hpsa_scatter_gather()
4365 c->Header.SGList = use_sg; in hpsa_scsi_ioaccel1_queue_command()
4954 c->Header.ReplyQueue = 0; /* unused in simple mode */ in hpsa_ciss_submit()
4955 memcpy(&c->Header.LUN.LunAddrBytes[0], &scsi3addr[0], 8); in hpsa_ciss_submit()
4956 c->Header.tag = cpu_to_le64((c->cmdindex << DIRECT_LOOKUP_SHIFT)); in hpsa_ciss_submit()
5018 c->Header.tag = cpu_to_le64((u64) (index << DIRECT_LOOKUP_SHIFT)); in hpsa_cmd_init()
5536 tag = le64_to_cpu(c->Header.tag); in hpsa_get_tag()
5552 (void) fill_cmd(c, HPSA_ABORT_MSG, h, &abort->Header.tag, in hpsa_send_abort()
5780 return c->Header.ReplyQueue; in hpsa_extract_reply_queue()
6236 c->Header.ReplyQueue = 0; /* unused in simple mode */ in hpsa_passthru_ioctl()
6238 c->Header.SGList = 1; in hpsa_passthru_ioctl()
6239 c->Header.SGTotal = cpu_to_le16(1); in hpsa_passthru_ioctl()
6241 c->Header.SGList = 0; in hpsa_passthru_ioctl()
6242 c->Header.SGTotal = cpu_to_le16(0); in hpsa_passthru_ioctl()
6244 memcpy(&c->Header.LUN, &iocommand.LUN_info, sizeof(c->Header.LUN)); in hpsa_passthru_ioctl()
6371 c->Header.ReplyQueue = 0; in hpsa_big_passthru_ioctl()
6372 c->Header.SGList = (u8) sg_used; in hpsa_big_passthru_ioctl()
6373 c->Header.SGTotal = cpu_to_le16(sg_used); in hpsa_big_passthru_ioctl()
6374 memcpy(&c->Header.LUN, &ioc->LUN_info, sizeof(c->Header.LUN)); in hpsa_big_passthru_ioctl()
6515 c->Header.ReplyQueue = 0; in fill_cmd()
6517 c->Header.SGList = 1; in fill_cmd()
6518 c->Header.SGTotal = cpu_to_le16(1); in fill_cmd()
6520 c->Header.SGList = 0; in fill_cmd()
6521 c->Header.SGTotal = cpu_to_le16(0); in fill_cmd()
6523 memcpy(c->Header.LUN.LunAddrBytes, scsi3addr, 8); in fill_cmd()
6689 tag, c->Header.tag); in fill_cmd()