Lines Matching refs:layr
17 #define container_obj(layr) container_of(layr, struct cfrfml, serv.layer) argument
21 static int cfrfml_receive(struct cflayer *layr, struct cfpkt *pkt);
22 static int cfrfml_transmit(struct cflayer *layr, struct cfpkt *pkt);
97 static int cfrfml_receive(struct cflayer *layr, struct cfpkt *pkt) in cfrfml_receive() argument
106 caif_assert(layr->up != NULL); in cfrfml_receive()
107 caif_assert(layr->receive != NULL); in cfrfml_receive()
108 rfml = container_obj(layr); in cfrfml_receive()
183 layr->up->ctrlcmd(layr->up, CAIF_CTRLCMD_REMOTE_SHUTDOWN_IND, in cfrfml_receive()
213 static int cfrfml_transmit(struct cflayer *layr, struct cfpkt *pkt) in cfrfml_transmit() argument
220 struct cfrfml *rfml = container_obj(layr); in cfrfml_transmit()
222 caif_assert(layr->dn != NULL); in cfrfml_transmit()
223 caif_assert(layr->dn->transmit != NULL); in cfrfml_transmit()
288 layr->up->ctrlcmd(layr->up, CAIF_CTRLCMD_REMOTE_SHUTDOWN_IND, in cfrfml_transmit()