Searched refs:layr (Results 1 - 19 of 19) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/caif/
H A Dcfutill.c15 #define container_obj(layr) ((struct cfsrvl *) layr)
22 static int cfutill_receive(struct cflayer *layr, struct cfpkt *pkt);
23 static int cfutill_transmit(struct cflayer *layr, struct cfpkt *pkt);
41 static int cfutill_receive(struct cflayer *layr, struct cfpkt *pkt) argument
44 struct cfsrvl *service = container_obj(layr);
45 caif_assert(layr != NULL);
46 caif_assert(layr->up != NULL);
47 caif_assert(layr->up->receive != NULL);
48 caif_assert(layr
81 cfutill_transmit(struct cflayer *layr, struct cfpkt *pkt) argument
[all...]
H A Dcfveil.c19 #define container_obj(layr) container_of(layr, struct cfsrvl, layer)
21 static int cfvei_receive(struct cflayer *layr, struct cfpkt *pkt);
22 static int cfvei_transmit(struct cflayer *layr, struct cfpkt *pkt);
40 static int cfvei_receive(struct cflayer *layr, struct cfpkt *pkt) argument
44 caif_assert(layr->up != NULL);
45 caif_assert(layr->receive != NULL);
46 caif_assert(layr->ctrlcmd != NULL);
56 ret = layr->up->receive(layr
77 cfvei_transmit(struct cflayer *layr, struct cfpkt *pkt) argument
[all...]
H A Dcfdgml.c14 #define container_obj(layr) ((struct cfsrvl *) layr)
22 static int cfdgml_receive(struct cflayer *layr, struct cfpkt *pkt);
23 static int cfdgml_transmit(struct cflayer *layr, struct cfpkt *pkt);
42 static int cfdgml_receive(struct cflayer *layr, struct cfpkt *pkt) argument
47 caif_assert(layr->up != NULL);
48 caif_assert(layr->receive != NULL);
49 caif_assert(layr->ctrlcmd != NULL);
63 ret = layr->up->receive(layr
84 cfdgml_transmit(struct cflayer *layr, struct cfpkt *pkt) argument
[all...]
H A Dcfserl.c14 #define container_obj(layr) ((struct cfserl *) layr)
26 #define STXLEN(layr) (layr->usestx ? 1 : 0)
28 static int cfserl_receive(struct cflayer *layr, struct cfpkt *pkt);
29 static int cfserl_transmit(struct cflayer *layr, struct cfpkt *pkt);
30 static void cfserl_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl,
54 struct cfserl *layr = container_obj(l); local
65 spin_lock(&layr->sync);
67 if (layr
180 struct cfserl *layr = container_obj(layer); local
192 cfserl_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl, int phyid) argument
[all...]
H A Dcfvidl.c15 #define container_obj(layr) ((struct cfsrvl *) layr)
17 static int cfvidl_receive(struct cflayer *layr, struct cfpkt *pkt);
18 static int cfvidl_transmit(struct cflayer *layr, struct cfpkt *pkt);
37 static int cfvidl_receive(struct cflayer *layr, struct cfpkt *pkt) argument
45 return layr->up->receive(layr->up, pkt);
48 static int cfvidl_transmit(struct cflayer *layr, struct cfpkt *pkt) argument
50 struct cfsrvl *service = container_obj(layr);
61 ret = layr
[all...]
H A Dcfsrvl.c21 #define container_obj(layr) container_of(layr, struct cfsrvl, layer)
23 static void cfservl_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl, argument
26 struct cfsrvl *service = container_obj(layr);
28 caif_assert(layr->up != NULL);
29 caif_assert(layr->up->ctrlcmd != NULL);
34 layr->up->ctrlcmd(layr->up, ctrl, phyid);
39 layr->up->ctrlcmd(layr
91 cfservl_modemcmd(struct cflayer *layr, enum caif_modemcmd ctrl) argument
[all...]
H A Dcfdbgl.c13 static int cfdbgl_receive(struct cflayer *layr, struct cfpkt *pkt);
14 static int cfdbgl_transmit(struct cflayer *layr, struct cfpkt *pkt);
32 static int cfdbgl_receive(struct cflayer *layr, struct cfpkt *pkt) argument
34 return layr->up->receive(layr->up, pkt);
37 static int cfdbgl_transmit(struct cflayer *layr, struct cfpkt *pkt) argument
39 return layr->dn->transmit(layr->dn, pkt);
H A Dcffrml.c17 #define container_obj(layr) container_of(layr, struct cffrml, layer)
24 static int cffrml_receive(struct cflayer *layr, struct cfpkt *pkt);
25 static int cffrml_transmit(struct cflayer *layr, struct cfpkt *pkt);
26 static void cffrml_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl,
65 static int cffrml_receive(struct cflayer *layr, struct cfpkt *pkt) argument
72 this = container_obj(layr);
110 return layr->up->receive(layr->up, pkt);
113 static int cffrml_transmit(struct cflayer *layr, struc argument
143 cffrml_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl, int phyid) argument
[all...]
H A Dcfmuxl.c14 #define container_obj(layr) container_of(layr, struct cfmuxl, layer)
38 static int cfmuxl_receive(struct cflayer *layr, struct cfpkt *pkt);
39 static int cfmuxl_transmit(struct cflayer *layr, struct cfpkt *pkt);
40 static void cfmuxl_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl,
61 int cfmuxl_set_uplayer(struct cflayer *layr, struct cflayer *up, u8 linkid) argument
63 struct cfmuxl *muxl = container_obj(layr);
71 bool cfmuxl_is_phy_inuse(struct cflayer *layr, u8 phyid) argument
75 struct cfmuxl *muxl = container_obj(layr);
91 u8 cfmuxl_get_phyid(struct cflayer *layr, u argument
106 cfmuxl_set_dnlayer(struct cflayer *layr, struct cflayer *dn, u8 phyid) argument
127 cfmuxl_remove_dnlayer(struct cflayer *layr, u8 phyid) argument
170 cfmuxl_remove_uplayer(struct cflayer *layr, u8 id) argument
186 cfmuxl_receive(struct cflayer *layr, struct cfpkt *pkt) argument
217 cfmuxl_transmit(struct cflayer *layr, struct cfpkt *pkt) argument
241 cfmuxl_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl, int phyid) argument
[all...]
H A Dcfrfml.c15 #define container_obj(layr) container_of(layr, struct cfrfml, serv.layer)
19 static int cfrfml_receive(struct cflayer *layr, struct cfpkt *pkt);
20 static int cfrfml_transmit(struct cflayer *layr, struct cfpkt *pkt);
98 static int cfrfml_receive(struct cflayer *layr, struct cfpkt *pkt) argument
107 caif_assert(layr->up != NULL);
108 caif_assert(layr->receive != NULL);
109 rfml = container_obj(layr);
186 layr->up->ctrlcmd(layr
211 cfrfml_transmit(struct cflayer *layr, struct cfpkt *pkt) argument
[all...]
H A Dcfctrl.c14 #define container_obj(layr) container_of(layr, struct cfctrl, serv.layer)
28 static int cfctrl_recv(struct cflayer *layr, struct cfpkt *pkt);
29 static void cfctrl_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl,
362 void cfctrl_cancel_req(struct cflayer *layr, struct cflayer *adap_layer) argument
365 struct cfctrl *ctrl = container_obj(layr);
589 static void cfctrl_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl, argument
592 struct cfctrl *this = container_obj(layr);
H A Dchnl_net.c74 static int chnl_recv_cb(struct cflayer *layr, struct cfpkt *pkt) argument
77 struct chnl_net *priv = container_of(layr, struct chnl_net, chnl);
81 priv = container_of(layr, struct chnl_net, chnl);
141 static void chnl_flowctrl_cb(struct cflayer *layr, enum caif_ctrlcmd flow, argument
144 struct chnl_net *priv = container_of(layr, struct chnl_net, chnl);
H A Dcaif_dev.c144 static int modemcmd(struct cflayer *layr, enum caif_modemcmd ctrl) argument
148 caifd = container_of(layr, struct caif_device_entry, layer);
H A Dcfcnfg.c25 #define container_obj(layr) container_of(layr, struct cfcnfg, layer)
H A Dcaif_socket.c202 static int caif_sktrecv_cb(struct cflayer *layr, struct cfpkt *pkt) argument
207 cf_sk = container_of(layr, struct caifsock, layer);
219 static void caif_ctrl_cb(struct cflayer *layr, argument
223 struct caifsock *cf_sk = container_of(layr, struct caifsock, layer);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/net/caif/
H A Dcfmuxl.h15 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);
H A Dcaif_layer.h172 * @layr: Pointer to the current layer the receive function is
176 int (*receive)(struct cflayer *layr, struct cfpkt *cfpkt);
198 * @layr: Pointer to the current layer the receive function
202 int (*transmit) (struct cflayer *layr, struct cfpkt *cfpkt);
209 * @layr: Pointer to the current layer the receive function
213 void (*ctrlcmd) (struct cflayer *layr, enum caif_ctrlcmd ctrl,
221 * @layr: Pointer to the current layer the receive function
225 int (*modemcmd) (struct cflayer *layr, enum caif_modemcmd ctrl);
235 * @layr: Layer where up pointer shall be set.
238 #define layer_set_up(layr, abov
[all...]
H A Dcfsrvl.h42 static inline void cfsrvl_get(struct cflayer *layr) argument
45 if (layr == NULL)
47 s = container_of(layr, struct cfsrvl, layer);
51 static inline void cfsrvl_put(struct cflayer *layr) argument
54 if (layr == NULL)
56 s = container_of(layr, struct cfsrvl, layer);
H A Dcfctrl.h137 void cfctrl_cancel_req(struct cflayer *layr, struct cflayer *adap_layer);

Completed in 115 milliseconds