Home
last modified time | relevance | path

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

/linux/drivers/hwtracing/coresight/
H A Dcoresight-tmc-etr.c608 struct etr_flat_buf *flat_buf; in tmc_etr_alloc_flat_buf() local
615 flat_buf = kzalloc(sizeof(*flat_buf), GFP_KERNEL); in tmc_etr_alloc_flat_buf()
616 if (!flat_buf) in tmc_etr_alloc_flat_buf()
619 flat_buf->vaddr = dma_alloc_noncoherent(real_dev, etr_buf->size, in tmc_etr_alloc_flat_buf()
620 &flat_buf->daddr, in tmc_etr_alloc_flat_buf()
623 if (!flat_buf->vaddr) { in tmc_etr_alloc_flat_buf()
624 kfree(flat_buf); in tmc_etr_alloc_flat_buf()
628 flat_buf->size = etr_buf->size; in tmc_etr_alloc_flat_buf()
629 flat_buf in tmc_etr_alloc_flat_buf()
638 struct etr_flat_buf *flat_buf = etr_buf->private; tmc_etr_free_flat_buf() local
652 struct etr_flat_buf *flat_buf = etr_buf->private; tmc_etr_sync_flat_buf() local
682 struct etr_flat_buf *flat_buf = etr_buf->private; tmc_etr_get_data_flat_buf() local
[all...]