Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/regulator/
Drpi-panel-attiny-regulator.c28 #define REG_PWM 0x86 macro
33 .max_register = REG_PWM,
58 regmap_write(rdev->regmap, REG_PWM, 0); in attiny_lcd_power_disable()
111 return regmap_write(regmap, REG_PWM, brightness); in attiny_update_status()
119 ret = regmap_read(regmap, REG_PWM, &brightness); in attiny_get_brightness()
/Linux-v5.10/drivers/hwmon/
Dnct6775.c1110 const u16 *REG_PWM[7]; /* [0]=pwm, [1]=pwm_start, [2]=pwm_floor, member
1640 for (j = 0; j < ARRAY_SIZE(data->REG_PWM); j++) { in nct6775_update_pwm()
1641 if (data->REG_PWM[j] && data->REG_PWM[j][i]) { in nct6775_update_pwm()
1644 data->REG_PWM[j][i]); in nct6775_update_pwm()
2610 nct6775_write_value(data, data->REG_PWM[index][nr], val); in store_pwm()
2725 nct6775_write_value(data, data->REG_PWM[0][nr], 255); in store_pwm_enable()
3271 if (nr == 19 && data->REG_PWM[3] == NULL) /* pwm_max */ in nct6775_pwm_is_visible()
3273 if (nr == 20 && data->REG_PWM[4] == NULL) /* pwm_step */ in nct6775_pwm_is_visible()
3275 if (nr == 21 && data->REG_PWM[6] == NULL) /* weight_duty_base */ in nct6775_pwm_is_visible()
3858 data->REG_PWM[0] = NCT6116_REG_PWM; in nct6775_probe()
[all …]
Dnct7802.c47 #define REG_PWM(x) (0x60 + (x)) macro
827 static SENSOR_DEVICE_ATTR_RW(pwm1, pwm, REG_PWM(0));
828 static SENSOR_DEVICE_ATTR_RW(pwm2, pwm, REG_PWM(1));
829 static SENSOR_DEVICE_ATTR_RW(pwm3, pwm, REG_PWM(2));
1031 (reg >= REG_PWM(0) && reg <= REG_PWM(2)); in nct7802_regmap_is_volatile()
/Linux-v5.10/drivers/gpu/drm/panel/
Dpanel-raspberrypi-touchscreen.c69 REG_PWM, enumerator
255 rpi_touchscreen_i2c_write(ts, REG_PWM, 0); in rpi_touchscreen_disable()
299 rpi_touchscreen_i2c_write(ts, REG_PWM, 255); in rpi_touchscreen_enable()