spmi_controller 49 include/linux/spmi.h struct spmi_controller *ctrl; spmi_controller 68 include/linux/spmi.h struct spmi_device *spmi_device_alloc(struct spmi_controller *ctrl); spmi_controller 91 include/linux/spmi.h int (*cmd)(struct spmi_controller *ctrl, u8 opcode, u8 sid); spmi_controller 92 include/linux/spmi.h int (*read_cmd)(struct spmi_controller *ctrl, u8 opcode, spmi_controller 94 include/linux/spmi.h int (*write_cmd)(struct spmi_controller *ctrl, u8 opcode, spmi_controller 98 include/linux/spmi.h static inline struct spmi_controller *to_spmi_controller(struct device *d) spmi_controller 100 include/linux/spmi.h return container_of(d, struct spmi_controller, dev); spmi_controller 104 include/linux/spmi.h void *spmi_controller_get_drvdata(const struct spmi_controller *ctrl) spmi_controller 109 include/linux/spmi.h static inline void spmi_controller_set_drvdata(struct spmi_controller *ctrl, spmi_controller 115 include/linux/spmi.h struct spmi_controller *spmi_controller_alloc(struct device *parent, spmi_controller 122 include/linux/spmi.h static inline void spmi_controller_put(struct spmi_controller *ctrl) spmi_controller 128 include/linux/spmi.h int spmi_controller_add(struct spmi_controller *ctrl); spmi_controller 129 include/linux/spmi.h void spmi_controller_remove(struct spmi_controller *ctrl);