/drivers/scsi/ |
D | jazz_esp.c | 47 int num_sg, int dir) in jazz_esp_map_sg() argument 49 return dma_map_sg(esp->dev, sg, num_sg, dir); in jazz_esp_map_sg() 59 int num_sg, int dir) in jazz_esp_unmap_sg() argument 61 dma_unmap_sg(esp->dev, sg, num_sg, dir); in jazz_esp_unmap_sg()
|
D | sun3x_esp.c | 69 int num_sg, int dir) in sun3x_esp_map_sg() argument 71 return dma_map_sg(esp->dev, sg, num_sg, dir); in sun3x_esp_map_sg() 81 int num_sg, int dir) in sun3x_esp_unmap_sg() argument 83 dma_unmap_sg(esp->dev, sg, num_sg, dir); in sun3x_esp_unmap_sg()
|
D | esp_scsi.h | 240 int num_sg; member 358 int num_sg, int dir); 362 int num_sg, int dir);
|
D | mac_esp.c | 84 int num_sg, int dir) in mac_esp_map_sg() argument 88 for (i = 0; i < num_sg; i++) in mac_esp_map_sg() 90 return num_sg; in mac_esp_map_sg() 100 int num_sg, int dir) in mac_esp_unmap_sg() argument
|
D | sun_esp.c | 224 int num_sg, int dir) in sbus_esp_map_sg() argument 228 return dma_map_sg(&op->dev, sg, num_sg, dir); in sbus_esp_map_sg() 240 int num_sg, int dir) in sbus_esp_unmap_sg() argument 244 dma_unmap_sg(&op->dev, sg, num_sg, dir); in sbus_esp_unmap_sg()
|
D | esp_scsi.c | 336 spriv->u.num_sg = esp->ops->map_sg(esp, sg, scsi_sg_count(cmd), dir); in esp_map_dma() 341 for (i = 0; i < spriv->u.num_sg; i++) in esp_map_dma() 409 esp->ops->unmap_sg(esp, scsi_sglist(cmd), spriv->u.num_sg, dir); in esp_unmap_dma()
|
D | ipr.h | 1058 u32 num_sg; member
|
D | ipr.c | 2882 sglist->num_sg = num_elem; in ipr_alloc_ucode_buffer() 2917 for (i = 0; i < sglist->num_sg; i++) in ipr_free_ucode_buffer() 3039 sglist->num_sg, DMA_TO_DEVICE); in ipr_update_ioa_ucode() 6716 sglist->num_sg, DMA_TO_DEVICE); in ipr_reset_ucode_download_done()
|
/drivers/scsi/aic94xx/ |
D | aic94xx_task.c | 61 int num_sg, res; in asd_map_scatterlist() local 80 num_sg = task->num_scatter; in asd_map_scatterlist() 82 num_sg = pci_map_sg(asd_ha->pcidev, task->scatter, in asd_map_scatterlist() 84 if (num_sg == 0) in asd_map_scatterlist() 87 if (num_sg > 3) { in asd_map_scatterlist() 91 num_sg*sizeof(struct sg_el), in asd_map_scatterlist() 97 for_each_sg(task->scatter, sc, num_sg, i) { in asd_map_scatterlist() 102 if (i == num_sg-1) in asd_map_scatterlist() 118 for_each_sg(task->scatter, sc, num_sg, i) { in asd_map_scatterlist()
|
/drivers/net/ |
D | myri_sbus.h | 158 u32 num_sg; /* Total scatter entries. */ member 163 u32 num_sg; /* Total scatter entries. */ member
|
D | myri_sbus.c | 302 sbus_writel(1, &rxd[i].num_sg); in myri_init_rings() 456 sbus_writel(1, &rxd->num_sg); in myri_rx() 486 sbus_writel(1, &rxd->num_sg); in myri_rx() 514 sbus_writel(1, &rxd->num_sg); in myri_rx() 663 sbus_writel(1, &txd->num_sg); in myri_start_xmit()
|
/drivers/mmc/host/ |
D | wbsd.c | 245 host->num_sg = data->sg_len; in wbsd_init_sg() 257 host->num_sg--; in wbsd_next_sg() 262 if (host->num_sg > 0) { in wbsd_next_sg() 267 return host->num_sg; in wbsd_next_sg() 425 if (host->num_sg == 0) in wbsd_empty_fifo() 488 if (host->num_sg == 0) in wbsd_fill_fifo() 1074 if (host->num_sg == 0) { in wbsd_tasklet_fifo()
|
D | wbsd.h | 156 unsigned int num_sg; /* Number of entries left */ member
|
/drivers/block/ |
D | viodasd.c | 559 int num_sg, num_sect, pci_direction, total_len; in viodasd_handle_read_write() local 568 num_sg = block_event_to_scatterlist(bevent, sg, &total_len); in viodasd_handle_read_write() 577 dma_unmap_sg(d->dev, sg, num_sg, pci_direction); in viodasd_handle_read_write()
|
/drivers/usb/storage/ |
D | transport.c | 418 struct scatterlist *sg, int num_sg, unsigned int length, in usb_stor_bulk_transfer_sglist() argument 429 length, num_sg); in usb_stor_bulk_transfer_sglist() 431 sg, num_sg, length, GFP_NOIO); in usb_stor_bulk_transfer_sglist()
|