Lines Matching defs:count
96 unsigned int count)
103 while (count > XS100_8390_DATA_AREA_SIZE) {
108 count -= XS100_8390_DATA_AREA_SIZE;
112 src, count & ~3);
113 src += count & ~3;
114 if (count & 2) {
118 if (count & 1)
122 static void xs100_read(struct net_device *dev, void *dst, unsigned int count)
129 while (count > XS100_8390_DATA_AREA_SIZE) {
134 count -= XS100_8390_DATA_AREA_SIZE;
138 count & ~3);
139 dst += count & ~3;
140 if (count & 2) {
144 if (count & 1)
154 static void xs100_block_input(struct net_device *dev, int count,
172 ei_outb(count & 0xff, nic_base + EN0_RCNTLO);
173 ei_outb(count >> 8, nic_base + EN0_RCNTHI);
178 xs100_read(dev, buf, count);
183 static void xs100_block_output(struct net_device *dev, int count,
190 /* Round the count up for word writes. Do we need to do this?
191 * What effect will an odd byte count have on the 8390? I
194 if (ei_local->word16 && (count & 0x01))
195 count++;
215 ei_outb(count & 0xff, nic_base + EN0_RCNTLO);
216 ei_outb(count >> 8, nic_base + EN0_RCNTHI);
222 xs100_write(dev, buf, count);