#include <linux/bitfield.h>
#include <linux/device.h>
#include <linux/err.h>
#include <linux/kthread.h>
#include <linux/netdevice.h>
#include <linux/skbuff.h>
#include <linux/spinlock.h>
#include "t7xx_port.h"
#include "t7xx_port_proxy.h"
#include "t7xx_state_monitor.h"
#define PORT_MSG_VERSION …
#define PORT_MSG_PRT_CNT …
struct port_msg { … };
static int port_ctl_send_msg_to_md(struct t7xx_port *port, unsigned int msg, unsigned int ex_msg)
{ … }
static int fsm_ee_message_handler(struct t7xx_port *port, struct t7xx_fsm_ctl *ctl,
struct sk_buff *skb)
{ … }
int t7xx_port_enum_msg_handler(struct t7xx_modem *md, void *msg)
{ … }
static int control_msg_handler(struct t7xx_port *port, struct sk_buff *skb)
{ … }
static int port_ctl_rx_thread(void *arg)
{ … }
static int port_ctl_init(struct t7xx_port *port)
{ … }
static void port_ctl_uninit(struct t7xx_port *port)
{ … }
struct port_ops ctl_port_ops = …;