Home
last modified time | relevance | path

Searched refs:to_spmi_device (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/spmi/
H A Dspmi.c25 struct spmi_device *sdev = to_spmi_device(dev); in spmi_dev_release()
328 struct spmi_device *sdev = to_spmi_device(dev); in spmi_drv_probe()
354 sdrv->remove(to_spmi_device(dev)); in spmi_drv_remove()
367 sdrv->shutdown(to_spmi_device(dev)); in spmi_drv_shutdown()
405 return to_spmi_device(dev); in spmi_find_device_by_of_node()
564 struct spmi_device *spmidev = to_spmi_device(dev); in spmi_ctrl_remove_device()
/linux/include/linux/
H A Dspmi.h45 static inline struct spmi_device *to_spmi_device(struct device *d) in to_spmi_device() function
/linux/drivers/mfd/
H A Dqcom-spmi-pmic.c239 sdev = to_spmi_device(dev->parent); in qcom_pmic_get()
/linux/drivers/regulator/
H A Dmt6363-regulator.c829 sparent = to_spmi_device(dev->parent); in mt6363_spmi_register_regmap()
871 sdev = to_spmi_device(dev->parent); in mt6363_regulator_probe()
/linux/drivers/pinctrl/qcom/
H A Dpinctrl-spmi-gpio.c1103 parent_spmi_dev = to_spmi_device(dev->parent); in pmic_gpio_probe()