Home
last modified time | relevance | path

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

/linux-6.1.9/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.c187 struct snd_sof_dfsentry *dfse = file->private_data; in dfsentry_trace_filter_write() local
189 struct snd_sof_dev *sdev = dfse->sdev; in dfsentry_trace_filter_write()
237 struct snd_sof_dfsentry *dfse; in debugfs_create_trace_filter() local
239 dfse = devm_kzalloc(sdev->dev, sizeof(*dfse), GFP_KERNEL); in debugfs_create_trace_filter()
240 if (!dfse) in debugfs_create_trace_filter()
243 dfse->sdev = sdev; in debugfs_create_trace_filter()
244 dfse->type = SOF_DFSENTRY_TYPE_BUF; in debugfs_create_trace_filter()
246 debugfs_create_file("filter", 0200, sdev->debugfs_root, dfse, in debugfs_create_trace_filter()
249 list_add(&dfse->list, &sdev->dfsentry_list); in debugfs_create_trace_filter()
327 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()