• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/block/

Lines Matching refs:SG

358 	chain_sg = &c->SG[h->max_cmd_sgentries - 1];
370 chain_sg = &c->SG[h->max_cmd_sgentries - 1];
410 "Max SG entries since init: %d\n",
1497 c->SG[0].Addr.lower = temp64.val32.lower;
1498 c->SG[0].Addr.upper = temp64.val32.upper;
1499 c->SG[0].Len = iocommand.buf_size;
1500 c->SG[0].Ext = 0; /* we are not chaining */
1508 temp64.val32.lower = c->SG[0].Addr.lower;
1509 temp64.val32.upper = c->SG[0].Addr.upper;
1642 c->SG[i].Addr.lower =
1644 c->SG[i].Addr.upper =
1646 c->SG[i].Len = buff_size[i];
1647 c->SG[i].Ext = 0; /* we are not chaining */
1655 temp64.val32.lower = c->SG[i].Addr.lower;
1656 temp64.val32.upper = c->SG[i].Addr.upper;
1772 SGDescriptor_struct *curr_sg = c->SG;
2614 c->SG[0].Addr.lower = buff_dma_handle.val32.lower;
2615 c->SG[0].Addr.upper = buff_dma_handle.val32.upper;
2616 c->SG[0].Len = size;
2617 c->SG[0].Ext = 0; /* we are not chaining */
2739 buff_dma_handle.val32.lower = c->SG[0].Addr.lower;
2740 buff_dma_handle.val32.upper = c->SG[0].Addr.upper;
2742 c->SG[0].Len, PCI_DMA_BIDIRECTIONAL);
3267 curr_sg = c->SG;
3293 /* track how many SG entries we are using */
3774 /* Compute size of a command with i SG entries */
3784 /* for a command with i SG entries, use bucket b. */
3812 * Each SG entry requires 16 bytes. The eight registers are programmed
3816 * blocks. Note, this only extends to the SG entries contained
3818 * of SG elements. bft[] contains the eight values we write to
4090 * max commands, max SG elements without chaining, and with chaining,
4091 * SG chain block size, etc.