Lines Matching defs:sw
72 struct ssam_tablet_sw *sw = dev_get_drvdata(dev); in state_show() local
90 struct ssam_tablet_sw *sw = container_of(work, struct ssam_tablet_sw, update_work); in ssam_tablet_sw_update_workfn() local
110 struct ssam_tablet_sw *sw = dev_get_drvdata(dev); in ssam_tablet_sw_resume() local
120 struct ssam_tablet_sw *sw; in ssam_tablet_sw_probe() local
194 struct ssam_tablet_sw *sw = ssam_device_get_drvdata(sdev); in ssam_tablet_sw_remove() local
216 static const char *ssam_kip_cover_state_name(struct ssam_tablet_sw *sw, in ssam_kip_cover_state_name()
244 static bool ssam_kip_cover_state_is_tablet_mode(struct ssam_tablet_sw *sw, in ssam_kip_cover_state_is_tablet_mode()
271 static int ssam_kip_get_cover_state(struct ssam_tablet_sw *sw, struct ssam_tablet_sw_state *state) in ssam_kip_get_cover_state()
289 struct ssam_tablet_sw *sw = container_of(nf, struct ssam_tablet_sw, notif); in ssam_kip_sw_notif() local
358 static const char *ssam_pos_state_name_cover(struct ssam_tablet_sw *sw, u32 state) in ssam_pos_state_name_cover()
385 static const char *ssam_pos_state_name_sls(struct ssam_tablet_sw *sw, u32 state) in ssam_pos_state_name_sls()
406 static const char *ssam_pos_state_name(struct ssam_tablet_sw *sw, in ssam_pos_state_name()
422 static bool ssam_pos_state_is_tablet_mode_cover(struct ssam_tablet_sw *sw, u32 state) in ssam_pos_state_is_tablet_mode_cover()
441 static bool ssam_pos_state_is_tablet_mode_sls(struct ssam_tablet_sw *sw, u32 state) in ssam_pos_state_is_tablet_mode_sls()
460 static bool ssam_pos_state_is_tablet_mode(struct ssam_tablet_sw *sw, in ssam_pos_state_is_tablet_mode()
476 static int ssam_pos_get_sources_list(struct ssam_tablet_sw *sw, struct ssam_sources_list *sources) in ssam_pos_get_sources_list()
513 static int ssam_pos_get_source(struct ssam_tablet_sw *sw, u32 *source_id) in ssam_pos_get_source()
547 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()
562 static int ssam_pos_get_posture(struct ssam_tablet_sw *sw, struct ssam_tablet_sw_state *state) in ssam_pos_get_posture()
588 struct ssam_tablet_sw *sw = container_of(nf, struct ssam_tablet_sw, notif); in ssam_pos_sw_notif() local