Lines Matching refs:bd2802_write_byte
159 static int bd2802_write_byte(struct i2c_client *client, u8 reg, u8 val) in bd2802_write_byte() function
213 bd2802_write_byte(led->client, BD2802_REG_CONTROL, value); in bd2802_update_state()
222 bd2802_write_byte(led->client, reg, pdata->rgb_time); in bd2802_configure()
225 bd2802_write_byte(led->client, reg, pdata->rgb_time); in bd2802_configure()
246 bd2802_write_byte(led->client, BD2802_REG_CONTROL, value); in bd2802_enable()
258 bd2802_write_byte(led->client, reg, led->rgb_current); in bd2802_set_on()
260 bd2802_write_byte(led->client, reg, BD2802_CURRENT_000); in bd2802_set_on()
262 bd2802_write_byte(led->client, reg, BD2802_PATTERN_FULL); in bd2802_set_on()
277 bd2802_write_byte(led->client, reg, BD2802_CURRENT_000); in bd2802_set_blink()
279 bd2802_write_byte(led->client, reg, led->rgb_current); in bd2802_set_blink()
281 bd2802_write_byte(led->client, reg, led->wave_pattern); in bd2802_set_blink()
311 bd2802_write_byte(led->client, reg, BD2802_CURRENT_000); in bd2802_turn_off()
313 bd2802_write_byte(led->client, reg, BD2802_CURRENT_000); in bd2802_turn_off()
331 bd2802_write_byte(led->client, reg_addr, (u8) val); \
686 ret = bd2802_write_byte(client, BD2802_REG_CLKSETUP, 0x00); in bd2802_probe()