Lines Matching refs:bd2802_write_byte
158 static int bd2802_write_byte(struct i2c_client *client, u8 reg, u8 val) in bd2802_write_byte() function
212 bd2802_write_byte(led->client, BD2802_REG_CONTROL, value); in bd2802_update_state()
221 bd2802_write_byte(led->client, reg, pdata->rgb_time); in bd2802_configure()
224 bd2802_write_byte(led->client, reg, pdata->rgb_time); in bd2802_configure()
245 bd2802_write_byte(led->client, BD2802_REG_CONTROL, value); in bd2802_enable()
257 bd2802_write_byte(led->client, reg, led->rgb_current); in bd2802_set_on()
259 bd2802_write_byte(led->client, reg, BD2802_CURRENT_000); in bd2802_set_on()
261 bd2802_write_byte(led->client, reg, BD2802_PATTERN_FULL); in bd2802_set_on()
276 bd2802_write_byte(led->client, reg, BD2802_CURRENT_000); in bd2802_set_blink()
278 bd2802_write_byte(led->client, reg, led->rgb_current); in bd2802_set_blink()
280 bd2802_write_byte(led->client, reg, led->wave_pattern); in bd2802_set_blink()
310 bd2802_write_byte(led->client, reg, BD2802_CURRENT_000); in bd2802_turn_off()
312 bd2802_write_byte(led->client, reg, BD2802_CURRENT_000); in bd2802_turn_off()
330 bd2802_write_byte(led->client, reg_addr, (u8) val); \
680 ret = bd2802_write_byte(client, BD2802_REG_CLKSETUP, 0x00); in bd2802_probe()