Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H 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);
181 int spmi_command_reset(struct spmi_device *sdev);
182 int spmi_command_sleep(struct spmi_device *sdev);
183 int spmi_command_wakeup(struct spmi_device *sdev);
[all …]
H A Dregmap.h34 struct spmi_device;
616 struct regmap *__regmap_init_spmi_base(struct spmi_device *dev,
620 struct regmap *__regmap_init_spmi_ext(struct spmi_device *dev,
676 struct regmap *__devm_regmap_init_spmi_base(struct spmi_device *dev,
680 struct regmap *__devm_regmap_init_spmi_ext(struct spmi_device *dev,
/openbmc/linux/drivers/spmi/
H 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()
416 struct spmi_device *sdev; in spmi_device_alloc()
486 struct spmi_device *sdev; in of_spmi_register_devices()
[all …]
/openbmc/linux/drivers/mfd/
H A Dqcom-spmi-pmic.c81 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()
H A Dhi6421-spmi-pmic.c29 static int hi6421_spmi_pmic_probe(struct spmi_device *sdev) in hi6421_spmi_pmic_probe()
/openbmc/linux/drivers/base/regmap/
H 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()
/openbmc/linux/drivers/regulator/
H 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()
/openbmc/linux/drivers/pinctrl/qcom/
H A Dpinctrl-spmi-gpio.c1062 const struct spmi_device *parent_spmi_dev; in pmic_gpio_probe()