Home
last modified time | relevance | path

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

/openbmc/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()
402 return to_spmi_device(dev); in spmi_device_from_of()
561 struct spmi_device *spmidev = to_spmi_device(dev); in spmi_ctrl_remove_device()
/openbmc/linux/include/linux/
H A Dspmi.h45 static inline struct spmi_device *to_spmi_device(struct device *d) in to_spmi_device() function
/openbmc/linux/drivers/mfd/
H A Dqcom-spmi-pmic.c239 sdev = to_spmi_device(dev->parent); in qcom_pmic_get()
/openbmc/linux/drivers/pinctrl/qcom/
H A Dpinctrl-spmi-gpio.c1082 parent_spmi_dev = to_spmi_device(dev->parent); in pmic_gpio_probe()