Home
last modified time | relevance | path

Searched refs:read_val (Results 1 – 3 of 3) sorted by relevance

/rk3399_rockchip-uboot/drivers/power/pmic/
H A Dpmic_tps65218.c16 uchar read_val; in tps65218_reg_read() local
19 ret = i2c_read(TPS65218_CHIP_PM, dest_reg, 1, &read_val, 1); in tps65218_reg_read()
23 *dest_val = read_val; in tps65218_reg_read()
46 uchar read_val; in tps65218_reg_write() local
55 ret = i2c_read(TPS65218_CHIP_PM, dest_reg, 1, &read_val, 1); in tps65218_reg_write()
58 read_val &= (~mask); in tps65218_reg_write()
59 read_val |= (dest_val & mask); in tps65218_reg_write()
60 dest_val = read_val; in tps65218_reg_write()
H A Dpmic_tps65217.c41 uchar read_val; in tps65217_reg_write() local
50 ret = i2c_read(TPS65217_CHIP_PM, dest_reg, 1, &read_val, 1); in tps65217_reg_write()
53 read_val &= (~mask); in tps65217_reg_write()
54 read_val |= (dest_val & mask); in tps65217_reg_write()
55 dest_val = read_val; in tps65217_reg_write()
/rk3399_rockchip-uboot/drivers/video/rk_eink/
H A Dtps65185.c326 u8 read_val = 0; in tps65185_temp_get() local
334 ret = tps65185_i2c_read(priv_data, REG_TMST1, &read_val); in tps65185_temp_get()
343 debug("read_val = 0x%x\n", read_val); in tps65185_temp_get()
344 } while (((read_val & 0x20) == 0 || (read_val & 0x80))); in tps65185_temp_get()
347 ret = tps65185_i2c_read(priv_data, REG_TMST_VALUE, &read_val); in tps65185_temp_get()
352 *temp = (u32)read_val; in tps65185_temp_get()