Lines Matching refs:autosw
4944 int autosw; in video_outputsw_set() local
4955 autosw = video_autosw_get(); in video_outputsw_set()
4956 if (autosw < 0) in video_outputsw_set()
4957 return autosw; in video_outputsw_set()
4964 if (!autosw && video_autosw_set(autosw)) { in video_outputsw_set()
4982 int autosw = 0; in video_autosw_get() local
4986 if (!acpi_evalf(vid_handle, &autosw, "SWIT", "d")) in video_autosw_get()
4991 if (!acpi_evalf(vid_handle, &autosw, "^VDEE", "d")) in video_autosw_get()
4998 return autosw & 1; in video_autosw_get()
5010 int autosw = video_autosw_get(); in video_outputsw_cycle() local
5013 if (autosw < 0) in video_outputsw_cycle()
5014 return autosw; in video_outputsw_cycle()
5033 if (!autosw && video_autosw_set(autosw)) { in video_outputsw_cycle()
5061 int status, autosw; in video_read() local
5076 autosw = video_autosw_get(); in video_read()
5077 if (autosw < 0) in video_read()
5078 return autosw; in video_read()
5085 seq_printf(m, "auto:\t\t%s\n", str_enabled_disabled(autosw & BIT(0))); in video_read()