/drivers/ata/ |
H A D | pata_sch.c | 140 unsigned int dma_mode = adev->dma_mode; local 147 if (dma_mode >= XFER_UDMA_0) { 151 data |= (dma_mode - XFER_UDMA_0) << 16; 154 data |= (dma_mode - XFER_MW_DMA_0) << 8;
|
H A D | pata_piccolo.c | 50 if (adev->dma_mode >= XFER_UDMA_0) { 51 int udma = adev->dma_mode - XFER_UDMA_0; 59 conf |= mwdma[adev->dma_mode - XFER_MW_DMA_0];
|
H A D | pata_radisys.c | 111 if (adev->dma_mode < XFER_UDMA_0) { 112 unsigned int mwdma = adev->dma_mode - XFER_MW_DMA_0; 174 if (adev->dma_mode < XFER_UDMA_0) { 175 if (adev->dma_mode)
|
H A D | pata_sis.c | 339 int speed = adev->dma_mode - XFER_MW_DMA_0; 348 if (adev->dma_mode < XFER_UDMA_0) { 355 speed = adev->dma_mode - XFER_UDMA_0; 378 int speed = adev->dma_mode - XFER_MW_DMA_0; 388 if (adev->dma_mode < XFER_UDMA_0) { 395 speed = adev->dma_mode - XFER_UDMA_0; 417 int speed = adev->dma_mode - XFER_MW_DMA_0; 425 if (adev->dma_mode < XFER_UDMA_0) { 429 speed = adev->dma_mode - XFER_UDMA_0; 451 int speed = adev->dma_mode [all...] |
H A D | pata_optidma.c | 119 int dma = adev->dma_mode - XFER_MW_DMA_0; 155 if (pair->dma_mode) 212 optidma_mode_setup(ap, adev, adev->dma_mode); 255 optidma_mode_setup(ap, adev, adev->dma_mode); 285 optiplus_mode_setup(ap, adev, adev->dma_mode); 303 if (adev->dma_mode) 304 return adev->dma_mode - XFER_MW_DMA_0;
|
H A D | pata_atiixp.c | 153 int dma = adev->dma_mode; 160 if (adev->dma_mode >= XFER_UDMA_0) { 186 if (adev->dma_mode >= XFER_MW_DMA_2) 188 else if (adev->dma_mode == XFER_MW_DMA_1) 190 else if (adev->dma_mode == XFER_MW_DMA_0)
|
H A D | pata_artop.c | 210 if (adev->dma_mode == XFER_MW_DMA_0) 222 if (adev->dma_mode >= XFER_UDMA_0) { 223 u8 mode = (adev->dma_mode - XFER_UDMA_0) + 1 - clock; 249 if (adev->dma_mode == XFER_MW_DMA_0) 260 if (adev->dma_mode >= XFER_UDMA_0) { 261 u8 mode = adev->dma_mode - XFER_UDMA_0 + 1 - clock;
|
H A D | pata_ali.c | 218 if (pair->dma_mode) { 219 ata_timing_compute(pair, pair->dma_mode, &p, T, 1); 253 if (adev->dma_mode >= XFER_UDMA_0) { 254 ali_program_modes(ap, adev, NULL, udma_timing[adev->dma_mode - XFER_UDMA_0]); 255 if (adev->dma_mode >= XFER_UDMA_3) { 262 ata_timing_compute(adev, adev->dma_mode, &t, T, 1); 267 if (pair->dma_mode) { 268 ata_timing_compute(pair, pair->dma_mode, &p, T, 1);
|
H A D | pata_atp867x.c | 114 void __iomem *dma_mode; member in struct:atp867x_priv 125 u8 speed = adev->dma_mode; 141 b = ioread8(dp->dma_mode); 149 iowrite8(b, dp->dma_mode); 232 b = ioread8(dp->dma_mode); 237 iowrite8(b, dp->dma_mode); 319 " dp->dma_mode =0x%llx\n" 341 (unsigned long long)dp->dma_mode, 360 dp->dma_mode = ATP867X_IO_DMAMODE(ap, port);
|
H A D | pata_pdc2027x.c | 278 if (strstr(model_num, "Maxtor") == NULL && pair->dma_mode == XFER_UDMA_6) 340 unsigned int dma_mode = adev->dma_mode; local 343 if ((dma_mode >= XFER_UDMA_0) && 344 (dma_mode <= XFER_UDMA_6)) { 346 unsigned int udma_mode = dma_mode & 0x07; 348 if (dma_mode == XFER_UDMA_2) { 371 } else if ((dma_mode >= XFER_MW_DMA_0) && 372 (dma_mode <= XFER_MW_DMA_2)) { 374 unsigned int mdma_mode = dma_mode [all...] |
H A D | pata_pdc202xx_old.c | 150 if (adev->dma_mode >= XFER_UDMA_0) { 151 int speed = adev->dma_mode - XFER_UDMA_0; 156 int speed = adev->dma_mode - XFER_MW_DMA_0; 190 if (adev->dma_mode > XFER_UDMA_2) 244 if (adev->dma_mode > XFER_UDMA_2)
|
H A D | pata_serverworks.c | 228 static const u8 dma_mode[] = { 0x77, 0x21, 0x20 }; local 239 if (adev->dma_mode >= XFER_UDMA_0) { 242 ultra |= (adev->dma_mode - XFER_UDMA_0) 247 dma_mode[adev->dma_mode - XFER_MW_DMA_0]);
|
H A D | pata_amd.c | 68 if (peer->dma_mode) { 69 ata_timing_compute(peer, peer->dma_mode, &apeer, T, UT); 243 timing_setup(ap, adev, 0x40, adev->dma_mode, 1); 248 timing_setup(ap, adev, 0x40, adev->dma_mode, 2); 253 timing_setup(ap, adev, 0x40, adev->dma_mode, 3); 258 timing_setup(ap, adev, 0x40, adev->dma_mode, 4); 374 timing_setup(ap, adev, 0x50, adev->dma_mode, 3); 379 timing_setup(ap, adev, 0x50, adev->dma_mode, 4);
|
H A D | pata_efar.c | 162 u8 speed = adev->dma_mode; 180 unsigned int udma = adev->dma_mode - XFER_UDMA_0; 196 unsigned int mwdma = adev->dma_mode - XFER_MW_DMA_0;
|
H A D | pata_it8213.c | 143 u8 speed = adev->dma_mode; 158 unsigned int udma = adev->dma_mode - XFER_UDMA_0; 191 unsigned int mwdma = adev->dma_mode - XFER_MW_DMA_0;
|
H A D | pata_mpc52xx.c | 257 u8 dma_mode; /* ATA + 0x7d ATA Host DMA Mode configuration */ member in struct:mpc52xx_ata 413 if (adev->dma_mode >= XFER_UDMA_0) { 414 int dma = adev->dma_mode - XFER_UDMA_0; 417 int dma = adev->dma_mode - XFER_MW_DMA_0; 424 adev->dma_mode); 506 u8 dma_mode; local 518 dma_mode = MPC52xx_ATA_DMAMODE_IE | MPC52xx_ATA_DMAMODE_READ | 530 out_8(®s->dma_mode, MPC52xx_ATA_DMAMODE_FR); 533 dma_mode = MPC52xx_ATA_DMAMODE_IE | MPC52xx_ATA_DMAMODE_WRITE; 546 dma_mode | [all...] |
H A D | pata_rdc.c | 189 u8 speed = adev->dma_mode; 206 unsigned int udma = adev->dma_mode - XFER_UDMA_0; 245 unsigned int mwdma = adev->dma_mode - XFER_MW_DMA_0;
|
H A D | pata_cmd64x.c | 213 if (adev->dma_mode >= XFER_UDMA_0) { 215 regU |= udma_data[adev->dma_mode - XFER_UDMA_0] << shift; 218 if (adev->dma_mode > XFER_UDMA_2) /* 15nS timing */ 222 cmd64x_set_timing(ap, adev, adev->dma_mode);
|
H A D | pata_acpi.c | 144 t = ata_timing_find_mode(adev->dma_mode); 145 if (adev->dma_mode >= XFER_UDMA_0) {
|
H A D | pata_arasan_cf.c | 749 u32 opmode, tmcfg, dma_mode = adev->dma_mode; local 757 if ((dma_mode >= XFER_UDMA_0) && (dma_mode <= XFER_UDMA_6)) { 760 tmcfg |= (dma_mode - XFER_UDMA_0) << ULTRA_DMA_TIMING_SHIFT; 761 } else if ((dma_mode >= XFER_MW_DMA_0) && (dma_mode <= XFER_MW_DMA_4)) { 764 tmcfg |= (dma_mode - XFER_MW_DMA_0) <<
|
/drivers/ide/ |
H A D | triflex.c | 46 switch (drive->dma_mode) { 86 drive->dma_mode = drive->pio_mode;
|
H A D | alim15x3.c | 116 if (pair->dma_mode) { 117 ide_timing_compute(pair, pair->dma_mode, &p, T, 1); 171 const u8 speed = drive->dma_mode; 176 ide_timing_compute(drive, drive->dma_mode, &t, T, 1); 183 if (pair->dma_mode) { 184 ide_timing_compute(pair, pair->dma_mode,
|
H A D | aec62xx.c | 92 const u8 speed = drive->dma_mode; 120 const u8 speed = drive->dma_mode; 139 drive->dma_mode = drive->pio_mode;
|
/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac1000_dma.c | 190 .dma_mode = dwmac1000_dma_operation_mode,
|
H A D | dwmac100_dma.c | 136 .dma_mode = dwmac100_dma_operation_mode,
|