Lines Matching refs:autosw
5098 int autosw; in video_outputsw_set() local
5109 autosw = video_autosw_get(); in video_outputsw_set()
5110 if (autosw < 0) in video_outputsw_set()
5111 return autosw; in video_outputsw_set()
5118 if (!autosw && video_autosw_set(autosw)) { in video_outputsw_set()
5136 int autosw = 0; in video_autosw_get() local
5140 if (!acpi_evalf(vid_handle, &autosw, "SWIT", "d")) in video_autosw_get()
5145 if (!acpi_evalf(vid_handle, &autosw, "^VDEE", "d")) in video_autosw_get()
5152 return autosw & 1; in video_autosw_get()
5164 int autosw = video_autosw_get(); in video_outputsw_cycle() local
5167 if (autosw < 0) in video_outputsw_cycle()
5168 return autosw; in video_outputsw_cycle()
5187 if (!autosw && video_autosw_set(autosw)) { in video_outputsw_cycle()
5215 int status, autosw; in video_read() local
5230 autosw = video_autosw_get(); in video_read()
5231 if (autosw < 0) in video_read()
5232 return autosw; in video_read()
5239 seq_printf(m, "auto:\t\t%s\n", enabled(autosw, 0)); in video_read()