Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/ide/pci/
Dns87415.c89 u8 dma_stat = 0, dma_cmd = 0; in ns87415_ide_dma_end() local
94 dma_cmd = hwif->INB(hwif->dma_command); in ns87415_ide_dma_end()
96 hwif->OUTB(dma_cmd & ~1, hwif->dma_command); in ns87415_ide_dma_end()
98 dma_cmd = hwif->INB(hwif->dma_command); in ns87415_ide_dma_end()
99 hwif->OUTB(dma_cmd|6, hwif->dma_command); in ns87415_ide_dma_end()
Dcmd64x.c513 u8 dma_stat = 0, dma_cmd = 0; in cmd64x_ide_dma_end() local
519 dma_cmd = hwif->INB(hwif->dma_command); in cmd64x_ide_dma_end()
521 hwif->OUTB((dma_cmd & ~1), hwif->dma_command); in cmd64x_ide_dma_end()
573 u8 dma_stat = 0, dma_cmd = 0; in cmd646_1_ide_dma_end() local
579 dma_cmd = hwif->INB(hwif->dma_command); in cmd646_1_ide_dma_end()
581 hwif->OUTB((dma_cmd & ~1), hwif->dma_command); in cmd646_1_ide_dma_end()
Dhpt366.c645 u8 dma_stat = 0, dma_cmd = 0; in hpt370_lostirq_timeout() local
651 dma_cmd = hwif->INB(hwif->dma_command); in hpt370_lostirq_timeout()
653 hwif->OUTB(dma_cmd & ~0x1, hwif->dma_command); in hpt370_lostirq_timeout()
/linux-2.4.37.9/drivers/ieee1394/
Dohci1394.h62 struct dma_cmd { struct
76 struct dma_cmd begin; argument
78 struct dma_cmd end;
96 struct dma_cmd **prg_cpu;
Dvideo1394.c72 struct dma_cmd begin;
74 struct dma_cmd end;
99 struct dma_cmd **ir_prg;
269 d->ir_prg = kmalloc(d->num_desc * sizeof(struct dma_cmd *), in alloc_dma_iso_ctx()
277 memset(d->ir_prg, 0, d->num_desc * sizeof(struct dma_cmd *)); in alloc_dma_iso_ctx()
285 sizeof(struct dma_cmd), ohci->dev)) { in alloc_dma_iso_ctx()
290 d->ir_prg[i] = (struct dma_cmd *)d->prg_reg[i].kvirt; in alloc_dma_iso_ctx()
394 struct dma_cmd *ir_prg = d->ir_prg[n]; in initialize_dma_ir_prg()
410 1 * sizeof(struct dma_cmd)) & 0xfffffff0) | 0x1); in initialize_dma_ir_prg()
419 2 * sizeof(struct dma_cmd)) & 0xfffffff0) | 0x1); in initialize_dma_ir_prg()
[all …]
Dohci1394.c1134 struct dma_cmd *block; /* = (struct dma_cmd*) prog.virt */
1246 sizeof(struct dma_cmd) * recv->nblocks, in ohci_iso_recv_init()
1250 recv->block = (struct dma_cmd*) recv->prog.kvirt; in ohci_iso_recv_init()
1331 struct dma_cmd *cmd = &recv->block[blk]; in ohci_iso_recv_program()
1334 unsigned long prog_offset = blk * sizeof(struct dma_cmd); in ohci_iso_recv_program()
1466 struct dma_cmd *cmd = &recv->block[recv->block_dma]; in ohci_iso_recv_start()
1477 recv->block_dma * sizeof(struct dma_cmd)); in ohci_iso_recv_start()
1514 struct dma_cmd *next = &recv->block[next_i]; in ohci_iso_recv_release_block()
1515 struct dma_cmd *prev = &recv->block[prev_i]; in ohci_iso_recv_release_block()
1525 sizeof(struct dma_cmd) * next_i) in ohci_iso_recv_release_block()
[all …]
/linux-2.4.37.9/drivers/scsi/
Dmac53c94.c479 int i, dma_cmd, total; in set_dma_cmds() local
483 dma_cmd = data_goes_out(cmd)? OUTPUT_MORE: INPUT_MORE; in set_dma_cmds()
493 st_le16(&dcmds->command, dma_cmd); in set_dma_cmds()
508 dma_cmd += OUTPUT_LAST - OUTPUT_MORE; in set_dma_cmds()
509 st_le16(&dcmds[-1].command, dma_cmd); in set_dma_cmds()
Dmesh.c1793 int i, dma_cmd, total, off, dtot; in set_dma_cmds() local
1797 dma_cmd = ms->tgts[ms->conn_tgt].data_goes_out? in set_dma_cmds()
1822 st_le16(&dcmds->command, dma_cmd); in set_dma_cmds()
1852 dma_cmd += OUTPUT_LAST - OUTPUT_MORE; in set_dma_cmds()
1853 st_le16(&dcmds[-1].command, dma_cmd); in set_dma_cmds()
/linux-2.4.37.9/drivers/block/
Dswim3.c194 struct dbdma_cmd *dma_cmd; member
424 struct dbdma_cmd *cp = fs->dma_cmd; in setup_transfer()
596 struct dbdma_cmd *cp = fs->dma_cmd; in xfer_timeout()
696 cp = fs->dma_cmd; in swim3_interrupt()
1125 fs->dma_cmd = (struct dbdma_cmd *) DBDMA_ALIGN(fs->dbdma_cmd_space); in swim3_add_device()
1126 memset(fs->dma_cmd, 0, 2 * sizeof(struct dbdma_cmd)); in swim3_add_device()
1127 st_le16(&fs->dma_cmd[1].command, DBDMA_STOP); in swim3_add_device()
/linux-2.4.37.9/drivers/ide/
Dide-dma.c781 u8 dma_cmd = hwif->INB(hwif->dma_command); in __ide_dma_begin() local
789 hwif->OUTB(dma_cmd|1, hwif->dma_command); in __ide_dma_begin()
799 u8 dma_stat = 0, dma_cmd = 0; in __ide_dma_end() local
803 dma_cmd = hwif->INB(hwif->dma_command); in __ide_dma_end()
805 hwif->OUTB(dma_cmd&~1, hwif->dma_command); in __ide_dma_end()