Searched refs:p_md2 (Results 1 – 1 of 1) sorted by relevance
445 static tBTM_PM_PWR_MD * btm_pm_compare_modes(tBTM_PM_PWR_MD *p_md1, tBTM_PM_PWR_MD *p_md2, tBTM_PM_… in btm_pm_compare_modes() argument451 *p_res = *p_md2; in btm_pm_compare_modes()454 return p_md2; in btm_pm_compare_modes()457 if(p_md2->mode == BTM_PM_MD_ACTIVE || p_md1->mode == BTM_PM_MD_ACTIVE) in btm_pm_compare_modes()470 if(p_md2->mode & BTM_PM_MD_FORCE) in btm_pm_compare_modes()472 *p_res = *p_md2; in btm_pm_compare_modes()477 res = (p_md1->mode - 1) * BTM_PM_NUM_SET_MODES + (p_md2->mode - 1); in btm_pm_compare_modes()486 *p_res = *p_md2; in btm_pm_compare_modes()487 return p_md2; in btm_pm_compare_modes()492 p_res->max = (p_md1->max < p_md2->max)? (p_md1->max) : (p_md2->max); in btm_pm_compare_modes()[all …]