Home
last modified time | relevance | path

Searched refs:dest_reg (Results 1 – 11 of 11) sorted by relevance

/openbmc/u-boot/drivers/power/pmic/
H A Dpmic_tps65218.c14 int tps65218_reg_read(uchar dest_reg, uchar *dest_val) in tps65218_reg_read() argument
19 ret = i2c_read(TPS65218_CHIP_PM, dest_reg, 1, &read_val, 1); in tps65218_reg_read()
55 ret = i2c_read(TPS65218_CHIP_PM, dest_reg, 1, &read_val, 1); in tps65218_reg_write()
64 xor_reg = dest_reg ^ TPS65218_PASSWORD_UNLOCK; 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
99 ret = dm_i2c_read(tps65218_dev, dest_reg, &read_val, 1); in tps65218_reg_read()
123 ret = dm_i2c_read(tps65218_dev, dest_reg, &read_val, 1); in tps65218_reg_write()
133 xor_reg = dest_reg ^ TPS65218_PASSWORD_UNLOCK; in tps65218_reg_write()
140 ret = dm_i2c_write(tps65218_dev, dest_reg, &dest_val, 1); in tps65218_reg_write()
[all …]
H A Dpmic_tps65217.c43 int tps65217_reg_write(uchar prot_level, uchar dest_reg, uchar dest_val, in tps65217_reg_write() argument
56 ret = i2c_read(TPS65217_CHIP_PM, dest_reg, 1, &read_val, 1); in tps65217_reg_write()
58 ret = dm_i2c_read(tps65217_dev, dest_reg, &read_val, 1); in tps65217_reg_write()
69 xor_reg = dest_reg ^ TPS65217_PASSWORD_UNLOCK; 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()
/openbmc/linux/arch/sparc/include/asm/
H A Dwinmacro.h107 #define LOAD_CURRENT(dest_reg, idreg) \ argument
123 sethi %hi(current_set), %dest_reg; \
124 or %dest_reg, %lo(current_set), %dest_reg;\
125 ld [%idreg + %dest_reg], %dest_reg;
127 #define LOAD_CURRENT(dest_reg, idreg) \ argument
129 ld [%idreg + %lo(current_set)], %dest_reg;
/openbmc/u-boot/include/power/
H 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,
H A Dtps65217.h86 int tps65217_reg_write(uchar prot_level, uchar dest_reg, uchar dest_val,
/openbmc/linux/arch/mips/net/
H A Dbpf_jit_comp.h222 void build_epilogue(struct jit_context *ctx, int dest_reg);
H A Dbpf_jit_comp64.c619 void build_epilogue(struct jit_context *ctx, int dest_reg) in build_epilogue() argument
630 emit(ctx, jr, dest_reg); in build_epilogue()
H A Dbpf_jit_comp32.c1444 void build_epilogue(struct jit_context *ctx, int dest_reg) in build_epilogue() argument
1458 emit(ctx, jr, dest_reg); in build_epilogue()
/openbmc/linux/arch/sparc/kernel/
H A Dunaligned_32.c175 extern int do_int_load(unsigned long *dest_reg, int size,
H A Dunaligned_64.c197 extern int do_int_load(unsigned long *dest_reg, int size,
/openbmc/u-boot/drivers/spi/
H A Dich.c74 int dest_reg, uint32_t size) in write_reg() argument
76 memcpy_toio(priv->base + dest_reg, value, size); in write_reg()