/linux/drivers/parisc/ |
A D | iommu-helpers.h | 36 sg_virt(startsg), startsg->length in iommu_fill_pdir() 70 vaddr = (unsigned long)sg_virt(startsg); in iommu_fill_pdir() 134 prev_end = (unsigned long)sg_virt(startsg) + in iommu_coalesce_chunks() 138 sg_start = (unsigned long)sg_virt(startsg); in iommu_coalesce_chunks()
|
/linux/drivers/crypto/ccree/ |
A D | cc_buffer_mgr.c | 297 sg_virt(&areq_ctx->ccm_adata_sg), in cc_set_aead_conf_buf() 321 sg_virt(areq_ctx->buff_sg), areq_ctx->buff_sg->offset, in cc_set_hash_buf() 353 dev_dbg(dev, "Unmapped req->src=%pK\n", sg_virt(src)); in cc_unmap_cipher_request() 357 dev_dbg(dev, "Unmapped req->dst=%pK\n", sg_virt(dst)); in cc_unmap_cipher_request() 514 sg_virt(req->dst)); in cc_unmap_aead_request() 663 areq_ctx->icv_virt_addr = sg_virt(sg) + offset; in cc_prepare_aead_data_dlli() 714 areq_ctx->icv_virt_addr = sg_virt(sg) + in cc_prepare_aead_data_mlli() 746 areq_ctx->icv_virt_addr = sg_virt(sg) + in cc_prepare_aead_data_mlli() 770 areq_ctx->icv_virt_addr = sg_virt(sg) + in cc_prepare_aead_data_mlli() 1341 sg_virt(src), &sg_dma_address(src), sg_dma_len(src)); in cc_unmap_hash_request() [all …]
|
/linux/drivers/scsi/arm/ |
A D | scsi.h | 53 SCp->ptr = sg_virt(SCp->buffer); in next_SCp() 88 SCpnt->SCp.ptr = sg_virt(SCpnt->SCp.buffer); in init_SCp()
|
/linux/drivers/crypto/ |
A D | omap-crypto.c | 150 sg_set_buf(new_sg, sg_virt(*sg), (*sg)->length); in omap_crypto_align_sg() 210 buf = sg_virt(sg); in omap_crypto_cleanup()
|
A D | omap-des.c | 849 src = sg_virt(dd->in_sg) + _calc_walked(in); in omap_des_irq() 860 src = sg_virt(dd->in_sg) + in omap_des_irq() 882 dst = sg_virt(dd->out_sg) + _calc_walked(out); in omap_des_irq() 892 dst = sg_virt(dd->out_sg) + in omap_des_irq()
|
A D | omap-aes.c | 876 src = sg_virt(dd->in_sg) + _calc_walked(in); in omap_aes_irq() 887 src = sg_virt(dd->in_sg) + in omap_aes_irq() 909 dst = sg_virt(dd->out_sg) + _calc_walked(out); in omap_aes_irq() 919 dst = sg_virt(dd->out_sg) + in omap_aes_irq()
|
/linux/drivers/hwtracing/intel_th/ |
A D | msu.c | 285 return sg_virt(msc_win_base_sg(win)); in msc_win_base() 331 struct msc_block_desc *bdesc = sg_virt(sg); in msc_win_total_sz() 426 struct msc_block_desc *bdesc = sg_virt(sg); in msc_win_oldest_sg() 437 return sg_virt(iter->block); in msc_iter_bdesc() 665 struct msc_block_desc *bdesc = sg_virt(sg); in msc_buffer_clear_hw_header() 1019 sg_virt(sg_ptr), sg_dma_address(sg_ptr)); in __msc_buffer_win_alloc() 1041 set_memory_uc((unsigned long)sg_virt(sg_ptr), in msc_buffer_set_uc() 1061 set_memory_wb((unsigned long)sg_virt(sg_ptr), in msc_buffer_set_wb() 1146 sg_virt(sg), sg_dma_address(sg)); in __msc_buffer_win_free() 1207 struct msc_block_desc *bdesc = sg_virt(sg); in msc_buffer_relink()
|
A D | msu-sink.c | 89 sg_virt(sg_ptr), sg_dma_address(sg_ptr)); in msu_sink_free_window()
|
/linux/sound/virtio/ |
A D | virtio_ctl_msg.c | 60 return sg_virt(&msg->sg_request); in virtsnd_ctl_msg_request() 71 return sg_virt(&msg->sg_response); in virtsnd_ctl_msg_response()
|
/linux/arch/sparc/kernel/ |
A D | iommu_common.h | 36 #define SG_ENT_PHYS_ADDRESS(SG) (__pa(sg_virt((SG))))
|
/linux/drivers/s390/scsi/ |
A D | zfcp_dbf.c | 461 memcpy(rec->payload, sg_virt(sg), rec_len); /* part of 1st sg entry */ in zfcp_dbf_san() 480 memcpy(payload->data, sg_virt(sg) + offset, pay_len); in zfcp_dbf_san() 521 struct fc_ct_hdr *reqh = sg_virt(ct_els->req); in zfcp_dbf_san_res_cap_len_if_gpn_ft() 550 acc = sg_virt(resp_entry); in zfcp_dbf_san_res_cap_len_if_gpn_ft() 570 acc = sg_virt(++resp_entry); in zfcp_dbf_san_res_cap_len_if_gpn_ft()
|
A D | zfcp_fc.c | 625 free_page((unsigned long) sg_virt(sg)); in zfcp_fc_sg_free_table() 716 struct fc_ct_hdr *hdr = sg_virt(sg); in zfcp_fc_eval_gpn_ft() 717 struct fc_gpn_ft_resp *acc = sg_virt(sg); in zfcp_fc_eval_gpn_ft() 745 acc = sg_virt(++sg); in zfcp_fc_eval_gpn_ft()
|
/linux/drivers/crypto/stm32/ |
A D | stm32-cryp.c | 654 buf_in = sg_virt(&cryp->in_sgl); in stm32_cryp_finish_req() 655 buf_out = sg_virt(&cryp->out_sgl); in stm32_cryp_finish_req() 1083 return (sg_virt(cryp->out_sg) + _walked_out); in stm32_cryp_next_out() 1099 return (sg_virt(cryp->in_sg) + _walked_in); in stm32_cryp_next_in() 1169 dst = sg_virt(cryp->out_sg) + _walked_out; in stm32_cryp_read_auth_tag() 1256 dst = sg_virt(cryp->out_sg) + _walked_out; in stm32_cryp_irq_read_data() 1297 src = sg_virt(cryp->in_sg) + _walked_in; in stm32_cryp_irq_write_block() 1545 src = sg_virt(cryp->in_sg) + _walked_in; in stm32_cryp_irq_write_gcm_header() 1598 src = sg_virt(cryp->in_sg) + _walked_in; in stm32_cryp_irq_write_ccm_header()
|
/linux/drivers/crypto/qat/qat_common/ |
A D | qat_asym_algs.c | 275 sg_virt(req->src), in qat_dh_compute_value() 305 qat_req->out.dh.r = dma_map_single(dev, sg_virt(req->dst), in qat_dh_compute_value() 682 qat_req->in.rsa.enc.m = dma_map_single(dev, sg_virt(req->src), in qat_rsa_enc() 701 qat_req->out.rsa.enc.c = dma_map_single(dev, sg_virt(req->dst), in qat_rsa_enc() 826 qat_req->in.rsa.dec.c = dma_map_single(dev, sg_virt(req->src), in qat_rsa_dec() 845 qat_req->out.rsa.dec.m = dma_map_single(dev, sg_virt(req->dst), in qat_rsa_dec()
|
/linux/drivers/crypto/ccp/ |
A D | ccp-ops.c | 774 in_place = (sg_virt(p_inp) == sg_virt(p_outp)) ? true : false; in ccp_run_aes_gcm_cmd() 1016 if (sg_virt(aes->src) == sg_virt(aes->dst)) in ccp_run_aes_cmd() 1226 if (sg_virt(xts->src) == sg_virt(xts->dst)) in ccp_run_xts_aes_cmd() 1415 if (sg_virt(des3->src) == sg_virt(des3->dst)) in ccp_run_des3_cmd() 2019 if (sg_virt(pt->src) == sg_virt(pt->dst)) in ccp_run_passthru_cmd()
|
/linux/drivers/nvme/target/ |
A D | fcloop.c | 754 io_p = sg_virt(io_sg); in fcloop_fcp_copy_data() 763 io_p = sg_virt(io_sg); in fcloop_fcp_copy_data() 769 data_p = sg_virt(data_sg); in fcloop_fcp_copy_data() 786 io_p = sg_virt(io_sg); in fcloop_fcp_copy_data() 794 data_p = sg_virt(data_sg); in fcloop_fcp_copy_data()
|
/linux/drivers/hsi/clients/ |
A D | hsi_char.c | 147 kfree(sg_virt(msg->sgt.sgl)); in hsc_msg_free() 455 sg_virt(msg->sgt.sgl), hsc_msg_len_get(msg)); in hsc_read() 491 if (copy_from_user(sg_virt(msg->sgt.sgl), (void __user *)buf, len)) { in hsc_write()
|
/linux/drivers/mmc/host/ |
A D | tmio_mmc_core.c | 396 void *sg_virt; in tmio_mmc_pio_irq() local 409 sg_virt = tmio_mmc_kmap_atomic(host->sg_ptr, &flags); in tmio_mmc_pio_irq() 410 buf = (unsigned short *)(sg_virt + host->sg_off); in tmio_mmc_pio_irq() 424 tmio_mmc_kunmap_atomic(host->sg_ptr, &flags, sg_virt); in tmio_mmc_pio_irq()
|
A D | sh_mmcif.c | 614 host->pio_ptr = sg_virt(++data->sg); in sh_mmcif_next_block() 638 u32 *p = sg_virt(data->sg); in sh_mmcif_read_block() 671 host->pio_ptr = sg_virt(data->sg); in sh_mmcif_multi_read() 718 u32 *p = sg_virt(data->sg); in sh_mmcif_write_block() 751 host->pio_ptr = sg_virt(data->sg); in sh_mmcif_multi_write()
|
/linux/drivers/crypto/cavium/cpt/ |
A D | cptvf_algs.c | 66 u8 *ptr = sg_virt(inp_sg); in update_input_data() 85 u8 *ptr = sg_virt(outp_sg); in update_output_data()
|
/linux/drivers/infiniband/hw/hns/ |
A D | hns_roce_db.c | 46 db->virt_addr = sg_virt(page->umem->sgt_append.sgt.sgl) + offset; in hns_roce_db_map_user()
|
/linux/drivers/usb/image/ |
A D | microtek.c | 505 sg_virt(context->curr_sg), in mts_do_sg() 539 desc->context.data = sg_virt(desc->context.curr_sg); in mts_build_transfer_context()
|
/linux/drivers/crypto/caam/ |
A D | caamrng.c | 128 len = caam_rng_read_one(ctx->jrdev, sg_virt(&sg[0]), in caam_rng_fill_async()
|
/linux/drivers/scsi/pcmcia/ |
A D | sym53c500_cs.c | 423 sg_virt(sg), sg->length); in SYM53C500_intr() 442 sg_virt(sg), sg->length); in SYM53C500_intr()
|
/linux/drivers/usb/usbip/ |
A D | vhci_tx.c | 109 iov[iovnum].iov_base = sg_virt(sg); in vhci_send_cmd_submit()
|