Lines Matching refs:dma_bitmode
208 SIZEOF_SONIC_DESC * SONIC_BUS_SCALE(lp->dma_bitmode),
218 * SONIC_BUS_SCALE(lp->dma_bitmode));
220 * SONIC_BUS_SCALE(lp->dma_bitmode));
222 * SONIC_BUS_SCALE(lp->dma_bitmode));
226 * SONIC_BUS_SCALE(lp->dma_bitmode));
228 * SONIC_BUS_SCALE(lp->dma_bitmode));
230 * SONIC_BUS_SCALE(lp->dma_bitmode));
376 lp->dma_bitmode = SONIC_BITMODE16;
385 lp->dma_bitmode = SONIC_BITMODE16;
390 lp->dma_bitmode = SONIC_BITMODE32;
392 lp->dma_bitmode = SONIC_BITMODE16;
399 lp->dma_bitmode = SONIC_BITMODE32;
404 dev_name(lp->device), sr, lp->dma_bitmode?32:16, lp->reg_offset);
412 (lp->dma_bitmode ? SONIC_DCR_DW : 0));
478 int reg_offset, dma_bitmode;
504 dma_bitmode = SONIC_BITMODE32;
511 dma_bitmode = SONIC_BITMODE32;
519 dma_bitmode = SONIC_BITMODE16;
527 dma_bitmode = SONIC_BITMODE16;
535 dma_bitmode = SONIC_BITMODE16;
546 lp->dma_bitmode = dma_bitmode;
556 dev_name(lp->device), SONIC_READ(SONIC_SR), dma_bitmode?32:16, reg_offset);
561 SONIC_WRITE(SONIC_DCR, sonic_dcr | (dma_bitmode ? SONIC_DCR_DW : 0));
631 dma_free_coherent(lp->device, SIZEOF_SONIC_DESC * SONIC_BUS_SCALE(lp->dma_bitmode),