Searched refs:spmi_device (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/include/linux/ |
D | spmi.h | 39 struct spmi_device { struct 45 static inline struct spmi_device *to_spmi_device(struct device *d) in to_spmi_device() argument 47 return container_of(d, struct spmi_device, dev); in to_spmi_device() 50 static inline void *spmi_device_get_drvdata(const struct spmi_device *sdev) in spmi_device_get_drvdata() 55 static inline void spmi_device_set_drvdata(struct spmi_device *sdev, void *data) in spmi_device_set_drvdata() 60 struct spmi_device *spmi_device_alloc(struct spmi_controller *ctrl); 62 static inline void spmi_device_put(struct spmi_device *sdev) in spmi_device_put() 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); [all …]
|
D | regmap.h | 33 struct spmi_device; 598 struct regmap *__regmap_init_spmi_base(struct spmi_device *dev, 602 struct regmap *__regmap_init_spmi_ext(struct spmi_device *dev, 654 struct regmap *__devm_regmap_init_spmi_base(struct spmi_device *dev, 658 struct regmap *__devm_regmap_init_spmi_ext(struct spmi_device *dev,
|
/linux-6.1.9/drivers/spmi/ |
D | spmi.c | 25 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() 142 int spmi_register_read(struct spmi_device *sdev, u8 addr, u8 *buf) in spmi_register_read() 163 int spmi_ext_register_read(struct spmi_device *sdev, u8 addr, u8 *buf, in spmi_ext_register_read() 185 int spmi_ext_register_readl(struct spmi_device *sdev, u16 addr, u8 *buf, in spmi_ext_register_readl() 205 int spmi_register_write(struct spmi_device *sdev, u8 addr, u8 data) in spmi_register_write() 223 int spmi_register_zero_write(struct spmi_device *sdev, u8 data) in spmi_register_zero_write() 240 int spmi_ext_register_write(struct spmi_device *sdev, u8 addr, const u8 *buf, in spmi_ext_register_write() 262 int spmi_ext_register_writel(struct spmi_device *sdev, u16 addr, const u8 *buf, in spmi_ext_register_writel() [all …]
|
/linux-6.1.9/drivers/base/regmap/ |
D | regmap-spmi.c | 85 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-6.1.9/drivers/mfd/ |
D | qcom-spmi-pmic.c | 79 static struct spmi_device *qcom_pmic_get_base_usid(struct device *dev) in qcom_pmic_get_base_usid() 81 struct spmi_device *sdev; in qcom_pmic_get_base_usid() 198 struct spmi_device *sdev; in qcom_pmic_get() 225 static int pmic_spmi_probe(struct spmi_device *sdev) in pmic_spmi_probe()
|
D | hi6421-spmi-pmic.c | 29 static int hi6421_spmi_pmic_probe(struct spmi_device *sdev) in hi6421_spmi_pmic_probe()
|
/linux-6.1.9/drivers/regulator/ |
D | mt6315-regulator.c | 215 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-6.1.9/drivers/pinctrl/qcom/ |
D | pinctrl-spmi-gpio.c | 1060 const struct spmi_device *parent_spmi_dev; in pmic_gpio_probe()
|