<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/acpi/ec.c, branch v2.6.19</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>ACPI: EC: export ec_transaction() for msi-laptop driver</title>
<updated>2006-10-14T04:49:56+00:00</updated>
<author>
<name>Lennart Poettering</name>
<email>mzxreary@0pointer.de</email>
</author>
<published>2006-10-04T02:49:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=ab9e43c640b2b7d6e296fc39dd8cbcb96f9ae393'/>
<id>ab9e43c640b2b7d6e296fc39dd8cbcb96f9ae393</id>
<content type='text'>
Signed-off-by: Lennart Poettering &lt;mzxreary@0pointer.de&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Lennart Poettering &lt;mzxreary@0pointer.de&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ACPI: EC: Simplify acpi_hw_low_level*() with inb()/outb().</title>
<updated>2006-10-14T04:49:56+00:00</updated>
<author>
<name>Denis M. Sadykov</name>
<email>denis.m.sadykov@intel.com</email>
</author>
<published>2006-09-26T15:50:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=6ffb221a82de962f31034b45d945e203a0f0500f'/>
<id>6ffb221a82de962f31034b45d945e203a0f0500f</id>
<content type='text'>
Simplify acpi_hw_low_level_xxx() functions to inb() and outb().

Signed-off-by: Alexey Y. Starikovskiy &lt;alexey.y.starikovskiy@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Simplify acpi_hw_low_level_xxx() functions to inb() and outb().

Signed-off-by: Alexey Y. Starikovskiy &lt;alexey.y.starikovskiy@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ACPI: EC: Unify poll and interrupt gpe handlers</title>
<updated>2006-10-14T04:49:55+00:00</updated>
<author>
<name>Denis M. Sadykov</name>
<email>denis.m.sadykov@intel.com</email>
</author>
<published>2006-09-26T15:50:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=8e0341ba791cc72c643340b0d8119141ae5a80c5'/>
<id>8e0341ba791cc72c643340b0d8119141ae5a80c5</id>
<content type='text'>
Signed-off-by: Alexey Y. Starikovskiy &lt;alexey.y.starikovskiy@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Alexey Y. Starikovskiy &lt;alexey.y.starikovskiy@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ACPI: EC: Unify poll and interrupt mode transaction functions</title>
<updated>2006-10-14T04:49:55+00:00</updated>
<author>
<name>Denis M. Sadykov</name>
<email>denis.m.sadykov@intel.com</email>
</author>
<published>2006-09-26T15:50:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=3576cf619b73d850f5b21375609645f221e6270f'/>
<id>3576cf619b73d850f5b21375609645f221e6270f</id>
<content type='text'>
Signed-off-by: Alexey Y. Starikovskiy &lt;alexey.y.starikovskiy@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Alexey Y. Starikovskiy &lt;alexey.y.starikovskiy@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ACPI: EC: Remove unused variables and duplicated code</title>
<updated>2006-10-14T04:49:54+00:00</updated>
<author>
<name>Denis M. Sadykov</name>
<email>denis.m.sadykov@intel.com</email>
</author>
<published>2006-09-26T15:50:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=703959d47e887a29dc58123c05aa0ffcbbfa131d'/>
<id>703959d47e887a29dc58123c05aa0ffcbbfa131d</id>
<content type='text'>
Signed-off-by: Alexey Y. Starikovskiy &lt;alexey.y.starikovskiy@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Alexey Y. Starikovskiy &lt;alexey.y.starikovskiy@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ACPI: EC: Remove unnecessary delay added by previous transation patch.</title>
<updated>2006-10-14T04:49:53+00:00</updated>
<author>
<name>Denis M. Sadykov</name>
<email>denis.m.sadykov@intel.com</email>
</author>
<published>2006-09-26T15:50:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=7c6db5e51227761f42c6ac8260753f5c24dc1dde'/>
<id>7c6db5e51227761f42c6ac8260753f5c24dc1dde</id>
<content type='text'>
Remove unnecessary delay (50 ms) while reading data from EC in interrupt mode.

Signed-off-by: Alexey Y. Starikovskiy &lt;alexey.y.starikovskiy@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove unnecessary delay (50 ms) while reading data from EC in interrupt mode.

Signed-off-by: Alexey Y. Starikovskiy &lt;alexey.y.starikovskiy@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ACPI: consolidate functions in acpi ec driver</title>
<updated>2006-10-14T04:49:52+00:00</updated>
<author>
<name>Lennart Poettering</name>
<email>mzxreary@0pointer.de</email>
</author>
<published>2006-09-05T16:12:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=d7a76e4cb3b4469b1eccb6204c053e3ebcd4c196'/>
<id>d7a76e4cb3b4469b1eccb6204c053e3ebcd4c196</id>
<content type='text'>
Unify the following functions:

    acpi_ec_poll_read()
    acpi_ec_poll_write()
    acpi_ec_poll_query()
    acpi_ec_intr_read()
    acpi_ec_intr_write()
    acpi_ec_intr_query()

into:

    acpi_ec_poll_transaction()
    acpi_ec_intr_transaction()

These new functions take as arguments an ACPI EC command, a few bytes
to write to the EC data register and a buffer for a few bytes to read
from the EC data register. The old _read(), _write(), _query() are
just special cases of these functions.

Then unified the code in acpi_ec_poll_transaction() and
acpi_ec_intr_transaction() a little more. Both functions are now just
wrappers around the new acpi_ec_transaction_unlocked() function. The
latter contains the EC access logic, the two original
function now just do their special way of locking and call the the
new function for the actual work.

This saves a lot of very similar code. The primary reason for doing
this, however, is that my driver for MSI 270 laptops needs to issue
some non-standard EC commands in a safe way. Due to this I added a new
exported function similar to ec_write()/ec_write() which is called
ec_transaction() and is essentially just a wrapper around
acpi_ec_{poll,intr}_transaction().

Signed-off-by: Lennart Poettering &lt;mzxreary@0pointer.de&gt;
Acked-by: Luming Yu &lt;luming.yu@intel.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Unify the following functions:

    acpi_ec_poll_read()
    acpi_ec_poll_write()
    acpi_ec_poll_query()
    acpi_ec_intr_read()
    acpi_ec_intr_write()
    acpi_ec_intr_query()

into:

    acpi_ec_poll_transaction()
    acpi_ec_intr_transaction()

These new functions take as arguments an ACPI EC command, a few bytes
to write to the EC data register and a buffer for a few bytes to read
from the EC data register. The old _read(), _write(), _query() are
just special cases of these functions.

Then unified the code in acpi_ec_poll_transaction() and
acpi_ec_intr_transaction() a little more. Both functions are now just
wrappers around the new acpi_ec_transaction_unlocked() function. The
latter contains the EC access logic, the two original
function now just do their special way of locking and call the the
new function for the actual work.

This saves a lot of very similar code. The primary reason for doing
this, however, is that my driver for MSI 270 laptops needs to issue
some non-standard EC commands in a safe way. Due to this I added a new
exported function similar to ec_write()/ec_write() which is called
ec_transaction() and is essentially just a wrapper around
acpi_ec_{poll,intr}_transaction().

Signed-off-by: Lennart Poettering &lt;mzxreary@0pointer.de&gt;
Acked-by: Luming Yu &lt;luming.yu@intel.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ACPI: add 'const' to several ACPI file_operations</title>
<updated>2006-07-10T04:04:29+00:00</updated>
<author>
<name>Arjan van de Ven</name>
<email>arjan@infradead.org</email>
</author>
<published>2006-07-04T17:06:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=d75080328affb4b268da430b7074cc8139cc662a'/>
<id>d75080328affb4b268da430b7074cc8139cc662a</id>
<content type='text'>
Signed-off-by: Arjan van de Ven &lt;arjan@linux.intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Arjan van de Ven &lt;arjan@linux.intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ACPI: fix battery on HP NX6125</title>
<updated>2006-06-28T16:44:45+00:00</updated>
<author>
<name>Vladimir Lebedev</name>
<email>vladimir.p.lebedev@intel.com</email>
</author>
<published>2006-06-20T20:46:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=49fee981fa98f3c0a21f3d6c8193eddcc15e84e9'/>
<id>49fee981fa98f3c0a21f3d6c8193eddcc15e84e9</id>
<content type='text'>
EC problem was cause of both battery and AC issues.
http://bugzilla.kernel.org/show_bug.cgi?id=6455

Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
EC problem was cause of both battery and AC issues.
http://bugzilla.kernel.org/show_bug.cgi?id=6455

Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ACPI: delete tracing macros from drivers/acpi/*.c</title>
<updated>2006-06-27T04:41:40+00:00</updated>
<author>
<name>Patrick Mochel</name>
<email>mochel@linux.intel.com</email>
</author>
<published>2006-06-27T04:41:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=d550d98d3317378d93a4869db204725d270ec812'/>
<id>d550d98d3317378d93a4869db204725d270ec812</id>
<content type='text'>
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
