Home
last modified time | relevance | path

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

/system/bt/stack/btm/
Dbtm_pm.c82 static tBTM_STATUS btm_pm_snd_md_req( UINT8 pm_id, int link_ind, tBTM_PM_PWR_MD *p_mode );
179 tBTM_STATUS BTM_SetPowerMode (UINT8 pm_id, BD_ADDR remote_bda, tBTM_PM_PWR_MD *p_mode) in BTM_SetPowerMode() argument
187 if(pm_id >= BTM_MAX_PM_RECORDS) in BTM_SetPowerMode()
188 pm_id = BTM_PM_SET_ONLY_ID; in BTM_SetPowerMode()
193 BTM_TRACE_API( "BTM_SetPowerMode: pm_id %d BDA: %08x mode:0x%x", pm_id, in BTM_SetPowerMode()
226 temp_pm_id = pm_id; in BTM_SetPowerMode()
227 if(pm_id == BTM_PM_SET_ONLY_ID) in BTM_SetPowerMode()
231 if( ((pm_id != BTM_PM_SET_ONLY_ID) && in BTM_SetPowerMode()
232 (btm_cb.pm_reg_db[pm_id].mask & BTM_PM_REG_SET)) in BTM_SetPowerMode()
233 || ((pm_id == BTM_PM_SET_ONLY_ID) && (btm_cb.pm_pend_link != MAX_L2CAP_LINKS)) ) in BTM_SetPowerMode()
[all …]
Dbtm_int.h676 UINT8 pm_id; /* the entity that calls SetPowerMode API */ member
/system/bt/bta/dm/
Dbta_dm_pm.c83 BTM_PmRegister((BTM_PM_REG_SET | BTM_PM_REG_NOTIF), &bta_dm_cb.pm_id, in bta_dm_init_pm()
108 BTM_PmRegister( BTM_PM_DEREG, &bta_dm_cb.pm_id, NULL); in bta_dm_disable_pm()
742 BTM_SetPowerMode (bta_dm_cb.pm_id, peer_addr, &p_bta_dm_pm_md[BTA_DM_PM_PARK_IDX]); in bta_dm_pm_park()
798 status = BTM_SetPowerMode (bta_dm_cb.pm_id, p_peer_dev->peer_bdaddr, &pwr_md); in bta_dm_pm_sniff()
917 BTM_SetPowerMode (bta_dm_cb.pm_id, peer_addr, &pm); in bta_dm_pm_active()
Dbta_dm_int.h870 UINT8 pm_id; member
/system/bt/stack/include/
Dbtm_api.h3668 extern tBTM_STATUS BTM_SetPowerMode (UINT8 pm_id, BD_ADDR remote_bda,