• Home
  • Raw
  • Download

Lines Matching refs:axp20x

370 	struct axp20x_dev *axp20x = rdev_get_drvdata(rdev);  in axp20x_set_ramp_delay()  local
376 switch (axp20x->variant) { in axp20x_set_ramp_delay()
425 dev_err(axp20x->dev, "unsupported ramp value %d", ramp); in axp20x_set_ramp_delay()
432 return regmap_update_bits(axp20x->regmap, reg, mask, cfg); in axp20x_set_ramp_delay()
437 struct axp20x_dev *axp20x = rdev_get_drvdata(rdev); in axp20x_regulator_enable_regmap() local
440 switch (axp20x->variant) { in axp20x_regulator_enable_regmap()
1006 struct axp20x_dev *axp20x = dev_get_drvdata(pdev->dev.parent); in axp20x_set_dcdc_freq() local
1010 switch (axp20x->variant) { in axp20x_set_dcdc_freq()
1032 if (axp20x->variant == AXP806_ID) in axp20x_set_dcdc_freq()
1066 return regmap_update_bits(axp20x->regmap, reg, in axp20x_set_dcdc_freq()
1098 struct axp20x_dev *axp20x = rdev_get_drvdata(rdev); in axp20x_set_dcdc_workmode() local
1102 switch (axp20x->variant) { in axp20x_set_dcdc_workmode()
1161 static bool axp20x_is_polyphase_slave(struct axp20x_dev *axp20x, int id) in axp20x_is_polyphase_slave() argument
1169 switch (axp20x->variant) { in axp20x_is_polyphase_slave()
1172 regmap_read(axp20x->regmap, AXP803_POLYPHASE_CTRL, &reg); in axp20x_is_polyphase_slave()
1183 regmap_read(axp20x->regmap, AXP806_DCDC_MODE_CTRL2, &reg); in axp20x_is_polyphase_slave()
1209 struct axp20x_dev *axp20x = dev_get_drvdata(pdev->dev.parent); in axp20x_regulator_probe() local
1213 .regmap = axp20x->regmap, in axp20x_regulator_probe()
1214 .driver_data = axp20x, in axp20x_regulator_probe()
1222 switch (axp20x->variant) { in axp20x_regulator_probe()
1257 axp20x->variant); in axp20x_regulator_probe()
1273 if (axp20x_is_polyphase_slave(axp20x, i)) in axp20x_regulator_probe()
1277 if (axp20x->variant == AXP813_ID && i == AXP813_FLDO3) in axp20x_regulator_probe()
1349 regmap_update_bits(axp20x->regmap, AXP20X_OVER_TMP, in axp20x_regulator_probe()