Home
last modified time | relevance | path

Searched defs:hwmon (Results 1 – 25 of 64) sorted by relevance

123

/linux/drivers/gpu/drm/xe/
H A Dxe_hwmon.c143 static int xe_hwmon_pcode_read_power_limit(const struct xe_hwmon *hwmon, u32 attr, int channel, 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()
215 static struct xe_reg xe_hwmon_get_reg(struct xe_hwmon *hwmon, enum xe_hwmon_reg hwmon_reg, in xe_hwmon_get_reg()
287 static void xe_hwmon_power_max_read(struct xe_hwmon *hwmon, u32 attr, int channel, long *value) in xe_hwmon_power_max_read()
329 static int xe_hwmon_power_max_write(struct xe_hwmon *hwmon, u32 attr, int channel, long value) in xe_hwmon_power_max_write()
404 static void xe_hwmon_power_rated_max_read(struct xe_hwmon *hwmon, u32 attr, int channel, in xe_hwmon_power_rated_max_read()
449 xe_hwmon_energy_get(struct xe_hwmon *hwmon, int channel, long *energy) in xe_hwmon_energy_get()
494 struct xe_hwmon *hwmon = dev_get_drvdata(dev); in xe_hwmon_power_max_interval_show() local
548 struct xe_hwmon *hwmon = dev_get_drvdata(dev); in xe_hwmon_power_max_interval_store() local
650 struct xe_hwmon *hwmon = dev_get_drvdata(dev); in xe_hwmon_attributes_visible() local
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dhwmon.c86 struct mlx5_hwmon *hwmon = dev_get_drvdata(dev); in mlx5_hwmon_read() local
116 struct mlx5_hwmon *hwmon = dev_get_drvdata(dev); in mlx5_hwmon_write() local
147 struct mlx5_hwmon *hwmon in mlx5_hwmon_read_string() local
163 mlx5_hwmon_init_channels_names(struct mlx5_hwmon * hwmon) mlx5_hwmon_init_channels_names() argument
207 mlx5_hwmon_init_sensors_indexes(struct mlx5_hwmon * hwmon,u64 sensor_map) mlx5_hwmon_init_sensors_indexes() argument
228 mlx5_hwmon_channel_info_init(struct mlx5_hwmon * hwmon) mlx5_hwmon_channel_info_init() argument
284 mlx5_hwmon_free(struct mlx5_hwmon * hwmon) mlx5_hwmon_free() argument
296 struct mlx5_hwmon *hwmon; mlx5_hwmon_alloc() local
342 mlx5_hwmon_dev_init(struct mlx5_hwmon * hwmon) mlx5_hwmon_dev_init() argument
377 struct mlx5_hwmon *hwmon; mlx5_hwmon_dev_register() local
410 struct mlx5_hwmon *hwmon = mdev->hwmon; mlx5_hwmon_dev_unregister() local
420 hwmon_get_sensor_name(struct mlx5_hwmon * hwmon,int channel) hwmon_get_sensor_name() argument
[all...]
/linux/drivers/gpu/drm/i915/
H A Di915_hwmon.c56 struct i915_hwmon *hwmon; member
81 struct i915_hwmon *hwmon = ddat->hwmon; in hwm_locked_with_pm_intel_uncore_rmw() local
139 struct i915_hwmon *hwmon = ddat->hwmon; hwm_energy() local
172 struct i915_hwmon *hwmon = ddat->hwmon; hwm_power1_max_interval_show() local
203 struct i915_hwmon *hwmon = ddat->hwmon; hwm_power1_max_interval_store() local
266 struct i915_hwmon *hwmon = ddat->hwmon; hwm_attributes_visible() local
319 struct i915_hwmon *hwmon = ddat->hwmon; hwm_temp_is_visible() local
330 struct i915_hwmon *hwmon = ddat->hwmon; hwm_temp_read() local
363 struct i915_hwmon *hwmon = ddat->hwmon; hwm_in_read() local
383 struct i915_hwmon *hwmon = ddat->hwmon; hwm_power_is_visible() local
410 struct i915_hwmon *hwmon = ddat->hwmon; hwm_power_max_read() local
444 struct i915_hwmon *hwmon = ddat->hwmon; hwm_power_max_write() local
500 struct i915_hwmon *hwmon = ddat->hwmon; hwm_power_read() local
546 struct i915_hwmon *hwmon = i915->hwmon; i915_hwmon_power_max_disable() local
564 struct i915_hwmon *hwmon = i915->hwmon; i915_hwmon_power_max_restore() local
582 struct i915_hwmon *hwmon = ddat->hwmon; hwm_energy_is_visible() local
662 struct i915_hwmon *hwmon = ddat->hwmon; hwm_fan_is_visible() local
673 struct i915_hwmon *hwmon = ddat->hwmon; hwm_fan_input_read() local
838 struct i915_hwmon *hwmon = i915->hwmon; hwm_get_preregistration_info() local
907 struct i915_hwmon *hwmon; i915_hwmon_register() local
976 struct i915_hwmon *hwmon = i915->hwmon; i915_hwmon_unregister() local
[all...]
/linux/drivers/hwmon/
H A Dlan966x-hwmon.c80 struct lan966x_hwmon *hwmon = dev_get_drvdata(dev); in lan966x_hwmon_read_temp() local
99 struct lan966x_hwmon *hwmon = dev_get_drvdata(dev); in lan966x_hwmon_read_fan() local
118 struct lan966x_hwmon *hwmon = dev_get_drvdata(dev); in lan966x_hwmon_read_pwm() local
133 struct lan966x_hwmon *hwmon = dev_get_drvdata(dev); in lan966x_hwmon_read_pwm_freq() local
177 struct lan966x_hwmon *hwmon = dev_get_drvdata(dev); lan966x_hwmon_write_pwm() local
189 struct lan966x_hwmon *hwmon = dev_get_drvdata(dev); lan966x_hwmon_write_pwm_freq() local
284 struct lan966x_hwmon *hwmon = data; lan966x_hwmon_disable() local
292 lan966x_hwmon_enable(struct device * dev,struct lan966x_hwmon * hwmon) lan966x_hwmon_enable() argument
340 struct lan966x_hwmon *hwmon; lan966x_hwmon_probe() local
[all...]
H A Dda9055-hwmon.c55 static int da9055_adc_manual_read(struct da9055_hwmon *hwmon, in da9055_adc_manual_read() argument
108 struct da9055_hwmon *hwmon = irq_data; in da9055_auxadc_irq() local
142 struct da9055_hwmon *hwmon in da9055_auto_ch_show() local
178 struct da9055_hwmon *hwmon = dev_get_drvdata(dev); da9055_tjunc_show() local
237 struct da9055_hwmon *hwmon; da9055_hwmon_probe() local
[all...]
H A Dsmpro-hwmon.c208 struct smpro_hwmon *hwmon = dev_get_drvdata(dev); in smpro_read_temp() local
233 struct smpro_hwmon *hwmon = dev_get_drvdata(dev); in smpro_read_in() local
252 struct smpro_hwmon *hwmon = dev_get_drvdata(dev); in smpro_read_curr() local
271 struct smpro_hwmon *hwmon in smpro_read_power() local
363 const struct smpro_hwmon *hwmon = data; smpro_is_visible() local
437 struct smpro_hwmon *hwmon; smpro_hwmon_probe() local
[all...]
H A Dsparx5-temp.c29 static void s5_temp_enable(struct s5_hwmon *hwmon) in s5_temp_enable() argument
44 struct s5_hwmon *hwmon = dev_get_drvdata(dev); in s5_read() local
108 struct s5_hwmon *hwmon; in s5_temp_probe() local
[all...]
H A Das370-hwmon.c32 static void init_pvt(struct as370_hwmon *hwmon) in init_pvt() argument
51 struct as370_hwmon *hwmon = dev_get_drvdata(dev); in as370_hwmon_read() local
98 struct as370_hwmon *hwmon; in as370_hwmon_probe() local
[all...]
H A Dgsc-hwmon.c56 struct gsc_hwmon_data *hwmon = dev_get_drvdata(dev); in pwm_auto_point_temp_show() local
74 struct gsc_hwmon_data *hwmon = dev_get_drvdata(dev); in pwm_auto_point_temp_store() local
148 struct gsc_hwmon_data *hwmon = dev_get_drvdata(dev); in gsc_hwmon_read() local
214 struct gsc_hwmon_data *hwmon = dev_get_drvdata(dev); gsc_hwmon_read_string() local
307 struct gsc_hwmon_data *hwmon; gsc_hwmon_probe() local
[all...]
H A Dcgbc-hwmon.c96 static int cgbc_hwmon_probe_sensors(struct device *dev, struct cgbc_hwmon_data *hwmon) in cgbc_hwmon_probe_sensors() argument
161 static struct cgbc_hwmon_sensor *cgbc_hwmon_find_sensor(struct cgbc_hwmon_data *hwmon, in cgbc_hwmon_find_sensor() argument
188 struct cgbc_hwmon_data *hwmon = dev_get_drvdata(dev); cgbc_hwmon_read() local
226 struct cgbc_hwmon_data *hwmon = dev_get_drvdata(dev); cgbc_hwmon_read_string() local
[all...]
H A Dsl28cpld-hwmon.c30 struct sl28cpld_hwmon *hwmon = dev_get_drvdata(dev); in sl28cpld_hwmon_read() local
80 struct sl28cpld_hwmon *hwmon; in sl28cpld_hwmon_probe() local
[all...]
H A Dnsa320-hwmon.c70 struct nsa320_hwmon *hwmon = dev_get_drvdata(dev); in nsa320_hwmon_update() local
159 struct nsa320_hwmon *hwmon; nsa320_hwmon_probe() local
[all...]
H A Dmc33xs2410_hwmon.c154 struct device *hwmon; in mc33xs2410_hwmon_probe() local
/linux/drivers/thermal/
H A Dthermal_hwmon.c94 struct thermal_hwmon_device *hwmon; in thermal_hwmon_lookup_by_type() local
113 thermal_hwmon_lookup_temp(const struct thermal_hwmon_device * hwmon,const struct thermal_zone_device * tz) thermal_hwmon_lookup_temp() argument
137 struct thermal_hwmon_device *hwmon; thermal_add_hwmon_sysfs() local
220 struct thermal_hwmon_device *hwmon; thermal_remove_hwmon_sysfs() local
[all...]
/linux/drivers/net/ethernet/sfc/
H A Dmcdi_mon.c146 struct efx_mcdi_mon *hwmon = efx_mcdi_mon(efx); in efx_mcdi_mon_update() local
165 struct efx_mcdi_mon *hwmon = efx_mcdi_mon(efx); in efx_mcdi_mon_get_entry() local
285 struct efx_mcdi_mon *hwmon = efx_mcdi_mon(efx); efx_mcdi_mon_add_attr() local
306 struct efx_mcdi_mon *hwmon = efx_mcdi_mon(efx); efx_mcdi_mon_probe() local
522 struct efx_mcdi_mon *hwmon = efx_mcdi_mon(efx); efx_mcdi_mon_remove() local
[all...]
/linux/drivers/net/ethernet/sfc/siena/
H A Dmcdi_mon.c146 struct efx_mcdi_mon *hwmon = efx_mcdi_mon(efx); in efx_mcdi_mon_update() local
165 struct efx_mcdi_mon *hwmon = efx_mcdi_mon(efx); in efx_mcdi_mon_get_entry() local
285 struct efx_mcdi_mon *hwmon = efx_mcdi_mon(efx); efx_mcdi_mon_add_attr() local
306 struct efx_mcdi_mon *hwmon = efx_mcdi_mon(efx); efx_siena_mcdi_mon_probe() local
522 struct efx_mcdi_mon *hwmon = efx_mcdi_mon(efx); efx_siena_mcdi_mon_remove() local
[all...]
/linux/arch/riscv/boot/dts/microchip/
H A Dmpfs-tysom-m.dts64 hwmon: hwmon@45 { label
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_hwmon.h30 struct device *hwmon; member
/linux/Documentation/admin-guide/laptops/
H A Dalienware-wmi.rst87 .. _hwmon: global() target in Platform Profile
/linux/drivers/vdpa/solidrun/
H A Dsnet_hwmon.c179 struct device *hwmon; in psnet_create_hwmon() local
/linux/drivers/ufs/core/
H A Dufs-hwmon.c170 struct device *hwmon; in ufs_hwmon_probe() local
/linux/arch/arm/boot/dts/microchip/
H A Dlan966x.dtsi588 hwmon: hwmon@e2010180 { label
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_hwmon.c46 struct mlxsw_hwmon *hwmon; member
791 struct mlxsw_hwmon *hwmon = priv; mlxsw_hwmon_got_active() local
839 struct mlxsw_hwmon *hwmon = priv; mlxsw_hwmon_got_inactive() local
[all...]
/linux/drivers/platform/mellanox/
H A Dmlxreg-io.c38 struct device *hwmon; member
[all...]
/linux/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dinit.c47 struct device *hwmon; in mt7925_thermal_init() local

123