Lines Matching refs:Header
1055 c->busaddr |= 1 | (h->blockFetchTable[c->Header.SGList] << 1);
1058 c->Header.ReplyQueue = reply_queue;
1079 c->busaddr |= 1 | (h->ioaccel1_blockFetchTable[c->Header.SGList] << 1) |
2312 (le16_to_cpu(c->Header.SGTotal) - h->max_cmd_sg_entries);
2330 if (le16_to_cpu(c->Header.SGTotal) <= h->max_cmd_sg_entries)
2598 (le16_to_cpu(cp->Header.SGTotal) > h->max_cmd_sg_entries))
2646 cp->Header.SGList = scsi_sg_count(cmd);
2647 cp->Header.SGTotal = cpu_to_le16(cp->Header.SGList);
2650 cp->Header.tag = c->tag;
2651 memcpy(cp->Header.LUN.LunAddrBytes, c->CISS_LUN, 8);
2825 cp->Header.SGList = 0;
2826 cp->Header.SGTotal = cpu_to_le16(0);
2833 cp->Header.SGList = 0;
2834 cp->Header.SGTotal = cpu_to_le16(0);
2840 cp->Header.SGList = 1; /* no. SGs contig in this cmd */
2841 cp->Header.SGTotal = cpu_to_le16(1); /* total sgs in cmd list */
2922 const u8 *lun = c->Header.LUN.LunAddrBytes;
3127 match = !memcmp(scsi3addr, &c->Header.LUN.LunAddrBytes,
3128 sizeof(c->Header.LUN.LunAddrBytes));
4629 cp->Header.SGList = h->max_cmd_sg_entries;
4630 cp->Header.SGTotal = cpu_to_le16(use_sg + 1);
4640 cp->Header.SGList = (u8) use_sg; /* no. SGs contig in this cmd */
4641 cp->Header.SGTotal = cpu_to_le16(use_sg); /* total sgs in cmd list */
4810 c->Header.SGList = use_sg;
5463 c->Header.ReplyQueue = 0; /* unused in simple mode */
5464 memcpy(&c->Header.LUN.LunAddrBytes[0], &dev->scsi3addr[0], 8);
5465 c->Header.tag = cpu_to_le64((c->cmdindex << DIRECT_LOOKUP_SHIFT));
5535 c->Header.tag = cpu_to_le64((u64) (index << DIRECT_LOOKUP_SHIFT));
6435 /* Fill in Command Header */
6436 c->Header.ReplyQueue = 0; /* unused in simple mode */
6438 c->Header.SGList = 1;
6439 c->Header.SGTotal = cpu_to_le16(1);
6441 c->Header.SGList = 0;
6442 c->Header.SGTotal = cpu_to_le16(0);
6444 memcpy(&c->Header.LUN, &iocommand->LUN_info, sizeof(c->Header.LUN));
6551 c->Header.ReplyQueue = 0;
6552 c->Header.SGList = (u8) sg_used;
6553 c->Header.SGTotal = cpu_to_le16(sg_used);
6554 memcpy(&c->Header.LUN, &ioc->LUN_info, sizeof(c->Header.LUN));
6704 c->Header.ReplyQueue = 0;
6706 c->Header.SGList = 1;
6707 c->Header.SGTotal = cpu_to_le16(1);
6709 c->Header.SGList = 0;
6710 c->Header.SGTotal = cpu_to_le16(0);
6712 memcpy(c->Header.LUN.LunAddrBytes, scsi3addr, 8);