#include <linux/debugfs.h>
#include <linux/kfifo.h>
#include <linux/wait.h>
#include <linux/sched/signal.h>
#include <sound/soc.h>
#include "avs.h"
#include "messages.h"
static unsigned int __kfifo_fromio(struct kfifo *fifo, const void __iomem *src, unsigned int len)
{ … }
bool avs_logging_fw(struct avs_dev *adev)
{ … }
void avs_dump_fw_log(struct avs_dev *adev, const void __iomem *src, unsigned int len)
{ … }
void avs_dump_fw_log_wakeup(struct avs_dev *adev, const void __iomem *src, unsigned int len)
{ … }
static ssize_t fw_regs_read(struct file *file, char __user *to, size_t count, loff_t *ppos)
{ … }
static const struct file_operations fw_regs_fops = …;
static ssize_t debug_window_read(struct file *file, char __user *to, size_t count, loff_t *ppos)
{ … }
static const struct file_operations debug_window_fops = …;
static ssize_t probe_points_read(struct file *file, char __user *to, size_t count, loff_t *ppos)
{ … }
static ssize_t probe_points_write(struct file *file, const char __user *from, size_t count,
loff_t *ppos)
{ … }
static const struct file_operations probe_points_fops = …;
static ssize_t probe_points_disconnect_write(struct file *file, const char __user *from,
size_t count, loff_t *ppos)
{ … }
static const struct file_operations probe_points_disconnect_fops = …;
static ssize_t strace_read(struct file *file, char __user *to, size_t count, loff_t *ppos)
{ … }
static int strace_open(struct inode *inode, struct file *file)
{ … }
static int strace_release(struct inode *inode, struct file *file)
{ … }
static const struct file_operations strace_fops = …;
#define DISABLE_TIMERS …
static int enable_logs(struct avs_dev *adev, u32 resource_mask, u32 *priorities)
{ … }
static int disable_logs(struct avs_dev *adev, u32 resource_mask)
{ … }
static ssize_t trace_control_read(struct file *file, char __user *to, size_t count, loff_t *ppos)
{ … }
static ssize_t trace_control_write(struct file *file, const char __user *from, size_t count,
loff_t *ppos)
{ … }
static const struct file_operations trace_control_fops = …;
void avs_debugfs_init(struct avs_dev *adev)
{ … }
void avs_debugfs_exit(struct avs_dev *adev)
{ … }