Lines Matching refs:spmi_controller
35 struct spmi_controller *ctrl = to_spmi_controller(dev); in spmi_ctrl_release()
62 struct spmi_controller *ctrl = sdev->ctrl; in spmi_device_add()
92 spmi_cmd(struct spmi_controller *ctrl, u8 opcode, u8 sid) in spmi_cmd()
104 static inline int spmi_read_cmd(struct spmi_controller *ctrl, u8 opcode, in spmi_read_cmd()
118 static inline int spmi_write_cmd(struct spmi_controller *ctrl, u8 opcode, in spmi_write_cmd()
386 struct spmi_device *spmi_device_alloc(struct spmi_controller *ctrl) in spmi_device_alloc()
413 struct spmi_controller *spmi_controller_alloc(struct device *parent, in spmi_controller_alloc()
416 struct spmi_controller *ctrl; in spmi_controller_alloc()
449 static void of_spmi_register_devices(struct spmi_controller *ctrl) in of_spmi_register_devices()
508 int spmi_controller_add(struct spmi_controller *ctrl) in spmi_controller_add()
546 void spmi_controller_remove(struct spmi_controller *ctrl) in spmi_controller_remove()