Home
last modified time | relevance | path

Searched refs:REG_PWM (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/hwmon/
H A Dnct6775-core.c1411 for (j = 0; j < ARRAY_SIZE(data->REG_PWM); j++) { in nct6775_update_pwm()
1412 if (data->REG_PWM[j] && data->REG_PWM[j][i]) { in nct6775_update_pwm()
1413 err = nct6775_read_value(data, data->REG_PWM[j][i], &reg); in nct6775_update_pwm()
2570 err = nct6775_write_value(data, data->REG_PWM[index][nr], val); in store_pwm()
2707 err = nct6775_write_value(data, data->REG_PWM[0][nr], 255); in store_pwm_enable()
3294 if (nr == 19 && data->REG_PWM[3] == NULL) /* pwm_max */ in nct6775_pwm_is_visible()
3296 if (nr == 20 && data->REG_PWM[4] == NULL) /* pwm_step */ in nct6775_pwm_is_visible()
3298 if (nr == 21 && data->REG_PWM[6] == NULL) /* weight_duty_base */ in nct6775_pwm_is_visible()
3559 data->REG_PWM[0] = NCT6116_REG_PWM; in nct6775_probe()
3560 data->REG_PWM[1] = NCT6106_REG_FAN_START_OUTPUT; in nct6775_probe()
[all …]
H A Dnct7802.c47 #define REG_PWM(x) (0x60 + (x)) macro
828 static SENSOR_DEVICE_ATTR_RW(pwm1, pwm, REG_PWM(0));
829 static SENSOR_DEVICE_ATTR_RW(pwm2, pwm, REG_PWM(1));
830 static SENSOR_DEVICE_ATTR_RW(pwm3, pwm, REG_PWM(2));
1032 (reg >= REG_PWM(0) && reg <= REG_PWM(2)); in nct7802_regmap_is_volatile()
H A Dnct6775.h63 const u16 *REG_PWM[7]; /* [0]=pwm, [1]=pwm_start, [2]=pwm_floor, member
/linux/drivers/regulator/
H A Drpi-panel-attiny-regulator.c27 #define REG_PWM 0x86 macro
128 regmap_write(rdev->regmap, REG_PWM, 0); in attiny_lcd_power_disable()
195 ret = regmap_write(regmap, REG_PWM, brightness); in attiny_update_status()
328 regmap_write(regmap, REG_PWM, 0); in attiny_i2c_probe()
/linux/drivers/gpu/drm/panel/
H A Dpanel-raspberrypi-touchscreen.c68 REG_PWM, enumerator
254 rpi_touchscreen_i2c_write(ts, REG_PWM, 0); in rpi_touchscreen_disable()
305 rpi_touchscreen_i2c_write(ts, REG_PWM, 255); in rpi_touchscreen_enable()