Lines Matching defs:dshift
58 int dshift;
138 r->now[ADDR] = r->base[ADDR] << d->dshift;
157 iport = (nport >> d->dshift) & 0x0f;
165 val = (r->base[COUNT] << d->dshift) - r->now[COUNT];
170 return (val >> (d->dshift + (ff << 3))) & 0xff;
179 iport = (nport >> d->dshift) & 0x0f;
196 iport = (nport >> d->dshift) & 0x0f;
284 iport = (nport >> d->dshift) & 0x0f;
458 write_cont (d, (0x0d << d->dshift), 0);
468 /* dshift = 0: 8 bit DMA, 1 = 16 bit DMA */
469 static void dma_init2(struct dma_cont *d, int base, int dshift,
475 d->dshift = dshift;
477 register_ioport_write (base + (i << dshift), 1, 1, write_chan, d);
478 register_ioport_read (base + (i << dshift), 1, 1, read_chan, d);
493 register_ioport_write (base + ((i + 8) << dshift), 1, 1,
495 register_ioport_read (base + ((i + 8) << dshift), 1, 1,
514 qemu_put_be32 (f, d->dshift);
542 d->dshift=qemu_get_be32 (f);