Lines Matching refs:Header
1049 c->busaddr |= 1 | (h->blockFetchTable[c->Header.SGList] << 1); in set_performant_mode()
1052 c->Header.ReplyQueue = reply_queue; in set_performant_mode()
1073 c->busaddr |= 1 | (h->ioaccel1_blockFetchTable[c->Header.SGList] << 1) | in set_ioaccel1_performant_mode()
2303 (le16_to_cpu(c->Header.SGTotal) - h->max_cmd_sg_entries); in hpsa_map_sg_chain_block()
2321 if (le16_to_cpu(c->Header.SGTotal) <= h->max_cmd_sg_entries) in hpsa_unmap_sg_chain_block()
2589 (le16_to_cpu(cp->Header.SGTotal) > h->max_cmd_sg_entries)) in complete_scsi_command()
2637 cp->Header.SGList = scsi_sg_count(cmd); in complete_scsi_command()
2638 cp->Header.SGTotal = cpu_to_le16(cp->Header.SGList); in complete_scsi_command()
2641 cp->Header.tag = c->tag; in complete_scsi_command()
2642 memcpy(cp->Header.LUN.LunAddrBytes, c->CISS_LUN, 8); in complete_scsi_command()
2814 cp->Header.SGList = 0; in hpsa_map_one()
2815 cp->Header.SGTotal = cpu_to_le16(0); in hpsa_map_one()
2822 cp->Header.SGList = 0; in hpsa_map_one()
2823 cp->Header.SGTotal = cpu_to_le16(0); in hpsa_map_one()
2829 cp->Header.SGList = 1; /* no. SGs contig in this cmd */ in hpsa_map_one()
2830 cp->Header.SGTotal = cpu_to_le16(1); /* total sgs in cmd list */ in hpsa_map_one()
2911 const u8 *lun = c->Header.LUN.LunAddrBytes; in hpsa_print_cmd()
3116 match = !memcmp(scsi3addr, &c->Header.LUN.LunAddrBytes, in hpsa_cmd_dev_match()
3117 sizeof(c->Header.LUN.LunAddrBytes)); in hpsa_cmd_dev_match()
4615 cp->Header.SGList = h->max_cmd_sg_entries; in hpsa_scatter_gather()
4616 cp->Header.SGTotal = cpu_to_le16(use_sg + 1); in hpsa_scatter_gather()
4626 cp->Header.SGList = (u8) use_sg; /* no. SGs contig in this cmd */ in hpsa_scatter_gather()
4627 cp->Header.SGTotal = cpu_to_le16(use_sg); /* total sgs in cmd list */ in hpsa_scatter_gather()
4796 c->Header.SGList = use_sg; in hpsa_scsi_ioaccel1_queue_command()
5449 c->Header.ReplyQueue = 0; /* unused in simple mode */ in hpsa_ciss_submit()
5450 memcpy(&c->Header.LUN.LunAddrBytes[0], &dev->scsi3addr[0], 8); in hpsa_ciss_submit()
5451 c->Header.tag = cpu_to_le64((c->cmdindex << DIRECT_LOOKUP_SHIFT)); in hpsa_ciss_submit()
5521 c->Header.tag = cpu_to_le64((u64) (index << DIRECT_LOOKUP_SHIFT)); in hpsa_cmd_init()
6419 c->Header.ReplyQueue = 0; /* unused in simple mode */ in hpsa_passthru_ioctl()
6421 c->Header.SGList = 1; in hpsa_passthru_ioctl()
6422 c->Header.SGTotal = cpu_to_le16(1); in hpsa_passthru_ioctl()
6424 c->Header.SGList = 0; in hpsa_passthru_ioctl()
6425 c->Header.SGTotal = cpu_to_le16(0); in hpsa_passthru_ioctl()
6427 memcpy(&c->Header.LUN, &iocommand->LUN_info, sizeof(c->Header.LUN)); in hpsa_passthru_ioctl()
6536 c->Header.ReplyQueue = 0; in hpsa_big_passthru_ioctl()
6537 c->Header.SGList = (u8) sg_used; in hpsa_big_passthru_ioctl()
6538 c->Header.SGTotal = cpu_to_le16(sg_used); in hpsa_big_passthru_ioctl()
6539 memcpy(&c->Header.LUN, &ioc->LUN_info, sizeof(c->Header.LUN)); in hpsa_big_passthru_ioctl()
6689 c->Header.ReplyQueue = 0; in fill_cmd()
6691 c->Header.SGList = 1; in fill_cmd()
6692 c->Header.SGTotal = cpu_to_le16(1); in fill_cmd()
6694 c->Header.SGList = 0; in fill_cmd()
6695 c->Header.SGTotal = cpu_to_le16(0); in fill_cmd()
6697 memcpy(c->Header.LUN.LunAddrBytes, scsi3addr, 8); in fill_cmd()