dfse               26 sound/soc/sof/debug.c 				    struct snd_sof_dfsentry *dfse,
dfse               90 sound/soc/sof/debug.c 	memset(dfse->cache_buf, 0, IPC_FLOOD_TEST_RESULT_LEN);
dfse               95 sound/soc/sof/debug.c 		snprintf(dfse->cache_buf, IPC_FLOOD_TEST_RESULT_LEN,
dfse              108 sound/soc/sof/debug.c 	snprintf(dfse->cache_buf + strlen(dfse->cache_buf),
dfse              109 sound/soc/sof/debug.c 		 IPC_FLOOD_TEST_RESULT_LEN - strlen(dfse->cache_buf),
dfse              113 sound/soc/sof/debug.c 	snprintf(dfse->cache_buf + strlen(dfse->cache_buf),
dfse              114 sound/soc/sof/debug.c 		 IPC_FLOOD_TEST_RESULT_LEN - strlen(dfse->cache_buf),
dfse              126 sound/soc/sof/debug.c 	struct snd_sof_dfsentry *dfse = file->private_data;
dfse              127 sound/soc/sof/debug.c 	struct snd_sof_dev *sdev = dfse->sdev;
dfse              202 sound/soc/sof/debug.c 	ret = sof_debug_ipc_flood_test(sdev, dfse, flood_duration_test,
dfse              224 sound/soc/sof/debug.c 	struct snd_sof_dfsentry *dfse = file->private_data;
dfse              225 sound/soc/sof/debug.c 	struct snd_sof_dev *sdev = dfse->sdev;
dfse              238 sound/soc/sof/debug.c 	    dfse->cache_buf) {
dfse              242 sound/soc/sof/debug.c 		count = strlen(dfse->cache_buf);
dfse              243 sound/soc/sof/debug.c 		size_ret = copy_to_user(buffer, dfse->cache_buf, count);
dfse              251 sound/soc/sof/debug.c 	size = dfse->size;
dfse              271 sound/soc/sof/debug.c 		if (pos + size + 4 < dfse->size)
dfse              279 sound/soc/sof/debug.c 	if (dfse->type == SOF_DFSENTRY_TYPE_IOMEM) {
dfse              288 sound/soc/sof/debug.c 		    dfse->access_type == SOF_DEBUGFS_ACCESS_ALWAYS) {
dfse              289 sound/soc/sof/debug.c 			memcpy_fromio(buf, dfse->io_mem + pos, size);
dfse              293 sound/soc/sof/debug.c 			memcpy(buf, dfse->cache_buf + pos, size);
dfse              298 sound/soc/sof/debug.c 		    dfse->access_type == SOF_DEBUGFS_ACCESS_D0_ONLY) {
dfse              305 sound/soc/sof/debug.c 		memcpy_fromio(buf, dfse->io_mem + pos, size);
dfse              308 sound/soc/sof/debug.c 		memcpy(buf, ((u8 *)(dfse->buf) + pos), size);
dfse              338 sound/soc/sof/debug.c 	struct snd_sof_dfsentry *dfse;
dfse              343 sound/soc/sof/debug.c 	dfse = devm_kzalloc(sdev->dev, sizeof(*dfse), GFP_KERNEL);
dfse              344 sound/soc/sof/debug.c 	if (!dfse)
dfse              347 sound/soc/sof/debug.c 	dfse->type = SOF_DFSENTRY_TYPE_IOMEM;
dfse              348 sound/soc/sof/debug.c 	dfse->io_mem = base;
dfse              349 sound/soc/sof/debug.c 	dfse->size = size;
dfse              350 sound/soc/sof/debug.c 	dfse->sdev = sdev;
dfse              351 sound/soc/sof/debug.c 	dfse->access_type = access_type;
dfse              359 sound/soc/sof/debug.c 		dfse->cache_buf = devm_kzalloc(sdev->dev, size, GFP_KERNEL);
dfse              360 sound/soc/sof/debug.c 		if (!dfse->cache_buf)
dfse              365 sound/soc/sof/debug.c 	debugfs_create_file(name, 0444, sdev->debugfs_root, dfse,
dfse              369 sound/soc/sof/debug.c 	list_add(&dfse->list, &sdev->dfsentry_list);
dfse              380 sound/soc/sof/debug.c 	struct snd_sof_dfsentry *dfse;
dfse              385 sound/soc/sof/debug.c 	dfse = devm_kzalloc(sdev->dev, sizeof(*dfse), GFP_KERNEL);
dfse              386 sound/soc/sof/debug.c 	if (!dfse)
dfse              389 sound/soc/sof/debug.c 	dfse->type = SOF_DFSENTRY_TYPE_BUF;
dfse              390 sound/soc/sof/debug.c 	dfse->buf = base;
dfse              391 sound/soc/sof/debug.c 	dfse->size = size;
dfse              392 sound/soc/sof/debug.c 	dfse->sdev = sdev;
dfse              399 sound/soc/sof/debug.c 	dfse->cache_buf = devm_kzalloc(sdev->dev, IPC_FLOOD_TEST_RESULT_LEN,
dfse              401 sound/soc/sof/debug.c 	if (!dfse->cache_buf)
dfse              405 sound/soc/sof/debug.c 	debugfs_create_file(name, mode, sdev->debugfs_root, dfse,
dfse              408 sound/soc/sof/debug.c 	list_add(&dfse->list, &sdev->dfsentry_list);
dfse              247 sound/soc/sof/pm.c 	struct snd_sof_dfsentry *dfse;
dfse              249 sound/soc/sof/pm.c 	list_for_each_entry(dfse, &sdev->dfsentry_list, list) {
dfse              252 sound/soc/sof/pm.c 		if (dfse->type == SOF_DFSENTRY_TYPE_BUF)
dfse              256 sound/soc/sof/pm.c 		if (dfse->access_type == SOF_DEBUGFS_ACCESS_D0_ONLY)
dfse              257 sound/soc/sof/pm.c 			memcpy_fromio(dfse->cache_buf, dfse->io_mem,
dfse              258 sound/soc/sof/pm.c 				      dfse->size);
dfse               72 sound/soc/sof/trace.c 	struct snd_sof_dfsentry *dfse = file->private_data;
dfse               73 sound/soc/sof/trace.c 	struct snd_sof_dev *sdev = dfse->sdev;
dfse               76 sound/soc/sof/trace.c 	size_t avail, buffer_size = dfse->size;
dfse              106 sound/soc/sof/trace.c 	rem = copy_to_user(buffer, ((u8 *)(dfse->buf) + lpos), count);
dfse              118 sound/soc/sof/trace.c 	struct snd_sof_dfsentry *dfse = inode->i_private;
dfse              119 sound/soc/sof/trace.c 	struct snd_sof_dev *sdev = dfse->sdev;
dfse              137 sound/soc/sof/trace.c 	struct snd_sof_dfsentry *dfse;
dfse              142 sound/soc/sof/trace.c 	dfse = devm_kzalloc(sdev->dev, sizeof(*dfse), GFP_KERNEL);
dfse              143 sound/soc/sof/trace.c 	if (!dfse)
dfse              146 sound/soc/sof/trace.c 	dfse->type = SOF_DFSENTRY_TYPE_BUF;
dfse              147 sound/soc/sof/trace.c 	dfse->buf = sdev->dmatb.area;
dfse              148 sound/soc/sof/trace.c 	dfse->size = sdev->dmatb.bytes;
dfse              149 sound/soc/sof/trace.c 	dfse->sdev = sdev;
dfse              151 sound/soc/sof/trace.c 	debugfs_create_file("trace", 0444, sdev->debugfs_root, dfse,