Home | History | Annotate | Download | only in netboot

Lines Matching refs:cnt

108 static void eth_pio_read(unsigned int src, unsigned char *dst, unsigned int cnt)
110 if (eth_flags & FLAG_16BIT) { ++cnt; cnt &= ~1; }
113 outb(cnt, eth_nic_base + D8390_P0_RBCR0);
114 outb(cnt>>8, eth_nic_base + D8390_P0_RBCR1);
127 cnt >>= 1;
129 while(cnt--) {
151 static void eth_pio_write(const unsigned char *src, unsigned int dst, unsigned int cnt)
156 if (eth_flags & FLAG_16BIT) { ++cnt; cnt &= ~1; }
160 outb(cnt, eth_nic_base + D8390_P0_RBCR0);
161 outb(cnt>>8, eth_nic_base + D8390_P0_RBCR1);
175 cnt >>= 1;
177 while(cnt--)
212 static void eth_pio_read(unsigned int src, unsigned char *dst, unsigned int cnt) {}