Lines Matching refs:autosw
5066 int autosw; in video_outputsw_set() local
5077 autosw = video_autosw_get(); in video_outputsw_set()
5078 if (autosw < 0) in video_outputsw_set()
5079 return autosw; in video_outputsw_set()
5086 if (!autosw && video_autosw_set(autosw)) { in video_outputsw_set()
5104 int autosw = 0; in video_autosw_get() local
5108 if (!acpi_evalf(vid_handle, &autosw, "SWIT", "d")) in video_autosw_get()
5113 if (!acpi_evalf(vid_handle, &autosw, "^VDEE", "d")) in video_autosw_get()
5120 return autosw & 1; in video_autosw_get()
5132 int autosw = video_autosw_get(); in video_outputsw_cycle() local
5135 if (autosw < 0) in video_outputsw_cycle()
5136 return autosw; in video_outputsw_cycle()
5155 if (!autosw && video_autosw_set(autosw)) { in video_outputsw_cycle()
5183 int status, autosw; in video_read() local
5198 autosw = video_autosw_get(); in video_read()
5199 if (autosw < 0) in video_read()
5200 return autosw; in video_read()
5207 seq_printf(m, "auto:\t\t%s\n", enabled(autosw, 0)); in video_read()