Lines Matching refs:spmi_controller
36 struct spmi_controller *ctrl = to_spmi_controller(dev); in spmi_ctrl_release()
64 struct spmi_controller *ctrl = sdev->ctrl; in spmi_device_add()
94 spmi_cmd(struct spmi_controller *ctrl, u8 opcode, u8 sid) in spmi_cmd()
106 static inline int spmi_read_cmd(struct spmi_controller *ctrl, u8 opcode, in spmi_read_cmd()
120 static inline int spmi_write_cmd(struct spmi_controller *ctrl, u8 opcode, in spmi_write_cmd()
417 struct spmi_device *spmi_device_alloc(struct spmi_controller *ctrl) in spmi_device_alloc()
444 struct spmi_controller *spmi_controller_alloc(struct device *parent, in spmi_controller_alloc()
447 struct spmi_controller *ctrl; in spmi_controller_alloc()
480 static void of_spmi_register_devices(struct spmi_controller *ctrl) in of_spmi_register_devices()
539 int spmi_controller_add(struct spmi_controller *ctrl) in spmi_controller_add()
578 void spmi_controller_remove(struct spmi_controller *ctrl) in spmi_controller_remove()