Lines Matching refs:boff
194 le_ioasic_copytobuf_gap2(struct lance_softc *sc, void *fromv, int boff, int len)
200 if (boff & 0x1) {
202 bptr = ((volatile uint16_t *)buf) + (boff - 1);
207 bptr = ((volatile uint16_t *)buf) + boff;
219 le_ioasic_copyfrombuf_gap2(struct lance_softc *sc, void *tov, int boff, int len)
226 if (boff & 0x1) {
228 bptr = ((volatile uint16_t *)buf) + (boff - 1);
233 bptr = ((volatile uint16_t *)buf) + boff;
252 le_ioasic_copytobuf_gap16(struct lance_softc *sc, void *fromv, int boff,
259 bptr = buf + ((boff << 1) & ~0x1f);
260 boff &= 0xf;
263 * Dispose of boff so destination of subsequent copies is
266 if (boff) {
268 xfer = uimin(len, 16 - boff);
269 memcpy(bptr + boff, from, xfer);
334 le_ioasic_copyfrombuf_gap16(struct lance_softc *sc, void *tov, int boff,
341 bptr = buf + ((boff << 1) & ~0x1f);
342 boff &= 0xf;
344 /* Dispose of boff. source of copy is subsequently 16-byte aligned. */
345 if (boff) {
347 xfer = uimin(len, 16 - boff);
348 memcpy(to, bptr + boff, xfer);
408 le_ioasic_zerobuf_gap16(struct lance_softc *sc, int boff, int len)
414 bptr = buf + ((boff << 1) & ~0x1f);
415 boff &= 0xf;
416 xfer = uimin(len, 16 - boff);
418 memset(bptr + boff, 0, xfer);
420 boff = 0;