Home
last modified time | relevance | path

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

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