Home
last modified time | relevance | path

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

/linux-6.12.1/sound/soc/sof/
Ddebug.c25 struct snd_sof_dfsentry *dfse = file->private_data; in sof_dfsentry_read() local
26 struct snd_sof_dev *sdev = dfse->sdev; in sof_dfsentry_read()
33 size = dfse->size; in sof_dfsentry_read()
53 if (pos + size + 4 < dfse->size) in sof_dfsentry_read()
61 if (dfse->type == SOF_DFSENTRY_TYPE_IOMEM) { in sof_dfsentry_read()
70 dfse->access_type == SOF_DEBUGFS_ACCESS_ALWAYS) { in sof_dfsentry_read()
71 memcpy_fromio(buf, dfse->io_mem + pos, size); in sof_dfsentry_read()
75 memcpy(buf, dfse->cache_buf + pos, size); in sof_dfsentry_read()
80 dfse->access_type == SOF_DEBUGFS_ACCESS_D0_ONLY) { in sof_dfsentry_read()
87 memcpy_fromio(buf, dfse->io_mem + pos, size); in sof_dfsentry_read()
[all …]
Dipc4-telemetry.c38 struct snd_sof_dfsentry *dfse = file->private_data; in sof_telemetry_entry_read() local
39 struct snd_sof_dev *sdev = dfse->sdev; in sof_telemetry_entry_read()
81 struct snd_sof_dfsentry *dfse; in sof_ipc4_create_exception_debugfs_node() local
83 dfse = devm_kzalloc(sdev->dev, sizeof(*dfse), GFP_KERNEL); in sof_ipc4_create_exception_debugfs_node()
84 if (!dfse) in sof_ipc4_create_exception_debugfs_node()
87 dfse->type = SOF_DFSENTRY_TYPE_IOMEM; in sof_ipc4_create_exception_debugfs_node()
88 dfse->size = SOF_IPC4_DEBUG_SLOT_SIZE - 4; in sof_ipc4_create_exception_debugfs_node()
89 dfse->access_type = SOF_DEBUGFS_ACCESS_ALWAYS; in sof_ipc4_create_exception_debugfs_node()
90 dfse->sdev = sdev; in sof_ipc4_create_exception_debugfs_node()
92 list_add(&dfse->list, &sdev->dfsentry_list); in sof_ipc4_create_exception_debugfs_node()
[all …]
Dipc3-dtrace.c186 struct snd_sof_dfsentry *dfse = file->private_data; in dfsentry_trace_filter_write() local
188 struct snd_sof_dev *sdev = dfse->sdev; in dfsentry_trace_filter_write()
229 struct snd_sof_dfsentry *dfse; in debugfs_create_trace_filter() local
231 dfse = devm_kzalloc(sdev->dev, sizeof(*dfse), GFP_KERNEL); in debugfs_create_trace_filter()
232 if (!dfse) in debugfs_create_trace_filter()
235 dfse->sdev = sdev; in debugfs_create_trace_filter()
236 dfse->type = SOF_DFSENTRY_TYPE_BUF; in debugfs_create_trace_filter()
238 debugfs_create_file("filter", 0200, sdev->debugfs_root, dfse, in debugfs_create_trace_filter()
241 list_add(&dfse->list, &sdev->dfsentry_list); in debugfs_create_trace_filter()
319 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()