Lines Matching refs:hl_device
17 static u32 fixup_flags_legacy_fw(struct hl_device *hdev, enum hwmon_sensor_types type, in fixup_flags_legacy_fw()
64 static u32 fixup_flags_legacy_fw(struct hl_device *hdev, enum hwmon_sensor_types type, in fixup_flags_legacy_fw()
77 static u32 adjust_hwmon_flags(struct hl_device *hdev, enum hwmon_sensor_types type, u32 cpucp_flags) in adjust_hwmon_flags()
148 int hl_build_hwmon_channel_info(struct hl_device *hdev, struct cpucp_sensor *sensors_arr) in hl_build_hwmon_channel_info()
246 struct hl_device *hdev = dev_get_drvdata(dev); in hl_read()
400 struct hl_device *hdev = dev_get_drvdata(dev); in hl_write()
569 int hl_get_temperature(struct hl_device *hdev, in hl_get_temperature()
598 int hl_set_temperature(struct hl_device *hdev, in hl_set_temperature()
622 int hl_get_voltage(struct hl_device *hdev, in hl_get_voltage()
652 int hl_get_current(struct hl_device *hdev, in hl_get_current()
682 int hl_get_fan_speed(struct hl_device *hdev, in hl_get_fan_speed()
712 int hl_get_pwm_info(struct hl_device *hdev, in hl_get_pwm_info()
742 void hl_set_pwm_info(struct hl_device *hdev, int sensor_index, u32 attr, in hl_set_pwm_info()
764 int hl_set_voltage(struct hl_device *hdev, in hl_set_voltage()
788 int hl_set_current(struct hl_device *hdev, in hl_set_current()
811 int hl_set_power(struct hl_device *hdev, in hl_set_power()
841 int hl_get_power(struct hl_device *hdev, in hl_get_power()
871 int hl_hwmon_init(struct hl_device *hdev) in hl_hwmon_init()
904 void hl_hwmon_fini(struct hl_device *hdev) in hl_hwmon_fini()
912 void hl_hwmon_release_resources(struct hl_device *hdev) in hl_hwmon_release_resources()