Lines Matching refs:SG

2302 	chain_sg = &c->SG[h->max_cmd_sg_entries - 1];
2327 chain_sg = &c->SG[h->max_cmd_sg_entries - 1];
2807 dma_unmap_single(&pdev->dev, le64_to_cpu(c->SG[i].Addr),
2808 le32_to_cpu(c->SG[i].Len),
2833 cp->SG[0].Addr = cpu_to_le64(addr64);
2834 cp->SG[0].Len = cpu_to_le32(buflen);
2835 cp->SG[0].Ext = cpu_to_le32(HPSA_SG_LAST); /* we are not chaining */
4602 curr_sg = cp->SG;
4782 curr_sg = cp->SG;
5515 if (hpsa_scatter_gather(h, c, cmd) < 0) { /* Fill SG list */
6427 c->SG[0].Addr = cpu_to_le64(0);
6428 c->SG[0].Len = cpu_to_le32(0);
6432 c->SG[0].Addr = cpu_to_le64(temp64);
6433 c->SG[0].Len = cpu_to_le32(iocommand->buf_size);
6434 c->SG[0].Ext = cpu_to_le32(HPSA_SG_LAST); /* not chaining */
6535 c->SG[i].Addr = cpu_to_le64(0);
6536 c->SG[i].Len = cpu_to_le32(0);
6542 c->SG[i].Addr = cpu_to_le64(temp64);
6543 c->SG[i].Len = cpu_to_le32(buff_size[i]);
6544 c->SG[i].Ext = cpu_to_le32(0);
6546 c->SG[--i].Ext = cpu_to_le32(HPSA_SG_LAST);
7672 * then we know that chained SG blocks work. (Original smart arrays did not
7673 * support chained SG blocks and would return zero for max sg entries.)
7681 * max commands, max SG elements without chaining, and with chaining,
7682 * SG chain block size, etc.
9135 /* Compute size of a command with i SG entries */
9145 /* for a command with i SG entries, use bucket b. */
9172 * Each SG entry requires 16 bytes. The eight registers are programmed
9176 * blocks. Note, this only extends to the SG entries contained
9178 * of SG elements. bft[] contains the eight values we write to
10002 VERIFY_OFFSET(SG, 0x78 + 8);