Home
last modified time | relevance | path

Searched refs:power_max (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/powercap/
H A Ddtpm.c54 *max_power_uw = dtpm->power_max - dtpm->power_min; in get_max_power_range_uw()
97 child->power_max * 1024, dtpm->power_max); in __dtpm_rebalance_weight()
109 parent->power_max -= dtpm->power_max; in __dtpm_sub_power()
121 parent->power_max += dtpm->power_max; in __dtpm_add_power()
148 dtpm->power_limit = dtpm->power_max; in dtpm_update_power()
214 if (power_limit == dtpm->power_max) { in __set_power_limit_uw()
241 if (power_limit == dtpm->power_max) { in __set_power_limit_uw()
242 power = child->power_max; in __set_power_limit_uw()
277 power_limit = clamp_val(power_limit, dtpm->power_min, dtpm->power_max); in set_power_limit_uw()
282 dtpm->zone.name, dtpm->power_limit, dtpm->power_max); in set_power_limit_uw()
[all …]
H A Ddtpm_cpu.c134 dtpm->power_max = table[em->nr_perf_states - 1].power; in update_pd_power_uw()
135 dtpm->power_max *= nr_cpus; in update_pd_power_uw()
H A Ddtpm_devfreq.c47 dtpm->power_max = table[pd->nr_perf_states - 1].power; in update_pd_power_uw()
/linux/include/linux/
H A Ddtpm.h23 u64 power_max; member
/linux/drivers/hwmon/
H A Dltc4282.c145 long power_max; member
629 if (val > st->power_max) in ltc4282_write_power_byte()
630 val = st->power_max; in ltc4282_write_power_byte()
695 st->power_max); in ltc4282_power_reset_hist()
1254 st->power_max = DIV_ROUND_CLOSEST(st->vsense_max * DECA * MILLI, st->rsense) * st->vfs_out; in ltc4282_set_max_limits()
1255 ret = ltc4282_write_power_byte(st, LTC4282_POWER_MAX, st->power_max); in ltc4282_set_max_limits()
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dsta_ioctl.c706 pg->power_max = (s8) dbm; in mwifiex_set_tx_power()
714 pg->power_max = (s8) dbm; in mwifiex_set_tx_power()
722 pg->power_max = (s8) dbm; in mwifiex_set_tx_power()
731 pg->power_max = (s8) dbm; in mwifiex_set_tx_power()
H A Dsta_cmdresp.c342 max_power = pg->power_max; in mwifiex_get_power_level()
348 if (max_power < pg->power_max) in mwifiex_get_power_level()
349 max_power = pg->power_max; in mwifiex_get_power_level()
404 if (pg->power_max == pg->power_min) in mwifiex_ret_tx_power_cfg()
H A Dfw.h1410 s8 power_max; member