Home
last modified time | relevance | path

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

/include/linux/
Dspmi.h42 struct spmi_controller *ctrl;
61 struct spmi_device *spmi_device_alloc(struct spmi_controller *ctrl);
81 struct spmi_controller { struct
84 int (*cmd)(struct spmi_controller *ctrl, u8 opcode, u8 sid); argument
85 int (*read_cmd)(struct spmi_controller *ctrl, u8 opcode, argument
87 int (*write_cmd)(struct spmi_controller *ctrl, u8 opcode, argument
92 static inline struct spmi_controller *to_spmi_controller(struct device *d) in to_spmi_controller()
94 return container_of(d, struct spmi_controller, dev); in to_spmi_controller()
98 void *spmi_controller_get_drvdata(const struct spmi_controller *ctrl) in spmi_controller_get_drvdata()
103 static inline void spmi_controller_set_drvdata(struct spmi_controller *ctrl, in spmi_controller_set_drvdata()
[all …]