Lines Matching refs:layer
24 #define container_obj(layr) container_of(layr, struct cfsrvl, layer)
120 info->channel_id = service->layer.id; in cfservl_modemcmd()
140 info->channel_id = service->layer.id; in cfservl_modemcmd()
151 static void cfsrvl_release(struct cflayer *layer) in cfsrvl_release() argument
153 struct cfsrvl *service = container_of(layer, struct cfsrvl, layer); in cfsrvl_release()
163 caif_assert(offsetof(struct cfsrvl, layer) == 0); in cfsrvl_init()
167 service->layer.id = channel_id; in cfsrvl_init()
168 service->layer.ctrlcmd = cfservl_ctrlcmd; in cfsrvl_init()
169 service->layer.modemcmd = cfservl_modemcmd; in cfsrvl_init()
184 u8 cfsrvl_getphyid(struct cflayer *layer) in cfsrvl_getphyid() argument
186 struct cfsrvl *servl = container_obj(layer); in cfsrvl_getphyid()
190 bool cfsrvl_phyid_match(struct cflayer *layer, int phyid) in cfsrvl_phyid_match() argument
192 struct cfsrvl *servl = container_obj(layer); in cfsrvl_phyid_match()
202 servl->release(&servl->layer); in caif_free_client()
211 service = container_of(adapt_layer->dn, struct cfsrvl, layer); in caif_client_register_refcnt()