Searched refs:cfctrl (Results 1 - 5 of 5) sorted by relevance
/linux-4.1.27/net/caif/ |
H A D | cfctrl.c | 15 #include <net/caif/cfctrl.h> 17 #define container_obj(layr) container_of(layr, struct cfctrl, serv.layer) 22 static int handle_loop(struct cfctrl *ctrl, handle_loop() 27 static int handle_loop(struct cfctrl *ctrl, 38 struct cfctrl *this = cfctrl_create() 39 kzalloc(sizeof(struct cfctrl), GFP_ATOMIC); cfctrl_create() 42 caif_assert(offsetof(struct cfctrl, serv.layer) == 0); cfctrl_create() 63 struct cfctrl *ctrl = container_obj(layer); cfctrl_remove() 129 static void cfctrl_insert_req(struct cfctrl *ctrl, cfctrl_insert_req() 140 static struct cfctrl_request_info *cfctrl_remove_req(struct cfctrl *ctrl, cfctrl_remove_req() 165 struct cfctrl *this = container_obj(layer); cfctrl_get_respfuncs() 169 static void init_info(struct caif_payload_info *info, struct cfctrl *cfctrl) init_info() argument 172 info->channel_id = cfctrl->serv.layer.id; init_info() 173 info->dev_info = &cfctrl->serv.dev_info; init_info() 179 struct cfctrl *cfctrl = container_obj(layer); cfctrl_enum_req() local 180 struct cflayer *dn = cfctrl->serv.layer.dn; cfctrl_enum_req() 189 caif_assert(offsetof(struct cfctrl, serv.layer) == 0); cfctrl_enum_req() 190 init_info(cfpkt_info(pkt), cfctrl); cfctrl_enum_req() local 192 cfctrl->serv.dev_info.id = physlinkid; cfctrl_enum_req() 203 struct cfctrl *cfctrl = container_obj(layer); cfctrl_linkup_request() local 211 struct cflayer *dn = cfctrl->serv.layer.dn; cfctrl_linkup_request() 280 cfctrl_insert_req(cfctrl, req); cfctrl_linkup_request() 281 init_info(cfpkt_info(pkt), cfctrl); cfctrl_linkup_request() local 294 count = cfctrl_cancel_req(&cfctrl->serv.layer, cfctrl_linkup_request() 309 struct cfctrl *cfctrl = container_obj(layer); cfctrl_linkdown_req() local 310 struct cflayer *dn = cfctrl->serv.layer.dn; cfctrl_linkdown_req() 321 init_info(cfpkt_info(pkt), cfctrl); cfctrl_linkdown_req() local 326 cfctrl->loop_linkused[channelid] = 0; cfctrl_linkdown_req() 334 struct cfctrl *ctrl = container_obj(layr); cfctrl_cancel_req() 359 struct cfctrl *cfctrl = container_obj(layer); cfctrl_recv() local 368 if (handle_loop(cfctrl, cmd, pkt) != 0) cfctrl_recv() 500 spin_lock_bh(&cfctrl->info_list_lock); cfctrl_recv() 501 req = cfctrl_remove_req(cfctrl, &rsp); cfctrl_recv() 507 cfctrl->res.reject_rsp(cfctrl->serv.layer.up, cfctrl_recv() 512 cfctrl->res.linksetup_rsp(cfctrl->serv. cfctrl_recv() 521 spin_unlock_bh(&cfctrl->info_list_lock); cfctrl_recv() 526 cfctrl->res.linkdestroy_rsp(cfctrl->serv.layer.up, linkid); cfctrl_recv() 530 cfctrl->res.linkerror_ind(); cfctrl_recv() 533 cfctrl->res.enum_rsp(); cfctrl_recv() 536 cfctrl->res.sleep_rsp(); cfctrl_recv() 539 cfctrl->res.wake_rsp(); cfctrl_recv() 542 cfctrl->res.restart_rsp(); cfctrl_recv() 545 cfctrl->res.radioset_rsp(); cfctrl_recv() 560 struct cfctrl *this = container_obj(layr); cfctrl_ctrlcmd() 592 static int handle_loop(struct cfctrl *ctrl, int cmd, struct cfpkt *pkt) handle_loop()
|
H A D | Makefile | 4 cfcnfg.o cfmuxl.o cfctrl.o \
|
H A D | cfcnfg.c | 17 #include <net/caif/cfctrl.h>
|
/linux-4.1.27/include/net/caif/ |
H A D | cfctrl.h | 101 struct cfctrl { struct 118 void cfctrl_enum_req(struct cflayer *cfctrl, u8 physlinkid); 119 int cfctrl_linkup_request(struct cflayer *cfctrl, 122 int cfctrl_linkdown_req(struct cflayer *cfctrl, u8 linkid,
|
H A D | cfcnfg.h | 12 #include <net/caif/cfctrl.h>
|
Completed in 503 milliseconds