Home
last modified time | relevance | path

Searched refs:bit_num (Results 1 – 1 of 1) sorted by relevance

/system/bt/stack/btm/
Dbtm_ble_gap.cc345 inline bool BTM_LE_STATES_SUPPORTED(const uint8_t* x, uint8_t bit_num) { in BTM_LE_STATES_SUPPORTED() argument
346 uint8_t mask = 1 << (bit_num % 8); in BTM_LE_STATES_SUPPORTED()
347 uint8_t offset = bit_num / 8; in BTM_LE_STATES_SUPPORTED()
2570 uint8_t bit_num = btm_le_state_combo_tbl[0][request_state - 1]; in btm_ble_topology_check() local
2574 if (!BTM_LE_STATES_SUPPORTED(ble_supported_states, bit_num)) { in btm_ble_topology_check()
2585 uint8_t bit_num = btm_le_state_combo_tbl[request_state][state_offset]; in btm_ble_topology_check() local
2586 if (bit_num != UNSUPPORTED) { in btm_ble_topology_check()
2587 if (!BTM_LE_STATES_SUPPORTED(ble_supported_states, bit_num)) { in btm_ble_topology_check()