Lines Matching refs:autosw
5060 int autosw; in video_outputsw_set() local
5071 autosw = video_autosw_get(); in video_outputsw_set()
5072 if (autosw < 0) in video_outputsw_set()
5073 return autosw; in video_outputsw_set()
5080 if (!autosw && video_autosw_set(autosw)) { in video_outputsw_set()
5098 int autosw = 0; in video_autosw_get() local
5102 if (!acpi_evalf(vid_handle, &autosw, "SWIT", "d")) in video_autosw_get()
5107 if (!acpi_evalf(vid_handle, &autosw, "^VDEE", "d")) in video_autosw_get()
5114 return autosw & 1; in video_autosw_get()
5126 int autosw = video_autosw_get(); in video_outputsw_cycle() local
5129 if (autosw < 0) in video_outputsw_cycle()
5130 return autosw; in video_outputsw_cycle()
5149 if (!autosw && video_autosw_set(autosw)) { in video_outputsw_cycle()
5177 int status, autosw; in video_read() local
5192 autosw = video_autosw_get(); in video_read()
5193 if (autosw < 0) in video_read()
5194 return autosw; in video_read()
5201 seq_printf(m, "auto:\t\t%s\n", enabled(autosw, 0)); in video_read()