Home
last modified time | relevance | path

Searched refs:offset_buf (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/i2c/smiapp/
H A Dsmiapp-regs.c75 unsigned char offset_buf[sizeof(u16)]; in ____smiapp_read() local
83 msg.len = sizeof(offset_buf); in ____smiapp_read()
84 msg.buf = offset_buf; in ____smiapp_read()
85 put_unaligned_be16(reg, offset_buf); in ____smiapp_read()
/kernel/linux/linux-6.6/drivers/media/i2c/ccs/
H A 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()
/kernel/linux/linux-5.10/drivers/media/i2c/
H A Dadv7604.c1042 u8 offset_buf[4]; in adv76xx_set_offset() local
1054 offset_buf[0] = (cp_read(sd, 0x77) & 0xc0) | ((offset_a & 0x3f0) >> 4); in adv76xx_set_offset()
1055 offset_buf[1] = ((offset_a & 0x00f) << 4) | ((offset_b & 0x3c0) >> 6); in adv76xx_set_offset()
1056 offset_buf[2] = ((offset_b & 0x03f) << 2) | ((offset_c & 0x300) >> 8); in adv76xx_set_offset()
1057 offset_buf[3] = offset_c & 0x0ff; in adv76xx_set_offset()
1061 0x77, offset_buf, 4)) in adv76xx_set_offset()
H A Dadv7842.c1120 u8 offset_buf[4]; in adv7842_set_offset() local
1132 offset_buf[0]= (cp_read(sd, 0x77) & 0xc0) | ((offset_a & 0x3f0) >> 4); in adv7842_set_offset()
1133 offset_buf[1] = ((offset_a & 0x00f) << 4) | ((offset_b & 0x3c0) >> 6); in adv7842_set_offset()
1134 offset_buf[2] = ((offset_b & 0x03f) << 2) | ((offset_c & 0x300) >> 8); in adv7842_set_offset()
1135 offset_buf[3] = offset_c & 0x0ff; in adv7842_set_offset()
1138 if (adv_smbus_write_i2c_block_data(state->i2c_cp, 0x77, 4, offset_buf)) in adv7842_set_offset()
/kernel/linux/linux-6.6/drivers/media/i2c/
H A 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()
H A 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()

Completed in 35 milliseconds