/Linux-v5.4/drivers/ide/ |
D | ide-dma-sff.c | 267 u8 dma_cmd; in ide_dma_start() local 275 dma_cmd = readb((void __iomem *)(hwif->dma_base + ATA_DMA_CMD)); in ide_dma_start() 276 writeb(dma_cmd | ATA_DMA_START, in ide_dma_start() 279 dma_cmd = inb(hwif->dma_base + ATA_DMA_CMD); in ide_dma_start() 280 outb(dma_cmd | ATA_DMA_START, hwif->dma_base + ATA_DMA_CMD); in ide_dma_start() 289 u8 dma_stat = 0, dma_cmd = 0; in ide_dma_end() local 293 dma_cmd = readb((void __iomem *)(hwif->dma_base + ATA_DMA_CMD)); in ide_dma_end() 294 writeb(dma_cmd & ~ATA_DMA_START, in ide_dma_end() 297 dma_cmd = inb(hwif->dma_base + ATA_DMA_CMD); in ide_dma_end() 298 outb(dma_cmd & ~ATA_DMA_START, hwif->dma_base + ATA_DMA_CMD); in ide_dma_end()
|
D | ns87415.c | 188 u8 dma_stat = 0, dma_cmd = 0; in ns87415_dma_end() local 192 dma_cmd = inb(hwif->dma_base + ATA_DMA_CMD); in ns87415_dma_end() 194 outb(dma_cmd & ~1, hwif->dma_base + ATA_DMA_CMD); in ns87415_dma_end() 196 dma_cmd = inb(hwif->dma_base + ATA_DMA_CMD); in ns87415_dma_end() 197 outb(dma_cmd | 6, hwif->dma_base + ATA_DMA_CMD); in ns87415_dma_end()
|
D | sl82c105.c | 153 u8 dma_cmd; in sl82c105_dma_lost_irq() local 169 dma_cmd = inb(hwif->dma_base + ATA_DMA_CMD); in sl82c105_dma_lost_irq() 170 if (dma_cmd & 1) { in sl82c105_dma_lost_irq() 171 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 | 253 u8 dma_stat = 0, dma_cmd = 0; in cmd646_1_dma_end() local 258 dma_cmd = inb(hwif->dma_base + ATA_DMA_CMD); in cmd646_1_dma_end() 260 outb(dma_cmd & ~1, hwif->dma_base + ATA_DMA_CMD); in cmd646_1_dma_end()
|
D | tx4939ide.c | 317 u8 dma_stat, dma_cmd; in tx4939ide_dma_end() local 322 dma_cmd = tx4939ide_readb(base, TX4939IDE_DMA_Cmd); in tx4939ide_dma_end() 324 tx4939ide_writeb(dma_cmd & ~ATA_DMA_START, base, TX4939IDE_DMA_Cmd); in tx4939ide_dma_end()
|
D | hpt366.c | 717 u8 dma_cmd; in hpt370_irq_timeout() local 723 dma_cmd = inb(hwif->dma_base + ATA_DMA_CMD); in hpt370_irq_timeout() 725 outb(dma_cmd & ~ATA_DMA_START, hwif->dma_base + ATA_DMA_CMD); in hpt370_irq_timeout()
|
/Linux-v5.4/drivers/media/pci/tw686x/ |
D | tw686x-core.c | 96 u32 dma_cmd = reg_read(dev, DMA_CMD); in tw686x_disable_channel() local 99 dma_cmd &= ~BIT(channel); in tw686x_disable_channel() 107 dma_cmd = 0; in tw686x_disable_channel() 109 reg_write(dev, DMA_CMD, dma_cmd); in tw686x_disable_channel() 115 u32 dma_cmd = reg_read(dev, DMA_CMD); in tw686x_enable_channel() local 118 dev->pending_dma_cmd |= dma_cmd | DMA_CMD_ENABLE | BIT(channel); in tw686x_enable_channel() 143 u32 dma_en, dma_cmd; in tw686x_reset_channels() local 146 dma_cmd = reg_read(dev, DMA_CMD); in tw686x_reset_channels() 153 dev->pending_dma_cmd |= dma_cmd; in tw686x_reset_channels() 160 dma_cmd &= ~DMA_CMD_ENABLE; in tw686x_reset_channels() [all …]
|
D | tw686x-audio.c | 360 u32 dma_cmd; in tw686x_audio_free() local 363 dma_cmd = reg_read(dev, DMA_CMD); in tw686x_audio_free() 365 reg_write(dev, DMA_CMD, dma_cmd & ~0xff00); in tw686x_audio_free()
|
/Linux-v5.4/sound/isa/gus/ |
D | gus_dma.c | 30 unsigned char dma_cmd; in snd_gf1_dma_program() local 50 dma_cmd = SNDRV_GF1_DMA_ENABLE | (unsigned short) cmd; in snd_gf1_dma_program() 52 dma_cmd |= 0x08; in snd_gf1_dma_program() 54 if (dma_cmd & SNDRV_GF1_DMA_16BIT) { in snd_gf1_dma_program() 59 dma_cmd |= SNDRV_GF1_DMA_WIDTH16; in snd_gf1_dma_program() 64 …snd_dma_program(gus->gf1.dma1, buf_addr, count, dma_cmd & SNDRV_GF1_DMA_READ ? DMA_MODE_READ : DMA… in snd_gf1_dma_program() 67 address << 1, count, dma_cmd); in snd_gf1_dma_program() 76 snd_gf1_write8(gus, SNDRV_GF1_GB_DRAM_DMA_CONTROL, dma_cmd); in snd_gf1_dma_program()
|
/Linux-v5.4/drivers/scsi/ |
D | mac53c94.c | 364 int i, dma_cmd, total, nseg; in set_dma_cmds() local 375 dma_cmd = cmd->sc_data_direction == DMA_TO_DEVICE ? in set_dma_cmds() 387 dcmds->command = cpu_to_le16(dma_cmd); in set_dma_cmds() 393 dma_cmd += OUTPUT_LAST - OUTPUT_MORE; in set_dma_cmds() 394 dcmds[-1].command = cpu_to_le16(dma_cmd); in set_dma_cmds()
|
D | am53c974.c | 196 u8 dma_cmd = pci_esp_read8(esp, ESP_DMA_CMD); in pci_esp_dma_error() local 198 if ((dma_cmd & ESP_DMA_CMD_MASK) == ESP_DMA_CMD_START) in pci_esp_dma_error()
|
D | mesh.c | 1260 int i, dma_cmd, total, off, dtot; in set_dma_cmds() local 1264 dma_cmd = ms->tgts[ms->conn_tgt].data_goes_out? in set_dma_cmds() 1292 dcmds->command = cpu_to_le16(dma_cmd); in set_dma_cmds() 1312 dma_cmd += OUTPUT_LAST - OUTPUT_MORE; in set_dma_cmds() 1313 dcmds[-1].command = cpu_to_le16(dma_cmd); in set_dma_cmds()
|
/Linux-v5.4/drivers/block/ |
D | swim3.c | 193 struct dbdma_cmd *dma_cmd; member 420 struct dbdma_cmd *cp = fs->dma_cmd; in setup_transfer() 715 cp = fs->dma_cmd; in swim3_interrupt() 1141 fs->dma_cmd = (struct dbdma_cmd *) DBDMA_ALIGN(fs->dbdma_cmd_space); in swim3_add_device() 1142 memset(fs->dma_cmd, 0, 2 * sizeof(struct dbdma_cmd)); in swim3_add_device() 1143 fs->dma_cmd[1].command = cpu_to_le16(DBDMA_STOP); in swim3_add_device()
|
/Linux-v5.4/drivers/ata/ |
D | pata_hpt37x.c | 478 u8 dma_cmd; in hpt370_bmdma_stop() local 489 dma_cmd = ioread8(bmdma + ATA_DMA_CMD); in hpt370_bmdma_stop() 490 iowrite8(dma_cmd & ~ATA_DMA_START, bmdma + ATA_DMA_CMD); in hpt370_bmdma_stop()
|
/Linux-v5.4/drivers/mtd/nand/raw/brcmnand/ |
D | brcmnand.c | 1641 dma_addr_t buf, u32 len, u8 dma_cmd, in brcmnand_fill_dma_desc() argument 1649 desc->cmd_irq = (dma_cmd << 24) | in brcmnand_fill_dma_desc() 1695 u32 len, u8 dma_cmd) in brcmnand_dma_trans() argument 1699 int dir = dma_cmd == CMD_PAGE_READ ? DMA_FROM_DEVICE : DMA_TO_DEVICE; in brcmnand_dma_trans() 1708 dma_cmd, true, true, 0); in brcmnand_dma_trans()
|
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/engine/sec/fuc/ |
D | g98.fuc0s | 225 bra nc #dma_cmd 236 dma_cmd:
|
/Linux-v5.4/drivers/staging/media/ipu3/ |
D | ipu3-css.c | 546 struct imgu_abi_bl_dma_cmd_entry dma_cmd = { in imgu_css_hw_start() local 554 writes(&dma_cmd, sizeof(dma_cmd), in imgu_css_hw_start() 555 base + IMGU_REG_ISP_DMEM_BASE + i * sizeof(dma_cmd) + in imgu_css_hw_start()
|