Lines Matching refs:bt_link_info

463 	struct btc_bt_link_info *bt_link_info = &btcoexist->bt_link_info;  in btc8192e2ant_update_bt_link_info()  local
468 bt_link_info->bt_link_exist = coex_sta->bt_link_exist; in btc8192e2ant_update_bt_link_info()
469 bt_link_info->sco_exist = coex_sta->sco_exist; in btc8192e2ant_update_bt_link_info()
470 bt_link_info->a2dp_exist = coex_sta->a2dp_exist; in btc8192e2ant_update_bt_link_info()
471 bt_link_info->pan_exist = coex_sta->pan_exist; in btc8192e2ant_update_bt_link_info()
472 bt_link_info->hid_exist = coex_sta->hid_exist; in btc8192e2ant_update_bt_link_info()
476 bt_link_info->pan_exist = true; in btc8192e2ant_update_bt_link_info()
477 bt_link_info->bt_link_exist = true; in btc8192e2ant_update_bt_link_info()
481 if (bt_link_info->sco_exist && in btc8192e2ant_update_bt_link_info()
482 !bt_link_info->a2dp_exist && in btc8192e2ant_update_bt_link_info()
483 !bt_link_info->pan_exist && in btc8192e2ant_update_bt_link_info()
484 !bt_link_info->hid_exist) in btc8192e2ant_update_bt_link_info()
485 bt_link_info->sco_only = true; in btc8192e2ant_update_bt_link_info()
487 bt_link_info->sco_only = false; in btc8192e2ant_update_bt_link_info()
490 if (!bt_link_info->sco_exist && in btc8192e2ant_update_bt_link_info()
491 bt_link_info->a2dp_exist && in btc8192e2ant_update_bt_link_info()
492 !bt_link_info->pan_exist && in btc8192e2ant_update_bt_link_info()
493 !bt_link_info->hid_exist) in btc8192e2ant_update_bt_link_info()
494 bt_link_info->a2dp_only = true; in btc8192e2ant_update_bt_link_info()
496 bt_link_info->a2dp_only = false; in btc8192e2ant_update_bt_link_info()
499 if (!bt_link_info->sco_exist && in btc8192e2ant_update_bt_link_info()
500 !bt_link_info->a2dp_exist && in btc8192e2ant_update_bt_link_info()
501 bt_link_info->pan_exist && in btc8192e2ant_update_bt_link_info()
502 !bt_link_info->hid_exist) in btc8192e2ant_update_bt_link_info()
503 bt_link_info->pan_only = true; in btc8192e2ant_update_bt_link_info()
505 bt_link_info->pan_only = false; in btc8192e2ant_update_bt_link_info()
508 if (!bt_link_info->sco_exist && in btc8192e2ant_update_bt_link_info()
509 !bt_link_info->a2dp_exist && in btc8192e2ant_update_bt_link_info()
510 !bt_link_info->pan_exist && in btc8192e2ant_update_bt_link_info()
511 bt_link_info->hid_exist) in btc8192e2ant_update_bt_link_info()
512 bt_link_info->hid_only = true; in btc8192e2ant_update_bt_link_info()
514 bt_link_info->hid_only = false; in btc8192e2ant_update_bt_link_info()
520 struct btc_bt_link_info *bt_link_info = &btcoexist->bt_link_info; in btc8192e2ant_action_algorithm() local
528 if (!bt_link_info->bt_link_exist) { in btc8192e2ant_action_algorithm()
534 if (bt_link_info->sco_exist) in btc8192e2ant_action_algorithm()
536 if (bt_link_info->hid_exist) in btc8192e2ant_action_algorithm()
538 if (bt_link_info->pan_exist) in btc8192e2ant_action_algorithm()
540 if (bt_link_info->a2dp_exist) in btc8192e2ant_action_algorithm()
544 if (bt_link_info->sco_exist) { in btc8192e2ant_action_algorithm()
549 if (bt_link_info->hid_exist) { in btc8192e2ant_action_algorithm()
553 } else if (bt_link_info->a2dp_exist) { in btc8192e2ant_action_algorithm()
557 } else if (bt_link_info->pan_exist) { in btc8192e2ant_action_algorithm()
574 if (bt_link_info->sco_exist) { in btc8192e2ant_action_algorithm()
575 if (bt_link_info->hid_exist) { in btc8192e2ant_action_algorithm()
579 } else if (bt_link_info->a2dp_exist) { in btc8192e2ant_action_algorithm()
583 } else if (bt_link_info->pan_exist) { in btc8192e2ant_action_algorithm()
598 if (bt_link_info->hid_exist && in btc8192e2ant_action_algorithm()
599 bt_link_info->a2dp_exist) { in btc8192e2ant_action_algorithm()
613 } else if (bt_link_info->hid_exist && in btc8192e2ant_action_algorithm()
614 bt_link_info->pan_exist) { in btc8192e2ant_action_algorithm()
627 } else if (bt_link_info->pan_exist && in btc8192e2ant_action_algorithm()
628 bt_link_info->a2dp_exist) { in btc8192e2ant_action_algorithm()
645 if (bt_link_info->sco_exist) { in btc8192e2ant_action_algorithm()
646 if (bt_link_info->hid_exist && in btc8192e2ant_action_algorithm()
647 bt_link_info->a2dp_exist) { in btc8192e2ant_action_algorithm()
651 } else if (bt_link_info->hid_exist && in btc8192e2ant_action_algorithm()
652 bt_link_info->pan_exist) { in btc8192e2ant_action_algorithm()
665 } else if (bt_link_info->pan_exist && in btc8192e2ant_action_algorithm()
666 bt_link_info->a2dp_exist) { in btc8192e2ant_action_algorithm()
681 if (bt_link_info->hid_exist && in btc8192e2ant_action_algorithm()
682 bt_link_info->pan_exist && in btc8192e2ant_action_algorithm()
683 bt_link_info->a2dp_exist) { in btc8192e2ant_action_algorithm()
700 if (bt_link_info->sco_exist) { in btc8192e2ant_action_algorithm()
701 if (bt_link_info->hid_exist && in btc8192e2ant_action_algorithm()
702 bt_link_info->pan_exist && in btc8192e2ant_action_algorithm()
703 bt_link_info->a2dp_exist) { in btc8192e2ant_action_algorithm()
1440 struct btc_bt_link_info *bt_link_info = &btcoexist->bt_link_info; in btc8192e2ant_is_common_action() local
1449 if (bt_link_info->sco_exist || bt_link_info->hid_exist) in btc8192e2ant_is_common_action()