Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/drivers/parisc/
Diommu-helpers.h36 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()
/kernel/linux/linux-5.10/drivers/scsi/arm/
Dscsi.h53 SCp->ptr = sg_virt(SCp->buffer); in next_SCp()
88 SCpnt->SCp.ptr = sg_virt(SCpnt->SCp.buffer); in init_SCp()
/kernel/linux/linux-5.10/drivers/crypto/ccree/
Dcc_buffer_mgr.c297 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()
507 sg_virt(req->src), areq_ctx->src.nents, areq_ctx->assoc.nents, in cc_unmap_aead_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()
[all …]
/kernel/linux/linux-5.10/arch/sparc/kernel/
Diommu_common.h36 #define SG_ENT_PHYS_ADDRESS(SG) (__pa(sg_virt((SG))))
/kernel/linux/linux-5.10/drivers/crypto/
Domap-crypto.c150 sg_set_buf(new_sg, sg_virt(*sg), (*sg)->length); in omap_crypto_align_sg()
211 buf = sg_virt(sg); in omap_crypto_cleanup()
Domap-des.c850 src = sg_virt(dd->in_sg) + _calc_walked(in); in omap_des_irq()
861 src = sg_virt(dd->in_sg) + in omap_des_irq()
883 dst = sg_virt(dd->out_sg) + _calc_walked(out); in omap_des_irq()
893 dst = sg_virt(dd->out_sg) + in omap_des_irq()
Domap-aes.c876 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()
/kernel/linux/linux-5.10/drivers/hwtracing/intel_th/
Dmsu.c285 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()
1034 set_memory_uc((unsigned long)sg_virt(sg_ptr), in msc_buffer_set_uc()
1046 set_memory_wb((unsigned long)sg_virt(sg_ptr), in msc_buffer_set_wb()
1132 sg_virt(sg), sg_dma_address(sg)); in __msc_buffer_win_free()
1195 struct msc_block_desc *bdesc = sg_virt(sg); in msc_buffer_relink()
Dmsu-sink.c89 sg_virt(sg_ptr), sg_dma_address(sg_ptr)); in msu_sink_free_window()
/kernel/linux/linux-5.10/kernel/dma/
Dvirt.c46 sg_dma_address(sg) = (uintptr_t)sg_virt(sg); in dma_virt_map_sg()
/kernel/linux/linux-5.10/drivers/s390/scsi/
Dzfcp_dbf.c486 memcpy(rec->payload, sg_virt(sg), rec_len); /* part of 1st sg entry */ in zfcp_dbf_san()
505 memcpy(payload->data, sg_virt(sg) + offset, pay_len); in zfcp_dbf_san()
546 struct fc_ct_hdr *reqh = sg_virt(ct_els->req); in zfcp_dbf_san_res_cap_len_if_gpn_ft()
575 acc = sg_virt(resp_entry); in zfcp_dbf_san_res_cap_len_if_gpn_ft()
595 acc = sg_virt(++resp_entry); in zfcp_dbf_san_res_cap_len_if_gpn_ft()
Dzfcp_fc.c636 free_page((unsigned long) sg_virt(sg)); in zfcp_fc_sg_free_table()
727 struct fc_ct_hdr *hdr = sg_virt(sg); in zfcp_fc_eval_gpn_ft()
728 struct fc_gpn_ft_resp *acc = sg_virt(sg); in zfcp_fc_eval_gpn_ft()
756 acc = sg_virt(++sg); in zfcp_fc_eval_gpn_ft()
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/
Dqat_asym_algs.c280 sg_virt(req->src), in qat_dh_compute_value()
310 qat_req->out.dh.r = dma_map_single(dev, sg_virt(req->dst), in qat_dh_compute_value()
687 qat_req->in.rsa.enc.m = dma_map_single(dev, sg_virt(req->src), in qat_rsa_enc()
706 qat_req->out.rsa.enc.c = dma_map_single(dev, sg_virt(req->dst), in qat_rsa_enc()
831 qat_req->in.rsa.dec.c = dma_map_single(dev, sg_virt(req->src), in qat_rsa_dec()
850 qat_req->out.rsa.dec.m = dma_map_single(dev, sg_virt(req->dst), in qat_rsa_dec()
/kernel/linux/linux-5.10/drivers/crypto/ccp/
Dccp-ops.c774 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()
/kernel/linux/linux-5.10/drivers/hsi/clients/
Dhsi_char.c147 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()
/kernel/linux/linux-5.10/drivers/nvme/target/
Dfcloop.c706 io_p = sg_virt(io_sg); in fcloop_fcp_copy_data()
715 io_p = sg_virt(io_sg); in fcloop_fcp_copy_data()
721 data_p = sg_virt(data_sg); in fcloop_fcp_copy_data()
738 io_p = sg_virt(io_sg); in fcloop_fcp_copy_data()
746 data_p = sg_virt(data_sg); in fcloop_fcp_copy_data()
/kernel/linux/linux-5.10/drivers/crypto/cavium/cpt/
Dcptvf_algs.c66 u8 *ptr = sg_virt(inp_sg); in update_input_data()
85 u8 *ptr = sg_virt(outp_sg); in update_output_data()
/kernel/linux/linux-5.10/drivers/mmc/host/
Dtmio_mmc_core.c369 void *sg_virt; in tmio_mmc_pio_irq() local
382 sg_virt = tmio_mmc_kmap_atomic(host->sg_ptr, &flags); in tmio_mmc_pio_irq()
383 buf = (unsigned short *)(sg_virt + host->sg_off); in tmio_mmc_pio_irq()
397 tmio_mmc_kunmap_atomic(host->sg_ptr, &flags, sg_virt); in tmio_mmc_pio_irq()
Dsh_mmcif.c614 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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_db.c47 db->virt_addr = sg_virt(page->umem->sg_head.sgl) + offset; in hns_roce_db_map_user()
/kernel/linux/linux-5.10/drivers/crypto/caam/
Dcaamrng.c128 len = caam_rng_read_one(ctx->jrdev, sg_virt(&sg[0]), in caam_rng_fill_async()
/kernel/linux/linux-5.10/drivers/usb/image/
Dmicrotek.c505 sg_virt(context->curr_sg), in mts_do_sg()
539 desc->context.data = sg_virt(desc->context.curr_sg); in mts_build_transfer_context()
/kernel/linux/linux-5.10/drivers/usb/usbip/
Dvhci_tx.c109 iov[iovnum].iov_base = sg_virt(sg); in vhci_send_cmd_submit()
/kernel/linux/linux-5.10/drivers/scsi/pcmcia/
Dsym53c500_cs.c423 sg_virt(sg), sg->length); in SYM53C500_intr()
442 sg_virt(sg), sg->length); in SYM53C500_intr()
Dnsp_cs.h385 # define BUFFER_ADDR ((char *)((sg_virt(SCpnt->SCp.buffer))))

1234