Lines Matching refs:tps6524x
135 struct tps6524x { struct
142 static int __read_reg(struct tps6524x *hw, int reg) in __read_reg() argument
184 static int read_reg(struct tps6524x *hw, int reg) in read_reg()
195 static int __write_reg(struct tps6524x *hw, int reg, int val) in __write_reg()
237 static int __rmw_reg(struct tps6524x *hw, int reg, int mask, int val) in __rmw_reg()
253 static int rmw_protect(struct tps6524x *hw, int reg, int mask, int val) in rmw_protect()
281 static int read_field(struct tps6524x *hw, const struct field *field) in read_field()
292 static int write_field(struct tps6524x *hw, const struct field *field, in write_field()
459 struct tps6524x *hw; in set_voltage_sel()
473 struct tps6524x *hw; in get_voltage_sel()
495 struct tps6524x *hw; in set_current_limit()
516 struct tps6524x *hw; in get_current_limit()
537 struct tps6524x *hw; in enable_supply()
548 struct tps6524x *hw; in disable_supply()
559 struct tps6524x *hw; in is_supply_enabled()
581 struct tps6524x *hw; in pmic_probe()
595 hw = devm_kzalloc(&spi->dev, sizeof(struct tps6524x), GFP_KERNEL); in pmic_probe()
601 memset(hw, 0, sizeof(struct tps6524x)); in pmic_probe()