Lines Matching refs:discover_cb_param

63 	struct bt_a2dp_discover_param *discover_cb_param;  member
436 if ((a2dp->discover_cb_param != NULL) && (a2dp->discover_cb_param->cb != NULL)) { in bt_a2dp_get_capabilities_cb()
437 a2dp->discover_cb_param->cb(a2dp, NULL, NULL); in bt_a2dp_get_capabilities_cb()
438 a2dp->discover_cb_param = NULL; in bt_a2dp_get_capabilities_cb()
454 if ((a2dp->discover_cb_param != NULL) && (a2dp->discover_cb_param->cb != NULL)) { in bt_a2dp_get_capabilities_cb()
456 struct bt_a2dp_ep_info *info = &a2dp->discover_cb_param->info; in bt_a2dp_get_capabilities_cb()
459 info->sep_info = a2dp->discover_cb_param->seps_info[a2dp->get_cap_index]; in bt_a2dp_get_capabilities_cb()
462 user_ret = a2dp->discover_cb_param->cb(a2dp, info, &ep); in bt_a2dp_get_capabilities_cb()
472 a2dp->discover_cb_param->cb(a2dp, NULL, NULL); in bt_a2dp_get_capabilities_cb()
473 a2dp->discover_cb_param = NULL; in bt_a2dp_get_capabilities_cb()
476 a2dp->discover_cb_param = NULL; in bt_a2dp_get_capabilities_cb()
487 if ((a2dp->discover_cb_param == NULL) || (a2dp->discover_cb_param->cb == NULL)) { in bt_a2dp_get_sep_caps()
498 if (a2dp->discover_cb_param->seps_info[a2dp->get_cap_index].media_type == in bt_a2dp_get_sep_caps()
503 a2dp->discover_cb_param->seps_info[a2dp->get_cap_index].id; in bt_a2dp_get_sep_caps()
508 a2dp->discover_cb_param->cb(a2dp, NULL, NULL); in bt_a2dp_get_sep_caps()
509 a2dp->discover_cb_param = NULL; in bt_a2dp_get_sep_caps()
524 if (a2dp->discover_cb_param == NULL) { in bt_a2dp_discover_cb()
529 if (a2dp->discover_cb_param->sep_count == 0) { in bt_a2dp_discover_cb()
530 if (a2dp->discover_cb_param->cb != NULL) { in bt_a2dp_discover_cb()
531 a2dp->discover_cb_param->cb(a2dp, NULL, NULL); in bt_a2dp_discover_cb()
532 a2dp->discover_cb_param = NULL; in bt_a2dp_discover_cb()
538 sep_info = &a2dp->discover_cb_param->seps_info[a2dp->peer_seps_count]; in bt_a2dp_discover_cb()
546 } while (a2dp->peer_seps_count < a2dp->discover_cb_param->sep_count); in bt_a2dp_discover_cb()
552 if (a2dp->discover_cb_param->cb != NULL) { in bt_a2dp_discover_cb()
553 a2dp->discover_cb_param->cb(a2dp, NULL, NULL); in bt_a2dp_discover_cb()
554 a2dp->discover_cb_param = NULL; in bt_a2dp_discover_cb()
558 if (a2dp->discover_cb_param->cb != NULL) { in bt_a2dp_discover_cb()
559 a2dp->discover_cb_param->cb(a2dp, NULL, NULL); in bt_a2dp_discover_cb()
560 a2dp->discover_cb_param = NULL; in bt_a2dp_discover_cb()
579 if (a2dp->discover_cb_param != NULL) { in bt_a2dp_discover()
583 a2dp->discover_cb_param = param; in bt_a2dp_discover()
588 if (a2dp->discover_cb_param->cb != NULL) { in bt_a2dp_discover()
589 a2dp->discover_cb_param->cb(a2dp, NULL, NULL); in bt_a2dp_discover()
591 a2dp->discover_cb_param = NULL; in bt_a2dp_discover()