Lines Matching refs:writeptr
134 (ulong) (dev->writeptr - dev->sh_mem)); in log_state()
175 writeb(dt, dev->writeptr++); in pcbit_writeb()
176 if (dev->writeptr == dev->sh_mem + BANKLEN) in pcbit_writeb()
177 dev->writeptr = dev->sh_mem; in pcbit_writeb()
184 dist = BANKLEN - (dev->writeptr - dev->sh_mem); in pcbit_writew()
187 writew(dt, dev->writeptr); in pcbit_writew()
188 dev->writeptr = dev->sh_mem; in pcbit_writew()
191 writeb((u_char) (dt & 0x00ffU), dev->writeptr); in pcbit_writew()
192 dev->writeptr = dev->sh_mem; in pcbit_writew()
193 writeb((u_char) (dt >> 8), dev->writeptr++); in pcbit_writew()
196 writew(dt, dev->writeptr); in pcbit_writew()
197 dev->writeptr += 2; in pcbit_writew()
207 diff = len - (BANKLEN - (dev->writeptr - dev->sh_mem)); in memcpy_topcbit()
211 memcpy_toio(dev->writeptr, data, len - diff); in memcpy_topcbit()
213 dev->writeptr = dev->sh_mem + diff; in memcpy_topcbit()
217 memcpy_toio(dev->writeptr, data, len); in memcpy_topcbit()
219 dev->writeptr += len; in memcpy_topcbit()
221 dev->writeptr = dev->sh_mem; in memcpy_topcbit()