Lines Matching refs:bios
808 clock_slowed = (apm_info.bios.flags & APM_IDLE_SLOWS_CLOCK) != 0; in apm_do_idle()
986 if ((enable == 0) && (apm_info.bios.flags & APM_BIOS_DISENGAGED)) in apm_enable_power_management()
992 apm_info.bios.flags &= ~APM_BIOS_DISABLED; in apm_enable_power_management()
994 apm_info.bios.flags |= APM_BIOS_DISABLED; in apm_enable_power_management()
1079 && (apm_info.bios.flags & APM_BIOS_DISABLED)) in apm_engage_power_management()
1085 apm_info.bios.flags &= ~APM_BIOS_DISENGAGED; in apm_engage_power_management()
1087 apm_info.bios.flags |= APM_BIOS_DISENGAGED; in apm_engage_power_management()
1686 (apm_info.bios.version >> 8) & 0xff, in apm_get_info()
1687 apm_info.bios.version & 0xff, in apm_get_info()
1688 apm_info.bios.flags, in apm_get_info()
1731 apm_info.connection_version = apm_info.bios.version; in apm()
1753 if (apm_info.bios.flags & APM_BIOS_DISABLED) { in apm()
1767 if ((apm_info.bios.flags & APM_BIOS_DISENGAGED) in apm()
1915 if (apm_info.bios.version == 0) { in apm_init()
1921 ((apm_info.bios.version >> 8) & 0xff), in apm_init()
1922 (apm_info.bios.version & 0xff), in apm_init()
1923 apm_info.bios.flags, in apm_init()
1925 if ((apm_info.bios.flags & APM_32_BIT_SUPPORT) == 0) { in apm_init()
1944 if (apm_info.bios.version == 0x001) in apm_init()
1945 apm_info.bios.version = 0x100; in apm_init()
1948 if (apm_info.bios.version < 0x102) in apm_init()
1949 apm_info.bios.cseg_16_len = 0; /* 64k */ in apm_init()
1953 apm_info.bios.cseg, apm_info.bios.offset, in apm_init()
1954 apm_info.bios.cseg_16, apm_info.bios.dseg); in apm_init()
1955 if (apm_info.bios.version > 0x100) in apm_init()
1957 apm_info.bios.cseg_len, in apm_init()
1958 apm_info.bios.dseg_len); in apm_init()
1959 if (apm_info.bios.version > 0x101) in apm_init()
1960 printk(" cseg16 len %x", apm_info.bios.cseg_16_len); in apm_init()
1988 apm_bios_entry.offset = apm_info.bios.offset; in apm_init()
1991 __va((unsigned long)apm_info.bios.cseg << 4)); in apm_init()
1993 __va((unsigned long)apm_info.bios.cseg_16 << 4)); in apm_init()
1995 __va((unsigned long)apm_info.bios.dseg << 4)); in apm_init()
1997 if (apm_info.bios.version == 0x100) { in apm_init()
2008 (apm_info.bios.cseg_len - 1) & 0xffff); in apm_init()
2010 (apm_info.bios.cseg_16_len - 1) & 0xffff); in apm_init()
2012 (apm_info.bios.dseg_len - 1) & 0xffff); in apm_init()
2047 if (((apm_info.bios.flags & APM_BIOS_DISENGAGED) == 0) in apm_exit()