If I has a ACPI device method like:
Method (FUNC, 4, Serialized)
{
Store (0x80000000, Local0)
If (LEqual (Arg0, 0x1001))
{
Store (S001 (Arg1, Arg2, Arg3), Local0)
}
Else
{
If (LEqual (Arg0, 0x1002))
{
Store (S002 (Arg1, Arg2, Arg3), Local0)
}
Else
{
If (LEqual (Arg0, 0x1004))
{
Store (S004 (Arg1, Arg2, Arg3), Local0)
}
}
}
Return (Local0)
}
How would I go about calling it from my driver? Like for a single
argument set method I'd just do acpi_SetInteger.
Thanks,
--
Anish Mistry
Attachment:
pgpMB2PqPLrIj.pgp
Description: PGP signature