• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/kernel/

Lines Matching refs:call

55  *	    [no-]broken[-_]psr		BIOS has a broken GetPowerStatus call
73 * Define as 1 to make the driver always call the APM BIOS busy
288 * DS can be zeroed before the call. Unfortunately, we can't do anything
348 * __apm_bios_call - Make an APM BIOS 32bit call
351 * Make an APM call using the 32bit protected mode interface. The
353 * enabled. This call can disable interrupts for a long period of
359 * Note: this makes the call on the current CPU.
368 struct apm_bios_call *call = _call;
378 apm_bios_call_asm(call->func, call->ebx, call->ecx,
379 &call->eax, &call->ebx, &call->ecx, &call->edx,
380 &call->esi);
386 return call->eax & 0xff;
390 static int on_cpu0(long (*fn)(void *), struct apm_bios_call *call)
397 ret = fn(call);
401 ret = work_on_cpu(0, fn, call);
406 call->err = ret;
408 call->err = (call->eax >> 8) & 0xff;
414 * apm_bios_call - Make an APM BIOS 32bit call (on CPU 0)
415 * @call: the apm_bios_call registers.
417 * If there is an error, it is returned in @call.err.
419 static int apm_bios_call(struct apm_bios_call *call)
421 return on_cpu0(__apm_bios_call, call);
425 * __apm_bios_call_simple - Make an APM BIOS 32bit call (on CPU 0)
428 * Make a BIOS call that returns one value only, or just status.
432 * This call may hold interrupts off for a long time on some laptops.
434 * Note: this makes the call on the current CPU.
444 struct apm_bios_call *call = _call;
454 error = apm_bios_call_simple_asm(call->func, call->ebx, call->ecx,
455 &call->eax);
464 * apm_bios_call_simple - make a simple APM BIOS 32bit call
466 * @ebx_in: EBX register value for BIOS call
467 * @ecx_in: ECX register value for BIOS call
468 * @eax: EAX register on return from the BIOS call
471 * Make a BIOS call that returns one value only, or just status.
474 * BIOS operations. This call may hold interrupts off for a long
480 struct apm_bios_call call;
483 call.func = func;
484 call.ebx = ebx_in;
485 call.ecx = ecx_in;
487 ret = on_cpu0(__apm_bios_call_simple, &call);
488 *eax = call.eax;
489 *err = call.err;
538 struct apm_bios_call call;
540 call.func = APM_FUNC_GET_EVENT;
541 call.ebx = call.ecx = 0;
543 if (apm_bios_call(&call))
544 return call.err;
546 *event = call.ebx;
550 *info = call.ecx;
661 * the CPU for some time, we want to call BIOS
755 * the SMP call on CPU0 as some systems will only honour this call
823 struct apm_bios_call call;
825 call.func = APM_FUNC_GET_STATUS;
826 call.ebx = APM_DEVICE_ALL;
827 call.ecx = 0;
831 if (apm_bios_call(&call))
832 return call.err;
833 *status = call.ebx;
834 *bat = call.ecx;
836 *life = swab16((u16)call.edx);
839 *life = call.edx;
1417 from the Get Power Status (0x0a) call unless otherwise noted.
1524 * This call causes my NEC UltraLite Versa 33/C to hang if it
2197 MODULE_PARM_DESC(broken_psr, "BIOS has a broken GetPowerStatus call");