Lines Matching defs:count
78 static void apne_block_input(struct net_device *dev, int count,
80 static void apne_block_output(struct net_device *dev, const int count,
235 {0x00, NE_EN0_RCNTLO}, /* Clear the count regs. */
415 le16_to_cpus(&hdr->count);
424 apne_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset)
442 outb(count & 0xff, nic_base + NE_EN0_RCNTLO);
443 outb(count >> 8, nic_base + NE_EN0_RCNTHI);
449 for (cnt = 0; cnt < (count>>1); cnt++)
451 if (count & 0x01) {
452 buf[count-1] = inb(NE_BASE + NE_DATAPORT);
456 for (cnt = 0; cnt < count; cnt++)
465 apne_block_output(struct net_device *dev, int count,
474 /* Round the count up for word writes. Do we need to do this?
475 What effect will an odd byte count have on the 8390?
477 if (ei_status.word16 && (count & 0x01))
478 count++;
494 outb(count & 0xff, nic_base + NE_EN0_RCNTLO);
495 outb(count >> 8, nic_base + NE_EN0_RCNTHI);
502 for (cnt = 0; cnt < count>>1; cnt++)
506 for (cnt = 0; cnt < count; cnt++)