Lines Matching refs:dfse

187 	struct snd_sof_dfsentry *dfse = file->private_data;  in dfsentry_trace_filter_write()  local
189 struct snd_sof_dev *sdev = dfse->sdev; in dfsentry_trace_filter_write()
237 struct snd_sof_dfsentry *dfse; in debugfs_create_trace_filter() local
239 dfse = devm_kzalloc(sdev->dev, sizeof(*dfse), GFP_KERNEL); in debugfs_create_trace_filter()
240 if (!dfse) in debugfs_create_trace_filter()
243 dfse->sdev = sdev; in debugfs_create_trace_filter()
244 dfse->type = SOF_DFSENTRY_TYPE_BUF; in debugfs_create_trace_filter()
246 debugfs_create_file("filter", 0200, sdev->debugfs_root, dfse, in debugfs_create_trace_filter()
249 list_add(&dfse->list, &sdev->dfsentry_list); in debugfs_create_trace_filter()
327 struct snd_sof_dfsentry *dfse = file->private_data; in dfsentry_dtrace_read() local
328 struct snd_sof_dev *sdev = dfse->sdev; in dfsentry_dtrace_read()
332 size_t avail, buffer_size = dfse->size; in dfsentry_dtrace_read()
371 rem = copy_to_user(buffer, ((u8 *)(dfse->buf) + lpos), count); in dfsentry_dtrace_read()
383 struct snd_sof_dfsentry *dfse = inode->i_private; in dfsentry_dtrace_release() local
384 struct snd_sof_dev *sdev = dfse->sdev; in dfsentry_dtrace_release()
404 struct snd_sof_dfsentry *dfse; in debugfs_create_dtrace() local
416 dfse = devm_kzalloc(sdev->dev, sizeof(*dfse), GFP_KERNEL); in debugfs_create_dtrace()
417 if (!dfse) in debugfs_create_dtrace()
420 dfse->type = SOF_DFSENTRY_TYPE_BUF; in debugfs_create_dtrace()
421 dfse->buf = priv->dmatb.area; in debugfs_create_dtrace()
422 dfse->size = priv->dmatb.bytes; in debugfs_create_dtrace()
423 dfse->sdev = sdev; in debugfs_create_dtrace()
425 debugfs_create_file("trace", 0444, sdev->debugfs_root, dfse, in debugfs_create_dtrace()