Lines Matching refs:sdtx_device

145 struct sdtx_device {  struct
177 struct sdtx_device *ddev; argument
189 struct sdtx_device *ddev = container_of(kref, struct sdtx_device, kref); in __sdtx_device_release()
195 static struct sdtx_device *sdtx_device_get(struct sdtx_device *ddev) in sdtx_device_get()
203 static void sdtx_device_put(struct sdtx_device *ddev) in sdtx_device_put()
212 static u16 sdtx_translate_base_state(struct sdtx_device *ddev, u8 state) in sdtx_translate_base_state()
230 static u16 sdtx_translate_latch_status(struct sdtx_device *ddev, u8 status) in sdtx_translate_latch_status()
254 static u16 sdtx_translate_cancel_reason(struct sdtx_device *ddev, u8 reason) in sdtx_translate_cancel_reason()
281 static int sdtx_ioctl_get_base_info(struct sdtx_device *ddev, in sdtx_ioctl_get_base_info()
303 static int sdtx_ioctl_get_device_mode(struct sdtx_device *ddev, u16 __user *buf) in sdtx_ioctl_get_device_mode()
317 static int sdtx_ioctl_get_latch_status(struct sdtx_device *ddev, u16 __user *buf) in sdtx_ioctl_get_latch_status()
333 struct sdtx_device *ddev = client->ddev; in __surface_dtx_ioctl()
402 struct sdtx_device *ddev = container_of(file->private_data, struct sdtx_device, mdev); in surface_dtx_open()
463 struct sdtx_device *ddev = client->ddev; in surface_dtx_read()
594 static void sdtx_update_device_mode(struct sdtx_device *ddev, unsigned long delay);
597 static void sdtx_push_event(struct sdtx_device *ddev, struct sdtx_event *evt) in sdtx_push_event()
623 struct sdtx_device *ddev = container_of(nf, struct sdtx_device, notif); in sdtx_notifier()
731 struct sdtx_device *ddev = container_of(work, struct sdtx_device, mode_work.work); in sdtx_device_mode_workfn()
788 static void sdtx_update_device_mode(struct sdtx_device *ddev, unsigned long delay) in sdtx_update_device_mode()
794 static void __sdtx_device_state_update_base(struct sdtx_device *ddev, in __sdtx_device_state_update_base()
817 static void __sdtx_device_state_update_mode(struct sdtx_device *ddev, u8 mode) in __sdtx_device_state_update_mode()
856 static void __sdtx_device_state_update_latch(struct sdtx_device *ddev, u8 status) in __sdtx_device_state_update_latch()
877 struct sdtx_device *ddev = container_of(work, struct sdtx_device, state_work.work); in sdtx_device_state_workfn()
935 static void sdtx_update_device_state(struct sdtx_device *ddev, unsigned long delay) in sdtx_update_device_state()
943 static int sdtx_device_init(struct sdtx_device *ddev, struct device *dev, in sdtx_device_init()
1043 static struct sdtx_device *sdtx_device_create(struct device *dev, struct ssam_controller *ctrl) in sdtx_device_create()
1045 struct sdtx_device *ddev; in sdtx_device_create()
1061 static void sdtx_device_destroy(struct sdtx_device *ddev) in sdtx_device_destroy()
1120 struct sdtx_device *ddev = dev_get_drvdata(dev); in surface_dtx_pm_complete()
1156 struct sdtx_device *ddev; in surface_dtx_platform_probe()
1201 struct sdtx_device *ddev; in surface_dtx_ssam_probe()