Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/sound/soc/sof/
Ddebug.c100 struct snd_sof_dfsentry *dfse = file->private_data; in probe_points_read() local
101 struct snd_sof_dev *sdev = dfse->sdev; in probe_points_read()
140 struct snd_sof_dfsentry *dfse = file->private_data; in probe_points_write() local
141 struct snd_sof_dev *sdev = dfse->sdev; in probe_points_write()
181 struct snd_sof_dfsentry *dfse = file->private_data; in probe_points_remove_write() local
182 struct snd_sof_dev *sdev = dfse->sdev; in probe_points_remove_write()
218 struct snd_sof_dfsentry *dfse; in snd_sof_debugfs_probe_item() local
220 dfse = devm_kzalloc(sdev->dev, sizeof(*dfse), GFP_KERNEL); in snd_sof_debugfs_probe_item()
221 if (!dfse) in snd_sof_debugfs_probe_item()
224 dfse->type = SOF_DFSENTRY_TYPE_BUF; in snd_sof_debugfs_probe_item()
[all …]
Dtrace.c72 struct snd_sof_dfsentry *dfse = file->private_data; in sof_dfsentry_trace_read() local
73 struct snd_sof_dev *sdev = dfse->sdev; in sof_dfsentry_trace_read()
76 size_t avail, buffer_size = dfse->size; in sof_dfsentry_trace_read()
106 rem = copy_to_user(buffer, ((u8 *)(dfse->buf) + lpos), count); in sof_dfsentry_trace_read()
118 struct snd_sof_dfsentry *dfse = inode->i_private; in sof_dfsentry_trace_release() local
119 struct snd_sof_dev *sdev = dfse->sdev; in sof_dfsentry_trace_release()
137 struct snd_sof_dfsentry *dfse; in trace_debugfs_create() local
142 dfse = devm_kzalloc(sdev->dev, sizeof(*dfse), GFP_KERNEL); in trace_debugfs_create()
143 if (!dfse) in trace_debugfs_create()
146 dfse->type = SOF_DFSENTRY_TYPE_BUF; in trace_debugfs_create()
[all …]
Dpm.c70 struct snd_sof_dfsentry *dfse; in sof_cache_debugfs() local
72 list_for_each_entry(dfse, &sdev->dfsentry_list, list) { in sof_cache_debugfs()
75 if (dfse->type == SOF_DFSENTRY_TYPE_BUF) in sof_cache_debugfs()
79 if (dfse->access_type == SOF_DEBUGFS_ACCESS_D0_ONLY) in sof_cache_debugfs()
80 memcpy_fromio(dfse->cache_buf, dfse->io_mem, in sof_cache_debugfs()
81 dfse->size); in sof_cache_debugfs()