Lines Matching refs:ssam_controller
876 struct device *ssam_controller_device(struct ssam_controller *c) in ssam_controller_device()
884 struct ssam_controller *ctrl = to_ssam_controller(kref, kref); in __ssam_controller_release()
904 struct ssam_controller *ssam_controller_get(struct ssam_controller *c) in ssam_controller_get()
916 void ssam_controller_put(struct ssam_controller *c) in ssam_controller_put()
940 void ssam_controller_statelock(struct ssam_controller *c) in ssam_controller_statelock()
952 void ssam_controller_stateunlock(struct ssam_controller *c) in ssam_controller_stateunlock()
968 void ssam_controller_lock(struct ssam_controller *c) in ssam_controller_lock()
979 void ssam_controller_unlock(struct ssam_controller *c) in ssam_controller_unlock()
988 struct ssam_controller *ctrl = to_ssam_controller(rtl, rtl); in ssam_handle_event()
1010 static bool ssam_notifier_is_empty(struct ssam_controller *ctrl);
1011 static void ssam_notifier_unregister_all(struct ssam_controller *ctrl);
1204 int ssam_controller_init(struct ssam_controller *ctrl, in ssam_controller_init()
1265 int ssam_controller_start(struct ssam_controller *ctrl) in ssam_controller_start()
1319 void ssam_controller_shutdown(struct ssam_controller *ctrl) in ssam_controller_shutdown()
1388 void ssam_controller_destroy(struct ssam_controller *ctrl) in ssam_controller_destroy()
1431 int ssam_controller_suspend(struct ssam_controller *ctrl) in ssam_controller_suspend()
1463 int ssam_controller_resume(struct ssam_controller *ctrl) in ssam_controller_resume()
1508 struct ssam_controller *ctrl, in ssam_request_write_data()
1684 int ssam_request_sync_submit(struct ssam_controller *ctrl, in ssam_request_sync_submit()
1728 int ssam_request_do_sync(struct ssam_controller *ctrl, in ssam_request_do_sync()
1787 int ssam_request_do_sync_with_buffer(struct ssam_controller *ctrl, in ssam_request_do_sync_with_buffer()
1873 static int __ssam_ssh_event_request(struct ssam_controller *ctrl, in __ssam_ssh_event_request()
1929 static int ssam_ssh_event_enable(struct ssam_controller *ctrl, in ssam_ssh_event_enable()
1970 static int ssam_ssh_event_disable(struct ssam_controller *ctrl, in ssam_ssh_event_disable()
2005 int ssam_get_firmware_version(struct ssam_controller *ctrl, u32 *version) in ssam_get_firmware_version()
2045 int ssam_ctrl_notif_display_off(struct ssam_controller *ctrl) in ssam_ctrl_notif_display_off()
2084 int ssam_ctrl_notif_display_on(struct ssam_controller *ctrl) in ssam_ctrl_notif_display_on()
2123 int ssam_ctrl_notif_d0_exit(struct ssam_controller *ctrl) in ssam_ctrl_notif_d0_exit()
2165 int ssam_ctrl_notif_d0_entry(struct ssam_controller *ctrl) in ssam_ctrl_notif_d0_entry()
2212 static int ssam_nf_refcount_enable(struct ssam_controller *ctrl, in ssam_nf_refcount_enable()
2276 static int ssam_nf_refcount_disable_free(struct ssam_controller *ctrl, in ssam_nf_refcount_disable_free()
2327 int ssam_notifier_register(struct ssam_controller *ctrl, struct ssam_event_notifier *n) in ssam_notifier_register()
2395 int __ssam_notifier_unregister(struct ssam_controller *ctrl, struct ssam_event_notifier *n, in __ssam_notifier_unregister()
2467 int ssam_controller_event_enable(struct ssam_controller *ctrl, in ssam_controller_event_enable()
2518 int ssam_controller_event_disable(struct ssam_controller *ctrl, in ssam_controller_event_disable()
2566 int ssam_notifier_disable_registered(struct ssam_controller *ctrl) in ssam_notifier_disable_registered()
2611 void ssam_notifier_restore_registered(struct ssam_controller *ctrl) in ssam_notifier_restore_registered()
2635 static bool ssam_notifier_is_empty(struct ssam_controller *ctrl) in ssam_notifier_is_empty()
2656 static void ssam_notifier_unregister_all(struct ssam_controller *ctrl) in ssam_notifier_unregister_all()
2676 struct ssam_controller *ctrl = dev_id; in ssam_irq_handle()
2736 int ssam_irq_setup(struct ssam_controller *ctrl) in ssam_irq_setup()
2782 void ssam_irq_free(struct ssam_controller *ctrl) in ssam_irq_free()
2802 int ssam_irq_arm_for_wakeup(struct ssam_controller *ctrl) in ssam_irq_arm_for_wakeup()
2835 void ssam_irq_disarm_wakeup(struct ssam_controller *ctrl) in ssam_irq_disarm_wakeup()