Searched refs:spmi_device (Results 1 – 2 of 2) sorted by relevance
40 struct spmi_device { struct46 static inline struct spmi_device *to_spmi_device(struct device *d) in to_spmi_device() argument48 return container_of(d, struct spmi_device, dev); in to_spmi_device()51 static inline void *spmi_device_get_drvdata(const struct spmi_device *sdev) in spmi_device_get_drvdata()56 static inline void spmi_device_set_drvdata(struct spmi_device *sdev, void *data) in spmi_device_set_drvdata()61 struct spmi_device *spmi_device_alloc(struct spmi_controller *ctrl);63 static inline void spmi_device_put(struct spmi_device *sdev) in spmi_device_put()69 int spmi_device_add(struct spmi_device *sdev);71 void spmi_device_remove(struct spmi_device *sdev);141 int (*probe)(struct spmi_device *sdev);[all …]
34 struct spmi_device;576 struct regmap *__regmap_init_spmi_base(struct spmi_device *dev,580 struct regmap *__regmap_init_spmi_ext(struct spmi_device *dev,632 struct regmap *__devm_regmap_init_spmi_base(struct spmi_device *dev,636 struct regmap *__devm_regmap_init_spmi_ext(struct spmi_device *dev,