| H A D | xe_hwmon.c | 143 static int xe_hwmon_pcode_read_power_limit(const struct xe_hwmon *hwmon, u32 attr, int channel, in xe_hwmon_pcode_read_power_limit() argument 151 (channel == CHANNEL_CARD) ? in xe_hwmon_pcode_read_power_limit() 160 channel, val0, val1, ret); in xe_hwmon_pcode_read_power_limit() 178 static int xe_hwmon_pcode_rmw_power_limit(const struct xe_hwmon *hwmon, u32 attr, u8 channel, in xe_hwmon_pcode_rmw_power_limit() argument 186 (channel == CHANNEL_CARD) ? in xe_hwmon_pcode_rmw_power_limit() 195 channel, val0, val1, ret); in xe_hwmon_pcode_rmw_power_limit() 205 (channel == CHANNEL_CARD) ? in xe_hwmon_pcode_rmw_power_limit() 211 channel, val0, val1, ret); in xe_hwmon_pcode_rmw_power_limit() 216 int channel) in xe_hwmon_get_reg() argument 223 if (channel in xe_hwmon_get_reg() 287 xe_hwmon_power_max_read(struct xe_hwmon * hwmon,u32 attr,int channel,long * value) xe_hwmon_power_max_read() argument 331 xe_hwmon_power_max_write(struct xe_hwmon * hwmon,u32 attr,int channel,long value) xe_hwmon_power_max_write() argument 406 xe_hwmon_power_rated_max_read(struct xe_hwmon * hwmon,u32 attr,int channel,long * value) xe_hwmon_power_rated_max_read() argument 451 xe_hwmon_energy_get(struct xe_hwmon * hwmon,int channel,long * energy) xe_hwmon_energy_get() argument 500 int channel = (to_sensor_dev_attr(attr)->index % 2) ? CHANNEL_PKG : CHANNEL_CARD; xe_hwmon_power_max_interval_show() local 556 int channel = (to_sensor_dev_attr(attr)->index % 2) ? CHANNEL_PKG : CHANNEL_CARD; xe_hwmon_power_max_interval_store() local 655 int channel = (index % 2) ? CHANNEL_PKG : CHANNEL_CARD; xe_hwmon_attributes_visible() local 736 xe_hwmon_power_curr_crit_read(struct xe_hwmon * hwmon,int channel,long * value,u32 scale_factor) xe_hwmon_power_curr_crit_read() argument 755 xe_hwmon_power_curr_crit_write(struct xe_hwmon * hwmon,int channel,long value,u32 scale_factor) xe_hwmon_power_curr_crit_write() argument 784 xe_hwmon_get_voltage(struct xe_hwmon * hwmon,int channel,long * value) xe_hwmon_get_voltage() argument 795 xe_hwmon_temp_is_visible(struct xe_hwmon * hwmon,u32 attr,int channel) xe_hwmon_temp_is_visible() argument 807 xe_hwmon_temp_read(struct xe_hwmon * hwmon,u32 attr,int channel,long * val) xe_hwmon_temp_read() argument 825 xe_hwmon_power_is_visible(struct xe_hwmon * hwmon,u32 attr,int channel) xe_hwmon_power_is_visible() argument 890 xe_hwmon_power_read(struct xe_hwmon * hwmon,u32 attr,int channel,long * val) xe_hwmon_power_read() argument 908 xe_hwmon_power_write(struct xe_hwmon * hwmon,u32 attr,int channel,long val) xe_hwmon_power_write() argument 922 xe_hwmon_curr_is_visible(const struct xe_hwmon * hwmon,u32 attr,int channel) xe_hwmon_curr_is_visible() argument 945 xe_hwmon_curr_read(struct xe_hwmon * hwmon,u32 attr,int channel,long * val) xe_hwmon_curr_read() argument 956 xe_hwmon_curr_write(struct xe_hwmon * hwmon,u32 attr,int channel,long val) xe_hwmon_curr_write() argument 967 xe_hwmon_in_is_visible(struct xe_hwmon * hwmon,u32 attr,int channel) xe_hwmon_in_is_visible() argument 980 xe_hwmon_in_read(struct xe_hwmon * hwmon,u32 attr,int channel,long * val) xe_hwmon_in_read() argument 992 xe_hwmon_energy_is_visible(struct xe_hwmon * hwmon,u32 attr,int channel) xe_hwmon_energy_is_visible() argument 1012 xe_hwmon_energy_read(struct xe_hwmon * hwmon,u32 attr,int channel,long * val) xe_hwmon_energy_read() argument 1024 xe_hwmon_fan_is_visible(struct xe_hwmon * hwmon,u32 attr,int channel) xe_hwmon_fan_is_visible() argument 1043 xe_hwmon_fan_input_read(struct xe_hwmon * hwmon,int channel,long * val) xe_hwmon_fan_input_read() argument 1082 xe_hwmon_fan_read(struct xe_hwmon * hwmon,u32 attr,int channel,long * val) xe_hwmon_fan_read() argument 1094 xe_hwmon_is_visible(const void * drvdata,enum hwmon_sensor_types type,u32 attr,int channel) xe_hwmon_is_visible() argument 1132 xe_hwmon_read(struct device * dev,enum hwmon_sensor_types type,u32 attr,int channel,long * val) xe_hwmon_read() argument 1170 xe_hwmon_write(struct device * dev,enum hwmon_sensor_types type,u32 attr,int channel,long val) xe_hwmon_write() argument 1196 xe_hwmon_read_label(struct device * dev,enum hwmon_sensor_types type,u32 attr,int channel,const char ** str) xe_hwmon_read_label() argument 1237 int channel; xe_hwmon_get_preregistration_info() local [all...] |