Home
last modified time | relevance | path

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

/sound/soc/sof/
Ddebug.c26 struct snd_sof_dfsentry *dfse, in sof_debug_ipc_flood_test() argument
90 memset(dfse->cache_buf, 0, IPC_FLOOD_TEST_RESULT_LEN); in sof_debug_ipc_flood_test()
95 snprintf(dfse->cache_buf, IPC_FLOOD_TEST_RESULT_LEN, in sof_debug_ipc_flood_test()
108 snprintf(dfse->cache_buf + strlen(dfse->cache_buf), in sof_debug_ipc_flood_test()
109 IPC_FLOOD_TEST_RESULT_LEN - strlen(dfse->cache_buf), in sof_debug_ipc_flood_test()
113 snprintf(dfse->cache_buf + strlen(dfse->cache_buf), in sof_debug_ipc_flood_test()
114 IPC_FLOOD_TEST_RESULT_LEN - strlen(dfse->cache_buf), in sof_debug_ipc_flood_test()
126 struct snd_sof_dfsentry *dfse = file->private_data; in sof_dfsentry_write() local
127 struct snd_sof_dev *sdev = dfse->sdev; in sof_dfsentry_write()
202 ret = sof_debug_ipc_flood_test(sdev, dfse, flood_duration_test, in sof_dfsentry_write()
[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.c247 struct snd_sof_dfsentry *dfse; in sof_cache_debugfs() local
249 list_for_each_entry(dfse, &sdev->dfsentry_list, list) { in sof_cache_debugfs()
252 if (dfse->type == SOF_DFSENTRY_TYPE_BUF) in sof_cache_debugfs()
256 if (dfse->access_type == SOF_DEBUGFS_ACCESS_D0_ONLY) in sof_cache_debugfs()
257 memcpy_fromio(dfse->cache_buf, dfse->io_mem, in sof_cache_debugfs()
258 dfse->size); in sof_cache_debugfs()