Lines Matching refs:SG

2308 	chain_sg = &c->SG[h->max_cmd_sg_entries - 1];
2333 chain_sg = &c->SG[h->max_cmd_sg_entries - 1];
2811 dma_unmap_single(&pdev->dev, le64_to_cpu(c->SG[i].Addr),
2812 le32_to_cpu(c->SG[i].Len),
2837 cp->SG[0].Addr = cpu_to_le64(addr64);
2838 cp->SG[0].Len = cpu_to_le32(buflen);
2839 cp->SG[0].Ext = cpu_to_le32(HPSA_SG_LAST); /* we are not chaining */
4599 curr_sg = cp->SG;
4778 curr_sg = cp->SG;
5511 if (hpsa_scatter_gather(h, c, cmd) < 0) { /* Fill SG list */
6455 c->SG[0].Addr = cpu_to_le64(0);
6456 c->SG[0].Len = cpu_to_le32(0);
6460 c->SG[0].Addr = cpu_to_le64(temp64);
6461 c->SG[0].Len = cpu_to_le32(iocommand->buf_size);
6462 c->SG[0].Ext = cpu_to_le32(HPSA_SG_LAST); /* not chaining */
6563 c->SG[i].Addr = cpu_to_le64(0);
6564 c->SG[i].Len = cpu_to_le32(0);
6570 c->SG[i].Addr = cpu_to_le64(temp64);
6571 c->SG[i].Len = cpu_to_le32(buff_size[i]);
6572 c->SG[i].Ext = cpu_to_le32(0);
6574 c->SG[--i].Ext = cpu_to_le32(HPSA_SG_LAST);
7699 * then we know that chained SG blocks work. (Original smart arrays did not
7700 * support chained SG blocks and would return zero for max sg entries.)
7708 * max commands, max SG elements without chaining, and with chaining,
7709 * SG chain block size, etc.
9157 /* Compute size of a command with i SG entries */
9167 /* for a command with i SG entries, use bucket b. */
9194 * Each SG entry requires 16 bytes. The eight registers are programmed
9198 * blocks. Note, this only extends to the SG entries contained
9200 * of SG elements. bft[] contains the eight values we write to
10017 VERIFY_OFFSET(SG, 0x78 + 8);