Searched refs:adap_layer (Results 1 – 3 of 3) sorted by relevance
179 int caif_disconnect_client(struct net *net, struct cflayer *adap_layer) in caif_disconnect_client() argument184 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() argument322 if (adap_layer == NULL) { in caif_connect_client()326 if (adap_layer->receive == NULL) { in caif_connect_client()[all …]
198 void caif_free_client(struct cflayer *adap_layer) in caif_free_client() argument201 if (adap_layer == NULL || adap_layer->dn == NULL) in caif_free_client()203 servl = container_obj(adap_layer->dn); in caif_free_client()
335 int cfctrl_cancel_req(struct cflayer *layr, struct cflayer *adap_layer) in cfctrl_cancel_req() argument343 if (p->client_layer == adap_layer) { in cfctrl_cancel_req()