s2mps11            39 drivers/clk/clk-s2mps11.c 	struct s2mps11_clk *s2mps11 = to_s2mps11_clk(hw);
s2mps11            41 drivers/clk/clk-s2mps11.c 	return regmap_update_bits(s2mps11->iodev->regmap_pmic,
s2mps11            42 drivers/clk/clk-s2mps11.c 				 s2mps11->reg,
s2mps11            43 drivers/clk/clk-s2mps11.c 				 s2mps11->mask, s2mps11->mask);
s2mps11            48 drivers/clk/clk-s2mps11.c 	struct s2mps11_clk *s2mps11 = to_s2mps11_clk(hw);
s2mps11            50 drivers/clk/clk-s2mps11.c 	regmap_update_bits(s2mps11->iodev->regmap_pmic, s2mps11->reg,
s2mps11            51 drivers/clk/clk-s2mps11.c 			   s2mps11->mask, ~s2mps11->mask);
s2mps11            58 drivers/clk/clk-s2mps11.c 	struct s2mps11_clk *s2mps11 = to_s2mps11_clk(hw);
s2mps11            60 drivers/clk/clk-s2mps11.c 	ret = regmap_read(s2mps11->iodev->regmap_pmic,
s2mps11            61 drivers/clk/clk-s2mps11.c 				s2mps11->reg, &val);
s2mps11            65 drivers/clk/clk-s2mps11.c 	return val & s2mps11->mask;
s2mps11            72 drivers/regulator/s2mps11.c 	struct s2mps11_info *s2mps11 = rdev_get_drvdata(rdev);
s2mps11            79 drivers/regulator/s2mps11.c 		ramp_delay = s2mps11->ramp_delay2;
s2mps11            83 drivers/regulator/s2mps11.c 		ramp_delay = s2mps11->ramp_delay34;
s2mps11            86 drivers/regulator/s2mps11.c 		ramp_delay = s2mps11->ramp_delay5;
s2mps11            90 drivers/regulator/s2mps11.c 		ramp_delay = s2mps11->ramp_delay16;
s2mps11            95 drivers/regulator/s2mps11.c 		ramp_delay = s2mps11->ramp_delay7810;
s2mps11            98 drivers/regulator/s2mps11.c 		ramp_delay = s2mps11->ramp_delay9;
s2mps11           112 drivers/regulator/s2mps11.c 	struct s2mps11_info *s2mps11 = rdev_get_drvdata(rdev);
s2mps11           120 drivers/regulator/s2mps11.c 		if (ramp_delay > s2mps11->ramp_delay16)
s2mps11           121 drivers/regulator/s2mps11.c 			s2mps11->ramp_delay16 = ramp_delay;
s2mps11           123 drivers/regulator/s2mps11.c 			ramp_delay = s2mps11->ramp_delay16;
s2mps11           134 drivers/regulator/s2mps11.c 		s2mps11->ramp_delay2 = ramp_delay;
s2mps11           145 drivers/regulator/s2mps11.c 		if (ramp_delay > s2mps11->ramp_delay34)
s2mps11           146 drivers/regulator/s2mps11.c 			s2mps11->ramp_delay34 = ramp_delay;
s2mps11           148 drivers/regulator/s2mps11.c 			ramp_delay = s2mps11->ramp_delay34;
s2mps11           160 drivers/regulator/s2mps11.c 		if (ramp_delay > s2mps11->ramp_delay34)
s2mps11           161 drivers/regulator/s2mps11.c 			s2mps11->ramp_delay34 = ramp_delay;
s2mps11           163 drivers/regulator/s2mps11.c 			ramp_delay = s2mps11->ramp_delay34;
s2mps11           169 drivers/regulator/s2mps11.c 		s2mps11->ramp_delay5 = ramp_delay;
s2mps11           179 drivers/regulator/s2mps11.c 		if (ramp_delay > s2mps11->ramp_delay16)
s2mps11           180 drivers/regulator/s2mps11.c 			s2mps11->ramp_delay16 = ramp_delay;
s2mps11           182 drivers/regulator/s2mps11.c 			ramp_delay = s2mps11->ramp_delay16;
s2mps11           189 drivers/regulator/s2mps11.c 		if (ramp_delay > s2mps11->ramp_delay7810)
s2mps11           190 drivers/regulator/s2mps11.c 			s2mps11->ramp_delay7810 = ramp_delay;
s2mps11           192 drivers/regulator/s2mps11.c 			ramp_delay = s2mps11->ramp_delay7810;
s2mps11           197 drivers/regulator/s2mps11.c 		s2mps11->ramp_delay9 = ramp_delay;
s2mps11           230 drivers/regulator/s2mps11.c 	struct s2mps11_info *s2mps11 = rdev_get_drvdata(rdev);
s2mps11           234 drivers/regulator/s2mps11.c 	switch (s2mps11->dev_type) {
s2mps11           236 drivers/regulator/s2mps11.c 		if (test_bit(rdev_id, s2mps11->suspend_state))
s2mps11           243 drivers/regulator/s2mps11.c 		if (test_bit(rdev_id, s2mps11->suspend_state))
s2mps11           245 drivers/regulator/s2mps11.c 		else if (s2mps11->ext_control_gpiod[rdev_id])
s2mps11           251 drivers/regulator/s2mps11.c 		if (test_bit(rdev_id, s2mps11->suspend_state))
s2mps11           268 drivers/regulator/s2mps11.c 	struct s2mps11_info *s2mps11 = rdev_get_drvdata(rdev);
s2mps11           272 drivers/regulator/s2mps11.c 	switch (s2mps11->dev_type) {
s2mps11           317 drivers/regulator/s2mps11.c 	set_bit(rdev_id, s2mps11->suspend_state);
s2mps11           826 drivers/regulator/s2mps11.c static int s2mps14_pmic_enable_ext_control(struct s2mps11_info *s2mps11,
s2mps11           834 drivers/regulator/s2mps11.c 		struct of_regulator_match *rdata, struct s2mps11_info *s2mps11)
s2mps11           836 drivers/regulator/s2mps11.c 	struct gpio_desc **gpio = s2mps11->ext_control_gpiod;
s2mps11           868 drivers/regulator/s2mps11.c 		struct of_regulator_match *rdata, struct s2mps11_info *s2mps11,
s2mps11           880 drivers/regulator/s2mps11.c 	if (s2mps11->dev_type == S2MPS14X)
s2mps11           881 drivers/regulator/s2mps11.c 		s2mps14_pmic_dt_parse_ext_control_gpio(pdev, rdata, s2mps11);
s2mps11          1127 drivers/regulator/s2mps11.c 	struct s2mps11_info *s2mps11;
s2mps11          1132 drivers/regulator/s2mps11.c 	s2mps11 = devm_kzalloc(&pdev->dev, sizeof(struct s2mps11_info),
s2mps11          1134 drivers/regulator/s2mps11.c 	if (!s2mps11)
s2mps11          1137 drivers/regulator/s2mps11.c 	s2mps11->dev_type = platform_get_device_id(pdev)->driver_data;
s2mps11          1138 drivers/regulator/s2mps11.c 	switch (s2mps11->dev_type) {
s2mps11          1166 drivers/regulator/s2mps11.c 				    s2mps11->dev_type);
s2mps11          1170 drivers/regulator/s2mps11.c 	s2mps11->ext_control_gpiod = devm_kcalloc(&pdev->dev, rdev_num,
s2mps11          1171 drivers/regulator/s2mps11.c 			       sizeof(*s2mps11->ext_control_gpiod), GFP_KERNEL);
s2mps11          1172 drivers/regulator/s2mps11.c 	if (!s2mps11->ext_control_gpiod)
s2mps11          1193 drivers/regulator/s2mps11.c 	ret = s2mps11_pmic_dt_parse(pdev, rdata, s2mps11, rdev_num);
s2mps11          1198 drivers/regulator/s2mps11.c 	platform_set_drvdata(pdev, s2mps11);
s2mps11          1202 drivers/regulator/s2mps11.c 	config.driver_data = s2mps11;
s2mps11          1213 drivers/regulator/s2mps11.c 		config.ena_gpiod = s2mps11->ext_control_gpiod[i];
s2mps11          1230 drivers/regulator/s2mps11.c 			ret = s2mps14_pmic_enable_ext_control(s2mps11,