Home
last modified time | relevance | path

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

/linux-5.19.10/sound/soc/sof/
Ddebug.c43 struct snd_sof_dfsentry *dfse = file->private_data; in sof_dfsentry_read() local
44 struct snd_sof_dev *sdev = dfse->sdev; in sof_dfsentry_read()
51 size = dfse->size; in sof_dfsentry_read()
71 if (pos + size + 4 < dfse->size) in sof_dfsentry_read()
79 if (dfse->type == SOF_DFSENTRY_TYPE_IOMEM) { in sof_dfsentry_read()
88 dfse->access_type == SOF_DEBUGFS_ACCESS_ALWAYS) { in sof_dfsentry_read()
89 memcpy_fromio(buf, dfse->io_mem + pos, size); in sof_dfsentry_read()
93 memcpy(buf, dfse->cache_buf + pos, size); in sof_dfsentry_read()
98 dfse->access_type == SOF_DEBUGFS_ACCESS_D0_ONLY) { in sof_dfsentry_read()
105 memcpy_fromio(buf, dfse->io_mem + pos, size); in sof_dfsentry_read()
[all …]
Dipc3-dtrace.c178 struct snd_sof_dfsentry *dfse = file->private_data; in dfsentry_trace_filter_write() local
180 struct snd_sof_dev *sdev = dfse->sdev; in dfsentry_trace_filter_write()
228 struct snd_sof_dfsentry *dfse; in debugfs_create_trace_filter() local
230 dfse = devm_kzalloc(sdev->dev, sizeof(*dfse), GFP_KERNEL); in debugfs_create_trace_filter()
231 if (!dfse) in debugfs_create_trace_filter()
234 dfse->sdev = sdev; in debugfs_create_trace_filter()
235 dfse->type = SOF_DFSENTRY_TYPE_BUF; in debugfs_create_trace_filter()
237 debugfs_create_file("filter", 0200, sdev->debugfs_root, dfse, in debugfs_create_trace_filter()
240 list_add(&dfse->list, &sdev->dfsentry_list); in debugfs_create_trace_filter()
303 struct snd_sof_dfsentry *dfse = file->private_data; in dfsentry_dtrace_read() local
[all …]
Dpm.c57 struct snd_sof_dfsentry *dfse; in sof_cache_debugfs() local
59 list_for_each_entry(dfse, &sdev->dfsentry_list, list) { in sof_cache_debugfs()
62 if (dfse->type == SOF_DFSENTRY_TYPE_BUF) in sof_cache_debugfs()
66 if (dfse->access_type == SOF_DEBUGFS_ACCESS_D0_ONLY) in sof_cache_debugfs()
67 memcpy_fromio(dfse->cache_buf, dfse->io_mem, in sof_cache_debugfs()
68 dfse->size); in sof_cache_debugfs()