Home
last modified time | relevance | path

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

1234

/linux-6.3-rc2/drivers/parisc/
A 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()
/linux-6.3-rc2/drivers/scsi/arm/
A Darm_scsi.h62 SCp->ptr = sg_virt(SCp->buffer); in next_SCp()
99 scsi_pointer->ptr = sg_virt(scsi_pointer->buffer); in init_SCp()
/linux-6.3-rc2/drivers/crypto/ccree/
A Dcc_buffer_mgr.c304 sg_virt(&areq_ctx->ccm_adata_sg), in cc_set_aead_conf_buf()
328 sg_virt(areq_ctx->buff_sg), areq_ctx->buff_sg->offset, in cc_set_hash_buf()
362 dev_dbg(dev, "Unmapped req->dst=%pK\n", sg_virt(dst)); in cc_unmap_cipher_request()
363 dev_dbg(dev, "Unmapped req->src=%pK\n", sg_virt(src)); in cc_unmap_cipher_request()
366 dev_dbg(dev, "Unmapped req->src=%pK\n", sg_virt(src)); in cc_unmap_cipher_request()
524 sg_virt(req->dst)); in cc_unmap_aead_request()
672 areq_ctx->icv_virt_addr = sg_virt(sg) + offset; in cc_prepare_aead_data_dlli()
723 areq_ctx->icv_virt_addr = sg_virt(sg) + in cc_prepare_aead_data_mlli()
755 areq_ctx->icv_virt_addr = sg_virt(sg) + in cc_prepare_aead_data_mlli()
779 areq_ctx->icv_virt_addr = sg_virt(sg) + in cc_prepare_aead_data_mlli()
[all …]
/linux-6.3-rc2/drivers/crypto/
A Domap-crypto.c150 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 Domap-des.c849 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 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()
/linux-6.3-rc2/arch/sparc/kernel/
A Diommu_common.h36 #define SG_ENT_PHYS_ADDRESS(SG) (__pa(sg_virt((SG))))
/linux-6.3-rc2/drivers/hwtracing/intel_th/
A 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()
663 struct msc_block_desc *bdesc = sg_virt(sg); in msc_buffer_clear_hw_header()
1017 sg_virt(sg_ptr), sg_dma_address(sg_ptr)); in __msc_buffer_win_alloc()
1039 set_memory_uc((unsigned long)sg_virt(sg_ptr), in msc_buffer_set_uc()
1059 set_memory_wb((unsigned long)sg_virt(sg_ptr), in msc_buffer_set_wb()
1072 void *addr = sg_virt(sg); in msc_sg_page()
1154 sg_virt(sg), sg_dma_address(sg)); in __msc_buffer_win_free()
[all …]
A Dmsu-sink.c92 sg_virt(sg_ptr), sg_dma_address(sg_ptr)); in msu_sink_free_window()
/linux-6.3-rc2/sound/virtio/
A Dvirtio_ctl_msg.c60 return sg_virt(&msg->sg_request); in virtsnd_ctl_msg_request()
71 return sg_virt(&msg->sg_response); in virtsnd_ctl_msg_response()
/linux-6.3-rc2/drivers/mmc/host/
A Dtmio_mmc_core.c412 void *sg_virt; in tmio_mmc_pio_irq() local
424 sg_virt = kmap_local_page(sg_page(host->sg_ptr)); in tmio_mmc_pio_irq()
425 buf = (unsigned short *)(sg_virt + host->sg_ptr->offset + host->sg_off); in tmio_mmc_pio_irq()
439 kunmap_local(sg_virt); in tmio_mmc_pio_irq()
448 void *sg_virt = kmap_local_page(sg_page(host->sg_orig)); in tmio_mmc_check_bounce_buffer() local
450 memcpy(sg_virt + host->sg_orig->offset, host->bounce_buf, in tmio_mmc_check_bounce_buffer()
452 kunmap_local(sg_virt); in tmio_mmc_check_bounce_buffer()
A Dsh_mmcif.c616 host->pio_ptr = sg_virt(++data->sg); in sh_mmcif_next_block()
640 u32 *p = sg_virt(data->sg); in sh_mmcif_read_block()
673 host->pio_ptr = sg_virt(data->sg); in sh_mmcif_multi_read()
720 u32 *p = sg_virt(data->sg); in sh_mmcif_write_block()
753 host->pio_ptr = sg_virt(data->sg); in sh_mmcif_multi_write()
/linux-6.3-rc2/drivers/crypto/qat/qat_common/
A Dqat_bl.c106 bufl->buffers[y].addr = dma_map_single(dev, sg_virt(sg) + left, in __qat_bl_sgl_to_bufl()
161 buffers[y].addr = dma_map_single(dev, sg_virt(sg) + left, in __qat_bl_sgl_to_bufl()
293 bufl->buffers[y].addr = dma_map_single(dev, sg_virt(sg), in qat_bl_sgl_map()
A Dqat_asym_algs.c291 vaddr = sg_virt(req->src); in qat_dh_compute_value()
319 vaddr = sg_virt(req->dst); in qat_dh_compute_value()
699 vaddr = sg_virt(req->src); in qat_rsa_enc()
719 vaddr = sg_virt(req->dst); in qat_rsa_enc()
843 vaddr = sg_virt(req->src); in qat_rsa_dec()
863 vaddr = sg_virt(req->dst); in qat_rsa_dec()
/linux-6.3-rc2/drivers/s390/scsi/
A Dzfcp_dbf.c503 memcpy(rec->payload, sg_virt(sg), rec_len); /* part of 1st sg entry */ in zfcp_dbf_san()
522 memcpy(payload->data, sg_virt(sg) + offset, pay_len); in zfcp_dbf_san()
563 struct fc_ct_hdr *reqh = sg_virt(ct_els->req); in zfcp_dbf_san_res_cap_len_if_gpn_ft()
592 acc = sg_virt(resp_entry); in zfcp_dbf_san_res_cap_len_if_gpn_ft()
612 acc = sg_virt(++resp_entry); in zfcp_dbf_san_res_cap_len_if_gpn_ft()
A Dzfcp_fc.c647 free_page((unsigned long) sg_virt(sg)); in zfcp_fc_sg_free_table()
738 struct fc_ct_hdr *hdr = sg_virt(sg); in zfcp_fc_eval_gpn_ft()
739 struct fc_gpn_ft_resp *acc = sg_virt(sg); in zfcp_fc_eval_gpn_ft()
767 acc = sg_virt(++sg); in zfcp_fc_eval_gpn_ft()
/linux-6.3-rc2/drivers/crypto/ccp/
A 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()
/linux-6.3-rc2/drivers/hsi/clients/
A 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()
/linux-6.3-rc2/drivers/nvme/target/
A Dfcloop.c754 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-6.3-rc2/drivers/crypto/cavium/cpt/
A Dcptvf_algs.c66 u8 *ptr = sg_virt(inp_sg); in update_input_data()
85 u8 *ptr = sg_virt(outp_sg); in update_output_data()
/linux-6.3-rc2/drivers/infiniband/hw/hns/
A Dhns_roce_db.c45 db->virt_addr = sg_virt(page->umem->sgt_append.sgt.sgl) + offset; in hns_roce_db_map_user()
/linux-6.3-rc2/drivers/crypto/caam/
A Dcaamrng.c130 len = caam_rng_read_one(ctx->jrdev, sg_virt(&sg[0]), in caam_rng_fill_async()
/linux-6.3-rc2/drivers/usb/image/
A Dmicrotek.c509 sg_virt(context->curr_sg), in mts_do_sg()
543 desc->context.data = sg_virt(desc->context.curr_sg); in mts_build_transfer_context()
/linux-6.3-rc2/drivers/usb/usbip/
A Dvhci_tx.c109 iov[iovnum].iov_base = sg_virt(sg); in vhci_send_cmd_submit()
/linux-6.3-rc2/drivers/scsi/pcmcia/
A Dsym53c500_cs.c430 sg_virt(sg), sg->length); in SYM53C500_intr()
449 sg_virt(sg), sg->length); in SYM53C500_intr()

Completed in 51 milliseconds

1234