Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/leds/
Dleds-pca9532.c147 u8 maxleds = data->chip_info->num_leds; in pca9532_setpwm() local
150 i2c_smbus_write_byte_data(client, PCA9532_REG_PWM(maxleds, pwm), in pca9532_setpwm()
152 i2c_smbus_write_byte_data(client, PCA9532_REG_PSC(maxleds, pwm), in pca9532_setpwm()
163 u8 maxleds = data->chip_info->num_leds; in pca9532_setled() local
167 reg = i2c_smbus_read_byte_data(client, LED_REG(maxleds, led->id)); in pca9532_setled()
172 i2c_smbus_write_byte_data(client, LED_REG(maxleds, led->id), reg); in pca9532_setled()
249 u8 maxleds = data->chip_info->num_leds; in pca9532_input_work() local
252 i2c_smbus_write_byte_data(data->client, PCA9532_REG_PWM(maxleds, 1), in pca9532_input_work()
261 u8 maxleds = data->chip_info->num_leds; in pca9532_getled() local
266 reg = i2c_smbus_read_byte_data(client, LED_REG(maxleds, led->id)); in pca9532_getled()
[all …]