Lines Matching refs:sensor_index
312 int sensor_index, u32 attr, long *value) in hl_get_temperature() argument
321 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_get_temperature()
330 sensor_index, rc); in hl_get_temperature()
338 int sensor_index, u32 attr, long value) in hl_set_temperature() argument
347 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_set_temperature()
357 sensor_index, rc); in hl_set_temperature()
363 int sensor_index, u32 attr, long *value) in hl_get_voltage() argument
372 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_get_voltage()
381 sensor_index, rc); in hl_get_voltage()
389 int sensor_index, u32 attr, long *value) in hl_get_current() argument
398 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_get_current()
407 sensor_index, rc); in hl_get_current()
415 int sensor_index, u32 attr, long *value) in hl_get_fan_speed() argument
424 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_get_fan_speed()
433 sensor_index, rc); in hl_get_fan_speed()
441 int sensor_index, u32 attr, long *value) in hl_get_pwm_info() argument
450 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_get_pwm_info()
459 sensor_index, rc); in hl_get_pwm_info()
466 void hl_set_pwm_info(struct hl_device *hdev, int sensor_index, u32 attr, in hl_set_pwm_info() argument
476 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_set_pwm_info()
486 sensor_index, rc); in hl_set_pwm_info()
490 int sensor_index, u32 attr, long value) in hl_set_voltage() argument
499 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_set_voltage()
509 sensor_index, rc); in hl_set_voltage()
515 int sensor_index, u32 attr, long value) in hl_set_current() argument
524 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_set_current()
534 sensor_index, rc); in hl_set_current()