Lines Matching refs:tps6524x
135 struct tps6524x { struct
143 static int __read_reg(struct tps6524x *hw, int reg) in __read_reg() argument
185 static int read_reg(struct tps6524x *hw, int reg) in read_reg()
196 static int __write_reg(struct tps6524x *hw, int reg, int val) in __write_reg()
238 static int __rmw_reg(struct tps6524x *hw, int reg, int mask, int val) in __rmw_reg()
254 static int rmw_protect(struct tps6524x *hw, int reg, int mask, int val) in rmw_protect()
282 static int read_field(struct tps6524x *hw, const struct field *field) in read_field()
293 static int write_field(struct tps6524x *hw, const struct field *field, in write_field()
460 struct tps6524x *hw; in set_voltage_sel()
474 struct tps6524x *hw; in get_voltage_sel()
496 struct tps6524x *hw; in set_current_limit()
517 struct tps6524x *hw; in get_current_limit()
538 struct tps6524x *hw; in enable_supply()
549 struct tps6524x *hw; in disable_supply()
560 struct tps6524x *hw; in is_supply_enabled()
582 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()