Lines Matching refs:autosw
4764 int autosw; in video_outputsw_set() local
4775 autosw = video_autosw_get(); in video_outputsw_set()
4776 if (autosw < 0) in video_outputsw_set()
4777 return autosw; in video_outputsw_set()
4784 if (!autosw && video_autosw_set(autosw)) { in video_outputsw_set()
4802 int autosw = 0; in video_autosw_get() local
4806 if (!acpi_evalf(vid_handle, &autosw, "SWIT", "d")) in video_autosw_get()
4811 if (!acpi_evalf(vid_handle, &autosw, "^VDEE", "d")) in video_autosw_get()
4818 return autosw & 1; in video_autosw_get()
4830 int autosw = video_autosw_get(); in video_outputsw_cycle() local
4833 if (autosw < 0) in video_outputsw_cycle()
4834 return autosw; in video_outputsw_cycle()
4853 if (!autosw && video_autosw_set(autosw)) { in video_outputsw_cycle()
4881 int status, autosw; in video_read() local
4896 autosw = video_autosw_get(); in video_read()
4897 if (autosw < 0) in video_read()
4898 return autosw; in video_read()
4905 seq_printf(m, "auto:\t\t%s\n", enabled(autosw, 0)); in video_read()