#define pr_fmt(fmt) …
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/pkt_sched.h>
#include <net/caif/caif_layer.h>
#include <net/caif/cfsrvl.h>
#include <net/caif/cfpkt.h>
#include <net/caif/caif_dev.h>
#define SRVL_CTRL_PKT_SIZE …
#define SRVL_FLOW_OFF …
#define SRVL_FLOW_ON …
#define SRVL_SET_PIN …
#define container_obj(layr) …
static void cfservl_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl,
int phyid)
{ … }
static int cfservl_modemcmd(struct cflayer *layr, enum caif_modemcmd ctrl)
{ … }
static void cfsrvl_release(struct cflayer *layer)
{ … }
void cfsrvl_init(struct cfsrvl *service,
u8 channel_id,
struct dev_info *dev_info,
bool supports_flowctrl)
{ … }
bool cfsrvl_ready(struct cfsrvl *service, int *err)
{ … }
u8 cfsrvl_getphyid(struct cflayer *layer)
{ … }
bool cfsrvl_phyid_match(struct cflayer *layer, int phyid)
{ … }
void caif_free_client(struct cflayer *adap_layer)
{ … }
EXPORT_SYMBOL(…);
void caif_client_register_refcnt(struct cflayer *adapt_layer,
void (*hold)(struct cflayer *lyr),
void (*put)(struct cflayer *lyr))
{ … }
EXPORT_SYMBOL(…);