Lines Matching refs:spmi_device

25 	struct spmi_device *sdev = to_spmi_device(dev);  in spmi_dev_release()
62 int spmi_device_add(struct spmi_device *sdev) in spmi_device_add()
87 void spmi_device_remove(struct spmi_device *sdev) in spmi_device_remove()
142 int spmi_register_read(struct spmi_device *sdev, u8 addr, u8 *buf) in spmi_register_read()
163 int spmi_ext_register_read(struct spmi_device *sdev, u8 addr, u8 *buf, in spmi_ext_register_read()
185 int spmi_ext_register_readl(struct spmi_device *sdev, u16 addr, u8 *buf, in spmi_ext_register_readl()
205 int spmi_register_write(struct spmi_device *sdev, u8 addr, u8 data) in spmi_register_write()
223 int spmi_register_zero_write(struct spmi_device *sdev, u8 data) in spmi_register_zero_write()
240 int spmi_ext_register_write(struct spmi_device *sdev, u8 addr, const u8 *buf, in spmi_ext_register_write()
262 int spmi_ext_register_writel(struct spmi_device *sdev, u16 addr, const u8 *buf, in spmi_ext_register_writel()
282 int spmi_command_reset(struct spmi_device *sdev) in spmi_command_reset()
294 int spmi_command_sleep(struct spmi_device *sdev) in spmi_command_sleep()
307 int spmi_command_wakeup(struct spmi_device *sdev) in spmi_command_wakeup()
319 int spmi_command_shutdown(struct spmi_device *sdev) in spmi_command_shutdown()
328 struct spmi_device *sdev = to_spmi_device(dev); in spmi_drv_probe()
397 struct spmi_device *spmi_device_from_of(struct device_node *np) in spmi_device_from_of()
414 struct spmi_device *spmi_device_alloc(struct spmi_controller *ctrl) in spmi_device_alloc()
416 struct spmi_device *sdev; in spmi_device_alloc()
486 struct spmi_device *sdev; in of_spmi_register_devices()
561 struct spmi_device *spmidev = to_spmi_device(dev); in spmi_ctrl_remove_device()