Home
last modified time | relevance | path

Searched refs:offset_buf (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/drivers/media/i2c/
Dadv7842.c1032 u8 offset_buf[4]; in adv7842_set_offset() local
1044 offset_buf[0]= (cp_read(sd, 0x77) & 0xc0) | ((offset_a & 0x3f0) >> 4); in adv7842_set_offset()
1045 offset_buf[1] = ((offset_a & 0x00f) << 4) | ((offset_b & 0x3c0) >> 6); in adv7842_set_offset()
1046 offset_buf[2] = ((offset_b & 0x03f) << 2) | ((offset_c & 0x300) >> 8); in adv7842_set_offset()
1047 offset_buf[3] = offset_c & 0x0ff; in adv7842_set_offset()
1050 if (adv_smbus_write_i2c_block_data(state->i2c_cp, 0x77, 4, offset_buf)) in adv7842_set_offset()
Dadv7604.c986 u8 offset_buf[4]; in adv76xx_set_offset() local
998 offset_buf[0] = (cp_read(sd, 0x77) & 0xc0) | ((offset_a & 0x3f0) >> 4); in adv76xx_set_offset()
999 offset_buf[1] = ((offset_a & 0x00f) << 4) | ((offset_b & 0x3c0) >> 6); in adv76xx_set_offset()
1000 offset_buf[2] = ((offset_b & 0x03f) << 2) | ((offset_c & 0x300) >> 8); in adv76xx_set_offset()
1001 offset_buf[3] = offset_c & 0x0ff; in adv76xx_set_offset()
1005 0x77, 4, offset_buf)) in adv76xx_set_offset()