/Linux-v4.19/drivers/ide/ |
D | ide-dma-sff.c | 266 u8 dma_cmd; in ide_dma_start() local 274 dma_cmd = readb((void __iomem *)(hwif->dma_base + ATA_DMA_CMD)); in ide_dma_start() 275 writeb(dma_cmd | ATA_DMA_START, in ide_dma_start() 278 dma_cmd = inb(hwif->dma_base + ATA_DMA_CMD); in ide_dma_start() 279 outb(dma_cmd | ATA_DMA_START, hwif->dma_base + ATA_DMA_CMD); in ide_dma_start() 288 u8 dma_stat = 0, dma_cmd = 0; in ide_dma_end() local 292 dma_cmd = readb((void __iomem *)(hwif->dma_base + ATA_DMA_CMD)); in ide_dma_end() 293 writeb(dma_cmd & ~ATA_DMA_START, in ide_dma_end() 296 dma_cmd = inb(hwif->dma_base + ATA_DMA_CMD); in ide_dma_end() 297 outb(dma_cmd & ~ATA_DMA_START, hwif->dma_base + ATA_DMA_CMD); in ide_dma_end()
|
D | ns87415.c | 187 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()
|
D | sl82c105.c | 152 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()
|
D | tc86c001.c | 77 u8 dma_cmd = inb(hwif->dma_base + ATA_DMA_CMD); in tc86c001_timer_expiry() local 83 outb(dma_cmd & ~0x01, hwif->dma_base + ATA_DMA_CMD); in tc86c001_timer_expiry()
|
D | cmd64x.c | 252 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()
|
D | tx4939ide.c | 318 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()
|
D | hpt366.c | 716 u8 dma_cmd; in hpt370_irq_timeout() local 722 dma_cmd = inb(hwif->dma_base + ATA_DMA_CMD); in hpt370_irq_timeout() 724 outb(dma_cmd & ~ATA_DMA_START, hwif->dma_base + ATA_DMA_CMD); in hpt370_irq_timeout()
|
/Linux-v4.19/drivers/media/pci/tw686x/ |
D | tw686x-core.c | 99 u32 dma_cmd = reg_read(dev, DMA_CMD); in tw686x_disable_channel() local 102 dma_cmd &= ~BIT(channel); in tw686x_disable_channel() 110 dma_cmd = 0; in tw686x_disable_channel() 112 reg_write(dev, DMA_CMD, dma_cmd); in tw686x_disable_channel() 118 u32 dma_cmd = reg_read(dev, DMA_CMD); in tw686x_enable_channel() local 121 dev->pending_dma_cmd |= dma_cmd | DMA_CMD_ENABLE | BIT(channel); in tw686x_enable_channel() 146 u32 dma_en, dma_cmd; in tw686x_reset_channels() local 149 dma_cmd = reg_read(dev, DMA_CMD); in tw686x_reset_channels() 156 dev->pending_dma_cmd |= dma_cmd; in tw686x_reset_channels() 163 dma_cmd &= ~DMA_CMD_ENABLE; in tw686x_reset_channels() [all …]
|
D | tw686x-audio.c | 362 u32 dma_cmd; in tw686x_audio_free() local 365 dma_cmd = reg_read(dev, DMA_CMD); in tw686x_audio_free() 367 reg_write(dev, DMA_CMD, dma_cmd & ~0xff00); in tw686x_audio_free()
|
/Linux-v4.19/sound/isa/gus/ |
D | gus_dma.c | 45 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-v4.19/drivers/scsi/ |
D | mac53c94.c | 363 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 dcmds->command = cpu_to_le16(dma_cmd); in set_dma_cmds() 392 dma_cmd += OUTPUT_LAST - OUTPUT_MORE; in set_dma_cmds() 393 dcmds[-1].command = cpu_to_le16(dma_cmd); in set_dma_cmds()
|
D | am53c974.c | 221 u8 dma_cmd = pci_esp_read8(esp, ESP_DMA_CMD); in pci_esp_dma_error() local 223 if ((dma_cmd & ESP_DMA_CMD_MASK) == ESP_DMA_CMD_START) in pci_esp_dma_error()
|
D | mesh.c | 1259 int i, dma_cmd, total, off, dtot; in set_dma_cmds() local 1263 dma_cmd = ms->tgts[ms->conn_tgt].data_goes_out? in set_dma_cmds() 1291 dcmds->command = cpu_to_le16(dma_cmd); in set_dma_cmds() 1311 dma_cmd += OUTPUT_LAST - OUTPUT_MORE; in set_dma_cmds() 1312 dcmds[-1].command = cpu_to_le16(dma_cmd); in set_dma_cmds()
|
/Linux-v4.19/drivers/block/ |
D | swim3.c | 197 struct dbdma_cmd *dma_cmd; member 452 struct dbdma_cmd *cp = fs->dma_cmd; in setup_transfer() 752 cp = fs->dma_cmd; in swim3_interrupt() 1170 fs->dma_cmd = (struct dbdma_cmd *) DBDMA_ALIGN(fs->dbdma_cmd_space); in swim3_add_device() 1171 memset(fs->dma_cmd, 0, 2 * sizeof(struct dbdma_cmd)); in swim3_add_device() 1172 fs->dma_cmd[1].command = cpu_to_le16(DBDMA_STOP); in swim3_add_device()
|
/Linux-v4.19/drivers/ata/ |
D | pata_hpt37x.c | 477 u8 dma_cmd; in hpt370_bmdma_stop() local 488 dma_cmd = ioread8(bmdma + ATA_DMA_CMD); in hpt370_bmdma_stop() 489 iowrite8(dma_cmd & ~ATA_DMA_START, bmdma + ATA_DMA_CMD); in hpt370_bmdma_stop()
|
/Linux-v4.19/drivers/mtd/nand/raw/brcmnand/ |
D | brcmnand.c | 1512 dma_addr_t buf, u32 len, u8 dma_cmd, in brcmnand_fill_dma_desc() argument 1520 desc->cmd_irq = (dma_cmd << 24) | in brcmnand_fill_dma_desc() 1566 u32 len, u8 dma_cmd) in brcmnand_dma_trans() argument 1570 int dir = dma_cmd == CMD_PAGE_READ ? DMA_FROM_DEVICE : DMA_TO_DEVICE; in brcmnand_dma_trans() 1579 dma_cmd, true, true, 0); in brcmnand_dma_trans()
|
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/engine/sec/fuc/ |
D | g98.fuc0s | 225 bra nc #dma_cmd 236 dma_cmd:
|