Home
last modified time | relevance | path

Searched refs:sg_virt (Results 1 – 25 of 83) sorted by relevance

1234

/linux-3.4.99/arch/xtensa/include/asm/
Ddma-mapping.h64 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/
Ddma-nommu.c38 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/
Dscsi.h56 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/
Dscatterlist.h8 #define sg_virt_addr(sg) ((unsigned long)sg_virt(sg))
/linux-3.4.99/arch/blackfin/kernel/
Ddma-mapping.c131 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/
Ddma-mapping.h221 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/
Diommu_common.h36 #define SG_ENT_PHYS_ADDRESS(SG) (__pa(sg_virt((SG))))
/linux-3.4.99/drivers/crypto/caam/
Dcaamalg.c883 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/
Dzfcp_cfdc.c66 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()
Dzfcp_dbf.c351 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()
Dzfcp_fc.c593 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/
Dscatterlist.h199 static inline void *sg_virt(struct scatterlist *sg) in sg_virt() function
/linux-3.4.99/arch/alpha/kernel/
Dpci-noop.c151 va = sg_virt(sg); in alpha_noop_map_sg()
/linux-3.4.99/arch/c6x/kernel/
Ddma.c71 sg->dma_address = dma_map_single(dev, sg_virt(sg), sg->length, in dma_map_sg()
/linux-3.4.99/drivers/mmc/host/
Dtmio_mmc_pio.c361 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()
Dsh_mmcif.c533 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()
Datmel-mci.c1590 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/
Dhsi_char.c160 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/
Dqset.c280 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/
Dsep_crypto.c244 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/
Dfd_mcs.c976 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()
Dfdomain.c1326 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/
Ddma-mapping.h113 kmemcheck_mark_initialized(sg_virt(s), s->length); in dma_map_sg()
/linux-3.4.99/drivers/usb/image/
Dmicrotek.c513 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/
Dsym53c500_cs.c432 sg_virt(sg), sg->length); in SYM53C500_intr()
451 sg_virt(sg), sg->length); in SYM53C500_intr()

1234