Searched refs:p_md2 (Results 1 – 1 of 1) sorted by relevance
426 const tBTM_PM_PWR_MD* p_md2, in btm_pm_compare_modes() argument431 *p_res = *p_md2; in btm_pm_compare_modes()437 if (p_md2->mode == BTM_PM_MD_ACTIVE || p_md1->mode == BTM_PM_MD_ACTIVE) { in btm_pm_compare_modes()448 if (p_md2->mode & BTM_PM_MD_FORCE) { in btm_pm_compare_modes()449 *p_res = *p_md2; in btm_pm_compare_modes()454 res = (p_md1->mode - 1) * BTM_PM_NUM_SET_MODES + (p_md2->mode - 1); in btm_pm_compare_modes()462 *p_res = *p_md2; in btm_pm_compare_modes()468 p_res->max = (p_md1->max < p_md2->max) ? (p_md1->max) : (p_md2->max); in btm_pm_compare_modes()470 p_res->min = (p_md1->min > p_md2->min) ? (p_md1->min) : (p_md2->min); in btm_pm_compare_modes()477 p_res->attempt = (p_md1->attempt > p_md2->attempt) ? (p_md1->attempt) in btm_pm_compare_modes()[all …]