Home
last modified time | relevance | path

Searched refs:flat_buf (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-6.6/drivers/hwtracing/coresight/
H A Dcoresight-tmc-etr.c600 struct etr_flat_buf *flat_buf; in tmc_etr_alloc_flat_buf() local
607 flat_buf = kzalloc(sizeof(*flat_buf), GFP_KERNEL); in tmc_etr_alloc_flat_buf()
608 if (!flat_buf) in tmc_etr_alloc_flat_buf()
611 flat_buf->vaddr = dma_alloc_noncoherent(real_dev, etr_buf->size, in tmc_etr_alloc_flat_buf()
612 &flat_buf->daddr, in tmc_etr_alloc_flat_buf()
615 if (!flat_buf->vaddr) { in tmc_etr_alloc_flat_buf()
616 kfree(flat_buf); in tmc_etr_alloc_flat_buf()
620 flat_buf->size = etr_buf->size; in tmc_etr_alloc_flat_buf()
621 flat_buf in tmc_etr_alloc_flat_buf()
630 struct etr_flat_buf *flat_buf = etr_buf->private; tmc_etr_free_flat_buf() local
644 struct etr_flat_buf *flat_buf = etr_buf->private; tmc_etr_sync_flat_buf() local
674 struct etr_flat_buf *flat_buf = etr_buf->private; tmc_etr_get_data_flat_buf() local
[all...]
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/
H A Dcoresight-tmc-etr.c602 struct etr_flat_buf *flat_buf; in tmc_etr_alloc_flat_buf() local
609 flat_buf = kzalloc(sizeof(*flat_buf), GFP_KERNEL); in tmc_etr_alloc_flat_buf()
610 if (!flat_buf) in tmc_etr_alloc_flat_buf()
613 flat_buf->vaddr = dma_alloc_coherent(real_dev, etr_buf->size, in tmc_etr_alloc_flat_buf()
614 &flat_buf->daddr, GFP_KERNEL); in tmc_etr_alloc_flat_buf()
615 if (!flat_buf->vaddr) { in tmc_etr_alloc_flat_buf()
616 kfree(flat_buf); in tmc_etr_alloc_flat_buf()
620 flat_buf->size = etr_buf->size; in tmc_etr_alloc_flat_buf()
621 flat_buf in tmc_etr_alloc_flat_buf()
630 struct etr_flat_buf *flat_buf = etr_buf->private; tmc_etr_free_flat_buf() local
657 struct etr_flat_buf *flat_buf = etr_buf->private; tmc_etr_get_data_flat_buf() local
[all...]

Completed in 4 milliseconds