Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/hwtracing/coresight/
Dcoresight-tmc-etr.c599 struct etr_flat_buf *flat_buf; in tmc_etr_alloc_flat_buf() local
606 flat_buf = kzalloc(sizeof(*flat_buf), GFP_KERNEL); in tmc_etr_alloc_flat_buf()
607 if (!flat_buf) in tmc_etr_alloc_flat_buf()
610 flat_buf->vaddr = dma_alloc_noncoherent(real_dev, etr_buf->size, in tmc_etr_alloc_flat_buf()
611 &flat_buf->daddr, in tmc_etr_alloc_flat_buf()
613 if (!flat_buf->vaddr) { in tmc_etr_alloc_flat_buf()
614 kfree(flat_buf); in tmc_etr_alloc_flat_buf()
618 flat_buf->size = etr_buf->size; in tmc_etr_alloc_flat_buf()
619 flat_buf->dev = &drvdata->csdev->dev; in tmc_etr_alloc_flat_buf()
620 etr_buf->hwaddr = flat_buf->daddr; in tmc_etr_alloc_flat_buf()
[all …]