Lines Matching refs:sensor_index
268 long hl_get_temperature(struct hl_device *hdev, int sensor_index, u32 attr) in hl_get_temperature() argument
278 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_get_temperature()
287 sensor_index, rc); in hl_get_temperature()
294 long hl_get_voltage(struct hl_device *hdev, int sensor_index, u32 attr) in hl_get_voltage() argument
304 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_get_voltage()
313 sensor_index, rc); in hl_get_voltage()
320 long hl_get_current(struct hl_device *hdev, int sensor_index, u32 attr) in hl_get_current() argument
330 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_get_current()
339 sensor_index, rc); in hl_get_current()
346 long hl_get_fan_speed(struct hl_device *hdev, int sensor_index, u32 attr) in hl_get_fan_speed() argument
356 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_get_fan_speed()
365 sensor_index, rc); in hl_get_fan_speed()
372 long hl_get_pwm_info(struct hl_device *hdev, int sensor_index, u32 attr) in hl_get_pwm_info() argument
382 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_get_pwm_info()
391 sensor_index, rc); in hl_get_pwm_info()
398 void hl_set_pwm_info(struct hl_device *hdev, int sensor_index, u32 attr, in hl_set_pwm_info() argument
408 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_set_pwm_info()
418 sensor_index, rc); in hl_set_pwm_info()