| H A D | nct7904.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * nct7904.c - driver for Nuvoton NCT7904D. 58 #define VSEN1_HV_LL_REG 0x02 /* Bank 1; 2 regs (HV/LV) per sensor */ 59 #define VSEN1_LV_LL_REG 0x03 /* Bank 1; 2 regs (HV/LV) per sensor */ 60 #define VSEN1_HV_HL_REG 0x00 /* Bank 1; 2 regs (HV/LV) per sensor */ 61 #define VSEN1_LV_HL_REG 0x01 /* Bank 1; 2 regs (HV/LV) per senso 220 nct7904_read_fan(struct device * dev,u32 attr,int channel,long * val) nct7904_read_fan() argument 272 nct7904_fan_is_visible(const void * _data,u32 attr,int channel) nct7904_fan_is_visible() argument 299 nct7904_read_in(struct device * dev,u32 attr,int channel,long * val) nct7904_read_in() argument 364 nct7904_in_is_visible(const void * _data,u32 attr,int channel) nct7904_in_is_visible() argument 387 nct7904_read_temp(struct device * dev,u32 attr,int channel,long * val) nct7904_read_temp() argument 504 nct7904_temp_is_visible(const void * _data,u32 attr,int channel) nct7904_temp_is_visible() argument 539 nct7904_read_pwm(struct device * dev,u32 attr,int channel,long * val) nct7904_read_pwm() argument 564 nct7904_write_temp(struct device * dev,u32 attr,int channel,long val) nct7904_write_temp() argument 609 nct7904_write_fan(struct device * dev,u32 attr,int channel,long val) nct7904_write_fan() argument 636 nct7904_write_in(struct device * dev,u32 attr,int channel,long val) nct7904_write_in() argument 695 nct7904_write_pwm(struct device * dev,u32 attr,int channel,long val) nct7904_write_pwm() argument 720 nct7904_pwm_is_visible(const void * _data,u32 attr,int channel) nct7904_pwm_is_visible() argument 732 nct7904_read(struct device * dev,enum hwmon_sensor_types type,u32 attr,int channel,long * val) nct7904_read() argument 749 nct7904_write(struct device * dev,enum hwmon_sensor_types type,u32 attr,int channel,long val) nct7904_write() argument 767 nct7904_is_visible(const void * data,enum hwmon_sensor_types type,u32 attr,int channel) nct7904_is_visible() argument [all...] |