Home
last modified time | relevance | path

Searched refs:sg_nents (Results 1 – 12 of 12) sorted by relevance

/drivers/ide/
Dide-dma-sff.c123 hwif->sg_nents = ide_build_sglist(drive, rq); in ide_build_dmatable()
124 if (hwif->sg_nents == 0) in ide_build_dmatable()
127 for_each_sg(hwif->sg_table, sg, hwif->sg_nents, i) { in ide_build_dmatable()
Dide-dma.c140 i = dma_map_sg(hwif->dev, sg, hwif->sg_nents, hwif->sg_dma_direction); in ide_build_sglist()
142 hwif->orig_sg_nents = hwif->sg_nents; in ide_build_sglist()
143 hwif->sg_nents = i; in ide_build_sglist()
Dau1xxx-ide.c224 hwif->sg_nents = i = ide_build_sglist(drive, rq); in auide_build_dmatable()
291 if (hwif->sg_nents) { in auide_dma_end()
293 hwif->sg_nents = 0; in auide_dma_end()
Dtx4939ide.c241 hwif->sg_nents = ide_build_sglist(drive, rq); in tx4939ide_build_dmatable()
242 if (hwif->sg_nents == 0) in tx4939ide_build_dmatable()
245 for_each_sg(hwif->sg_table, sg, hwif->sg_nents, i) { in tx4939ide_build_dmatable()
Dicside.c328 hwif->sg_nents = ide_build_sglist(drive, rq); in icside_dma_setup()
349 set_dma_sg(ec->dma, hwif->sg_table, hwif->sg_nents); in icside_dma_setup()
Dide-io.c423 hwif->sg_nents = 1; in ide_map_sg()
426 hwif->sg_nents = 1; in ide_map_sg()
428 hwif->sg_nents = blk_rq_map_sg(drive->queue, rq, sg); in ide_map_sg()
Dsgiioc4.c435 hwif->sg_nents = i = ide_build_sglist(drive, rq); in sgiioc4_build_dma_table()
Dide-floppy.c336 pc->sg_cnt = hwif->sg_nents; in ide_floppy_do_request()
Dpmac.c1445 hwif->sg_nents = i = ide_build_sglist(drive, rq); in pmac_ide_build_dmatable()
/drivers/message/i2o/
Di2o_block.h93 int sg_nents; /* number of SG elements */ member
Di2o_block.c328 ireq->sg_nents = nents; in i2o_block_sglist_alloc()
348 dma_unmap_sg(ireq->dev, ireq->sg_table, ireq->sg_nents, direction); in i2o_block_sglist_free()
/drivers/crypto/
Dtalitos.c1043 int sg_nents = 0; in sg_count() local
1046 sg_nents++; in sg_count()
1051 return sg_nents; in sg_count()