Lines Matching refs:bd2802_write_byte
162 static int bd2802_write_byte(struct i2c_client *client, u8 reg, u8 val) in bd2802_write_byte() function
216 bd2802_write_byte(led->client, BD2802_REG_CONTROL, value); in bd2802_update_state()
225 bd2802_write_byte(led->client, reg, pdata->rgb_time); in bd2802_configure()
228 bd2802_write_byte(led->client, reg, pdata->rgb_time); in bd2802_configure()
249 bd2802_write_byte(led->client, BD2802_REG_CONTROL, value); in bd2802_enable()
261 bd2802_write_byte(led->client, reg, led->rgb_current); in bd2802_set_on()
263 bd2802_write_byte(led->client, reg, BD2802_CURRENT_000); in bd2802_set_on()
265 bd2802_write_byte(led->client, reg, BD2802_PATTERN_FULL); in bd2802_set_on()
280 bd2802_write_byte(led->client, reg, BD2802_CURRENT_000); in bd2802_set_blink()
282 bd2802_write_byte(led->client, reg, led->rgb_current); in bd2802_set_blink()
284 bd2802_write_byte(led->client, reg, led->wave_pattern); in bd2802_set_blink()
314 bd2802_write_byte(led->client, reg, BD2802_CURRENT_000); in bd2802_turn_off()
316 bd2802_write_byte(led->client, reg, BD2802_CURRENT_000); in bd2802_turn_off()
334 bd2802_write_byte(led->client, reg_addr, (u8) val); \
684 ret = bd2802_write_byte(client, BD2802_REG_CLKSETUP, 0x00); in bd2802_probe()