/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc/mm/ |
H A D | sun4c.c | 1227 static void sun4c_get_scsi_sgl(struct scatterlist *sg, int sz, struct sbus_bus *sbus) argument 1231 sg[sz].dvma_address = (__u32)sun4c_lockarea(page_address(sg[sz].page) + sg[sz].offset, sg[sz].length); 1232 sg[sz].dvma_length = sg[sz].length; 1243 static void sun4c_release_scsi_sgl(struct scatterlist *sg, int sz, struct sbus_bus *sbus) argument 1247 sun4c_unlockarea((char *)sg[sz].dvma_address, sg[s [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/shared/ |
H A D | linux_osl.c | 1281 struct scatterlist *sg, _sg[MAX_DMA_SEGS * 2]; local 1284 sg = &_sg[totsegs]; 1286 nsegs = skb_to_sgvec(skb, sg, 0, PKTLEN(osh, skb)); 1288 pci_map_sg(osh->pdev, sg, nsegs, dir); 1292 sg->page_link = 0; 1293 sg_set_buf(sg, PKTDATA(osh, skb), PKTLEN(osh, skb)); 1307 for (i = 0, sg = _sg; i < totsegs; i++, sg++) { 1308 dmah->segs[i].addr = sg_phys(sg); 1309 dmah->segs[i].length = sg [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/ |
H A D | ips.c | 184 #include <scsi/sg.h> 1618 struct scatterlist *sg = SC->request_buffer; local 1624 buffer = kmap_atomic(sg->page, KM_IRQ0) + sg->offset; 1627 kunmap_atomic(buffer - sg->offset, KM_IRQ0); 1631 kunmap_atomic(buffer - sg->offset, KM_IRQ0); 1691 struct scatterlist *sg = SC->request_buffer; local 1694 length += sg[i].length; 1724 * packet we received from the sg driver. In this 2872 struct scatterlist *sg; local 3386 struct scatterlist *sg; local 3663 struct scatterlist *sg = scmd->request_buffer; local 3701 struct scatterlist *sg = scmd->request_buffer; local [all...] |
H A D | esp_scsi.h | 356 int (*map_sg)(struct esp *esp, struct scatterlist *sg, 360 void (*unmap_sg)(struct esp *esp, struct scatterlist *sg,
|
H A D | wd7000.c | 1106 struct scatterlist *sg = (struct scatterlist *) SCpnt->request_buffer; local 1120 any2scsi(sgb[i].ptr, isa_page_to_bus(sg[i].page) + sg[i].offset); 1121 any2scsi(sgb[i].len, sg[i].length);
|
H A D | scsi_ioctl.c | 23 #include <scsi/sg.h>
|
H A D | 3w-9xxx.c | 1371 /* Load the sg list */ 1884 struct scatterlist *sg = (struct scatterlist *)tw_dev->srb[request_id]->request_buffer; local 1885 char *buf = kmap_atomic(sg->page, KM_IRQ0) + sg->offset; 1886 memcpy(tw_dev->generic_buffer_virt[request_id], buf, sg->length); 1887 kunmap_atomic(buf - sg->offset, KM_IRQ0); 1963 struct scatterlist *sg = (struct scatterlist *)tw_dev->srb[request_id]->request_buffer; local 1967 buf = kmap_atomic(sg->page, KM_IRQ0) + sg->offset; 1968 memcpy(buf, tw_dev->generic_buffer_virt[request_id], sg [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/aic7xxx/ |
H A D | aic79xx_core.c | 818 struct ahd_dma64_seg *sg; local 820 sg = ahd_sg_bus_to_virt(ahd, scb, sgptr); 821 data_addr = sg->addr; 822 data_len = sg->len; 823 sgptr += sizeof(*sg); 825 struct ahd_dma_seg *sg; local 827 sg = ahd_sg_bus_to_virt(ahd, scb, sgptr); 828 data_addr = sg->len & AHD_SG_HIGH_ADDR_MASK; 830 data_addr |= sg->addr; 831 data_len = sg 4945 struct ahd_dma64_seg *sg; local 4978 struct ahd_dma_seg *sg; local 5084 struct ahd_dma64_seg *sg; local 5096 struct ahd_dma_seg *sg; local 8187 struct ahd_dma_seg *sg; local 8360 struct ahd_dma_seg *sg; local [all...] |
H A D | aic7xxx_core.c | 481 struct ahc_dma_seg *sg; local 503 sg = scb->sg_list; 515 sg->addr = ahc_get_sense_bufaddr(ahc, scb); 516 sg->len = ahc_get_sense_bufsize(ahc, scb); 517 sg->len |= AHC_DMA_LAST_SEG; 520 sg->addr = ahc_htole32(sg->addr); 521 sg->len = ahc_htole32(sg->len); 530 sc->length = sg 3587 struct ahc_dma_seg *sg; local 3662 struct ahc_dma_seg *sg; local 6082 struct ahc_dma_seg *sg; local [all...] |
H A D | aic7xxx_inline.h | 147 struct ahc_dma_seg *sg); 171 ahc_sg_virt_to_bus(struct scb *scb, struct ahc_dma_seg *sg) argument 176 sg_index = sg - &scb->sg_list[1];
|
H A D | aic79xx_osm.c | 380 struct scatterlist *sg; local 382 sg = (struct scatterlist *)cmd->request_buffer; 383 pci_unmap_sg(ahd->dev_softc, sg, cmd->use_sg, direction); 1489 void *sg; local 1499 for (sg = scb->sg_list; nseg > 0; nseg--, cur_seg++) { 1506 sg = ahd_sg_setup(ahd, scb, sg, addr, len, 1510 void *sg; local 1514 sg = scb->sg_list; 1521 sg [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ata/ |
H A D | sata_sil24.c | 646 struct scatterlist *sg; local 648 ata_for_each_sg(sg, qc) { 649 sge->addr = cpu_to_le64(sg_dma_address(sg)); 650 sge->cnt = cpu_to_le32(sg_dma_len(sg)); 651 if (ata_sg_is_last(sg, qc))
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/ibmvscsi/ |
H A D | ibmvstgt.c | 215 static int ibmvstgt_rdma(struct scsi_cmnd *sc, struct scatterlist *sg, int nsg, argument 228 token = sg_dma_address(sg + sidx); 235 int slen = min(sg_dma_len(sg + sidx) - soff, mlen); 260 if (soff == sg_dma_len(sg + sidx)) { 263 token = sg_dma_address(sg + sidx); 266 eprintk("out of sg %p %d %d\n",
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/drm/ |
H A D | drm_drv.c | 201 if (drm_core_check_feature(dev, DRIVER_SG) && dev->sg) { 202 drm_sg_cleanup(dev->sg); 203 dev->sg = NULL;
|
H A D | r128_cce.c | 328 (unsigned long)dev->sg->virtual; 364 if (dev_priv->is_pci && !dev->sg) { 541 dev_priv->cce_buffers_offset = (unsigned long)dev->sg->virtual;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/crypto/ |
H A D | twofish_common.c | 500 ctx->s[2][i] = mds[2][q1[(a) ^ sc] ^ sg]; \ 508 ctx->s[2][i] = mds[2][q1[q0[(a) ^ sc] ^ sg] ^ sk]; \ 516 ctx->s[2][i] = mds[2][q1[q0[q0[(a) ^ sc] ^ sg] ^ sk] ^ so]; \ 596 u8 sa = 0, sb = 0, sc = 0, sd = 0, se = 0, sf = 0, sg = 0, sh = 0; local 621 CALC_S (se, sf, sg, sh, 8, 0x00, 0x2D, 0x01, 0x2D); /* 01 A4 02 A4 */ 622 CALC_S (se, sf, sg, sh, 9, 0x2D, 0xA4, 0x44, 0x8A); /* A4 56 A1 55 */ 623 CALC_S (se, sf, sg, sh, 10, 0x8A, 0xD5, 0xBF, 0xD1); /* 55 82 FC 87 */ 624 CALC_S (se, sf, sg, sh, 11, 0xD1, 0x7F, 0x3D, 0x99); /* 87 F3 C1 5A */ 625 CALC_S (se, sf, sg, sh, 12, 0x99, 0x46, 0x66, 0x96); /* 5A 1E 47 58 */ 626 CALC_S (se, sf, sg, s [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/ppc/ |
H A D | pmac.c | 1593 struct scatterlist *sg; local 1610 sg = hwif->sg_table; 1611 while (i && sg_dma_len(sg)) { 1615 cur_addr = sg_dma_address(sg); 1616 cur_len = sg_dma_len(sg); 1644 sg++; 1674 struct scatterlist *sg = hwif->sg_table; local 1678 pci_unmap_sg(dev, sg, nents, hwif->sg_dma_direction);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/s390/scsi/ |
H A D | zfcp_qdio.c | 639 * @sg: scatter-gather list 645 struct scatterlist *sg, int sg_count, int max_sbals) 661 for (sg_index = 0, sg_segment = sg, bytes = 0; 644 zfcp_qdio_sbals_from_sg(struct zfcp_fsf_req *fsf_req, unsigned long sbtype, struct scatterlist *sg, int sg_count, int max_sbals) argument
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libgcrypt-1.5.0/cipher/ |
H A D | twofish.c | 503 ctx->s[2][i] = mds[2][q1[(a) ^ sc] ^ sg]; \ 515 ctx->s[2][i] = mds[2][q1[q0[q0[(a) ^ sc] ^ sg] ^ sk] ^ so]; \ 581 byte sa = 0, sb = 0, sc = 0, sd = 0, se = 0, sf = 0, sg = 0, sh = 0; 618 CALC_S (se, sf, sg, sh, 8, 0x00, 0x2D, 0x01, 0x2D); /* 01 A4 02 A4 */ 619 CALC_S (se, sf, sg, sh, 9, 0x2D, 0xA4, 0x44, 0x8A); /* A4 56 A1 55 */ 620 CALC_S (se, sf, sg, sh, 10, 0x8A, 0xD5, 0xBF, 0xD1); /* 55 82 FC 87 */ 621 CALC_S (se, sf, sg, sh, 11, 0xD1, 0x7F, 0x3D, 0x99); /* 87 F3 C1 5A */ 622 CALC_S (se, sf, sg, sh, 12, 0x99, 0x46, 0x66, 0x96); /* 5A 1E 47 58 */ 623 CALC_S (se, sf, sg, sh, 13, 0x96, 0x3C, 0x5B, 0xED); /* 58 C6 AE DB */ 624 CALC_S (se, sf, sg, s 576 byte sa = 0, sb = 0, sc = 0, sd = 0, se = 0, sf = 0, sg = 0, sh = 0; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/core/ |
H A D | skbuff.c | 1998 int sg = features & NETIF_F_SG; local 2022 if (hsize > len || !sg) 2050 if (!sg) { 2227 * @sg: The scatter-gather list to map into 2235 skb_to_sgvec(struct sk_buff *skb, struct scatterlist *sg, int offset, int len) argument 2244 sg[elt].page = virt_to_page(skb->data + offset); 2245 sg[elt].offset = (unsigned long)(skb->data + offset) % PAGE_SIZE; 2246 sg[elt].length = copy; 2264 sg[elt].page = frag->page; 2265 sg[el [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/ |
H A D | ide-taskfile.c | 265 struct scatterlist *sg = hwif->sg_table; local 273 page = sg[hwif->cursg].page; 274 offset = sg[hwif->cursg].offset + hwif->cursg_ofs * SECTOR_SIZE; 288 if ((hwif->cursg_ofs * SECTOR_SIZE) == sg[hwif->cursg].length) {
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/block/ |
H A D | ida_cmd.h | 70 sg_t sg[SG_MAX]; member in struct:__anon4128
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/sym53c8xx_2/ |
H A D | sym_fw1.h | 1212 offsetof (struct sym_ccb, phys.pm0.sg), 1232 offsetof (struct sym_ccb, phys.pm0.sg), 1288 offsetof (struct sym_ccb, phys.pm1.sg), 1308 offsetof (struct sym_ccb, phys.pm1.sg),
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/aic94xx/ |
H A D | aic94xx_task.c | 93 struct sg_el *sg = local 95 sg->bus_addr = cpu_to_le64((u64)sg_dma_address(sc)); 96 sg->size = cpu_to_le32((u32)sg_dma_len(sc)); 98 sg->flags |= ASD_SG_EL_LIST_EOL;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/fc4/ |
H A D | fc.c | 802 struct scatterlist *sg = (struct scatterlist *)SCpnt->request_buffer; local 805 FCD(("XXX: Use_sg %d %d\n", SCpnt->use_sg, sg->length)) 806 nents = dma_map_sg (fc->dev, sg, SCpnt->use_sg, 809 fcmd->data = sg_dma_address(sg); 810 cmd->fcp_data_len = sg_dma_len(sg);
|