Home
last modified time | relevance | path

Searched refs:dma_cmd (Results 1 – 13 of 13) sorted by relevance

/linux-2.6.39/drivers/ide/
Dide-dma-sff.c265 u8 dma_cmd; in ide_dma_start() local
273 dma_cmd = readb((void __iomem *)(hwif->dma_base + ATA_DMA_CMD)); in ide_dma_start()
274 writeb(dma_cmd | ATA_DMA_START, in ide_dma_start()
277 dma_cmd = inb(hwif->dma_base + ATA_DMA_CMD); in ide_dma_start()
278 outb(dma_cmd | ATA_DMA_START, hwif->dma_base + ATA_DMA_CMD); in ide_dma_start()
287 u8 dma_stat = 0, dma_cmd = 0; in ide_dma_end() local
291 dma_cmd = readb((void __iomem *)(hwif->dma_base + ATA_DMA_CMD)); in ide_dma_end()
292 writeb(dma_cmd & ~ATA_DMA_START, in ide_dma_end()
295 dma_cmd = inb(hwif->dma_base + ATA_DMA_CMD); in ide_dma_end()
296 outb(dma_cmd & ~ATA_DMA_START, hwif->dma_base + ATA_DMA_CMD); in ide_dma_end()
Dns87415.c187 u8 dma_stat = 0, dma_cmd = 0; in ns87415_dma_end() local
191 dma_cmd = inb(hwif->dma_base + ATA_DMA_CMD); in ns87415_dma_end()
193 outb(dma_cmd & ~1, hwif->dma_base + ATA_DMA_CMD); in ns87415_dma_end()
195 dma_cmd = inb(hwif->dma_base + ATA_DMA_CMD); in ns87415_dma_end()
196 outb(dma_cmd | 6, hwif->dma_base + ATA_DMA_CMD); in ns87415_dma_end()
Dsl82c105.c152 u8 dma_cmd; in sl82c105_dma_lost_irq() local
168 dma_cmd = inb(hwif->dma_base + ATA_DMA_CMD); in sl82c105_dma_lost_irq()
169 if (dma_cmd & 1) { in sl82c105_dma_lost_irq()
170 outb(dma_cmd & ~1, hwif->dma_base + ATA_DMA_CMD); in sl82c105_dma_lost_irq()
Dtc86c001.c76 u8 dma_cmd = inb(hwif->dma_base + ATA_DMA_CMD); in tc86c001_timer_expiry() local
82 outb(dma_cmd & ~0x01, hwif->dma_base + ATA_DMA_CMD); in tc86c001_timer_expiry()
Dcmd64x.c252 u8 dma_stat = 0, dma_cmd = 0; in cmd646_1_dma_end() local
257 dma_cmd = inb(hwif->dma_base + ATA_DMA_CMD); in cmd646_1_dma_end()
259 outb(dma_cmd & ~1, hwif->dma_base + ATA_DMA_CMD); in cmd646_1_dma_end()
Dscc_pata.c336 u8 dma_cmd = scc_ide_inb(hwif->dma_base); in scc_dma_start() local
339 scc_ide_outb(dma_cmd | 1, hwif->dma_base); in scc_dma_start()
345 u8 dma_stat, dma_cmd; in __scc_dma_end() local
348 dma_cmd = scc_ide_inb(hwif->dma_base); in __scc_dma_end()
350 scc_ide_outb(dma_cmd & ~1, hwif->dma_base); in __scc_dma_end()
Dtx4939ide.c318 u8 dma_stat, dma_cmd; in tx4939ide_dma_end() local
323 dma_cmd = tx4939ide_readb(base, TX4939IDE_DMA_Cmd); in tx4939ide_dma_end()
325 tx4939ide_writeb(dma_cmd & ~ATA_DMA_START, base, TX4939IDE_DMA_Cmd); in tx4939ide_dma_end()
Dhpt366.c720 u8 dma_cmd; in hpt370_irq_timeout() local
726 dma_cmd = inb(hwif->dma_base + ATA_DMA_CMD); in hpt370_irq_timeout()
728 outb(dma_cmd & ~ATA_DMA_START, hwif->dma_base + ATA_DMA_CMD); in hpt370_irq_timeout()
/linux-2.6.39/sound/isa/gus/
Dgus_dma.c45 unsigned char dma_cmd; in snd_gf1_dma_program() local
65 dma_cmd = SNDRV_GF1_DMA_ENABLE | (unsigned short) cmd; in snd_gf1_dma_program()
67 dma_cmd |= 0x08; in snd_gf1_dma_program()
69 if (dma_cmd & SNDRV_GF1_DMA_16BIT) { in snd_gf1_dma_program()
74 dma_cmd |= SNDRV_GF1_DMA_WIDTH16; in snd_gf1_dma_program()
79 …snd_dma_program(gus->gf1.dma1, buf_addr, count, dma_cmd & SNDRV_GF1_DMA_READ ? DMA_MODE_READ : DMA… in snd_gf1_dma_program()
82 address << 1, count, dma_cmd); in snd_gf1_dma_program()
91 snd_gf1_write8(gus, SNDRV_GF1_GB_DRAM_DMA_CONTROL, dma_cmd); in snd_gf1_dma_program()
/linux-2.6.39/drivers/scsi/
Dmac53c94.c363 int i, dma_cmd, total, nseg; in set_dma_cmds() local
374 dma_cmd = cmd->sc_data_direction == DMA_TO_DEVICE ? in set_dma_cmds()
386 st_le16(&dcmds->command, dma_cmd); in set_dma_cmds()
392 dma_cmd += OUTPUT_LAST - OUTPUT_MORE; in set_dma_cmds()
393 st_le16(&dcmds[-1].command, dma_cmd); in set_dma_cmds()
Dmesh.c1261 int i, dma_cmd, total, off, dtot; in set_dma_cmds() local
1265 dma_cmd = ms->tgts[ms->conn_tgt].data_goes_out? in set_dma_cmds()
1293 st_le16(&dcmds->command, dma_cmd); in set_dma_cmds()
1313 dma_cmd += OUTPUT_LAST - OUTPUT_MORE; in set_dma_cmds()
1314 st_le16(&dcmds[-1].command, dma_cmd); in set_dma_cmds()
/linux-2.6.39/drivers/block/
Dswim3.c197 struct dbdma_cmd *dma_cmd; member
443 struct dbdma_cmd *cp = fs->dma_cmd; in setup_transfer()
706 cp = fs->dma_cmd; in swim3_interrupt()
1096 fs->dma_cmd = (struct dbdma_cmd *) DBDMA_ALIGN(fs->dbdma_cmd_space); in swim3_add_device()
1097 memset(fs->dma_cmd, 0, 2 * sizeof(struct dbdma_cmd)); in swim3_add_device()
1098 st_le16(&fs->dma_cmd[1].command, DBDMA_STOP); in swim3_add_device()
/linux-2.6.39/drivers/ata/
Dpata_hpt37x.c481 u8 dma_cmd; in hpt370_bmdma_stop() local
492 dma_cmd = ioread8(bmdma + ATA_DMA_CMD); in hpt370_bmdma_stop()
493 iowrite8(dma_cmd & ~ATA_DMA_START, bmdma + ATA_DMA_CMD); in hpt370_bmdma_stop()