Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/hwtracing/coresight/
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->dev = &drvdata->csdev->dev; in tmc_etr_alloc_flat_buf()
622 etr_buf->hwaddr = flat_buf->daddr; in tmc_etr_alloc_flat_buf()
[all …]