Lines Matching refs:layr
25 #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() argument
30 struct cfsrvl *service = container_obj(layr); in cfservl_ctrlcmd()
32 if (layr->up == NULL || layr->up->ctrlcmd == NULL) in cfservl_ctrlcmd()
38 layr->up->ctrlcmd(layr->up, ctrl, phyid); in cfservl_ctrlcmd()
43 layr->up->ctrlcmd(layr->up, ctrl, phyid); in cfservl_ctrlcmd()
49 layr->up->ctrlcmd(layr->up, in cfservl_ctrlcmd()
57 layr->up->ctrlcmd(layr->up, in cfservl_ctrlcmd()
65 layr->up->ctrlcmd(layr->up, in cfservl_ctrlcmd()
72 layr->up->ctrlcmd(layr->up, in cfservl_ctrlcmd()
79 layr->up->ctrlcmd(layr->up, in cfservl_ctrlcmd()
83 layr->up->ctrlcmd(layr->up, ctrl, phyid); in cfservl_ctrlcmd()
88 layr->up->ctrlcmd(layr->up, ctrl, phyid); in cfservl_ctrlcmd()
94 static int cfservl_modemcmd(struct cflayer *layr, enum caif_modemcmd ctrl) in cfservl_modemcmd() argument
96 struct cfsrvl *service = container_obj(layr); in cfservl_modemcmd()
98 caif_assert(layr != NULL); in cfservl_modemcmd()
99 caif_assert(layr->dn != NULL); in cfservl_modemcmd()
100 caif_assert(layr->dn->transmit != NULL); in cfservl_modemcmd()
125 return layr->dn->transmit(layr->dn, pkt); in cfservl_modemcmd()
146 return layr->dn->transmit(layr->dn, pkt); in cfservl_modemcmd()