Lines Matching refs:bt_link_info

249 	struct btc_bt_link_info *bt_link_info = &btcoexist->bt_link_info;  in btc8821a2ant_monitor_bt_ctr()  local
272 bt_link_info->slave_role = true; in btc8821a2ant_monitor_bt_ctr()
274 bt_link_info->slave_role = false; in btc8821a2ant_monitor_bt_ctr()
383 struct btc_bt_link_info *bt_link_info = &btcoexist->bt_link_info; in btc8821a2ant_update_bt_link_info() local
388 bt_link_info->bt_link_exist = coex_sta->bt_link_exist; in btc8821a2ant_update_bt_link_info()
389 bt_link_info->sco_exist = coex_sta->sco_exist; in btc8821a2ant_update_bt_link_info()
390 bt_link_info->a2dp_exist = coex_sta->a2dp_exist; in btc8821a2ant_update_bt_link_info()
391 bt_link_info->pan_exist = coex_sta->pan_exist; in btc8821a2ant_update_bt_link_info()
392 bt_link_info->hid_exist = coex_sta->hid_exist; in btc8821a2ant_update_bt_link_info()
396 bt_link_info->pan_exist = true; in btc8821a2ant_update_bt_link_info()
397 bt_link_info->bt_link_exist = true; in btc8821a2ant_update_bt_link_info()
401 if (bt_link_info->sco_exist && !bt_link_info->a2dp_exist && in btc8821a2ant_update_bt_link_info()
402 !bt_link_info->pan_exist && !bt_link_info->hid_exist) in btc8821a2ant_update_bt_link_info()
403 bt_link_info->sco_only = true; in btc8821a2ant_update_bt_link_info()
405 bt_link_info->sco_only = false; in btc8821a2ant_update_bt_link_info()
408 if (!bt_link_info->sco_exist && bt_link_info->a2dp_exist && in btc8821a2ant_update_bt_link_info()
409 !bt_link_info->pan_exist && !bt_link_info->hid_exist) in btc8821a2ant_update_bt_link_info()
410 bt_link_info->a2dp_only = true; in btc8821a2ant_update_bt_link_info()
412 bt_link_info->a2dp_only = false; in btc8821a2ant_update_bt_link_info()
415 if (!bt_link_info->sco_exist && !bt_link_info->a2dp_exist && in btc8821a2ant_update_bt_link_info()
416 bt_link_info->pan_exist && !bt_link_info->hid_exist) in btc8821a2ant_update_bt_link_info()
417 bt_link_info->pan_only = true; in btc8821a2ant_update_bt_link_info()
419 bt_link_info->pan_only = false; in btc8821a2ant_update_bt_link_info()
422 if (!bt_link_info->sco_exist && !bt_link_info->a2dp_exist && in btc8821a2ant_update_bt_link_info()
423 !bt_link_info->pan_exist && bt_link_info->hid_exist) in btc8821a2ant_update_bt_link_info()
424 bt_link_info->hid_only = true; in btc8821a2ant_update_bt_link_info()
426 bt_link_info->hid_only = false; in btc8821a2ant_update_bt_link_info()
432 struct btc_bt_link_info *bt_link_info = &btcoexist->bt_link_info; in btc8821a2ant_action_algorithm() local
439 if (!bt_link_info->bt_link_exist) { in btc8821a2ant_action_algorithm()
445 if (bt_link_info->sco_exist) in btc8821a2ant_action_algorithm()
447 if (bt_link_info->hid_exist) in btc8821a2ant_action_algorithm()
449 if (bt_link_info->pan_exist) in btc8821a2ant_action_algorithm()
451 if (bt_link_info->a2dp_exist) in btc8821a2ant_action_algorithm()
455 if (bt_link_info->sco_exist) { in btc8821a2ant_action_algorithm()
460 if (bt_link_info->hid_exist) { in btc8821a2ant_action_algorithm()
464 } else if (bt_link_info->a2dp_exist) { in btc8821a2ant_action_algorithm()
468 } else if (bt_link_info->pan_exist) { in btc8821a2ant_action_algorithm()
483 if (bt_link_info->sco_exist) { in btc8821a2ant_action_algorithm()
484 if (bt_link_info->hid_exist) { in btc8821a2ant_action_algorithm()
488 } else if (bt_link_info->a2dp_exist) { in btc8821a2ant_action_algorithm()
492 } else if (bt_link_info->pan_exist) { in btc8821a2ant_action_algorithm()
506 if (bt_link_info->hid_exist && in btc8821a2ant_action_algorithm()
507 bt_link_info->a2dp_exist) { in btc8821a2ant_action_algorithm()
511 } else if (bt_link_info->hid_exist && in btc8821a2ant_action_algorithm()
512 bt_link_info->pan_exist) { in btc8821a2ant_action_algorithm()
525 } else if (bt_link_info->pan_exist && in btc8821a2ant_action_algorithm()
526 bt_link_info->a2dp_exist) { in btc8821a2ant_action_algorithm()
543 if (bt_link_info->sco_exist) { in btc8821a2ant_action_algorithm()
544 if (bt_link_info->hid_exist && in btc8821a2ant_action_algorithm()
545 bt_link_info->a2dp_exist) { in btc8821a2ant_action_algorithm()
549 } else if (bt_link_info->hid_exist && in btc8821a2ant_action_algorithm()
550 bt_link_info->pan_exist) { in btc8821a2ant_action_algorithm()
562 } else if (bt_link_info->pan_exist && in btc8821a2ant_action_algorithm()
563 bt_link_info->a2dp_exist) { in btc8821a2ant_action_algorithm()
577 if (bt_link_info->hid_exist && in btc8821a2ant_action_algorithm()
578 bt_link_info->pan_exist && in btc8821a2ant_action_algorithm()
579 bt_link_info->a2dp_exist) { in btc8821a2ant_action_algorithm()
596 if (bt_link_info->sco_exist) { in btc8821a2ant_action_algorithm()
597 if (bt_link_info->hid_exist && in btc8821a2ant_action_algorithm()
598 bt_link_info->pan_exist && in btc8821a2ant_action_algorithm()
599 bt_link_info->a2dp_exist) { in btc8821a2ant_action_algorithm()
2596 struct btc_bt_link_info *bt_link_info = &btcoexist->bt_link_info; in btc8821a2ant_action_sco() local
2624 if (bt_link_info->sco_only) in btc8821a2ant_action_sco()
3368 struct btc_bt_link_info *bt_link_info = &btcoexist->bt_link_info; in btc8821a2ant_run_coexist_mechanism() local
3428 if (bt_link_info->bt_link_exist) in btc8821a2ant_run_coexist_mechanism()