Lines Matching defs:sw

63 	struct ssam_tablet_sw *sw = dev_get_drvdata(dev);  in state_show()  local
81 struct ssam_tablet_sw *sw = container_of(work, struct ssam_tablet_sw, update_work); in ssam_tablet_sw_update_workfn() local
101 struct ssam_tablet_sw *sw = dev_get_drvdata(dev); in ssam_tablet_sw_resume() local
111 struct ssam_tablet_sw *sw; in ssam_tablet_sw_probe() local
185 struct ssam_tablet_sw *sw = ssam_device_get_drvdata(sdev); in ssam_tablet_sw_remove() local
206 static const char *ssam_kip_cover_state_name(struct ssam_tablet_sw *sw, u32 state) in ssam_kip_cover_state_name()
230 static bool ssam_kip_cover_state_is_tablet_mode(struct ssam_tablet_sw *sw, u32 state) in ssam_kip_cover_state_is_tablet_mode()
255 static int ssam_kip_get_cover_state(struct ssam_tablet_sw *sw, u32 *state) in ssam_kip_get_cover_state()
272 struct ssam_tablet_sw *sw = container_of(nf, struct ssam_tablet_sw, notif); in ssam_kip_sw_notif() local
327 static const char *ssam_pos_state_name(struct ssam_tablet_sw *sw, u32 state) in ssam_pos_state_name()
348 static bool ssam_pos_state_is_tablet_mode(struct ssam_tablet_sw *sw, u32 state) in ssam_pos_state_is_tablet_mode()
367 static int ssam_pos_get_sources_list(struct ssam_tablet_sw *sw, struct ssam_sources_list *sources) in ssam_pos_get_sources_list()
404 static int ssam_pos_get_source(struct ssam_tablet_sw *sw, u32 *source_id) in ssam_pos_get_source()
438 static int ssam_pos_get_posture_for_source(struct ssam_tablet_sw *sw, u32 source_id, u32 *posture) in ssam_pos_get_posture_for_source()
453 static int ssam_pos_get_posture(struct ssam_tablet_sw *sw, u32 *state) in ssam_pos_get_posture()
476 struct ssam_tablet_sw *sw = container_of(nf, struct ssam_tablet_sw, notif); in ssam_pos_sw_notif() local