Lines Matching refs:length
218 stnic_block_input (struct net_device *dev, int length, struct sk_buff *skb,
226 STNIC_WRITE (PG0_RBCR0, length & 0xff);
227 STNIC_WRITE (PG0_RBCR1, length >> 8);
230 if (length & 1)
231 length++;
233 while (length > 0)
244 length -= sizeof (half);
251 stnic_block_output (struct net_device *dev, int length,
258 STNIC_WRITE (PG0_RBCR0, length & 0xff);
259 STNIC_WRITE (PG0_RBCR1, length >> 8);
264 if (length & 1)
265 length++;
267 while (length > 0)
276 length -= sizeof (half);