Lines Matching refs:is31fl3216a_write_reg
50 static int is31fl3216a_write_reg(const struct i2c_dt_spec *i2c, uint8_t reg, in is31fl3216a_write_reg() function
60 return is31fl3216a_write_reg(i2c, IS31FL3216A_REG_UPDATE, 0); in is31fl3216a_update_pwm()
119 status = is31fl3216a_write_reg(&config->i2c, pwm_reg, pwm_value); in is31fl3216a_led_set_brightness()
142 status = is31fl3216a_write_reg(i2c, IS31FL3216A_REG_CTL_1, 0xFF); in is31fl3216a_init_registers()
147 status = is31fl3216a_write_reg(i2c, IS31FL3216A_REG_CTL_2, 0xFF); in is31fl3216a_init_registers()
152 status = is31fl3216a_write_reg(i2c, IS31FL3216A_REG_LIGHT_EFFECT, 0x00); in is31fl3216a_init_registers()
157 status = is31fl3216a_write_reg(i2c, IS31FL3216A_REG_CHANNEL_CONFIG, in is31fl3216a_init_registers()
163 status = is31fl3216a_write_reg(i2c, IS31FL3216A_REG_GPIO_CONFIG, 0x00); in is31fl3216a_init_registers()
168 status = is31fl3216a_write_reg(i2c, IS31FL3216A_REG_OUTPUT_PORT, 0x00); in is31fl3216a_init_registers()
173 status = is31fl3216a_write_reg(i2c, IS31FL3216A_REG_INT_CONTROL, 0x00); in is31fl3216a_init_registers()
178 status = is31fl3216a_write_reg(i2c, IS31FL3216A_REG_ADC_SAMPLE_RATE, in is31fl3216a_init_registers()
184 status = is31fl3216a_write_reg(i2c, IS31FL3216A_REG_FRAME_DELAY, 0x00); in is31fl3216a_init_registers()
189 status = is31fl3216a_write_reg(i2c, IS31FL3216A_REG_FRAME_START, 0x00); in is31fl3216a_init_registers()
197 status = is31fl3216a_write_reg(i2c, i, 0); in is31fl3216a_init_registers()
203 status = is31fl3216a_write_reg(i2c, IS31FL3216A_REG_UPDATE, 0); in is31fl3216a_init_registers()
208 return is31fl3216a_write_reg(i2c, IS31FL3216A_REG_CONFIG, 0x00); in is31fl3216a_init_registers()