Lines Matching refs:layer
25 #define container_obj(layr) container_of(layr, struct cfsrvl, layer)
121 info->channel_id = service->layer.id; in cfservl_modemcmd()
142 info->channel_id = service->layer.id; in cfservl_modemcmd()
154 static void cfsrvl_release(struct cflayer *layer) in cfsrvl_release() argument
156 struct cfsrvl *service = container_of(layer, struct cfsrvl, layer); in cfsrvl_release()
165 caif_assert(offsetof(struct cfsrvl, layer) == 0); in cfsrvl_init()
169 service->layer.id = channel_id; in cfsrvl_init()
170 service->layer.ctrlcmd = cfservl_ctrlcmd; in cfsrvl_init()
171 service->layer.modemcmd = cfservl_modemcmd; in cfsrvl_init()
186 u8 cfsrvl_getphyid(struct cflayer *layer) in cfsrvl_getphyid() argument
188 struct cfsrvl *servl = container_obj(layer); in cfsrvl_getphyid()
192 bool cfsrvl_phyid_match(struct cflayer *layer, int phyid) in cfsrvl_phyid_match() argument
194 struct cfsrvl *servl = container_obj(layer); in cfsrvl_phyid_match()
204 servl->release(&servl->layer); in caif_free_client()
216 service = container_of(adapt_layer->dn, struct cfsrvl, layer); in caif_client_register_refcnt()