/linux-3.4.99/arch/xtensa/include/asm/ |
D | dma-mapping.h | 64 consistent_sync(sg_virt(sg), sg->length, direction); in dma_map_sg() 130 consistent_sync(sg_virt(sg), sg->length, dir); in dma_sync_sg_for_cpu() 139 consistent_sync(sg_virt(sg), sg->length, dir); in dma_sync_sg_for_device()
|
/linux-3.4.99/arch/sh/kernel/ |
D | dma-nommu.c | 38 dma_cache_sync(dev, sg_virt(s), s->length, dir); in nommu_map_sg() 61 dma_cache_sync(dev, sg_virt(s), s->length, dir); in nommu_sync_sg()
|
/linux-3.4.99/drivers/scsi/arm/ |
D | scsi.h | 56 SCp->ptr = sg_virt(SCp->buffer); in next_SCp() 91 SCpnt->SCp.ptr = sg_virt(SCpnt->SCp.buffer); in init_SCp()
|
/linux-3.4.99/arch/parisc/include/asm/ |
D | scatterlist.h | 8 #define sg_virt_addr(sg) ((unsigned long)sg_virt(sg))
|
/linux-3.4.99/arch/blackfin/kernel/ |
D | dma-mapping.c | 131 sg->dma_address = (dma_addr_t) sg_virt(sg); in dma_map_sg() 145 sg->dma_address = (dma_addr_t) sg_virt(sg); in dma_sync_sg_for_device()
|
/linux-3.4.99/arch/avr32/include/asm/ |
D | dma-mapping.h | 221 virt = sg_virt(&sg[i]); in dma_map_sg() 330 dma_cache_sync(dev, sg_virt(&sg[i]), sg[i].length, direction); in dma_sync_sg_for_device()
|
/linux-3.4.99/arch/sparc/kernel/ |
D | iommu_common.h | 36 #define SG_ENT_PHYS_ADDRESS(SG) (__pa(sg_virt((SG))))
|
/linux-3.4.99/drivers/crypto/caam/ |
D | caamalg.c | 883 DUMP_PREFIX_ADDRESS, 16, 4, sg_virt(req->assoc), in aead_encrypt_done() 886 DUMP_PREFIX_ADDRESS, 16, 4, sg_virt(req->src) - ivsize, in aead_encrypt_done() 889 DUMP_PREFIX_ADDRESS, 16, 4, sg_virt(req->src), in aead_encrypt_done() 920 DUMP_PREFIX_ADDRESS, 16, 4, sg_virt(req->dst), in aead_decrypt_done() 941 ((char *)sg_virt(req->assoc) - sizeof(struct iphdr)), in aead_decrypt_done() 948 DUMP_PREFIX_ADDRESS, 16, 4, sg_virt(sg), in aead_decrypt_done() 984 DUMP_PREFIX_ADDRESS, 16, 4, sg_virt(req->src), in ablkcipher_encrypt_done() 1019 DUMP_PREFIX_ADDRESS, 16, 4, sg_virt(req->src), in ablkcipher_decrypt_done() 1094 DUMP_PREFIX_ADDRESS, 16, 4, sg_virt(req->assoc), in init_aead_job() 1100 DUMP_PREFIX_ADDRESS, 16, 4, sg_virt(req->src), in init_aead_job() [all …]
|
/linux-3.4.99/drivers/s390/scsi/ |
D | zfcp_cfdc.c | 66 if (copy_from_user(sg_virt(sg++), user_buffer, length)) in zfcp_cfdc_copy_from_user() 82 if (copy_to_user(user_buffer, sg_virt(sg++), length)) in zfcp_cfdc_copy_to_user()
|
D | zfcp_dbf.c | 351 zfcp_dbf_san(tag, dbf, sg_virt(ct_els->req), ZFCP_DBF_SAN_REQ, length, in zfcp_dbf_san_req() 367 zfcp_dbf_san(tag, dbf, sg_virt(ct_els->resp), ZFCP_DBF_SAN_RES, length, in zfcp_dbf_san_res()
|
D | zfcp_fc.c | 593 struct fc_ct_hdr *hdr = sg_virt(sg); in zfcp_fc_eval_gpn_ft() 594 struct fc_gpn_ft_resp *acc = sg_virt(sg); in zfcp_fc_eval_gpn_ft() 622 acc = sg_virt(++sg); in zfcp_fc_eval_gpn_ft()
|
/linux-3.4.99/include/linux/ |
D | scatterlist.h | 199 static inline void *sg_virt(struct scatterlist *sg) in sg_virt() function
|
/linux-3.4.99/arch/alpha/kernel/ |
D | pci-noop.c | 151 va = sg_virt(sg); in alpha_noop_map_sg()
|
/linux-3.4.99/arch/c6x/kernel/ |
D | dma.c | 71 sg->dma_address = dma_map_single(dev, sg_virt(sg), sg->length, in dma_map_sg()
|
/linux-3.4.99/drivers/mmc/host/ |
D | tmio_mmc_pio.c | 361 void *sg_virt; in tmio_mmc_pio_irq() local 374 sg_virt = tmio_mmc_kmap_atomic(host->sg_ptr, &flags); in tmio_mmc_pio_irq() 375 buf = (unsigned short *)(sg_virt + host->sg_off); in tmio_mmc_pio_irq() 392 tmio_mmc_kunmap_atomic(host->sg_ptr, &flags, sg_virt); in tmio_mmc_pio_irq()
|
D | sh_mmcif.c | 533 host->pio_ptr = sg_virt(++data->sg); in sh_mmcif_next_block() 560 u32 *p = sg_virt(data->sg); in sh_mmcif_read_block() 592 host->pio_ptr = sg_virt(data->sg); in sh_mmcif_multi_read() 638 u32 *p = sg_virt(data->sg); in sh_mmcif_write_block() 670 host->pio_ptr = sg_virt(data->sg); in sh_mmcif_multi_write()
|
D | atmel-mci.c | 1590 void *buf = sg_virt(sg); in atmci_read_data_pio() 1613 buf = sg_virt(sg); in atmci_read_data_pio() 1627 buf = sg_virt(sg); in atmci_read_data_pio() 1661 void *buf = sg_virt(sg); in atmci_write_data_pio() 1682 buf = sg_virt(sg); in atmci_write_data_pio() 1699 buf = sg_virt(sg); in atmci_write_data_pio()
|
/linux-3.4.99/drivers/hsi/clients/ |
D | hsi_char.c | 160 kfree(sg_virt(msg->sgt.sgl)); in hsc_msg_free() 468 sg_virt(msg->sgt.sgl), hsc_msg_len_get(msg)); in hsc_read() 504 if (copy_from_user(sg_virt(msg->sgt.sgl), (void __user *)buf, len)) { in hsc_write()
|
/linux-3.4.99/drivers/usb/host/whci/ |
D | qset.c | 280 memcpy(sg_virt(sg) + offset, bounce, len); in qset_copy_bounce_to_sg() 574 orig = sg_virt(sg); in qset_add_urb_sg_linearize() 585 std->bounce_offset = orig - sg_virt(sg); in qset_add_urb_sg_linearize()
|
/linux-3.4.99/drivers/staging/sep/ |
D | sep_crypto.c | 244 free_page((unsigned long)sg_virt(sg_temp)); in sep_free_sg_buf() 292 memcpy(sg_virt(sg_dst_tmp) + out_offset, in sep_copy_sg() 293 sg_virt(sg_src_tmp) + in_offset, in sep_copy_sg() 434 memcpy(dst, sg_virt(sg) + offset_within_page, len); in sep_copy_offset_sg() 444 sg_virt(sg) + offset_within_page, in sep_copy_offset_sg() 450 sg_virt(sg) + offset_within_page, in sep_copy_offset_sg() 526 ptt = sg_virt(sg); in sep_dump_sg() 1245 src_ptr = sg_virt(ta_ctx->src_sg); in sep_crypto_block_data() 1246 dst_ptr = sg_virt(ta_ctx->dst_sg); in sep_crypto_block_data() 2270 src_ptr = sg_virt(ta_ctx->src_sg); in sep_hash_update() [all …]
|
/linux-3.4.99/drivers/scsi/ |
D | fd_mcs.c | 976 current_SC->SCp.ptr = sg_virt(current_SC->SCp.buffer); in fd_mcs_intr() 1009 current_SC->SCp.ptr = sg_virt(current_SC->SCp.buffer); in fd_mcs_intr() 1096 current_SC->SCp.ptr = sg_virt(current_SC->SCp.buffer); in fd_mcs_queue_lck()
|
D | fdomain.c | 1326 current_SC->SCp.ptr = sg_virt(current_SC->SCp.buffer); in do_fdomain_16x0_intr() 1359 current_SC->SCp.ptr = sg_virt(current_SC->SCp.buffer); in do_fdomain_16x0_intr() 1444 current_SC->SCp.ptr = sg_virt(current_SC->SCp.buffer); in fdomain_16x0_queue_lck()
|
/linux-3.4.99/arch/openrisc/include/asm/ |
D | dma-mapping.h | 113 kmemcheck_mark_initialized(sg_virt(s), s->length); in dma_map_sg()
|
/linux-3.4.99/drivers/usb/image/ |
D | microtek.c | 513 sg_virt(&sg[context->fragment]), in mts_do_sg() 549 desc->context.data = sg_virt(&sg[0]); in mts_build_transfer_context()
|
/linux-3.4.99/drivers/scsi/pcmcia/ |
D | sym53c500_cs.c | 432 sg_virt(sg), sg->length); in SYM53C500_intr() 451 sg_virt(sg), sg->length); in SYM53C500_intr()
|