Home
last modified time | relevance | path

Searched refs:spmi_device (Results 1 – 8 of 8) sorted by relevance

/linux/include/linux/
A Dspmi.h39 struct spmi_device { struct
47 return container_of(d, struct spmi_device, dev); in to_spmi_device()
68 int spmi_device_add(struct spmi_device *sdev);
70 void spmi_device_remove(struct spmi_device *sdev);
139 int (*probe)(struct spmi_device *sdev);
140 void (*remove)(struct spmi_device *sdev);
141 void (*shutdown)(struct spmi_device *sdev);
178 int spmi_command_reset(struct spmi_device *sdev);
179 int spmi_command_sleep(struct spmi_device *sdev);
180 int spmi_command_wakeup(struct spmi_device *sdev);
[all …]
A Dregmap.h33 struct spmi_device;
562 struct regmap *__regmap_init_spmi_base(struct spmi_device *dev,
566 struct regmap *__regmap_init_spmi_ext(struct spmi_device *dev,
618 struct regmap *__devm_regmap_init_spmi_base(struct spmi_device *dev,
622 struct regmap *__devm_regmap_init_spmi_ext(struct spmi_device *dev,
/linux/drivers/spmi/
A Dspmi.c25 struct spmi_device *sdev = to_spmi_device(dev); in spmi_dev_release()
62 int spmi_device_add(struct spmi_device *sdev) in spmi_device_add()
87 void spmi_device_remove(struct spmi_device *sdev) in spmi_device_remove()
282 int spmi_command_reset(struct spmi_device *sdev) in spmi_command_reset()
294 int spmi_command_sleep(struct spmi_device *sdev) in spmi_command_sleep()
307 int spmi_command_wakeup(struct spmi_device *sdev) in spmi_command_wakeup()
319 int spmi_command_shutdown(struct spmi_device *sdev) in spmi_command_shutdown()
328 struct spmi_device *sdev = to_spmi_device(dev); in spmi_drv_probe()
398 struct spmi_device *sdev; in spmi_device_alloc()
468 struct spmi_device *sdev; in of_spmi_register_devices()
[all …]
/linux/drivers/base/regmap/
A Dregmap-spmi.c85 struct regmap *__regmap_init_spmi_base(struct spmi_device *sdev, in __regmap_init_spmi_base()
95 struct regmap *__devm_regmap_init_spmi_base(struct spmi_device *sdev, in __devm_regmap_init_spmi_base()
205 struct regmap *__regmap_init_spmi_ext(struct spmi_device *sdev, in __regmap_init_spmi_ext()
215 struct regmap *__devm_regmap_init_spmi_ext(struct spmi_device *sdev, in __devm_regmap_init_spmi_ext()
/linux/drivers/mfd/
A Dhi6421-spmi-pmic.c29 static int hi6421_spmi_pmic_probe(struct spmi_device *sdev) in hi6421_spmi_pmic_probe()
A Dqcom-spmi-pmic.c144 static int pmic_spmi_probe(struct spmi_device *sdev) in pmic_spmi_probe()
/linux/drivers/regulator/
A Dmt6315-regulator.c215 static int mt6315_regulator_probe(struct spmi_device *pdev) in mt6315_regulator_probe()
272 static void mt6315_regulator_shutdown(struct spmi_device *pdev) in mt6315_regulator_shutdown()
/linux/drivers/pinctrl/qcom/
A Dpinctrl-spmi-gpio.c1001 const struct spmi_device *parent_spmi_dev; in pmic_gpio_probe()

Completed in 40 milliseconds