Lines Matching refs:autosw
4763 int autosw; in video_outputsw_set() local
4774 autosw = video_autosw_get(); in video_outputsw_set()
4775 if (autosw < 0) in video_outputsw_set()
4776 return autosw; in video_outputsw_set()
4783 if (!autosw && video_autosw_set(autosw)) { in video_outputsw_set()
4801 int autosw = 0; in video_autosw_get() local
4805 if (!acpi_evalf(vid_handle, &autosw, "SWIT", "d")) in video_autosw_get()
4810 if (!acpi_evalf(vid_handle, &autosw, "^VDEE", "d")) in video_autosw_get()
4817 return autosw & 1; in video_autosw_get()
4829 int autosw = video_autosw_get(); in video_outputsw_cycle() local
4832 if (autosw < 0) in video_outputsw_cycle()
4833 return autosw; in video_outputsw_cycle()
4852 if (!autosw && video_autosw_set(autosw)) { in video_outputsw_cycle()
4880 int status, autosw; in video_read() local
4895 autosw = video_autosw_get(); in video_read()
4896 if (autosw < 0) in video_read()
4897 return autosw; in video_read()
4904 seq_printf(m, "auto:\t\t%s\n", enabled(autosw, 0)); in video_read()