Searched refs:REG_PWM (Results 1 – 3 of 3) sorted by relevance
/linux-4.4.14/drivers/hwmon/ |
D | nct6775.c | 877 const u16 *REG_PWM[7]; /* [0]=pwm, [1]=pwm_start, [2]=pwm_floor, member 1396 for (j = 0; j < ARRAY_SIZE(data->REG_PWM); j++) { in nct6775_update_pwm() 1397 if (data->REG_PWM[j] && data->REG_PWM[j][i]) { in nct6775_update_pwm() 1400 data->REG_PWM[j][i]); in nct6775_update_pwm() 2352 nct6775_write_value(data, data->REG_PWM[index][nr], val); in store_pwm() 2467 nct6775_write_value(data, data->REG_PWM[0][nr], 255); in store_pwm_enable() 3001 if (nr == 19 && data->REG_PWM[3] == NULL) /* pwm_max */ in nct6775_pwm_is_visible() 3003 if (nr == 20 && data->REG_PWM[4] == NULL) /* pwm_step */ in nct6775_pwm_is_visible() 3005 if (nr == 21 && data->REG_PWM[6] == NULL) /* weight_duty_base */ in nct6775_pwm_is_visible() 3481 data->REG_PWM[0] = NCT6106_REG_PWM; in nct6775_probe() [all …]
|
D | nct7802.c | 56 #define REG_PWM(x) (0x60 + (x)) macro 834 REG_PWM(0)); 836 REG_PWM(1)); 838 REG_PWM(2)); 1070 (reg >= REG_PWM(0) && reg <= REG_PWM(2)); in nct7802_regmap_is_volatile()
|
D | w83627ehf.c | 438 const u16 *REG_PWM; member 751 data->pwm[i] = w83627ehf_read_value(data, data->REG_PWM[i]); in nct6775_update_pwm() 775 data->pwm[i] = w83627ehf_read_value(data, data->REG_PWM[i]); in w83627ehf_update_pwm() 1441 w83627ehf_write_value(data, data->REG_PWM[nr], val); in store_pwm() 2293 data->REG_PWM = NCT6775_REG_PWM; in w83627ehf_probe() 2306 data->REG_PWM = NCT6775_REG_PWM; in w83627ehf_probe() 2317 data->REG_PWM = W83627EHF_REG_PWM; in w83627ehf_probe() 2332 data->REG_PWM = W83627EHF_REG_PWM; in w83627ehf_probe()
|