Lines Matching refs:dfse

186 	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
320 struct snd_sof_dev *sdev = dfse->sdev; in dfsentry_dtrace_read()
324 size_t avail, buffer_size = dfse->size; in dfsentry_dtrace_read()
363 rem = copy_to_user(buffer, ((u8 *)(dfse->buf) + lpos), count); in dfsentry_dtrace_read()
375 struct snd_sof_dfsentry *dfse = inode->i_private; in dfsentry_dtrace_release() local
376 struct snd_sof_dev *sdev = dfse->sdev; in dfsentry_dtrace_release()
396 struct snd_sof_dfsentry *dfse; in debugfs_create_dtrace() local
408 dfse = devm_kzalloc(sdev->dev, sizeof(*dfse), GFP_KERNEL); in debugfs_create_dtrace()
409 if (!dfse) in debugfs_create_dtrace()
412 dfse->type = SOF_DFSENTRY_TYPE_BUF; in debugfs_create_dtrace()
413 dfse->buf = priv->dmatb.area; in debugfs_create_dtrace()
414 dfse->size = priv->dmatb.bytes; in debugfs_create_dtrace()
415 dfse->sdev = sdev; in debugfs_create_dtrace()
417 debugfs_create_file("trace", 0444, sdev->debugfs_root, dfse, in debugfs_create_dtrace()