Lines Matching refs:hf_indicators
627 uint32_t hf_indicators = 0U; in bt_hfp_ag_bind_handler() local
646 hf_indicators = ag->hf_indicators_of_hf & ag->hf_indicators_of_ag; in bt_hfp_ag_bind_handler()
648 len = (sizeof(hf_indicators) * 8) > HFP_HF_IND_MAX ? HFP_HF_IND_MAX in bt_hfp_ag_bind_handler()
649 : (sizeof(hf_indicators) * 8); in bt_hfp_ag_bind_handler()
651 if (BIT(i) & hf_indicators) { in bt_hfp_ag_bind_handler()
659 if (hf_indicators == 0) { in bt_hfp_ag_bind_handler()
679 hf_indicators = ag->hf_indicators_of_ag; in bt_hfp_ag_bind_handler()
681 len = (sizeof(hf_indicators) * 8) > HFP_HF_IND_MAX ? HFP_HF_IND_MAX in bt_hfp_ag_bind_handler()
682 : (sizeof(hf_indicators) * 8); in bt_hfp_ag_bind_handler()
683 for (int i = 1; (i < len) && (hf_indicators != 0); i++) { in bt_hfp_ag_bind_handler()
684 if (BIT(i) & hf_indicators) { in bt_hfp_ag_bind_handler()
689 hf_indicators &= ~BIT(i); in bt_hfp_ag_bind_handler()
691 if (hf_indicators != 0) { in bt_hfp_ag_bind_handler()
719 if (indicator < (sizeof(hf_indicators) * 8)) { in bt_hfp_ag_bind_handler()
720 hf_indicators |= BIT(indicator); in bt_hfp_ag_bind_handler()
725 ag->hf_indicators_of_hf = hf_indicators; in bt_hfp_ag_bind_handler()