Lines Matching refs:cpucp_attr

248 	u32 cpucp_attr;  in hl_read()  local
261 cpucp_attr = cpucp_temp_input; in hl_read()
264 cpucp_attr = cpucp_temp_max; in hl_read()
267 cpucp_attr = cpucp_temp_crit; in hl_read()
270 cpucp_attr = cpucp_temp_max_hyst; in hl_read()
273 cpucp_attr = cpucp_temp_crit_hyst; in hl_read()
276 cpucp_attr = cpucp_temp_offset; in hl_read()
279 cpucp_attr = cpucp_temp_highest; in hl_read()
286 rc = hl_get_temperature(hdev, channel, cpucp_attr, val); in hl_read()
293 cpucp_attr = cpucp_in_input; in hl_read()
296 cpucp_attr = cpucp_in_min; in hl_read()
299 cpucp_attr = cpucp_in_max; in hl_read()
302 cpucp_attr = cpucp_in_highest; in hl_read()
309 rc = hl_get_voltage(hdev, channel, cpucp_attr, val); in hl_read()
316 cpucp_attr = cpucp_curr_input; in hl_read()
319 cpucp_attr = cpucp_curr_min; in hl_read()
322 cpucp_attr = cpucp_curr_max; in hl_read()
325 cpucp_attr = cpucp_curr_highest; in hl_read()
332 rc = hl_get_current(hdev, channel, cpucp_attr, val); in hl_read()
339 cpucp_attr = cpucp_fan_input; in hl_read()
342 cpucp_attr = cpucp_fan_min; in hl_read()
345 cpucp_attr = cpucp_fan_max; in hl_read()
352 rc = hl_get_fan_speed(hdev, channel, cpucp_attr, val); in hl_read()
359 cpucp_attr = cpucp_pwm_input; in hl_read()
362 cpucp_attr = cpucp_pwm_enable; in hl_read()
369 rc = hl_get_pwm_info(hdev, channel, cpucp_attr, val); in hl_read()
377 cpucp_attr = CPUCP_POWER_INPUT; in hl_read()
380 cpucp_attr = CPUCP_POWER_INPUT_HIGHEST; in hl_read()
387 rc = hl_get_power(hdev, channel, cpucp_attr, val); in hl_read()
401 u32 cpucp_attr; in hl_write() local
412 cpucp_attr = cpucp_temp_offset; in hl_write()
415 cpucp_attr = cpucp_temp_reset_history; in hl_write()
422 hl_set_temperature(hdev, channel, cpucp_attr, val); in hl_write()
429 cpucp_attr = cpucp_pwm_input; in hl_write()
432 cpucp_attr = cpucp_pwm_enable; in hl_write()
439 hl_set_pwm_info(hdev, channel, cpucp_attr, val); in hl_write()
447 cpucp_attr = cpucp_in_reset_history; in hl_write()
454 hl_set_voltage(hdev, channel, cpucp_attr, val); in hl_write()
461 cpucp_attr = cpucp_curr_reset_history; in hl_write()
468 hl_set_current(hdev, channel, cpucp_attr, val); in hl_write()
475 cpucp_attr = CPUCP_POWER_RESET_INPUT_HISTORY; in hl_write()
482 hl_set_power(hdev, channel, cpucp_attr, val); in hl_write()