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);
142 int (*probe)(struct spmi_device *sdev);
143 void (*remove)(struct spmi_device *sdev);
144 void (*shutdown)(struct spmi_device *sdev);
184 int spmi_command_reset(struct spmi_device *sdev);
185 int spmi_command_sleep(struct spmi_device *sdev);
186 int spmi_command_wakeup(struct spmi_device *sdev);
[all …]
A Dregmap.h34 struct spmi_device;
621 struct regmap *__regmap_init_spmi_base(struct spmi_device *dev,
625 struct regmap *__regmap_init_spmi_ext(struct spmi_device *dev,
681 struct regmap *__devm_regmap_init_spmi_base(struct spmi_device *dev,
685 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()
419 struct spmi_device *sdev; in spmi_device_alloc()
489 struct spmi_device *sdev; in of_spmi_register_devices()
[all …]
/linux/drivers/mfd/
A Dqcom-spmi-pmic.c84 static struct spmi_device *qcom_pmic_get_base_usid(struct spmi_device *sdev, struct qcom_spmi_dev *… in qcom_pmic_get_base_usid()
135 static int pmic_spmi_get_base_revid(struct spmi_device *sdev, struct qcom_spmi_dev *ctx) in pmic_spmi_get_base_revid()
138 struct spmi_device *base; in pmic_spmi_get_base_revid()
230 struct spmi_device *sdev; in qcom_pmic_get()
253 static int pmic_spmi_probe(struct spmi_device *sdev) in pmic_spmi_probe()
287 static void pmic_spmi_remove(struct spmi_device *sdev) in pmic_spmi_remove()
A Dhi6421-spmi-pmic.c29 static int hi6421_spmi_pmic_probe(struct spmi_device *sdev) in hi6421_spmi_pmic_probe()
/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/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.c1062 const struct spmi_device *parent_spmi_dev; in pmic_gpio_probe()

Completed in 25 milliseconds