Lines Matching refs:SG
929 chain_sg = &c->SG[h->max_cmd_sg_entries - 1];
949 chain_sg = &c->SG[h->max_cmd_sg_entries - 1];
1206 addr64.val32.lower = c->SG[i].Addr.lower;
1207 addr64.val32.upper = c->SG[i].Addr.upper;
1208 pci_unmap_single(pdev, (dma_addr_t) addr64.val, c->SG[i].Len,
1228 cp->SG[0].Addr.lower =
1230 cp->SG[0].Addr.upper =
1232 cp->SG[0].Len = buflen;
1892 curr_sg = cp->SG;
2014 if (hpsa_scatter_gather(h, c, cmd) < 0) { /* Fill SG list */
2490 c->SG[0].Addr.lower = temp64.val32.lower;
2491 c->SG[0].Addr.upper = temp64.val32.upper;
2492 c->SG[0].Len = iocommand.buf_size;
2493 c->SG[0].Ext = 0; /* we are not chaining*/
2617 c->SG[i].Addr.lower = temp64.val32.lower;
2618 c->SG[i].Addr.upper = temp64.val32.upper;
2619 c->SG[i].Len = buff_size[i];
2621 c->SG[i].Ext = 0;
3527 * max commands, max SG elements without chaining, and with chaining,
3528 * SG chain block size, etc.
3994 /* Compute size of a command with i SG entries */
4004 /* for a command with i SG entries, use bucket b. */
4021 * Each SG entry requires 16 bytes. The eight registers are programmed
4025 * blocks. Note, this only extends to the SG entries contained
4027 * of SG elements. bft[] contains the eight values we write to