Lines Matching defs:length
222 stnic_block_input (struct net_device *dev, int length, struct sk_buff *skb,
230 STNIC_WRITE (PG0_RBCR0, length & 0xff);
231 STNIC_WRITE (PG0_RBCR1, length >> 8);
234 if (length & 1)
235 length++;
237 while (length > 0)
248 length -= sizeof (half);
255 stnic_block_output (struct net_device *dev, int length,
262 STNIC_WRITE (PG0_RBCR0, length & 0xff);
263 STNIC_WRITE (PG0_RBCR1, length >> 8);
268 if (length & 1)
269 length++;
271 while (length > 0)
280 length -= sizeof (half);