Searched refs:namevirt (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/firmware/tegra/ |
H A D | bpmp-debugfs.c | 589 void *datavirt, *namevirt; in debugfs_show() local 600 namevirt = dma_alloc_coherent(bpmp->dev, namesize, &namephys, in debugfs_show() 602 if (!namevirt) in debugfs_show() 613 strncpy(namevirt, filename, namesize); in debugfs_show() 623 dma_free_coherent(bpmp->dev, namesize, namevirt, namephys); in debugfs_show() 640 void *datavirt, *namevirt; in debugfs_store() local 651 namevirt = dma_alloc_coherent(bpmp->dev, namesize, &namephys, in debugfs_store() 653 if (!namevirt) in debugfs_store() 664 strncpy(namevirt, filename, namesize); in debugfs_store() 677 dma_free_coherent(bpmp->dev, namesize, namevirt, namephys); in debugfs_store()
|