Home
last modified time | relevance | path

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

/linux/drivers/leds/
H A Dleds-pca963x.c123 u8 ledout_addr, ledout, mask, val; in pca963x_brightness() local
127 ledout_addr = chipdef->ledout_base + (led->led_num / 4); in pca963x_brightness()
130 ledout = i2c_smbus_read_byte_data(client, ledout_addr); in pca963x_brightness()
143 ret = i2c_smbus_write_byte_data(client, ledout_addr, val); in pca963x_brightness()
147 ret = i2c_smbus_write_byte_data(client, ledout_addr, val); in pca963x_brightness()
163 ret = i2c_smbus_write_byte_data(client, ledout_addr, val); in pca963x_brightness()
174 u8 ledout_addr, ledout, mask, val, mode2; in pca963x_blink() local
177 ledout_addr = chipdef->ledout_base + (led->led_num / 4); in pca963x_blink()
192 ledout = i2c_smbus_read_byte_data(client, ledout_addr); in pca963x_blink()
195 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()