Home
last modified time | relevance | path

Searched refs:cflayer (Results 1 – 24 of 24) sorted by relevance

/linux-2.6.39/include/net/caif/
Dcfctrl.h43 void (*linksetup_rsp)(struct cflayer *layer, u8 linkid,
45 struct cflayer *adapt_layer);
46 void (*linkdestroy_rsp)(struct cflayer *layer, u8 linkid);
53 void (*reject_rsp)(struct cflayer *layer, u8 linkid,
54 struct cflayer *client_layer);
97 struct cflayer *client_layer;
118 void cfctrl_enum_req(struct cflayer *cfctrl, u8 physlinkid);
119 int cfctrl_linkup_request(struct cflayer *cfctrl,
121 struct cflayer *user_layer);
122 int cfctrl_linkdown_req(struct cflayer *cfctrl, u8 linkid,
[all …]
Dcfmuxl.h14 struct cflayer *cfmuxl_create(void);
15 int cfmuxl_set_uplayer(struct cflayer *layr, struct cflayer *up, u8 linkid);
16 struct cflayer *cfmuxl_remove_dnlayer(struct cflayer *layr, u8 phyid);
17 int cfmuxl_set_dnlayer(struct cflayer *layr, struct cflayer *up, u8 phyid);
18 struct cflayer *cfmuxl_remove_uplayer(struct cflayer *layr, u8 linkid);
19 bool cfmuxl_is_phy_inuse(struct cflayer *layr, u8 phyid);
20 u8 cfmuxl_get_phyid(struct cflayer *layr, u8 channel_id);
Dcfsrvl.h15 struct cflayer layer;
26 struct cflayer *cfvei_create(u8 linkid, struct dev_info *dev_info);
27 struct cflayer *cfdgml_create(u8 linkid, struct dev_info *dev_info);
28 struct cflayer *cfutill_create(u8 linkid, struct dev_info *dev_info);
29 struct cflayer *cfvidl_create(u8 linkid, struct dev_info *dev_info);
30 struct cflayer *cfrfml_create(u8 linkid, struct dev_info *dev_info,
32 struct cflayer *cfdbgl_create(u8 linkid, struct dev_info *dev_info);
33 bool cfsrvl_phyid_match(struct cflayer *layer, int phyid);
34 void cfservl_destroy(struct cflayer *layer);
40 u8 cfsrvl_getphyid(struct cflayer *layer);
[all …]
Dcaif_layer.h12 struct cflayer;
152 struct cflayer { struct
153 struct cflayer *up; argument
154 struct cflayer *dn; argument
176 int (*receive)(struct cflayer *layr, struct cfpkt *cfpkt); argument
202 int (*transmit) (struct cflayer *layr, struct cfpkt *cfpkt); argument
213 void (*ctrlcmd) (struct cflayer *layr, enum caif_ctrlcmd ctrl, argument
225 int (*modemcmd) (struct cflayer *layr, enum caif_modemcmd ctrl); argument
238 #define layer_set_up(layr, above) ((layr)->up = (struct cflayer *)(above)) argument
245 #define layer_set_dn(layr, below) ((layr)->dn = (struct cflayer *)(below))
Dcffrml.h12 struct cflayer *cffrml_create(u16 phyid, bool DoFCS);
13 void cffrml_set_uplayer(struct cflayer *this, struct cflayer *up);
14 void cffrml_set_dnlayer(struct cflayer *this, struct cflayer *dn);
Dcfcnfg.h77 struct net_device *dev, struct cflayer *phy_layer,
88 int cfcnfg_del_phy_layer(struct cfcnfg *cnfg, struct cflayer *phy_layer);
98 struct cflayer *adap_layer);
105 void cfcnfg_release_adap_layer(struct cflayer *adap_layer);
126 struct cflayer *adap_layer,
Dcaif_dev.h66 struct cflayer *client_layer, int *ifindex,
74 int caif_disconnect_client(struct cflayer *client_layer);
85 void caif_release_client(struct cflayer *client_layer);
Dcfserl.h11 struct cflayer *cfserl_create(int type, int instance, bool use_stx);
/linux-2.6.39/net/caif/
Dcfmuxl.c24 struct cflayer layer;
27 struct cflayer *up_cache[UP_CACHE_SIZE];
28 struct cflayer *dn_cache[DN_CACHE_SIZE];
41 static int cfmuxl_receive(struct cflayer *layr, struct cfpkt *pkt);
42 static int cfmuxl_transmit(struct cflayer *layr, struct cfpkt *pkt);
43 static void cfmuxl_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl,
45 static struct cflayer *get_up(struct cfmuxl *muxl, u16 id);
47 struct cflayer *cfmuxl_create(void) in cfmuxl_create()
64 int cfmuxl_set_uplayer(struct cflayer *layr, struct cflayer *up, u8 linkid) in cfmuxl_set_uplayer()
74 bool cfmuxl_is_phy_inuse(struct cflayer *layr, u8 phyid) in cfmuxl_is_phy_inuse()
[all …]
Dcffrml.c22 struct cflayer layer;
26 static int cffrml_receive(struct cflayer *layr, struct cfpkt *pkt);
27 static int cffrml_transmit(struct cflayer *layr, struct cfpkt *pkt);
28 static void cffrml_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl,
33 struct cflayer *cffrml_create(u16 phyid, bool use_fcs) in cffrml_create()
42 memset(this, 0, sizeof(struct cflayer)); in cffrml_create()
49 return (struct cflayer *) this; in cffrml_create()
52 void cffrml_set_uplayer(struct cflayer *this, struct cflayer *up) in cffrml_set_uplayer()
57 void cffrml_set_dnlayer(struct cflayer *this, struct cflayer *dn) in cffrml_set_dnlayer()
70 static int cffrml_receive(struct cflayer *layr, struct cfpkt *pkt) in cffrml_receive()
[all …]
Dcfcnfg.c34 struct cflayer *frm_layer;
36 struct cflayer *phy_layer;
59 struct cflayer layer;
60 struct cflayer *ctrl;
61 struct cflayer *mux;
66 static void cfcnfg_linkup_rsp(struct cflayer *layer, u8 channel_id,
68 struct cflayer *adapt_layer);
69 static void cfcnfg_linkdestroy_rsp(struct cflayer *layer, u8 channel_id);
70 static void cfcnfg_reject_rsp(struct cflayer *layer, u8 channel_id,
71 struct cflayer *adapt_layer);
[all …]
Dcfserl.c22 struct cflayer layer;
29 static int cfserl_receive(struct cflayer *layr, struct cfpkt *pkt);
30 static int cfserl_transmit(struct cflayer *layr, struct cfpkt *pkt);
31 static void cfserl_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl,
34 struct cflayer *cfserl_create(int type, int instance, bool use_stx) in cfserl_create()
53 static int cfserl_receive(struct cflayer *l, struct cfpkt *newpkt) in cfserl_receive()
179 static int cfserl_transmit(struct cflayer *layer, struct cfpkt *newpkt) in cfserl_transmit()
193 static void cfserl_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl, in cfserl_ctrlcmd()
Dcfdbgl.c17 static int cfdbgl_receive(struct cflayer *layr, struct cfpkt *pkt);
18 static int cfdbgl_transmit(struct cflayer *layr, struct cfpkt *pkt);
20 struct cflayer *cfdbgl_create(u8 channel_id, struct dev_info *dev_info) in cfdbgl_create()
36 static int cfdbgl_receive(struct cflayer *layr, struct cfpkt *pkt) in cfdbgl_receive()
41 static int cfdbgl_transmit(struct cflayer *layr, struct cfpkt *pkt) in cfdbgl_transmit()
Dcfvidl.c19 static int cfvidl_receive(struct cflayer *layr, struct cfpkt *pkt);
20 static int cfvidl_transmit(struct cflayer *layr, struct cfpkt *pkt);
22 struct cflayer *cfvidl_create(u8 channel_id, struct dev_info *dev_info) in cfvidl_create()
39 static int cfvidl_receive(struct cflayer *layr, struct cfpkt *pkt) in cfvidl_receive()
50 static int cfvidl_transmit(struct cflayer *layr, struct cfpkt *pkt) in cfvidl_transmit()
Dcfctrl.c30 static int cfctrl_recv(struct cflayer *layr, struct cfpkt *pkt);
31 static void cfctrl_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl,
35 struct cflayer *cfctrl_create(void) in cfctrl_create()
151 struct cfctrl_rsp *cfctrl_get_respfuncs(struct cflayer *layer) in cfctrl_get_respfuncs()
157 void cfctrl_set_dnlayer(struct cflayer *this, struct cflayer *dn) in cfctrl_set_dnlayer()
162 void cfctrl_set_uplayer(struct cflayer *this, struct cflayer *up) in cfctrl_set_uplayer()
174 void cfctrl_enum_req(struct cflayer *layer, u8 physlinkid) in cfctrl_enum_req()
197 int cfctrl_linkup_request(struct cflayer *layer, in cfctrl_linkup_request()
199 struct cflayer *user_layer) in cfctrl_linkup_request()
285 int cfctrl_linkdown_req(struct cflayer *layer, u8 channelid, in cfctrl_linkdown_req()
[all …]
Dcfdgml.c24 static int cfdgml_receive(struct cflayer *layr, struct cfpkt *pkt);
25 static int cfdgml_transmit(struct cflayer *layr, struct cfpkt *pkt);
27 struct cflayer *cfdgml_create(u8 channel_id, struct dev_info *dev_info) in cfdgml_create()
44 static int cfdgml_receive(struct cflayer *layr, struct cfpkt *pkt) in cfdgml_receive()
85 static int cfdgml_transmit(struct cflayer *layr, struct cfpkt *pkt) in cfdgml_transmit()
Dcfutill.c24 static int cfutill_receive(struct cflayer *layr, struct cfpkt *pkt);
25 static int cfutill_transmit(struct cflayer *layr, struct cfpkt *pkt);
27 struct cflayer *cfutill_create(u8 channel_id, struct dev_info *dev_info) in cfutill_create()
43 static int cfutill_receive(struct cflayer *layr, struct cfpkt *pkt) in cfutill_receive()
81 static int cfutill_transmit(struct cflayer *layr, struct cfpkt *pkt) in cfutill_transmit()
Dcfveil.c23 static int cfvei_receive(struct cflayer *layr, struct cfpkt *pkt);
24 static int cfvei_transmit(struct cflayer *layr, struct cfpkt *pkt);
26 struct cflayer *cfvei_create(u8 channel_id, struct dev_info *dev_info) in cfvei_create()
42 static int cfvei_receive(struct cflayer *layr, struct cfpkt *pkt) in cfvei_receive()
78 static int cfvei_transmit(struct cflayer *layr, struct cfpkt *pkt) in cfvei_transmit()
Dcfsrvl.c25 static void cfservl_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl, in cfservl_ctrlcmd()
92 static int cfservl_modemcmd(struct cflayer *layr, enum caif_modemcmd ctrl) in cfservl_modemcmd()
154 void cfservl_destroy(struct cflayer *layer) in cfservl_destroy()
197 u8 cfsrvl_getphyid(struct cflayer *layer) in cfsrvl_getphyid()
203 bool cfsrvl_phyid_match(struct cflayer *layer, int phyid) in cfsrvl_phyid_match()
Dcfrfml.c21 static int cfrfml_receive(struct cflayer *layr, struct cfpkt *pkt);
22 static int cfrfml_transmit(struct cflayer *layr, struct cfpkt *pkt);
45 struct cflayer *cfrfml_create(u8 channel_id, struct dev_info *dev_info, in cfrfml_create()
100 static int cfrfml_receive(struct cflayer *layr, struct cfpkt *pkt) in cfrfml_receive()
211 static int cfrfml_transmit(struct cflayer *layr, struct cfpkt *pkt) in cfrfml_transmit()
Dcaif_dev.c37 struct cflayer layer;
119 static int transmit(struct cflayer *layer, struct cfpkt *pkt) in transmit()
146 static int modemcmd(struct cflayer *layr, enum caif_modemcmd ctrl) in modemcmd()
333 struct cflayer *client_layer, int *ifindex, in caif_connect_client()
348 int caif_disconnect_client(struct cflayer *adap_layer) in caif_disconnect_client()
354 void caif_release_client(struct cflayer *adap_layer) in caif_release_client()
Dchnl_net.c47 struct cflayer chnl;
73 static int chnl_recv_cb(struct cflayer *layr, struct cfpkt *pkt) in chnl_recv_cb()
156 static void chnl_flowctrl_cb(struct cflayer *layr, enum caif_ctrlcmd flow, in chnl_flowctrl_cb()
Dcaif_socket.c71 struct cflayer layer;
196 static int caif_sktrecv_cb(struct cflayer *layr, struct cfpkt *pkt) in caif_sktrecv_cb()
213 static void caif_ctrl_cb(struct cflayer *layr, in caif_ctrl_cb()
/linux-2.6.39/Documentation/networking/caif/
DLinux-CAIF.txt179 - All layers embed the same structure "struct cflayer"
194 'struct cflayer', just like the CAIF Core protocol stack.
196 'struct cflayer', just like the rest of the CAIF stack. In this way, transmit and