Searched refs:p_md2 (Results 1 – 1 of 1) sorted by relevance
467 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() argument473 *p_res = *p_md2; in btm_pm_compare_modes()476 return p_md2; in btm_pm_compare_modes()479 if(p_md2->mode == BTM_PM_MD_ACTIVE || p_md1->mode == BTM_PM_MD_ACTIVE) in btm_pm_compare_modes()492 if(p_md2->mode & BTM_PM_MD_FORCE) in btm_pm_compare_modes()494 *p_res = *p_md2; in btm_pm_compare_modes()499 res = (p_md1->mode - 1) * BTM_PM_NUM_SET_MODES + (p_md2->mode - 1); in btm_pm_compare_modes()508 *p_res = *p_md2; in btm_pm_compare_modes()509 return p_md2; in btm_pm_compare_modes()514 p_res->max = (p_md1->max < p_md2->max)? (p_md1->max) : (p_md2->max); in btm_pm_compare_modes()[all …]