apm_info          542 arch/x86/kernel/apm_32.c 	if (apm_info.allow_ints) {
apm_info          720 arch/x86/kernel/apm_32.c 	if (apm_info.connection_version < 0x0102)
apm_info          810 arch/x86/kernel/apm_32.c 	clock_slowed = (apm_info.bios.flags & APM_IDLE_SLOWS_CLOCK) != 0;
apm_info          871 arch/x86/kernel/apm_32.c 		if (apm_info.forbid_idle)
apm_info          943 arch/x86/kernel/apm_32.c 	if (apm_info.realmode_power_off) {
apm_info          964 arch/x86/kernel/apm_32.c 	if ((enable == 0) && (apm_info.bios.flags & APM_BIOS_DISENGAGED))
apm_info          970 arch/x86/kernel/apm_32.c 		apm_info.bios.flags &= ~APM_BIOS_DISABLED;
apm_info          972 arch/x86/kernel/apm_32.c 		apm_info.bios.flags |= APM_BIOS_DISABLED;
apm_info          999 arch/x86/kernel/apm_32.c 	if (apm_info.get_power_status_broken)
apm_info         1006 arch/x86/kernel/apm_32.c 	if (apm_info.get_power_status_swabinminutes) {
apm_info         1024 arch/x86/kernel/apm_32.c 	if (apm_info.connection_version < 0x0102) {
apm_info         1057 arch/x86/kernel/apm_32.c 	    && (apm_info.bios.flags & APM_BIOS_DISABLED))
apm_info         1063 arch/x86/kernel/apm_32.c 			apm_info.bios.flags &= ~APM_BIOS_DISENGAGED;
apm_info         1065 arch/x86/kernel/apm_32.c 			apm_info.bios.flags |= APM_BIOS_DISENGAGED;
apm_info         1294 arch/x86/kernel/apm_32.c 			if (apm_info.connection_version > 0x100)
apm_info         1300 arch/x86/kernel/apm_32.c 				if (apm_info.connection_version > 0x100)
apm_info         1360 arch/x86/kernel/apm_32.c 		if ((apm_info.connection_version > 0x100) &&
apm_info         1603 arch/x86/kernel/apm_32.c 		if (apm_info.connection_version > 0x100) {
apm_info         1651 arch/x86/kernel/apm_32.c 		   (apm_info.bios.version >> 8) & 0xff,
apm_info         1652 arch/x86/kernel/apm_32.c 		   apm_info.bios.version & 0xff,
apm_info         1653 arch/x86/kernel/apm_32.c 		   apm_info.bios.flags,
apm_info         1696 arch/x86/kernel/apm_32.c 	if (apm_info.connection_version == 0) {
apm_info         1697 arch/x86/kernel/apm_32.c 		apm_info.connection_version = apm_info.bios.version;
apm_info         1698 arch/x86/kernel/apm_32.c 		if (apm_info.connection_version > 0x100) {
apm_info         1702 arch/x86/kernel/apm_32.c 			if (apm_info.connection_version > 0x0102)
apm_info         1703 arch/x86/kernel/apm_32.c 				apm_info.connection_version = 0x0102;
apm_info         1704 arch/x86/kernel/apm_32.c 			error = apm_driver_version(&apm_info.connection_version);
apm_info         1708 arch/x86/kernel/apm_32.c 				apm_info.connection_version = 0x100;
apm_info         1715 arch/x86/kernel/apm_32.c 			(apm_info.connection_version >> 8) & 0xff,
apm_info         1716 arch/x86/kernel/apm_32.c 			apm_info.connection_version & 0xff);
apm_info         1719 arch/x86/kernel/apm_32.c 	if (apm_info.bios.flags & APM_BIOS_DISABLED) {
apm_info         1733 arch/x86/kernel/apm_32.c 	if ((apm_info.bios.flags & APM_BIOS_DISENGAGED)
apm_info         1734 arch/x86/kernel/apm_32.c 	    && (apm_info.connection_version > 0x0100)) {
apm_info         1785 arch/x86/kernel/apm_32.c 			if (apm_info.connection_version > 0x100) {
apm_info         1850 arch/x86/kernel/apm_32.c 			apm_info.allow_ints = !invert;
apm_info         1853 arch/x86/kernel/apm_32.c 			apm_info.get_power_status_broken = !invert;
apm_info         1856 arch/x86/kernel/apm_32.c 			apm_info.realmode_power_off = !invert;
apm_info         1904 arch/x86/kernel/apm_32.c 	if (apm_info.realmode_power_off == 0) {
apm_info         1905 arch/x86/kernel/apm_32.c 		apm_info.realmode_power_off = 1;
apm_info         1915 arch/x86/kernel/apm_32.c 	if (apm_info.allow_ints == 0) {
apm_info         1916 arch/x86/kernel/apm_32.c 		apm_info.allow_ints = 1;
apm_info         1926 arch/x86/kernel/apm_32.c 	if (apm_info.disabled == 0) {
apm_info         1927 arch/x86/kernel/apm_32.c 		apm_info.disabled = 1;
apm_info         1936 arch/x86/kernel/apm_32.c 	if (apm_info.disabled == 0) {
apm_info         1937 arch/x86/kernel/apm_32.c 		apm_info.disabled = 1;
apm_info         1949 arch/x86/kernel/apm_32.c 	if (apm_info.forbid_idle == 0) {
apm_info         1950 arch/x86/kernel/apm_32.c 		apm_info.forbid_idle = 1;
apm_info         1974 arch/x86/kernel/apm_32.c 	apm_info.get_power_status_broken = 1;
apm_info         1986 arch/x86/kernel/apm_32.c 	apm_info.get_power_status_swabinminutes = 1;
apm_info         2220 arch/x86/kernel/apm_32.c 	if (apm_info.bios.version == 0 || paravirt_enabled() || machine_is_olpc()) {
apm_info         2226 arch/x86/kernel/apm_32.c 	       ((apm_info.bios.version >> 8) & 0xff),
apm_info         2227 arch/x86/kernel/apm_32.c 	       (apm_info.bios.version & 0xff),
apm_info         2228 arch/x86/kernel/apm_32.c 	       apm_info.bios.flags,
apm_info         2230 arch/x86/kernel/apm_32.c 	if ((apm_info.bios.flags & APM_32_BIT_SUPPORT) == 0) {
apm_info         2236 arch/x86/kernel/apm_32.c 		apm_info.allow_ints = 1;
apm_info         2238 arch/x86/kernel/apm_32.c 		apm_info.get_power_status_broken = 1;
apm_info         2240 arch/x86/kernel/apm_32.c 		apm_info.realmode_power_off = 1;
apm_info         2243 arch/x86/kernel/apm_32.c 		apm_info.disabled = apm_disabled;
apm_info         2249 arch/x86/kernel/apm_32.c 	if (apm_info.bios.version == 0x001)
apm_info         2250 arch/x86/kernel/apm_32.c 		apm_info.bios.version = 0x100;
apm_info         2253 arch/x86/kernel/apm_32.c 	if (apm_info.bios.version < 0x102)
apm_info         2254 arch/x86/kernel/apm_32.c 		apm_info.bios.cseg_16_len = 0; /* 64k */
apm_info         2258 arch/x86/kernel/apm_32.c 			apm_info.bios.cseg, apm_info.bios.offset,
apm_info         2259 arch/x86/kernel/apm_32.c 			apm_info.bios.cseg_16, apm_info.bios.dseg);
apm_info         2260 arch/x86/kernel/apm_32.c 		if (apm_info.bios.version > 0x100)
apm_info         2262 arch/x86/kernel/apm_32.c 				apm_info.bios.cseg_len,
apm_info         2263 arch/x86/kernel/apm_32.c 				apm_info.bios.dseg_len);
apm_info         2264 arch/x86/kernel/apm_32.c 		if (apm_info.bios.version > 0x101)
apm_info         2265 arch/x86/kernel/apm_32.c 			printk(" cseg16 len %x", apm_info.bios.cseg_16_len);
apm_info         2269 arch/x86/kernel/apm_32.c 	if (apm_info.disabled) {
apm_info         2275 arch/x86/kernel/apm_32.c 		apm_info.disabled = 1;
apm_info         2280 arch/x86/kernel/apm_32.c 		apm_info.disabled = 1;
apm_info         2298 arch/x86/kernel/apm_32.c 	apm_bios_entry.offset = apm_info.bios.offset;
apm_info         2313 arch/x86/kernel/apm_32.c 		 __va((unsigned long)apm_info.bios.cseg << 4));
apm_info         2315 arch/x86/kernel/apm_32.c 		 __va((unsigned long)apm_info.bios.cseg_16 << 4));
apm_info         2317 arch/x86/kernel/apm_32.c 		 __va((unsigned long)apm_info.bios.dseg << 4));
apm_info         2370 arch/x86/kernel/apm_32.c 	if (((apm_info.bios.flags & APM_BIOS_DISENGAGED) == 0)
apm_info         2371 arch/x86/kernel/apm_32.c 	    && (apm_info.connection_version > 0x0100)) {
apm_info          177 arch/x86/kernel/setup.c struct apm_info apm_info;
apm_info          798 arch/x86/kernel/setup.c 	apm_info.bios = boot_params.apm_bios_info;
apm_info          111 include/linux/apm_bios.h extern struct apm_info	apm_info;
apm_info          191 include/linux/apm_bios.h #define APM_DEVICE_BALL		((apm_info.connection_version > 0x0100) ? \