Searched refs:s2mpa01 (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/regulator/
H A Ds2mpa01.c24 #include <linux/mfd/samsung/s2mpa01.h>
60 struct s2mpa01_info *s2mpa01 = rdev_get_drvdata(rdev); s2mpa01_regulator_set_voltage_time_sel() local
67 ramp_delay = s2mpa01->ramp_delay24; s2mpa01_regulator_set_voltage_time_sel()
70 ramp_delay = s2mpa01->ramp_delay3; s2mpa01_regulator_set_voltage_time_sel()
73 ramp_delay = s2mpa01->ramp_delay5; s2mpa01_regulator_set_voltage_time_sel()
77 ramp_delay = s2mpa01->ramp_delay16; s2mpa01_regulator_set_voltage_time_sel()
80 ramp_delay = s2mpa01->ramp_delay7; s2mpa01_regulator_set_voltage_time_sel()
85 ramp_delay = s2mpa01->ramp_delay8910; s2mpa01_regulator_set_voltage_time_sel()
100 struct s2mpa01_info *s2mpa01 = rdev_get_drvdata(rdev); s2mpa01_set_ramp_delay() local
113 if (ramp_delay > s2mpa01->ramp_delay16) s2mpa01_set_ramp_delay()
114 s2mpa01->ramp_delay16 = ramp_delay; s2mpa01_set_ramp_delay()
116 ramp_delay = s2mpa01->ramp_delay16; s2mpa01_set_ramp_delay()
127 if (ramp_delay > s2mpa01->ramp_delay24) s2mpa01_set_ramp_delay()
128 s2mpa01->ramp_delay24 = ramp_delay; s2mpa01_set_ramp_delay()
130 ramp_delay = s2mpa01->ramp_delay24; s2mpa01_set_ramp_delay()
142 s2mpa01->ramp_delay3 = ramp_delay; s2mpa01_set_ramp_delay()
153 if (ramp_delay > s2mpa01->ramp_delay24) s2mpa01_set_ramp_delay()
154 s2mpa01->ramp_delay24 = ramp_delay; s2mpa01_set_ramp_delay()
156 ramp_delay = s2mpa01->ramp_delay24; s2mpa01_set_ramp_delay()
162 s2mpa01->ramp_delay5 = ramp_delay; s2mpa01_set_ramp_delay()
166 if (ramp_delay > s2mpa01->ramp_delay16) s2mpa01_set_ramp_delay()
167 s2mpa01->ramp_delay16 = ramp_delay; s2mpa01_set_ramp_delay()
169 ramp_delay = s2mpa01->ramp_delay16; s2mpa01_set_ramp_delay()
174 s2mpa01->ramp_delay7 = ramp_delay; s2mpa01_set_ramp_delay()
180 if (ramp_delay > s2mpa01->ramp_delay8910) s2mpa01_set_ramp_delay()
181 s2mpa01->ramp_delay8910 = ramp_delay; s2mpa01_set_ramp_delay()
183 ramp_delay = s2mpa01->ramp_delay8910; s2mpa01_set_ramp_delay()
347 struct s2mpa01_info *s2mpa01; s2mpa01_pmic_probe() local
350 s2mpa01 = devm_kzalloc(&pdev->dev, sizeof(*s2mpa01), GFP_KERNEL); s2mpa01_pmic_probe()
351 if (!s2mpa01) s2mpa01_pmic_probe()
371 platform_set_drvdata(pdev, s2mpa01); s2mpa01_pmic_probe()
375 config.driver_data = s2mpa01; s2mpa01_pmic_probe()
400 { "s2mpa01-pmic", 0},
407 .name = "s2mpa01-pmic",
/linux-4.1.27/drivers/mfd/
H A Dsec-core.c28 #include <linux/mfd/samsung/s2mpa01.h>
101 .name = "s2mpa01-pmic",
128 .compatible = "samsung,s2mpa01-pmic",

Completed in 81 milliseconds