Lines Matching refs:autosw
5068 int autosw; in video_outputsw_set() local
5079 autosw = video_autosw_get(); in video_outputsw_set()
5080 if (autosw < 0) in video_outputsw_set()
5081 return autosw; in video_outputsw_set()
5088 if (!autosw && video_autosw_set(autosw)) { in video_outputsw_set()
5106 int autosw = 0; in video_autosw_get() local
5110 if (!acpi_evalf(vid_handle, &autosw, "SWIT", "d")) in video_autosw_get()
5115 if (!acpi_evalf(vid_handle, &autosw, "^VDEE", "d")) in video_autosw_get()
5122 return autosw & 1; in video_autosw_get()
5134 int autosw = video_autosw_get(); in video_outputsw_cycle() local
5137 if (autosw < 0) in video_outputsw_cycle()
5138 return autosw; in video_outputsw_cycle()
5157 if (!autosw && video_autosw_set(autosw)) { in video_outputsw_cycle()
5185 int status, autosw; in video_read() local
5200 autosw = video_autosw_get(); in video_read()
5201 if (autosw < 0) in video_read()
5202 return autosw; in video_read()
5209 seq_printf(m, "auto:\t\t%s\n", enabled(autosw, 0)); in video_read()