Lines Matching refs:layer
26 #define container_obj(layr) container_of(layr, struct cfsrvl, layer)
122 info->channel_id = service->layer.id; in cfservl_modemcmd()
143 info->channel_id = service->layer.id; in cfservl_modemcmd()
155 static void cfsrvl_release(struct cflayer *layer) in cfsrvl_release() argument
157 struct cfsrvl *service = container_of(layer, struct cfsrvl, layer); in cfsrvl_release()
166 caif_assert(offsetof(struct cfsrvl, layer) == 0); in cfsrvl_init()
170 service->layer.id = channel_id; in cfsrvl_init()
171 service->layer.ctrlcmd = cfservl_ctrlcmd; in cfsrvl_init()
172 service->layer.modemcmd = cfservl_modemcmd; in cfsrvl_init()
187 u8 cfsrvl_getphyid(struct cflayer *layer) in cfsrvl_getphyid() argument
189 struct cfsrvl *servl = container_obj(layer); in cfsrvl_getphyid()
193 bool cfsrvl_phyid_match(struct cflayer *layer, int phyid) in cfsrvl_phyid_match() argument
195 struct cfsrvl *servl = container_obj(layer); in cfsrvl_phyid_match()
205 servl->release(&servl->layer); in caif_free_client()
217 service = container_of(adapt_layer->dn, struct cfsrvl, layer); in caif_client_register_refcnt()