Home
last modified time | relevance | path

Searched refs:id_h (Results 1 – 24 of 24) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/misc/
H A Dlt7911d-fb-notifier.c67 unsigned char id_h, id_l; in lt7911d_check_chip_id() local
74 id_h = I2C_Read_Byte(lt7911d, 0x00); in lt7911d_check_chip_id()
78 if ((id_h == 0x16) && (id_l == 0x05)) { in lt7911d_check_chip_id()
85 pr_info("%s chip id 0x%x is not 0x1605\n", __func__, (id_h << 8) | id_l); in lt7911d_check_chip_id()
/OK3568_Linux_fs/kernel/drivers/media/i2c/
H A Dov7725.c460 u8 id_h = 0, id_l = 0; in ov7725_check_sensor_id() local
462 id_h = ov7725_read_reg(client, REG_CHIP_ID_H); in ov7725_check_sensor_id()
464 if (id_h != CHIP_ID_H && id_l != CHIP_ID_L) { in ov7725_check_sensor_id()
466 id_h, id_l); in ov7725_check_sensor_id()
H A Djx_h65.c1104 u8 id_h = 0; in jx_h65_check_sensor_id() local
1108 ret = jx_h65_read_reg(client, JX_H65_PIDH_ADDR, &id_h); in jx_h65_check_sensor_id()
1110 if (id_h != CHIP_ID_H && id_l != CHIP_ID_L) { in jx_h65_check_sensor_id()
1112 id_h, id_l); in jx_h65_check_sensor_id()
1117 id_h, id_l); in jx_h65_check_sensor_id()
H A Djx_h62.c1036 u8 id_h = 0; in jx_h62_check_sensor_id() local
1040 ret = jx_h62_read_reg(client, JX_H62_PIDH_ADDR, &id_h); in jx_h62_check_sensor_id()
1042 if (id_h != CHIP_ID_H && id_l != CHIP_ID_L) { in jx_h62_check_sensor_id()
1044 id_h, id_l); in jx_h62_check_sensor_id()
1049 id_h, id_l); in jx_h62_check_sensor_id()
H A Djx_k17.c1141 u8 id_h = 0; in jx_k17_check_sensor_id() local
1145 ret = jx_k17_read_reg(client, JX_K17_PIDH_ADDR, &id_h); in jx_k17_check_sensor_id()
1147 if (id_h != CHIP_ID_H && id_l != CHIP_ID_L) { in jx_k17_check_sensor_id()
1149 id_h, id_l); in jx_k17_check_sensor_id()
1154 id_h, id_l); in jx_k17_check_sensor_id()
H A Djx_f37.c1391 u8 id_h = 0; in jx_f37_check_sensor_id() local
1395 ret = jx_f37_read_reg(client, JX_F37_PIDH_ADDR, &id_h); in jx_f37_check_sensor_id()
1397 if (id_h != CHIP_ID_H && id_l != CHIP_ID_L) { in jx_f37_check_sensor_id()
1399 id_h, id_l); in jx_f37_check_sensor_id()
1404 id_h, id_l); in jx_f37_check_sensor_id()
H A Dgc2155.c1542 u8 id_h, id_l; in gc2155_check_sensor_id() local
1544 id_h = gc2155_read_reg(client, REG_CHIP_ID_H); in gc2155_check_sensor_id()
1546 if (id_h != CHIP_ID_H && id_l != CHIP_ID_L) { in gc2155_check_sensor_id()
1548 id_h, id_l); in gc2155_check_sensor_id()
H A Dsc210iot.c582 u8 id_h = 0, id_l = 0; in sc210iot_check_sensor_id() local
591 ret = sc210iot_read_reg(sc210iot, SC210IOT_REG_CHIP_ID_H, &id_h); in sc210iot_check_sensor_id()
597 id = id_h << 8 | id_l; in sc210iot_check_sensor_id()
H A Dgc1084.c616 u8 id_h = 0, id_l = 0; in gc1084_check_sensor_id() local
620 ret = gc1084_read_reg(gc1084, GC1084_REG_CHIP_ID_H, &id_h); in gc1084_check_sensor_id()
627 id = id_h << 8 | id_l; in gc1084_check_sensor_id()
H A Dos02g10.c1193 u8 id_h = 0, id_l = 0; in os02g10_check_sensor_id() local
1197 ret = os02g10_read_reg(client, OS02G10_REG_CHIP_ID_H, &id_h); in os02g10_check_sensor_id()
1200 id = SENSOR_ID(id_h, id_l); in os02g10_check_sensor_id()
H A Dgc2093.c787 u8 id_h = 0, id_l = 0; in gc2093_check_sensor_id() local
796 ret = gc2093_read_reg(gc2093, GC2093_REG_CHIP_ID_H, &id_h); in gc2093_check_sensor_id()
803 id = id_h << 8 | id_l; in gc2093_check_sensor_id()
H A Dos03b10.c1203 u8 id_h = 0, id_l = 0; in os03b10_check_sensor_id() local
1207 ret = os03b10_read_reg(client, OS03B10_REG_CHIP_ID_H, &id_h); in os03b10_check_sensor_id()
1210 id = SENSOR_ID(id_h, id_l); in os03b10_check_sensor_id()
H A Dlt7911d.c1194 u8 id_h, id_l; in lt7911d_check_chip_id() local
1200 id_h = i2c_rd8(sd, CHIPID_REGH); in lt7911d_check_chip_id()
1203 chipid = (id_h << 8) | id_l; in lt7911d_check_chip_id()
H A Dov02b10.c1221 u8 id_h = 0, id_l = 0, id = 0; in ov02b10_check_sensor_id() local
1224 ret = ov02b10_read_reg(client, OV02B10_REG_CHIP_ID_H, &id_h); in ov02b10_check_sensor_id()
1227 id = SENSOR_ID(id_h, id_l); in ov02b10_check_sensor_id()
H A Dlt6911uxc.c1140 u8 id_h, id_l; in lt6911uxc_check_chip_id() local
1146 ret |= i2c_rd8(sd, CHIPID_H, &id_h); in lt6911uxc_check_chip_id()
1155 chipid = (id_h << 8) | id_l; in lt6911uxc_check_chip_id()
H A Dlt7911uxc.c1587 u8 id_h, id_l; in lt7911uxc_check_chip_id() local
1593 id_h = i2c_rd8(sd, CHIPID_REGH); in lt7911uxc_check_chip_id()
1596 chipid = (id_h << 8) | id_l; in lt7911uxc_check_chip_id()
H A Dlt6911uxe.c1757 u8 id_h, id_l; in lt6911uxe_check_chip_id() local
1763 id_h = i2c_rd8(sd, CHIPID_REGH); in lt6911uxe_check_chip_id()
1766 chipid = (id_h << 8) | id_l; in lt6911uxe_check_chip_id()
H A Dlt8619c.c1681 u32 id_h, id_m, id_l; in lt8619c_check_chip_id() local
1686 ret = regmap_read(lt8619c->reg_map, CHIPID_REG_H, &id_h); in lt8619c_check_chip_id()
1691 chipid = (id_h << 16) | (id_m << 8) | id_l; in lt8619c_check_chip_id()
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/focaltech_touch/
H A Dfocaltech_core.c130 u8 id_h, u8 id_l, bool fw_valid) in fts_get_chip_types() argument
136 if ((0x0 == id_h) || (0x0 == id_l)) { in fts_get_chip_types()
141 FTS_DEBUG("verify id:0x%02x%02x", id_h, id_l); in fts_get_chip_types()
144 if ((id_h == ctype[i].chip_idh) && (id_l == ctype[i].chip_idl)) in fts_get_chip_types()
147 if (((id_h == ctype[i].rom_idh) && (id_l == ctype[i].rom_idl)) in fts_get_chip_types()
148 || ((id_h == ctype[i].pb_idh) && (id_l == ctype[i].pb_idl)) in fts_get_chip_types()
149 || ((id_h == ctype[i].bl_idh) && (id_l == ctype[i].bl_idl))) in fts_get_chip_types()
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/focaltech_touch_ft5436/
H A Dfocaltech_core.c196 u8 id_h, u8 id_l, bool fw_valid) in fts_get_chip_types() argument
202 if ((0x0 == id_h) || (0x0 == id_l)) { in fts_get_chip_types()
207 FTS_DEBUG("verify id:0x%02x%02x", id_h, id_l); in fts_get_chip_types()
210 if ((id_h == ctype[i].chip_idh) && (id_l == ctype[i].chip_idl)) in fts_get_chip_types()
213 if (((id_h == ctype[i].rom_idh) && (id_l == ctype[i].rom_idl)) in fts_get_chip_types()
214 || ((id_h == ctype[i].pb_idh) && (id_l == ctype[i].pb_idl)) in fts_get_chip_types()
215 || ((id_h == ctype[i].bl_idh) && (id_l == ctype[i].bl_idl))) in fts_get_chip_types()
/OK3568_Linux_fs/kernel/include/linux/fpga/
H A Dfpga-mgr.h153 u64 id_h; member
/OK3568_Linux_fs/kernel/drivers/fpga/
H A Dfpga-region.c170 (unsigned long long)region->compat_id->id_h, in compat_id_show()
H A Ddfl-fme-mgr.c279 id->id_h = readq(fme_pr + FME_PR_INTFC_ID_H); in fme_mgr_get_compat_id()
/OK3568_Linux_fs/kernel/drivers/scsi/
H A Dqla1280.h117 uint16_t id_h; /* ID high */ member