Lines Matching refs:btpan_role
195 int btpan_role = 0; in bta_role_to_btpan() local
198 btpan_role |= BTPAN_ROLE_PANNAP; in bta_role_to_btpan()
200 btpan_role |= BTPAN_ROLE_PANU; in bta_role_to_btpan()
201 return btpan_role; in bta_role_to_btpan()
204 static inline int btpan_role_to_bta(int btpan_role) in btpan_role_to_bta() argument
207 BTIF_TRACE_DEBUG("btpan_role:0x%x", btpan_role); in btpan_role_to_bta()
208 if (btpan_role & BTPAN_ROLE_PANNAP) in btpan_role_to_bta()
210 if (btpan_role & BTPAN_ROLE_PANU) in btpan_role_to_bta()
639 int btpan_role = bta_role_to_btpan(p_data->set_role.role); in bta_pan_callback_transfer() local
641 … btpan_control_state_t state = btpan_role == 0 ? BTPAN_STATE_DISABLED : BTPAN_STATE_ENABLED; in bta_pan_callback_transfer()
642 callback.control_state_cb(state, btpan_role, status, TAP_IF_NAME); in bta_pan_callback_transfer()