Home
last modified time | relevance | path

Searched refs:power_period (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/hwmon/
H A Dfam15h_power.c62 unsigned long power_period; member
224 leftover = schedule_timeout_interruptible(msecs_to_jiffies(data->power_period)); in power1_average_show()
261 return sprintf(buf, "%lu\n", data->power_period); in power1_average_interval_show()
283 data->power_period = temp; in power1_average_interval_store()
441 data->power_period = 10; in fam15h_power_init_data()
H A Dibmaem.c162 unsigned long power_period[AEM_NUM_ENERGY_REGS]; member
539 data->power_period[i] = AEM_DEFAULT_POWER_INTERVAL; in aem_init_aem1_inst()
681 data->power_period[i] = AEM_DEFAULT_POWER_INTERVAL; in aem_init_aem2_inst()
842 msecs_to_jiffies(data->power_period[attr->index]) in aem_show_power()
884 return sprintf(buf, "%lu\n", a->power_period[attr->index]); in aem_show_power_period()
905 a->power_period[attr->index] = temp; in aem_set_power_period()