Searched refs:power_min (Results 1 – 5 of 5) sorted by relevance
/drivers/powercap/ |
D | dtpm_cpu.c | 41 u64 power_min, power_max; in power_add() local 43 power_min = em->table[0].power; in power_add() 44 power_min *= MICROWATT_PER_MILLIWATT; in power_add() 45 power_min += dtpm->power_min; in power_add() 51 return dtpm_update_power(dtpm, power_min, power_max); in power_add() 60 u64 power_min, power_max; in power_sub() local 62 power_min = em->table[0].power; in power_sub() 63 power_min *= MICROWATT_PER_MILLIWATT; in power_sub() 64 power_min = dtpm->power_min - power_min; in power_sub() 70 return dtpm_update_power(dtpm, power_min, power_max); in power_sub()
|
D | dtpm.c | 52 *max_power_uw = dtpm->power_max - dtpm->power_min; in get_max_power_range_uw() 114 parent->power_min -= dtpm->power_min; in __dtpm_sub_power() 128 parent->power_min += dtpm->power_min; in __dtpm_add_power() 148 int dtpm_update_power(struct dtpm *dtpm, u64 power_min, u64 power_max) in dtpm_update_power() argument 154 if (power_min == dtpm->power_min && power_max == dtpm->power_max) in dtpm_update_power() 157 if (power_max < power_min) { in dtpm_update_power() 164 dtpm->power_min = power_min; in dtpm_update_power() 282 } else if (power_limit == dtpm->power_min) { in __set_power_limit_uw() 283 power = child->power_min; in __set_power_limit_uw() 318 power_limit = clamp_val(power_limit, dtpm->power_min, dtpm->power_max); in set_power_limit_uw() [all …]
|
/drivers/net/wireless/marvell/mwifiex/ |
D | sta_cmdresp.c | 354 min_power = pg->power_min; in mwifiex_get_power_level() 362 if (min_power > pg->power_min) in mwifiex_get_power_level() 363 min_power = pg->power_min; in mwifiex_get_power_level() 408 priv->tx_power_level = (u16) pg->power_min; in mwifiex_ret_tx_power_cfg() 415 if (pg->power_max == pg->power_min) in mwifiex_ret_tx_power_cfg() 416 priv->tx_power_level = (u16) pg->power_min; in mwifiex_ret_tx_power_cfg()
|
D | sta_ioctl.c | 718 pg->power_min = (s8) dbm_min; in mwifiex_set_tx_power() 726 pg->power_min = (s8) dbm_min; in mwifiex_set_tx_power() 734 pg->power_min = (s8) dbm_min; in mwifiex_set_tx_power() 743 pg->power_min = (s8) dbm_min; in mwifiex_set_tx_power()
|
D | fw.h | 1375 s8 power_min; member
|