Home
last modified time | relevance | path

Searched defs:layr (Results 1 – 17 of 17) sorted by relevance

/openbmc/linux/net/caif/
H A Dcffrml.c20 #define container_obj(layr) container_of(layr, struct cffrml, layer) argument
82 static int cffrml_receive(struct cflayer *layr, struct cfpkt *pkt) in cffrml_receive()
137 static int cffrml_transmit(struct cflayer *layr, struct cfpkt *pkt) in cffrml_transmit()
169 static void cffrml_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl, in cffrml_ctrlcmd()
176 void cffrml_put(struct cflayer *layr) in cffrml_put()
183 void cffrml_hold(struct cflayer *layr) in cffrml_hold()
190 int cffrml_refcnt_read(struct cflayer *layr) in cffrml_refcnt_read()
H A Dcfmuxl.c18 #define container_obj(layr) container_of(layr, struct cfmuxl, layer) argument
65 int cfmuxl_set_dnlayer(struct cflayer *layr, struct cflayer *dn, u8 phyid) in cfmuxl_set_dnlayer()
86 int cfmuxl_set_uplayer(struct cflayer *layr, struct cflayer *up, u8 linkid) in cfmuxl_set_uplayer()
104 struct cflayer *cfmuxl_remove_dnlayer(struct cflayer *layr, u8 phyid) in cfmuxl_remove_dnlayer()
151 struct cflayer *cfmuxl_remove_uplayer(struct cflayer *layr, u8 id) in cfmuxl_remove_uplayer()
174 static int cfmuxl_receive(struct cflayer *layr, struct cfpkt *pkt) in cfmuxl_receive()
211 static int cfmuxl_transmit(struct cflayer *layr, struct cfpkt *pkt) in cfmuxl_transmit()
246 static void cfmuxl_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl, in cfmuxl_ctrlcmd()
H A Dcfdbgl.c15 #define container_obj(layr) ((struct cfsrvl *) layr) argument
33 static int cfdbgl_receive(struct cflayer *layr, struct cfpkt *pkt) in cfdbgl_receive()
38 static int cfdbgl_transmit(struct cflayer *layr, struct cfpkt *pkt) in cfdbgl_transmit()
H A Dcfvidl.c17 #define container_obj(layr) ((struct cfsrvl *) layr) argument
36 static int cfvidl_receive(struct cflayer *layr, struct cfpkt *pkt) in cfvidl_receive()
47 static int cfvidl_transmit(struct cflayer *layr, struct cfpkt *pkt) in cfvidl_transmit()
H A Dcfserl.c16 #define container_obj(layr) ((struct cfserl *) layr) argument
56 struct cfserl *layr = container_obj(l); in cfserl_receive() local
181 struct cfserl *layr = container_obj(layer); in cfserl_transmit() local
188 static void cfserl_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl, in cfserl_ctrlcmd()
H A Dcfveil.c21 #define container_obj(layr) container_of(layr, struct cfsrvl, layer) argument
39 static int cfvei_receive(struct cflayer *layr, struct cfpkt *pkt) in cfvei_receive()
75 static int cfvei_transmit(struct cflayer *layr, struct cfpkt *pkt) in cfvei_transmit()
H A Dcfutill.c17 #define container_obj(layr) ((struct cfsrvl *) layr) argument
40 static int cfutill_receive(struct cflayer *layr, struct cfpkt *pkt) in cfutill_receive()
78 static int cfutill_transmit(struct cflayer *layr, struct cfpkt *pkt) in cfutill_transmit()
H A Dcfdgml.c17 #define container_obj(layr) ((struct cfsrvl *) layr) argument
40 static int cfdgml_receive(struct cflayer *layr, struct cfpkt *pkt) in cfdgml_receive()
81 static int cfdgml_transmit(struct cflayer *layr, struct cfpkt *pkt) in cfdgml_transmit()
H A Dcfsrvl.c25 #define container_obj(layr) container_of(layr, struct cfsrvl, layer) argument
27 static void cfservl_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl, in cfservl_ctrlcmd()
94 static int cfservl_modemcmd(struct cflayer *layr, enum caif_modemcmd ctrl) in cfservl_modemcmd()
H A Dcaif_usb.c38 static int cfusbl_receive(struct cflayer *layr, struct cfpkt *pkt) in cfusbl_receive()
48 static int cfusbl_transmit(struct cflayer *layr, struct cfpkt *pkt) in cfusbl_transmit()
77 static void cfusbl_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl, in cfusbl_ctrlcmd()
H A Dcfrfml.c17 #define container_obj(layr) container_of(layr, struct cfrfml, serv.layer) argument
97 static int cfrfml_receive(struct cflayer *layr, struct cfpkt *pkt) in cfrfml_receive()
213 static int cfrfml_transmit(struct cflayer *layr, struct cfpkt *pkt) in cfrfml_transmit()
H A Dcfctrl.c17 #define container_obj(layr) container_of(layr, struct cfctrl, serv.layer) argument
335 int cfctrl_cancel_req(struct cflayer *layr, struct cflayer *adap_layer) in cfctrl_cancel_req()
555 static void cfctrl_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl, in cfctrl_ctrlcmd()
H A Dcaif_socket.c160 static int caif_sktrecv_cb(struct cflayer *layr, struct cfpkt *pkt) in caif_sktrecv_cb()
176 static void cfsk_hold(struct cflayer *layr) in cfsk_hold()
182 static void cfsk_put(struct cflayer *layr) in cfsk_put()
189 static void caif_ctrl_cb(struct cflayer *layr, in caif_ctrl_cb()
H A Dchnl_net.c56 static int chnl_recv_cb(struct cflayer *layr, struct cfpkt *pkt) in chnl_recv_cb()
147 static void chnl_flowctrl_cb(struct cflayer *layr, enum caif_ctrlcmd flow, in chnl_flowctrl_cb()
H A Dcfcnfg.c24 #define container_obj(layr) container_of(layr, struct cfcnfg, layer) argument
/openbmc/linux/include/net/caif/
H A Dcfsrvl.h45 static inline void cfsrvl_get(struct cflayer *layr) in cfsrvl_get()
54 static inline void cfsrvl_put(struct cflayer *layr) in cfsrvl_put()
H A Dcaif_layer.h240 #define layer_set_up(layr, above) ((layr)->up = (struct cflayer *)(above)) argument
247 #define layer_set_dn(layr, below) ((layr)->dn = (struct cflayer *)(below)) argument