Lines Matching full:s2mpa01
17 #include <linux/mfd/samsung/s2mpa01.h>
51 struct s2mpa01_info *s2mpa01 = rdev_get_drvdata(rdev); in s2mpa01_regulator_set_voltage_time_sel() local
58 ramp_delay = s2mpa01->ramp_delay24; in s2mpa01_regulator_set_voltage_time_sel()
61 ramp_delay = s2mpa01->ramp_delay3; in s2mpa01_regulator_set_voltage_time_sel()
64 ramp_delay = s2mpa01->ramp_delay5; in s2mpa01_regulator_set_voltage_time_sel()
68 ramp_delay = s2mpa01->ramp_delay16; in s2mpa01_regulator_set_voltage_time_sel()
71 ramp_delay = s2mpa01->ramp_delay7; in s2mpa01_regulator_set_voltage_time_sel()
76 ramp_delay = s2mpa01->ramp_delay8910; in s2mpa01_regulator_set_voltage_time_sel()
91 struct s2mpa01_info *s2mpa01 = rdev_get_drvdata(rdev); in s2mpa01_set_ramp_delay() local
104 if (ramp_delay > s2mpa01->ramp_delay16) in s2mpa01_set_ramp_delay()
105 s2mpa01->ramp_delay16 = ramp_delay; in s2mpa01_set_ramp_delay()
107 ramp_delay = s2mpa01->ramp_delay16; in s2mpa01_set_ramp_delay()
118 if (ramp_delay > s2mpa01->ramp_delay24) in s2mpa01_set_ramp_delay()
119 s2mpa01->ramp_delay24 = ramp_delay; in s2mpa01_set_ramp_delay()
121 ramp_delay = s2mpa01->ramp_delay24; in s2mpa01_set_ramp_delay()
133 s2mpa01->ramp_delay3 = ramp_delay; in s2mpa01_set_ramp_delay()
144 if (ramp_delay > s2mpa01->ramp_delay24) in s2mpa01_set_ramp_delay()
145 s2mpa01->ramp_delay24 = ramp_delay; in s2mpa01_set_ramp_delay()
147 ramp_delay = s2mpa01->ramp_delay24; in s2mpa01_set_ramp_delay()
153 s2mpa01->ramp_delay5 = ramp_delay; in s2mpa01_set_ramp_delay()
157 if (ramp_delay > s2mpa01->ramp_delay16) in s2mpa01_set_ramp_delay()
158 s2mpa01->ramp_delay16 = ramp_delay; in s2mpa01_set_ramp_delay()
160 ramp_delay = s2mpa01->ramp_delay16; in s2mpa01_set_ramp_delay()
165 s2mpa01->ramp_delay7 = ramp_delay; in s2mpa01_set_ramp_delay()
171 if (ramp_delay > s2mpa01->ramp_delay8910) in s2mpa01_set_ramp_delay()
172 s2mpa01->ramp_delay8910 = ramp_delay; in s2mpa01_set_ramp_delay()
174 ramp_delay = s2mpa01->ramp_delay8910; in s2mpa01_set_ramp_delay()
343 struct s2mpa01_info *s2mpa01; in s2mpa01_pmic_probe() local
346 s2mpa01 = devm_kzalloc(&pdev->dev, sizeof(*s2mpa01), GFP_KERNEL); in s2mpa01_pmic_probe()
347 if (!s2mpa01) in s2mpa01_pmic_probe()
352 config.driver_data = s2mpa01; in s2mpa01_pmic_probe()
370 { "s2mpa01-pmic", 0},
377 .name = "s2mpa01-pmic",
389 MODULE_DESCRIPTION("Samsung S2MPA01 Regulator Driver");