Home
last modified time | relevance | path

Searched refs:ledout_addr (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/leds/
H A Dleds-pca963x.c122 u8 ledout_addr, ledout, mask, val; in pca963x_brightness() local
126 ledout_addr = chipdef->ledout_base + (led->led_num / 4); in pca963x_brightness()
129 ledout = i2c_smbus_read_byte_data(client, ledout_addr); in pca963x_brightness()
142 ret = i2c_smbus_write_byte_data(client, ledout_addr, val); in pca963x_brightness()
146 ret = i2c_smbus_write_byte_data(client, ledout_addr, val); in pca963x_brightness()
162 ret = i2c_smbus_write_byte_data(client, ledout_addr, val); in pca963x_brightness()
173 u8 ledout_addr, ledout, mask, val, mode2; in pca963x_blink() local
176 ledout_addr = chipdef->ledout_base + (led->led_num / 4); in pca963x_blink()
191 ledout = i2c_smbus_read_byte_data(client, ledout_addr); in pca963x_blink()
194 i2c_smbus_write_byte_data(client, ledout_addr, val); in pca963x_blink()
H A Dleds-pca995x.c83 u8 ledout_addr, pwmout_addr; in pca995x_brightness_set() local
87 ledout_addr = PCA995X_LEDOUT0 + (led->led_no / PCA995X_OUTPUTS_PER_REG); in pca995x_brightness_set()
92 return regmap_update_bits(chip->regmap, ledout_addr, in pca995x_brightness_set()
96 return regmap_update_bits(chip->regmap, ledout_addr, in pca995x_brightness_set()
108 return regmap_update_bits(chip->regmap, ledout_addr, in pca995x_brightness_set()