Lines Matching defs:sdev
33 struct spmi_device *sdev = to_spmi_device(dev); in spmi_dev_release() local
68 int spmi_device_add(struct spmi_device *sdev) in spmi_device_add()
93 void spmi_device_remove(struct spmi_device *sdev) in spmi_device_remove()
148 int spmi_register_read(struct spmi_device *sdev, u8 addr, u8 *buf) in spmi_register_read()
169 int spmi_ext_register_read(struct spmi_device *sdev, u8 addr, u8 *buf, in spmi_ext_register_read()
191 int spmi_ext_register_readl(struct spmi_device *sdev, u16 addr, u8 *buf, in spmi_ext_register_readl()
211 int spmi_register_write(struct spmi_device *sdev, u8 addr, u8 data) in spmi_register_write()
229 int spmi_register_zero_write(struct spmi_device *sdev, u8 data) in spmi_register_zero_write()
246 int spmi_ext_register_write(struct spmi_device *sdev, u8 addr, const u8 *buf, in spmi_ext_register_write()
268 int spmi_ext_register_writel(struct spmi_device *sdev, u16 addr, const u8 *buf, in spmi_ext_register_writel()
288 int spmi_command_reset(struct spmi_device *sdev) in spmi_command_reset()
300 int spmi_command_sleep(struct spmi_device *sdev) in spmi_command_sleep()
313 int spmi_command_wakeup(struct spmi_device *sdev) in spmi_command_wakeup()
325 int spmi_command_shutdown(struct spmi_device *sdev) in spmi_command_shutdown()
334 struct spmi_device *sdev = to_spmi_device(dev); in spmi_drv_probe() local
396 struct spmi_device *sdev; in spmi_device_alloc() local
466 struct spmi_device *sdev; in of_spmi_register_devices() local