Lines Matching defs:serv
17 #define container_obj(layr) container_of(layr, struct cfctrl, serv.layer)
42 caif_assert(offsetof(struct cfctrl, serv.layer) == 0);
45 cfsrvl_init(&this->serv, 0, &dev_info, false);
48 this->serv.layer.receive = cfctrl_recv;
49 sprintf(this->serv.layer.name, "ctrl");
50 this->serv.layer.ctrlcmd = cfctrl_ctrlcmd;
57 return &this->serv.layer;
172 info->channel_id = cfctrl->serv.layer.id;
173 info->dev_info = &cfctrl->serv.dev_info;
180 struct cflayer *dn = cfctrl->serv.layer.dn;
189 caif_assert(offsetof(struct cfctrl, serv.layer) == 0);
192 cfctrl->serv.dev_info.id = physlinkid;
211 struct cflayer *dn = cfctrl->serv.layer.dn;
298 count = cfctrl_cancel_req(&cfctrl->serv.layer,
314 struct cflayer *dn = cfctrl->serv.layer.dn;
378 enum cfctrl_srv serv;
391 serv = tmp & CFCTRL_SRV_MASK;
392 linkparam.linktype = serv;
406 switch (serv) {
492 serv);
505 cfctrl->res.reject_rsp(cfctrl->serv.layer.up,
510 cfctrl->res.linksetup_rsp(cfctrl->serv.
512 serv, physlinkid,
524 cfctrl->res.linkdestroy_rsp(cfctrl->serv.layer.up, linkid);