WIP FPC-III support
[linux/fpc-iii.git] / include / net / caif / cffrml.h
blob1ab8a80ede4d86ac420fbfde0581949864bed077
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Copyright (C) ST-Ericsson AB 2010
4 * Author: Sjur Brendeland
5 */
7 #ifndef CFFRML_H_
8 #define CFFRML_H_
9 #include <net/caif/caif_layer.h>
10 #include <linux/netdevice.h>
12 struct cffrml;
13 struct cflayer *cffrml_create(u16 phyid, bool use_fcs);
14 void cffrml_free(struct cflayer *layr);
15 void cffrml_set_uplayer(struct cflayer *this, struct cflayer *up);
16 void cffrml_set_dnlayer(struct cflayer *this, struct cflayer *dn);
17 void cffrml_put(struct cflayer *layr);
18 void cffrml_hold(struct cflayer *layr);
19 int cffrml_refcnt_read(struct cflayer *layr);
21 #endif /* CFFRML_H_ */