Lines Matching refs:layr
23 #define container_obj(layr) container_of(layr, struct cfsrvl, layer) argument
25 static void cfservl_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl, in cfservl_ctrlcmd() argument
28 struct cfsrvl *service = container_obj(layr); in cfservl_ctrlcmd()
30 caif_assert(layr->up != NULL); in cfservl_ctrlcmd()
31 caif_assert(layr->up->ctrlcmd != NULL); in cfservl_ctrlcmd()
36 layr->up->ctrlcmd(layr->up, ctrl, phyid); in cfservl_ctrlcmd()
41 layr->up->ctrlcmd(layr->up, ctrl, phyid); in cfservl_ctrlcmd()
47 layr->up->ctrlcmd(layr->up, in cfservl_ctrlcmd()
55 layr->up->ctrlcmd(layr->up, in cfservl_ctrlcmd()
63 layr->up->ctrlcmd(layr->up, in cfservl_ctrlcmd()
70 layr->up->ctrlcmd(layr->up, in cfservl_ctrlcmd()
77 layr->up->ctrlcmd(layr->up, in cfservl_ctrlcmd()
81 layr->up->ctrlcmd(layr->up, ctrl, phyid); in cfservl_ctrlcmd()
86 layr->up->ctrlcmd(layr->up, ctrl, phyid); in cfservl_ctrlcmd()
92 static int cfservl_modemcmd(struct cflayer *layr, enum caif_modemcmd ctrl) in cfservl_modemcmd() argument
94 struct cfsrvl *service = container_obj(layr); in cfservl_modemcmd()
96 caif_assert(layr != NULL); in cfservl_modemcmd()
97 caif_assert(layr->dn != NULL); in cfservl_modemcmd()
98 caif_assert(layr->dn->transmit != NULL); in cfservl_modemcmd()
124 return layr->dn->transmit(layr->dn, pkt); in cfservl_modemcmd()
146 return layr->dn->transmit(layr->dn, pkt); in cfservl_modemcmd()