linux/drivers/net/wwan/t7xx/t7xx_port_trace.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (C) 2022 Intel Corporation.
 */

#include <linux/debugfs.h>
#include <linux/relay.h>
#include <linux/skbuff.h>
#include <linux/wwan.h>

#include "t7xx_port.h"
#include "t7xx_port_proxy.h"
#include "t7xx_state_monitor.h"

#define T7XX_TRC_SUB_BUFF_SIZE
#define T7XX_TRC_N_SUB_BUFF

static struct dentry *t7xx_trace_create_buf_file_handler(const char *filename,
							 struct dentry *parent,
							 umode_t mode,
							 struct rchan_buf *buf,
							 int *is_global)
{}

static int t7xx_trace_remove_buf_file_handler(struct dentry *dentry)
{}

static int t7xx_trace_subbuf_start_handler(struct rchan_buf *buf, void *subbuf,
					   void *prev_subbuf, size_t prev_padding)
{}

static struct rchan_callbacks relay_callbacks =;

static void t7xx_trace_port_uninit(struct t7xx_port *port)
{}

static int t7xx_trace_port_recv_skb(struct t7xx_port *port, struct sk_buff *skb)
{}

static void t7xx_port_trace_md_state_notify(struct t7xx_port *port, unsigned int state)
{}

struct port_ops t7xx_trace_port_ops =;