Lines Matching refs:ov8858_write_1byte
100 #define ov8858_write_1byte(client, reg, val) \ macro
2487 ov8858_write_1byte(client, 0x5032, R_gain >> 8); in ov8858_apply_otp_r1a()
2488 ov8858_write_1byte(client, 0x5033, R_gain & 0x00ff); in ov8858_apply_otp_r1a()
2491 ov8858_write_1byte(client, 0x5034, G_gain >> 8); in ov8858_apply_otp_r1a()
2492 ov8858_write_1byte(client, 0x5035, G_gain & 0x00ff); in ov8858_apply_otp_r1a()
2495 ov8858_write_1byte(client, 0x5036, B_gain >> 8); in ov8858_apply_otp_r1a()
2496 ov8858_write_1byte(client, 0x5037, B_gain & 0x00ff); in ov8858_apply_otp_r1a()
2507 ov8858_write_1byte(client, 0x5000, temp); in ov8858_apply_otp_r1a()
2509 ov8858_write_1byte(client, 0x5800 + i, in ov8858_apply_otp_r1a()
2560 ov8858_write_1byte(client, 0x5032, R_gain >> 8); in ov8858_apply_otp_r2a()
2561 ov8858_write_1byte(client, 0x5033, R_gain & 0x00ff); in ov8858_apply_otp_r2a()
2564 ov8858_write_1byte(client, 0x5034, G_gain >> 8); in ov8858_apply_otp_r2a()
2565 ov8858_write_1byte(client, 0x5035, G_gain & 0x00ff); in ov8858_apply_otp_r2a()
2568 ov8858_write_1byte(client, 0x5036, B_gain >> 8); in ov8858_apply_otp_r2a()
2569 ov8858_write_1byte(client, 0x5037, B_gain & 0x00ff); in ov8858_apply_otp_r2a()
2580 ov8858_write_1byte(client, 0x5000, temp); in ov8858_apply_otp_r2a()
2582 ov8858_write_1byte(client, 0x5800 + i, in ov8858_apply_otp_r2a()
3177 ov8858_write_1byte(client, i, 0); /* clear OTP buffer */ in ov8858_otp_read_r1a()
3281 ov8858_write_1byte(client, i, 0); /* clear OTP buffer */ in ov8858_otp_read_r2a()
3301 ov8858_write_1byte(client, in ov8858_otp_read()
3306 ov8858_write_1byte(client, 0x5002, (temp & (~0x08))); in ov8858_otp_read()
3309 ov8858_write_1byte(client, 0x3d84, 0xC0); in ov8858_otp_read()
3310 ov8858_write_1byte(client, 0x3d88, 0x70); /* OTP start address */ in ov8858_otp_read()
3311 ov8858_write_1byte(client, 0x3d89, 0x10); in ov8858_otp_read()
3313 ov8858_write_1byte(client, 0x3d8A, 0x72); /* OTP end address */ in ov8858_otp_read()
3314 ov8858_write_1byte(client, 0x3d8B, 0x0a); in ov8858_otp_read()
3316 ov8858_write_1byte(client, 0x3d8A, 0x71); /* OTP end address */ in ov8858_otp_read()
3317 ov8858_write_1byte(client, 0x3d8B, 0x84); in ov8858_otp_read()
3319 ov8858_write_1byte(client, 0x3d81, 0x01); /* load otp into buffer */ in ov8858_otp_read()
3329 ov8858_write_1byte(client, 0x5002, 0x08 | (temp & (~0x08))); in ov8858_otp_read()
3332 ov8858_write_1byte(client, in ov8858_otp_read()