Searched refs:mwdma (Results 1 – 12 of 12) sorted by relevance
113 unsigned int mwdma = adev->dma_mode - XFER_MW_DMA_0; in radisys_set_dmamode() local117 int pio = needed_pio[mwdma] - XFER_PIO_0; in radisys_set_dmamode()123 if (adev->pio_mode < needed_pio[mwdma]) in radisys_set_dmamode()
145 unsigned int mwdma = adev->dma_mode - XFER_MW_DMA_0; in oldpiix_set_dmamode() local150 int pio = needed_pio[mwdma] - XFER_PIO_0; in oldpiix_set_dmamode()162 if (adev->pio_mode < needed_pio[mwdma]) in oldpiix_set_dmamode()
192 unsigned int mwdma = adev->dma_mode - XFER_MW_DMA_0; in it8213_set_dmamode() local198 int pio = needed_pio[mwdma] - XFER_PIO_0; in it8213_set_dmamode()205 if (adev->pio_mode < needed_pio[mwdma]) in it8213_set_dmamode()
197 unsigned int mwdma = adev->dma_mode - XFER_MW_DMA_0; in efar_set_dmamode() local203 int pio = needed_pio[mwdma] - XFER_PIO_0; in efar_set_dmamode()210 if (adev->pio_mode < needed_pio[mwdma]) in efar_set_dmamode()
56 static const u32 mwdma[4] = { in tosh_set_dmamode() local59 conf |= mwdma[adev->dma_mode - XFER_MW_DMA_0]; in tosh_set_dmamode()
232 unsigned int mwdma = adev->dma_mode - XFER_MW_DMA_0; in rdc_set_dmamode() local238 int pio = needed_pio[mwdma] - XFER_PIO_0; in rdc_set_dmamode()245 if (adev->pio_mode < needed_pio[mwdma]) in rdc_set_dmamode()
94 u16 mwdma[2]; /* Cached MWDMA values */ member303 itdev->mwdma[unit] = MWDMA_OFF; in it821x_passthru_set_dmamode()322 itdev->mwdma[unit] = dma[mode_wanted]; in it821x_passthru_set_dmamode()352 if (itdev->mwdma[unit] != MWDMA_OFF) in it821x_passthru_bmdma_start()353 it821x_program(ap, adev, itdev->mwdma[unit]); in it821x_passthru_bmdma_start()376 if (itdev->mwdma[unit] != MWDMA_OFF) in it821x_passthru_bmdma_stop()
719 unsigned int mwdma = speed - XFER_MW_DMA_0; in do_pata_set_dmamode() local723 int pio = needed_pio[mwdma] - XFER_PIO_0; in do_pata_set_dmamode()
82 u16 mwdma[2]; /* Cached MWDMA values */ member293 itdev->mwdma[unit] = dma[mode_wanted]; in it821x_tune_mwdma()330 itdev->mwdma[unit] = MWDMA_OFF; in it821x_tune_udma()367 if(itdev->mwdma[unit] != MWDMA_OFF) in it821x_dma_start()368 it821x_program(drive, itdev->mwdma[unit]); in it821x_dma_start()390 if(itdev->mwdma[unit] != MWDMA_OFF) in it821x_dma_end()
334 #define DECLARE_ICH_DEV(mwdma, udma) \ argument343 .mwdma_mask = mwdma, \
22 - arasan,broken-mwdma: if present, MWDMA mode is unusable
2258 * Transfer mode: pio[0-7], mwdma[0-4] and udma[0-7].