Home
last modified time | relevance | path

Searched refs:single_sgt (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/hwtracing/intel_th/
Dmsu.c139 struct sg_table single_sgt; member
920 ret = sg_alloc_table(&msc->single_sgt, 1, GFP_KERNEL); in msc_buffer_contig_alloc()
930 sg_set_buf(msc->single_sgt.sgl, page_address(page), size); in msc_buffer_contig_alloc()
932 ret = dma_map_sg(msc_dev(msc)->parent->parent, msc->single_sgt.sgl, 1, in msc_buffer_contig_alloc()
939 msc->base_addr = sg_dma_address(msc->single_sgt.sgl); in msc_buffer_contig_alloc()
947 sg_free_table(&msc->single_sgt); in msc_buffer_contig_alloc()
961 dma_unmap_sg(msc_dev(msc)->parent->parent, msc->single_sgt.sgl, in msc_buffer_contig_free()
963 sg_free_table(&msc->single_sgt); in msc_buffer_contig_free()