Lines Matching refs:bd2802_write_byte
163 static int bd2802_write_byte(struct i2c_client *client, u8 reg, u8 val) in bd2802_write_byte() function
217 bd2802_write_byte(led->client, BD2802_REG_CONTROL, value); in bd2802_update_state()
226 bd2802_write_byte(led->client, reg, pdata->rgb_time); in bd2802_configure()
229 bd2802_write_byte(led->client, reg, pdata->rgb_time); in bd2802_configure()
250 bd2802_write_byte(led->client, BD2802_REG_CONTROL, value); in bd2802_enable()
262 bd2802_write_byte(led->client, reg, led->rgb_current); in bd2802_set_on()
264 bd2802_write_byte(led->client, reg, BD2802_CURRENT_000); in bd2802_set_on()
266 bd2802_write_byte(led->client, reg, BD2802_PATTERN_FULL); in bd2802_set_on()
281 bd2802_write_byte(led->client, reg, BD2802_CURRENT_000); in bd2802_set_blink()
283 bd2802_write_byte(led->client, reg, led->rgb_current); in bd2802_set_blink()
285 bd2802_write_byte(led->client, reg, led->wave_pattern); in bd2802_set_blink()
315 bd2802_write_byte(led->client, reg, BD2802_CURRENT_000); in bd2802_turn_off()
317 bd2802_write_byte(led->client, reg, BD2802_CURRENT_000); in bd2802_turn_off()
335 bd2802_write_byte(led->client, reg_addr, (u8) val); \
695 ret = bd2802_write_byte(client, BD2802_REG_CLKSETUP, 0x00); in bd2802_probe()