• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/caif/

Lines Matching refs:cfctrl

12 #include <net/caif/cfctrl.h>
14 #define container_obj(layr) container_of(layr, struct cfctrl, serv.layer)
20 static int handle_loop(struct cfctrl *ctrl,
25 static int handle_loop(struct cfctrl *ctrl,
36 struct cfctrl *this =
37 kmalloc(sizeof(struct cfctrl), GFP_ATOMIC);
42 caif_assert(offsetof(struct cfctrl, serv.layer) == 0);
113 void cfctrl_insert_req(struct cfctrl *ctrl,
124 struct cfctrl_request_info *cfctrl_remove_req(struct cfctrl *ctrl,
153 struct cfctrl *this = container_obj(layer);
167 static void init_info(struct caif_payload_info *info, struct cfctrl *cfctrl)
170 info->channel_id = cfctrl->serv.layer.id;
171 info->dev_info = &cfctrl->serv.dev_info;
176 struct cfctrl *cfctrl = container_obj(layer);
183 caif_assert(offsetof(struct cfctrl, serv.layer) == 0);
184 init_info(cfpkt_info(pkt), cfctrl);
186 cfctrl->serv.dev_info.id = physlinkid;
190 cfctrl->serv.layer.dn->transmit(cfctrl->serv.layer.dn, pkt);
202 struct cfctrl *cfctrl = container_obj(layer);
268 cfctrl_insert_req(cfctrl, req);
269 init_info(cfpkt_info(pkt), cfctrl);
277 cfctrl->serv.layer.dn->transmit(cfctrl->serv.layer.dn, pkt);
291 struct cfctrl *cfctrl = container_obj(layer);
299 init_info(cfpkt_info(pkt), cfctrl);
301 cfctrl->serv.layer.dn->transmit(cfctrl->serv.layer.dn, pkt);
313 struct cfctrl *cfctrl = container_obj(layer);
320 init_info(cfpkt_info(pkt), cfctrl);
322 cfctrl->serv.layer.dn->transmit(cfctrl->serv.layer.dn, pkt);
330 struct cfctrl *cfctrl = container_obj(layer);
337 init_info(cfpkt_info(pkt), cfctrl);
339 cfctrl->serv.layer.dn->transmit(cfctrl->serv.layer.dn, pkt);
347 struct cfctrl *cfctrl = container_obj(layer);
354 init_info(cfpkt_info(pkt), cfctrl);
356 cfctrl->serv.layer.dn->transmit(cfctrl->serv.layer.dn, pkt);
365 struct cfctrl *ctrl = container_obj(layr);
390 struct cfctrl *cfctrl = container_obj(layer);
398 if (handle_loop(cfctrl, cmd, pkt) != 0)
531 req = cfctrl_remove_req(cfctrl, &rsp);
538 cfctrl->res.reject_rsp(cfctrl->serv.layer.up,
543 cfctrl->res.linksetup_rsp(cfctrl->serv.
556 cfctrl->res.linkdestroy_rsp(cfctrl->serv.layer.up, linkid);
561 cfctrl->res.linkerror_ind();
564 cfctrl->res.enum_rsp();
567 cfctrl->res.sleep_rsp();
570 cfctrl->res.wake_rsp();
573 cfctrl->res.restart_rsp();
576 cfctrl->res.radioset_rsp();
592 struct cfctrl *this = container_obj(layr);
609 static int handle_loop(struct cfctrl *ctrl, int cmd, struct cfpkt *pkt)