Searched refs:offset_buf (Results 1 – 3 of 3) sorted by relevance
75 unsigned char offset_buf[sizeof(u16)]; in ____smiapp_read() local83 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()
1120 u8 offset_buf[4]; in adv7842_set_offset() local1132 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()
1042 u8 offset_buf[4]; in adv76xx_set_offset() local1054 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()