Lines Matching refs:a2dp_cb

72 static struct bt_a2dp_cb *a2dp_cb;  variable
96 if ((a2dp_cb != NULL) && (a2dp_cb->connected != NULL)) { in a2dp_connected()
97 a2dp_cb->connected(a2dp, 0); in a2dp_connected()
107 if ((a2dp_cb != NULL) && (a2dp_cb->disconnected != NULL)) { in a2dp_disconnected()
108 a2dp_cb->disconnected(a2dp); in a2dp_disconnected()
210 if (a2dp_cb == NULL || a2dp_cb->reconfig_req == NULL) { in a2dp_process_config_ind()
213 } else if (a2dp_cb == NULL || a2dp_cb->config_req == NULL) { in a2dp_process_config_ind()
224 err = a2dp_cb->config_req(a2dp, ep, &cfg, &stream, &rsp_err_code); in a2dp_process_config_ind()
236 err = a2dp_cb->reconfig_req(stream, &cfg, &rsp_err_code); in a2dp_process_config_ind()
336 req_cb = a2dp_cb != NULL ? a2dp_cb->establish_req : NULL; in a2dp_open_ind()
349 req_cb = a2dp_cb != NULL ? a2dp_cb->start_req : NULL; in a2dp_start_ind()
361 req_cb = a2dp_cb != NULL ? a2dp_cb->suspend_req : NULL; in a2dp_suspend_ind()
374 req_cb = a2dp_cb != NULL ? a2dp_cb->release_req : NULL; in a2dp_close_ind()
387 req_cb = a2dp_cb != NULL ? a2dp_cb->abort_req : NULL; in a2dp_abort_ind()
410 if ((a2dp_cb != NULL) && (a2dp_cb->config_rsp != NULL)) { in bt_a2dp_set_config_cb()
411 a2dp_cb->config_rsp(stream, req->status); in bt_a2dp_set_config_cb()
679 bt_a2dp_rsp_cb rsp_cb = a2dp_cb != NULL ? a2dp_cb->establish_rsp : NULL; in bt_a2dp_open_cb()
690 bt_a2dp_rsp_cb rsp_cb = a2dp_cb != NULL ? a2dp_cb->start_rsp : NULL; in bt_a2dp_start_cb()
700 bt_a2dp_rsp_cb rsp_cb = a2dp_cb != NULL ? a2dp_cb->suspend_rsp : NULL; in bt_a2dp_suspend_cb()
710 bt_a2dp_rsp_cb rsp_cb = a2dp_cb != NULL ? a2dp_cb->release_rsp : NULL; in bt_a2dp_close_cb()
720 bt_a2dp_rsp_cb rsp_cb = a2dp_cb != NULL ? a2dp_cb->abort_rsp : NULL; in bt_a2dp_abort_cb()
991 a2dp_cb = cb; in bt_a2dp_register_cb()