Lines Matching refs:Header
1052 c->busaddr |= 1 | (h->blockFetchTable[c->Header.SGList] << 1);
1055 c->Header.ReplyQueue = reply_queue;
1076 c->busaddr |= 1 | (h->ioaccel1_blockFetchTable[c->Header.SGList] << 1) |
2306 (le16_to_cpu(c->Header.SGTotal) - h->max_cmd_sg_entries);
2324 if (le16_to_cpu(c->Header.SGTotal) <= h->max_cmd_sg_entries)
2593 (le16_to_cpu(cp->Header.SGTotal) > h->max_cmd_sg_entries))
2642 cp->Header.SGList = scsi_sg_count(cmd);
2643 cp->Header.SGTotal = cpu_to_le16(cp->Header.SGList);
2646 cp->Header.tag = c->tag;
2647 memcpy(cp->Header.LUN.LunAddrBytes, c->CISS_LUN, 8);
2821 cp->Header.SGList = 0;
2822 cp->Header.SGTotal = cpu_to_le16(0);
2829 cp->Header.SGList = 0;
2830 cp->Header.SGTotal = cpu_to_le16(0);
2836 cp->Header.SGList = 1; /* no. SGs contig in this cmd */
2837 cp->Header.SGTotal = cpu_to_le16(1); /* total sgs in cmd list */
2918 const u8 *lun = c->Header.LUN.LunAddrBytes;
3123 match = !memcmp(scsi3addr, &c->Header.LUN.LunAddrBytes,
3124 sizeof(c->Header.LUN.LunAddrBytes));
4633 cp->Header.SGList = h->max_cmd_sg_entries;
4634 cp->Header.SGTotal = cpu_to_le16(use_sg + 1);
4644 cp->Header.SGList = (u8) use_sg; /* no. SGs contig in this cmd */
4645 cp->Header.SGTotal = cpu_to_le16(use_sg); /* total sgs in cmd list */
4814 c->Header.SGList = use_sg;
5467 c->Header.ReplyQueue = 0; /* unused in simple mode */
5468 memcpy(&c->Header.LUN.LunAddrBytes[0], &dev->scsi3addr[0], 8);
5469 c->Header.tag = cpu_to_le64((c->cmdindex << DIRECT_LOOKUP_SHIFT));
5539 c->Header.tag = cpu_to_le64((u64) (index << DIRECT_LOOKUP_SHIFT));
6407 /* Fill in Command Header */
6408 c->Header.ReplyQueue = 0; /* unused in simple mode */
6410 c->Header.SGList = 1;
6411 c->Header.SGTotal = cpu_to_le16(1);
6413 c->Header.SGList = 0;
6414 c->Header.SGTotal = cpu_to_le16(0);
6416 memcpy(&c->Header.LUN, &iocommand->LUN_info, sizeof(c->Header.LUN));
6523 c->Header.ReplyQueue = 0;
6524 c->Header.SGList = (u8) sg_used;
6525 c->Header.SGTotal = cpu_to_le16(sg_used);
6526 memcpy(&c->Header.LUN, &ioc->LUN_info, sizeof(c->Header.LUN));
6676 c->Header.ReplyQueue = 0;
6678 c->Header.SGList = 1;
6679 c->Header.SGTotal = cpu_to_le16(1);
6681 c->Header.SGList = 0;
6682 c->Header.SGTotal = cpu_to_le16(0);
6684 memcpy(c->Header.LUN.LunAddrBytes, scsi3addr, 8);