Lines Matching refs:adap_layer
179 int caif_disconnect_client(struct net *net, struct cflayer *adap_layer) in caif_disconnect_client() argument
184 caif_assert(adap_layer != NULL); in caif_disconnect_client()
185 cfctrl_cancel_req(cfg->ctrl, adap_layer); in caif_disconnect_client()
186 channel_id = adap_layer->id; in caif_disconnect_client()
190 cfctrl_linkdown_req(cfg->ctrl, channel_id, adap_layer); in caif_disconnect_client()
198 if (adap_layer->ctrlcmd != NULL) in caif_disconnect_client()
199 adap_layer->ctrlcmd(adap_layer, CAIF_CTRLCMD_DEINIT_RSP, 0); in caif_disconnect_client()
301 struct cflayer *adap_layer, int *ifindex, in caif_connect_client() argument
322 if (adap_layer == NULL) { in caif_connect_client()
326 if (adap_layer->receive == NULL) { in caif_connect_client()
330 if (adap_layer->ctrlcmd == NULL) { in caif_connect_client()
355 return cfctrl_linkup_request(cfg->ctrl, ¶m, adap_layer); in caif_connect_client()