<?xml version="1.0" encoding="ANSI_X3.4-1968" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968" /><title>z8530_rx_done</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1" /><link rel="home" href="index.html" title="Z8530 Programming Guide" /><link rel="up" href="intfunctions.html" title="Chapter 10. Internal Functions" /><link rel="prev" href="API-z8530-tx-done.html" title="z8530_tx_done" /><link rel="next" href="API-spans-boundary.html" title="spans_boundary" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">z8530_rx_done</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-z8530-tx-done.html">Prev</a> </td><th width="60%" align="center">Chapter 10. Internal Functions</th><td width="20%" align="right"> <a accesskey="n" href="API-spans-boundary.html">Next</a></td></tr></table><hr /></div><div class="refentry"><a id="API-z8530-rx-done"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>z8530_rx_done — Receive completion callback </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">void <strong class="fsfunc">z8530_rx_done </strong>(</code></td><td>struct z8530_channel * <var class="pdparam">c</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1"><a id="idm140438214909680"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>c</code></em></span></dt><dd><p> The channel that completed a receive </p></dd></dl></div></div><div class="refsect1"><a id="idm140438214906624"></a><h2>Description</h2><p> A new packet is complete. Our goal here is to get back into receive mode as fast as possible. On the Z85230 we could change to using ESCC mode, but on the older chips we have no choice. We flip to the new buffer immediately in DMA mode so that the DMA of the next frame can occur while we are copying the previous buffer to an sk_buff </p><p> Called with the lock held </p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-z8530-tx-done.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="intfunctions.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-spans-boundary.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">z8530_tx_done</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">spans_boundary</span></td></tr></table></div></body></html>