Home
last modified time | relevance | path

Searched refs:dest_val (Results 1 – 4 of 4) sorted by relevance

/u-boot/drivers/power/pmic/
A Dpmic_tps65218.c14 int tps65218_reg_read(uchar dest_reg, uchar *dest_val) in tps65218_reg_read() argument
23 *dest_val = read_val; in tps65218_reg_read()
59 read_val |= (dest_val & mask); in tps65218_reg_write()
60 dest_val = read_val; in tps65218_reg_write()
71 ret = i2c_write(TPS65218_CHIP_PM, dest_reg, 1, &dest_val, 1); in tps65218_reg_write()
91 int tps65218_reg_read(uchar dest_reg, uchar *dest_val) in tps65218_reg_read() argument
103 *dest_val = read_val; in tps65218_reg_read()
128 read_val |= (dest_val & mask); in tps65218_reg_write()
129 dest_val = read_val; in tps65218_reg_write()
140 ret = dm_i2c_write(tps65218_dev, dest_reg, &dest_val, 1); in tps65218_reg_write()
[all …]
A Dpmic_tps65217.c43 int tps65217_reg_write(uchar prot_level, uchar dest_reg, uchar dest_val, in tps65217_reg_write() argument
64 read_val |= (dest_val & mask); in tps65217_reg_write()
65 dest_val = read_val; in tps65217_reg_write()
81 ret = i2c_write(TPS65217_CHIP_PM, dest_reg, 1, &dest_val, 1); in tps65217_reg_write()
83 ret = dm_i2c_write(tps65217_dev, dest_reg, &dest_val, 1); in tps65217_reg_write()
100 ret = i2c_write(TPS65217_CHIP_PM, dest_reg, 1, &dest_val, 1); in tps65217_reg_write()
102 ret = dm_i2c_write(tps65217_dev, dest_reg, &dest_val, 1); in tps65217_reg_write()
/u-boot/include/power/
A Dtps65218.h75 int tps65218_reg_read(uchar dest_reg, uchar *dest_val);
76 int tps65218_reg_write(uchar prot_level, uchar dest_reg, uchar dest_val,
A Dtps65217.h86 int tps65217_reg_write(uchar prot_level, uchar dest_reg, uchar dest_val,

Completed in 4 milliseconds