1<html><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 bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><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 name="API-z8530-rx-done"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>z8530_rx_done — 2 Receive completion callback 3 </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 <b class="fsfunc">z8530_rx_done </b>(</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 name="idp1119523812"></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> 4 The channel that completed a receive 5 </p></dd></dl></div></div><div class="refsect1"><a name="idp1119525396"></a><h2>Description</h2><p> 6 A new packet is complete. Our goal here is to get back into receive 7 mode as fast as possible. On the Z85230 we could change to using 8 ESCC mode, but on the older chips we have no choice. We flip to the 9 new buffer immediately in DMA mode so that the DMA of the next 10 frame can occur while we are copying the previous buffer to an sk_buff 11 </p><p> 12 13 Called with the lock held 14</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> 15