Lines Matching refs:maxleds
143 u8 maxleds = data->chip_info->num_leds; in pca9532_setpwm() local
146 i2c_smbus_write_byte_data(client, PCA9532_REG_PWM(maxleds, pwm), in pca9532_setpwm()
148 i2c_smbus_write_byte_data(client, PCA9532_REG_PSC(maxleds, pwm), in pca9532_setpwm()
159 u8 maxleds = data->chip_info->num_leds; in pca9532_setled() local
163 reg = i2c_smbus_read_byte_data(client, LED_REG(maxleds, led->id)); in pca9532_setled()
168 i2c_smbus_write_byte_data(client, LED_REG(maxleds, led->id), reg); in pca9532_setled()
245 u8 maxleds = data->chip_info->num_leds; in pca9532_input_work() local
248 i2c_smbus_write_byte_data(data->client, PCA9532_REG_PWM(maxleds, 1), in pca9532_input_work()
257 u8 maxleds = data->chip_info->num_leds; in pca9532_getled() local
262 reg = i2c_smbus_read_byte_data(client, LED_REG(maxleds, led->id)); in pca9532_getled()
356 u8 maxleds = data->chip_info->num_leds; in pca9532_configure() local
361 i2c_smbus_write_byte_data(client, PCA9532_REG_PWM(maxleds, i), in pca9532_configure()
363 i2c_smbus_write_byte_data(client, PCA9532_REG_PSC(maxleds, i), in pca9532_configure()
471 int devid, maxleds; in pca9532_of_populate_pdata() local
480 maxleds = pca9532_chip_info_tbl[devid].num_leds; in pca9532_of_populate_pdata()
499 if (++i >= maxleds) { in pca9532_of_populate_pdata()