Searched refs:otp_flag (Results 1 – 6 of 6) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/media/i2c/ |
| H A D | imx214_eeprom.c | 68 int otp_flag, i; in imx214_otp_read_gz() local 80 otp_flag = 0; in imx214_otp_read_gz() 83 1, &otp_flag); in imx214_otp_read_gz() 84 if (otp_flag == 0x01) { in imx214_otp_read_gz() 108 1, &otp_flag); in imx214_otp_read_gz() 109 if (otp_flag == 0x01) { in imx214_otp_read_gz() 161 1, &otp_flag); in imx214_otp_read_gz() 162 if (otp_flag == 0x01) { in imx214_otp_read_gz() 187 1, &otp_flag); in imx214_otp_read_gz() 188 if (otp_flag == 0x01) { in imx214_otp_read_gz() [all …]
|
| H A D | imx258_eeprom.c | 68 int otp_flag, i; in imx258_otp_read_gz() local 80 otp_flag = 0; in imx258_otp_read_gz() 83 1, &otp_flag); in imx258_otp_read_gz() 84 if (otp_flag == 0x01) { in imx258_otp_read_gz() 108 1, &otp_flag); in imx258_otp_read_gz() 109 if (otp_flag == 0x01) { in imx258_otp_read_gz() 161 1, &otp_flag); in imx258_otp_read_gz() 162 if (otp_flag == 0x01) { in imx258_otp_read_gz() 187 1, &otp_flag); in imx258_otp_read_gz() 188 if (otp_flag == 0x01) { in imx258_otp_read_gz() [all …]
|
| H A D | ov8858.c | 3066 int otp_flag, addr, temp, i; in ov8858_otp_read_r1a() local 3075 otp_flag = 0; in ov8858_otp_read_r1a() 3076 ov8858_read_1byte(client, 0x7010, &otp_flag); in ov8858_otp_read_r1a() 3077 if ((otp_flag & 0xc0) == 0x40) in ov8858_otp_read_r1a() 3079 else if ((otp_flag & 0x30) == 0x10) in ov8858_otp_read_r1a() 3081 else if ((otp_flag & 0x0c) == 0x04) in ov8858_otp_read_r1a() 3102 ov8858_read_1byte(client, 0x7020, &otp_flag); in ov8858_otp_read_r1a() 3103 if ((otp_flag & 0xc0) == 0x40) in ov8858_otp_read_r1a() 3105 else if ((otp_flag & 0x30) == 0x10) in ov8858_otp_read_r1a() 3107 else if ((otp_flag & 0x0c) == 0x04) in ov8858_otp_read_r1a() [all …]
|
| H A D | ov5670.c | 1610 int otp_flag, addr, temp = 0, i; in ov5670_otp_read() local 1619 otp_flag = 0; in ov5670_otp_read() 1620 ov5670_read_1byte(client, 0x7010, &otp_flag); in ov5670_otp_read() 1621 if ((otp_flag & 0xc0) == 0x40) in ov5670_otp_read() 1623 else if ((otp_flag & 0x30) == 0x10) in ov5670_otp_read() 1625 else if ((otp_flag & 0x0c) == 0x04) in ov5670_otp_read() 1659 ov5670_read_1byte(client, 0x7020, &otp_flag); in ov5670_otp_read() 1660 if ((otp_flag & 0xc0) == 0x40) in ov5670_otp_read() 1662 else if ((otp_flag & 0x30) == 0x10) in ov5670_otp_read() 1664 else if ((otp_flag & 0x0c) == 0x04) in ov5670_otp_read()
|
| H A D | gc8034.c | 1628 int otp_flag, i, j, index, temp; in gc8034_otp_read() local 1647 otp_flag = gc8034_otp_read_reg(client, 9, 0x6f); in gc8034_otp_read() 1649 switch ((otp_flag << (2 * index)) & 0x0c) { in gc8034_otp_read() 1696 otp_flag = gc8034_otp_read_reg(client, 9, 0x5e); in gc8034_otp_read() 1698 switch ((otp_flag << (2 * index)) & 0x0c) { in gc8034_otp_read() 1739 switch ((otp_flag << (2 * index)) & 0xc0) { in gc8034_otp_read() 1780 otp_flag = gc8034_otp_read_reg(client, 3, 0x3A); in gc8034_otp_read() 1782 switch ((otp_flag << (2 * index)) & 0x0c) { in gc8034_otp_read() 1831 otp_flag = gc8034_otp_read_reg(client, 3, 0x43); in gc8034_otp_read() 1833 switch ((otp_flag << (2 * index)) & 0x0c) { in gc8034_otp_read() [all …]
|
| H A D | gc5025.c | 634 int otp_flag, i, j, index, temp, tmpH, tmpL; in gc5025_otp_read() local 654 otp_flag = gc5025_otp_read_reg(client, 1, 0x00); in gc5025_otp_read() 656 switch ((otp_flag >> (4 + 2 * index)) & 0x03) { in gc5025_otp_read() 711 switch ((otp_flag >> (2 * index)) & 0x03) { in gc5025_otp_read() 755 otp_flag = gc5025_otp_read_reg(client, 1, 0xd8); in gc5025_otp_read() 757 switch ((otp_flag >> (2 * index)) & 0x03) { in gc5025_otp_read() 802 otp_flag = gc5025_otp_read_reg(client, 0, 0); in gc5025_otp_read() 803 switch (otp_flag & 0x03) { in gc5025_otp_read()
|