Lines Matching refs:mask
103 tBTM_STATUS BTM_PmRegister(uint8_t mask, uint8_t* p_pm_id, in BTM_PmRegister() argument
108 if (mask & BTM_PM_DEREG) { in BTM_PmRegister()
110 btm_cb.pm_reg_db[*p_pm_id].mask = BTM_PM_REC_NOT_USED; in BTM_PmRegister()
116 if (btm_cb.pm_reg_db[xx].mask == BTM_PM_REC_NOT_USED) { in BTM_PmRegister()
118 if (mask & BTM_PM_REG_NOTIF) { in BTM_PmRegister()
122 btm_cb.pm_reg_db[xx].mask = mask; in BTM_PmRegister()
203 (btm_cb.pm_reg_db[pm_id].mask & BTM_PM_REG_SET)) || in BTM_SetPowerMode()
211 btm_cb.pm_reg_db[temp_pm_id].mask |= BTM_PM_REG_SET; in BTM_SetPowerMode()
355 (btm_cb.pm_reg_db[btm_cb.pm_pend_id].mask & BTM_PM_REG_NOTIF)) { in btm_pm_reset()
361 btm_cb.pm_reg_db[xx].mask = BTM_PM_REC_NOT_USED; in btm_pm_reset()
516 if (btm_cb.pm_reg_db[xx].mask & BTM_PM_REG_SET) { in btm_pm_get_set_mode()
711 (btm_cb.pm_reg_db[btm_cb.pm_pend_id].mask & BTM_PM_REG_NOTIF)) { in btm_pm_proc_cmd_status()
806 if (btm_cb.pm_reg_db[yy].mask & BTM_PM_REG_NOTIF) { in btm_pm_proc_mode_change()
856 if (btm_cb.pm_reg_db[yy].mask & BTM_PM_REG_NOTIF) { in btm_pm_proc_ssr_evt()