Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/media/i2c/ccs/
Dccs-reg-access.c75 unsigned char offset_buf[sizeof(u16)]; in ____ccs_read_addr() local
83 msg.len = sizeof(offset_buf); in ____ccs_read_addr()
84 msg.buf = offset_buf; in ____ccs_read_addr()
85 put_unaligned_be16(reg, offset_buf); in ____ccs_read_addr()
/linux-5.19.10/drivers/media/i2c/
Dadv7604.c1056 u8 offset_buf[4]; in adv76xx_set_offset() local
1068 offset_buf[0] = (cp_read(sd, 0x77) & 0xc0) | ((offset_a & 0x3f0) >> 4); in adv76xx_set_offset()
1069 offset_buf[1] = ((offset_a & 0x00f) << 4) | ((offset_b & 0x3c0) >> 6); in adv76xx_set_offset()
1070 offset_buf[2] = ((offset_b & 0x03f) << 2) | ((offset_c & 0x300) >> 8); in adv76xx_set_offset()
1071 offset_buf[3] = offset_c & 0x0ff; in adv76xx_set_offset()
1075 0x77, offset_buf, 4)) in adv76xx_set_offset()
Dadv7842.c1108 u8 offset_buf[4]; in adv7842_set_offset() local
1120 offset_buf[0]= (cp_read(sd, 0x77) & 0xc0) | ((offset_a & 0x3f0) >> 4); in adv7842_set_offset()
1121 offset_buf[1] = ((offset_a & 0x00f) << 4) | ((offset_b & 0x3c0) >> 6); in adv7842_set_offset()
1122 offset_buf[2] = ((offset_b & 0x03f) << 2) | ((offset_c & 0x300) >> 8); in adv7842_set_offset()
1123 offset_buf[3] = offset_c & 0x0ff; in adv7842_set_offset()
1126 if (i2c_smbus_write_i2c_block_data(state->i2c_cp, 0x77, 4, offset_buf)) in adv7842_set_offset()