Lines Matching refs:bt_link_info
248 struct btc_bt_link_info *bt_link_info = &btcoexist->bt_link_info; in btc8723b2ant_monitor_bt_ctr() local
276 bt_link_info->slave_role = true; in btc8723b2ant_monitor_bt_ctr()
278 bt_link_info->slave_role = false; in btc8723b2ant_monitor_bt_ctr()
392 struct btc_bt_link_info *bt_link_info = &btcoexist->bt_link_info; in btc8723b2ant_update_bt_link_info() local
397 bt_link_info->bt_link_exist = coex_sta->bt_link_exist; in btc8723b2ant_update_bt_link_info()
398 bt_link_info->sco_exist = coex_sta->sco_exist; in btc8723b2ant_update_bt_link_info()
399 bt_link_info->a2dp_exist = coex_sta->a2dp_exist; in btc8723b2ant_update_bt_link_info()
400 bt_link_info->pan_exist = coex_sta->pan_exist; in btc8723b2ant_update_bt_link_info()
401 bt_link_info->hid_exist = coex_sta->hid_exist; in btc8723b2ant_update_bt_link_info()
405 bt_link_info->pan_exist = true; in btc8723b2ant_update_bt_link_info()
406 bt_link_info->bt_link_exist = true; in btc8723b2ant_update_bt_link_info()
410 if (bt_link_info->sco_exist && !bt_link_info->a2dp_exist && in btc8723b2ant_update_bt_link_info()
411 !bt_link_info->pan_exist && !bt_link_info->hid_exist) in btc8723b2ant_update_bt_link_info()
412 bt_link_info->sco_only = true; in btc8723b2ant_update_bt_link_info()
414 bt_link_info->sco_only = false; in btc8723b2ant_update_bt_link_info()
417 if (!bt_link_info->sco_exist && bt_link_info->a2dp_exist && in btc8723b2ant_update_bt_link_info()
418 !bt_link_info->pan_exist && !bt_link_info->hid_exist) in btc8723b2ant_update_bt_link_info()
419 bt_link_info->a2dp_only = true; in btc8723b2ant_update_bt_link_info()
421 bt_link_info->a2dp_only = false; in btc8723b2ant_update_bt_link_info()
424 if (!bt_link_info->sco_exist && !bt_link_info->a2dp_exist && in btc8723b2ant_update_bt_link_info()
425 bt_link_info->pan_exist && !bt_link_info->hid_exist) in btc8723b2ant_update_bt_link_info()
426 bt_link_info->pan_only = true; in btc8723b2ant_update_bt_link_info()
428 bt_link_info->pan_only = false; in btc8723b2ant_update_bt_link_info()
431 if (!bt_link_info->sco_exist && !bt_link_info->a2dp_exist && in btc8723b2ant_update_bt_link_info()
432 !bt_link_info->pan_exist && bt_link_info->hid_exist) in btc8723b2ant_update_bt_link_info()
433 bt_link_info->hid_only = true; in btc8723b2ant_update_bt_link_info()
435 bt_link_info->hid_only = false; in btc8723b2ant_update_bt_link_info()
441 struct btc_bt_link_info *bt_link_info = &btcoexist->bt_link_info; in btc8723b2ant_action_algorithm() local
448 if (!bt_link_info->bt_link_exist) { in btc8723b2ant_action_algorithm()
454 if (bt_link_info->sco_exist) in btc8723b2ant_action_algorithm()
456 if (bt_link_info->hid_exist) in btc8723b2ant_action_algorithm()
458 if (bt_link_info->pan_exist) in btc8723b2ant_action_algorithm()
460 if (bt_link_info->a2dp_exist) in btc8723b2ant_action_algorithm()
464 if (bt_link_info->sco_exist) { in btc8723b2ant_action_algorithm()
469 if (bt_link_info->hid_exist) { in btc8723b2ant_action_algorithm()
473 } else if (bt_link_info->a2dp_exist) { in btc8723b2ant_action_algorithm()
477 } else if (bt_link_info->pan_exist) { in btc8723b2ant_action_algorithm()
494 if (bt_link_info->sco_exist) { in btc8723b2ant_action_algorithm()
495 if (bt_link_info->hid_exist) { in btc8723b2ant_action_algorithm()
499 } else if (bt_link_info->a2dp_exist) { in btc8723b2ant_action_algorithm()
503 } else if (bt_link_info->pan_exist) { in btc8723b2ant_action_algorithm()
518 if (bt_link_info->hid_exist && in btc8723b2ant_action_algorithm()
519 bt_link_info->a2dp_exist) { in btc8723b2ant_action_algorithm()
523 } else if (bt_link_info->hid_exist && in btc8723b2ant_action_algorithm()
524 bt_link_info->pan_exist) { in btc8723b2ant_action_algorithm()
537 } else if (bt_link_info->pan_exist && in btc8723b2ant_action_algorithm()
538 bt_link_info->a2dp_exist) { in btc8723b2ant_action_algorithm()
555 if (bt_link_info->sco_exist) { in btc8723b2ant_action_algorithm()
556 if (bt_link_info->hid_exist && in btc8723b2ant_action_algorithm()
557 bt_link_info->a2dp_exist) { in btc8723b2ant_action_algorithm()
561 } else if (bt_link_info->hid_exist && in btc8723b2ant_action_algorithm()
562 bt_link_info->pan_exist) { in btc8723b2ant_action_algorithm()
576 } else if (bt_link_info->pan_exist && in btc8723b2ant_action_algorithm()
577 bt_link_info->a2dp_exist) { in btc8723b2ant_action_algorithm()
593 if (bt_link_info->hid_exist && in btc8723b2ant_action_algorithm()
594 bt_link_info->pan_exist && in btc8723b2ant_action_algorithm()
595 bt_link_info->a2dp_exist) { in btc8723b2ant_action_algorithm()
612 if (bt_link_info->sco_exist) { in btc8723b2ant_action_algorithm()
613 if (bt_link_info->hid_exist && in btc8723b2ant_action_algorithm()
614 bt_link_info->pan_exist && in btc8723b2ant_action_algorithm()
615 bt_link_info->a2dp_exist) { in btc8723b2ant_action_algorithm()
1211 struct btc_bt_link_info *bt_link_info = &btcoexist->bt_link_info; in btc8723b2ant_ps_tdma() local
1282 if ((bt_link_info->slave_role) && (bt_link_info->a2dp_exist)) in btc8723b2ant_ps_tdma()
3351 struct btc_bt_link_info *bt_link_info = &btcoexist->bt_link_info; in btc8723b2ant_run_coexist_mechanism() local
3401 if (bt_link_info->bt_link_exist) in btc8723b2ant_run_coexist_mechanism()
3644 struct btc_bt_link_info *bt_link_info = &btcoexist->bt_link_info; in ex_btc8723b2ant_display_coex_info() local
3718 bt_link_info->sco_exist, bt_link_info->hid_exist, in ex_btc8723b2ant_display_coex_info()
3719 bt_link_info->pan_exist, bt_link_info->a2dp_exist); in ex_btc8723b2ant_display_coex_info()
4204 struct btc_bt_link_info *bt_link_info = &btcoexist->bt_link_info; in ex_btc8723b2ant_periodical() local
4233 (bt_link_info->hid_exist)) in ex_btc8723b2ant_periodical()
4234 bt_link_info->hid_exist = false; in ex_btc8723b2ant_periodical()