dregs 426 arch/ia64/kernel/palinfo.c unsigned long iregs, dregs; dregs 449 arch/ia64/kernel/palinfo.c if (ia64_pal_debug_info(&iregs, &dregs)) dregs 454 arch/ia64/kernel/palinfo.c "Data debug register pairs : %ld\n", iregs, dregs); dregs 215 arch/m68k/include/asm/dvma.h #define DMA_IRQ_ENTRY(dma, dregs) do { \ dregs 216 arch/m68k/include/asm/dvma.h if(DMA_ISBROKEN(dma)) DMA_INTSOFF(dregs); \ dregs 219 arch/m68k/include/asm/dvma.h #define DMA_IRQ_EXIT(dma, dregs) do { \ dregs 220 arch/m68k/include/asm/dvma.h if(DMA_ISBROKEN(dma)) DMA_INTSON(dregs); \ dregs 1246 arch/mips/kernel/ptrace.c dspreg_t *dregs; dregs 1253 arch/mips/kernel/ptrace.c dregs = __get_dsp_regs(child); dregs 1254 arch/mips/kernel/ptrace.c tmp = dregs[addr - DSP_BASE]; dregs 1335 arch/mips/kernel/ptrace.c dspreg_t *dregs; dregs 1342 arch/mips/kernel/ptrace.c dregs = __get_dsp_regs(child); dregs 1343 arch/mips/kernel/ptrace.c dregs[addr - DSP_BASE] = data; dregs 141 arch/mips/kernel/ptrace32.c dspreg_t *dregs; dregs 148 arch/mips/kernel/ptrace32.c dregs = __get_dsp_regs(child); dregs 149 arch/mips/kernel/ptrace32.c tmp = dregs[addr - DSP_BASE]; dregs 247 arch/mips/kernel/ptrace32.c dspreg_t *dregs; dregs 254 arch/mips/kernel/ptrace32.c dregs = __get_dsp_regs(child); dregs 255 arch/mips/kernel/ptrace32.c dregs[addr - DSP_BASE] = data; dregs 44 arch/sparc/include/uapi/asm/uctx.h unsigned long dregs[32]; dregs 243 drivers/net/ethernet/amd/sunlance.c void __iomem *dregs; /* DMA controller regs. */ dregs 441 drivers/net/ethernet/amd/sunlance.c u32 csr = sbus_readl(lp->dregs + DMA_CSR); dregs 445 drivers/net/ethernet/amd/sunlance.c while (sbus_readl(lp->dregs + DMA_CSR) & DMA_FIFO_ISDRAIN) dregs 449 drivers/net/ethernet/amd/sunlance.c csr = sbus_readl(lp->dregs + DMA_CSR); dregs 463 drivers/net/ethernet/amd/sunlance.c sbus_writel(csr, lp->dregs + DMA_CSR); dregs 472 drivers/net/ethernet/amd/sunlance.c if (lp->dregs) dregs 489 drivers/net/ethernet/amd/sunlance.c if (lp->dregs) dregs 490 drivers/net/ethernet/amd/sunlance.c printk("dcsr=%8.8x\n", sbus_readl(lp->dregs + DMA_CSR)); dregs 498 drivers/net/ethernet/amd/sunlance.c if (lp->dregs) { dregs 499 drivers/net/ethernet/amd/sunlance.c u32 csr = sbus_readl(lp->dregs + DMA_CSR); dregs 502 drivers/net/ethernet/amd/sunlance.c sbus_writel(csr, lp->dregs + DMA_CSR); dregs 848 drivers/net/ethernet/amd/sunlance.c if (lp->dregs) { dregs 849 drivers/net/ethernet/amd/sunlance.c u32 addr = sbus_readl(lp->dregs + DMA_ADDR); dregs 860 drivers/net/ethernet/amd/sunlance.c if (lp->dregs) { dregs 861 drivers/net/ethernet/amd/sunlance.c u32 dma_csr = sbus_readl(lp->dregs + DMA_CSR); dregs 864 drivers/net/ethernet/amd/sunlance.c sbus_writel(dma_csr, lp->dregs + DMA_CSR); dregs 928 drivers/net/ethernet/amd/sunlance.c if (lp->dregs) { dregs 931 drivers/net/ethernet/amd/sunlance.c sbus_writel(regval, lp->dregs + DMA_TEST); dregs 987 drivers/net/ethernet/amd/sunlance.c if (lp->dregs) { dregs 991 drivers/net/ethernet/amd/sunlance.c csr = sbus_readl(lp->dregs + DMA_CSR); dregs 992 drivers/net/ethernet/amd/sunlance.c sbus_writel(csr | DMA_RST_ENET, lp->dregs + DMA_CSR); dregs 994 drivers/net/ethernet/amd/sunlance.c sbus_writel(csr & ~DMA_RST_ENET, lp->dregs + DMA_CSR); dregs 997 drivers/net/ethernet/amd/sunlance.c sbus_writel(addr, lp->dregs + DMA_TEST); dregs 1153 drivers/net/ethernet/amd/sunlance.c if (lp->dregs) dregs 1264 drivers/net/ethernet/amd/sunlance.c if (lp->dregs) { dregs 1267 drivers/net/ethernet/amd/sunlance.c of_iounmap(&ledma->resource[0], lp->dregs, dregs 1341 drivers/net/ethernet/amd/sunlance.c lp->dregs = of_ioremap(&ledma->resource[0], 0, dregs 1344 drivers/net/ethernet/amd/sunlance.c if (!lp->dregs) { dregs 1446 drivers/net/ethernet/amd/sunlance.c csr = sbus_readl(lp->dregs + DMA_CSR); dregs 1447 drivers/net/ethernet/amd/sunlance.c sbus_writel(csr | DMA_RST_ENET, lp->dregs + DMA_CSR); dregs 1449 drivers/net/ethernet/amd/sunlance.c sbus_writel(csr & ~DMA_RST_ENET, lp->dregs + DMA_CSR); dregs 1451 drivers/net/ethernet/amd/sunlance.c lp->dregs = NULL; dregs 909 drivers/scsi/NCR5380.c dregs->csr |= CSR_DMA_ENABLE; dregs 916 drivers/scsi/NCR5380.c dregs->csr |= CSR_DMA_ENABLE; dregs 1202 drivers/scsi/NCR5380.c dregs->csr |= CSR_INTR; dregs 1529 drivers/scsi/NCR5380.c dregs->csr |= CSR_DMA_ENABLE; dregs 1667 drivers/scsi/NCR5380.c dregs->csr |= CSR_INTR; dregs 1700 drivers/scsi/NCR5380.c dregs->csr |= CSR_INTR; dregs 1861 drivers/scsi/NCR5380.c dregs->csr |= CSR_DMA_ENABLE; dregs 159 drivers/scsi/sun3_scsi.c static volatile struct sun3_dma_regs *dregs; dregs 173 drivers/scsi/sun3_scsi.c dregs->udc_addr = UDC_CSR; dregs 175 drivers/scsi/sun3_scsi.c ret = dregs->udc_data; dregs 183 drivers/scsi/sun3_scsi.c dregs->udc_addr = reg; dregs 185 drivers/scsi/sun3_scsi.c dregs->udc_data = val; dregs 196 drivers/scsi/sun3_scsi.c unsigned short csr = dregs->csr; dregs 200 drivers/scsi/sun3_scsi.c dregs->csr &= ~CSR_DMA_ENABLE; dregs 238 drivers/scsi/sun3_scsi.c dregs->fifo_count = 0; dregs 242 drivers/scsi/sun3_scsi.c dregs->csr &= ~CSR_FIFO; dregs 243 drivers/scsi/sun3_scsi.c dregs->csr |= CSR_FIFO; dregs 248 drivers/scsi/sun3_scsi.c dregs->csr |= CSR_SEND; dregs 250 drivers/scsi/sun3_scsi.c dregs->csr &= ~CSR_SEND; dregs 253 drivers/scsi/sun3_scsi.c dregs->csr |= CSR_PACK_ENABLE; dregs 255 drivers/scsi/sun3_scsi.c dregs->dma_addr_hi = ((unsigned long)addr >> 16); dregs 256 drivers/scsi/sun3_scsi.c dregs->dma_addr_lo = ((unsigned long)addr & 0xffff); dregs 258 drivers/scsi/sun3_scsi.c dregs->dma_count_hi = 0; dregs 259 drivers/scsi/sun3_scsi.c dregs->dma_count_lo = 0; dregs 260 drivers/scsi/sun3_scsi.c dregs->fifo_count_hi = 0; dregs 261 drivers/scsi/sun3_scsi.c dregs->fifo_count = 0; dregs 264 drivers/scsi/sun3_scsi.c dregs->fifo_count = count; dregs 269 drivers/scsi/sun3_scsi.c dregs->csr &= ~CSR_FIFO; dregs 270 drivers/scsi/sun3_scsi.c dregs->csr |= CSR_FIFO; dregs 272 drivers/scsi/sun3_scsi.c if(dregs->fifo_count != count) { dregs 275 drivers/scsi/sun3_scsi.c dregs->fifo_count, (unsigned int) count); dregs 350 drivers/scsi/sun3_scsi.c csr = dregs->csr; dregs 352 drivers/scsi/sun3_scsi.c dregs->dma_count_hi = (sun3_dma_orig_count >> 16); dregs 353 drivers/scsi/sun3_scsi.c dregs->dma_count_lo = (sun3_dma_orig_count & 0xffff); dregs 355 drivers/scsi/sun3_scsi.c dregs->fifo_count_hi = (sun3_dma_orig_count >> 16); dregs 356 drivers/scsi/sun3_scsi.c dregs->fifo_count = (sun3_dma_orig_count & 0xffff); dregs 378 drivers/scsi/sun3_scsi.c dregs->csr &= ~CSR_DMA_ENABLE; dregs 380 drivers/scsi/sun3_scsi.c fifo = dregs->fifo_count; dregs 388 drivers/scsi/sun3_scsi.c if ((!write_flag) && (dregs->csr & CSR_LEFT)) { dregs 396 drivers/scsi/sun3_scsi.c switch (dregs->csr & CSR_LEFT) { dregs 398 drivers/scsi/sun3_scsi.c *vaddr = (dregs->bpack_lo & 0xff00) >> 8; dregs 403 drivers/scsi/sun3_scsi.c *vaddr = (dregs->bpack_hi & 0x00ff); dregs 408 drivers/scsi/sun3_scsi.c *vaddr = (dregs->bpack_hi & 0xff00) >> 8; dregs 418 drivers/scsi/sun3_scsi.c if(dregs->csr & CSR_FIFO_EMPTY) dregs 429 drivers/scsi/sun3_scsi.c dregs->udc_addr = 0x32; dregs 431 drivers/scsi/sun3_scsi.c count = 2 * dregs->udc_data; dregs 434 drivers/scsi/sun3_scsi.c fifo = dregs->fifo_count; dregs 442 drivers/scsi/sun3_scsi.c data = dregs->fifo_data; dregs 456 drivers/scsi/sun3_scsi.c dregs->dma_addr_hi = 0; dregs 457 drivers/scsi/sun3_scsi.c dregs->dma_addr_lo = 0; dregs 458 drivers/scsi/sun3_scsi.c dregs->dma_count_hi = 0; dregs 459 drivers/scsi/sun3_scsi.c dregs->dma_count_lo = 0; dregs 461 drivers/scsi/sun3_scsi.c dregs->fifo_count = 0; dregs 462 drivers/scsi/sun3_scsi.c dregs->fifo_count_hi = 0; dregs 464 drivers/scsi/sun3_scsi.c dregs->csr &= ~CSR_SEND; dregs 468 drivers/scsi/sun3_scsi.c dregs->fifo_count = 0; dregs 469 drivers/scsi/sun3_scsi.c dregs->csr &= ~CSR_SEND; dregs 472 drivers/scsi/sun3_scsi.c dregs->csr &= ~CSR_FIFO; dregs 473 drivers/scsi/sun3_scsi.c dregs->csr |= CSR_FIFO; dregs 543 drivers/scsi/sun3_scsi.c dregs = (struct sun3_dma_regs *)(ioaddr + 8); dregs 545 drivers/scsi/sun3_scsi.c if (sun3_map_test((unsigned long)dregs, &x)) { dregs 548 drivers/scsi/sun3_scsi.c oldcsr = dregs->csr; dregs 549 drivers/scsi/sun3_scsi.c dregs->csr = 0; dregs 551 drivers/scsi/sun3_scsi.c if (dregs->csr == 0x1400) dregs 554 drivers/scsi/sun3_scsi.c dregs->csr = oldcsr; dregs 569 drivers/scsi/sun3_scsi.c dregs = (struct sun3_dma_regs *)(ioaddr + 8); dregs 604 drivers/scsi/sun3_scsi.c dregs->csr = 0; dregs 606 drivers/scsi/sun3_scsi.c dregs->csr = CSR_SCSI | CSR_FIFO | CSR_INTR; dregs 608 drivers/scsi/sun3_scsi.c dregs->fifo_count = 0; dregs 610 drivers/scsi/sun3_scsi.c dregs->fifo_count_hi = 0; dregs 611 drivers/scsi/sun3_scsi.c dregs->dma_addr_hi = 0; dregs 612 drivers/scsi/sun3_scsi.c dregs->dma_addr_lo = 0; dregs 613 drivers/scsi/sun3_scsi.c dregs->dma_count_hi = 0; dregs 614 drivers/scsi/sun3_scsi.c dregs->dma_count_lo = 0; dregs 616 drivers/scsi/sun3_scsi.c dregs->ivect = VME_DATA24 | (instance->irq & 0xff); dregs 193 drivers/scsi/zorro_esp.c struct cyber_dma_registers __iomem *dregs = esp->dma_regs; dregs 194 drivers/scsi/zorro_esp.c unsigned char dma_status = readb(&dregs->cond_reg); dregs 203 drivers/scsi/zorro_esp.c struct fastlane_dma_registers __iomem *dregs = esp->dma_regs; dregs 206 drivers/scsi/zorro_esp.c dma_status = readb(&dregs->cond_reg); dregs 249 drivers/scsi/zorro_esp.c struct fastlane_dma_registers __iomem *dregs = esp->dma_regs; dregs 253 drivers/scsi/zorro_esp.c writeb(0, &dregs->clear_strobe); dregs 262 drivers/scsi/zorro_esp.c struct blz1230_dma_registers __iomem *dregs = esp->dma_regs; dregs 295 drivers/scsi/zorro_esp.c writeb((addr >> 24) & 0xff, &dregs->dma_latch); dregs 296 drivers/scsi/zorro_esp.c writeb((addr >> 24) & 0xff, &dregs->dma_addr); dregs 297 drivers/scsi/zorro_esp.c writeb((addr >> 16) & 0xff, &dregs->dma_addr); dregs 298 drivers/scsi/zorro_esp.c writeb((addr >> 8) & 0xff, &dregs->dma_addr); dregs 299 drivers/scsi/zorro_esp.c writeb(addr & 0xff, &dregs->dma_addr); dregs 313 drivers/scsi/zorro_esp.c struct blz1230II_dma_registers __iomem *dregs = esp->dma_regs; dregs 341 drivers/scsi/zorro_esp.c writeb((addr >> 24) & 0xff, &dregs->dma_latch); dregs 342 drivers/scsi/zorro_esp.c writeb((addr >> 16) & 0xff, &dregs->dma_addr); dregs 343 drivers/scsi/zorro_esp.c writeb((addr >> 8) & 0xff, &dregs->dma_addr); dregs 344 drivers/scsi/zorro_esp.c writeb(addr & 0xff, &dregs->dma_addr); dregs 358 drivers/scsi/zorro_esp.c struct blz2060_dma_registers __iomem *dregs = esp->dma_regs; dregs 386 drivers/scsi/zorro_esp.c writeb(addr & 0xff, &dregs->dma_addr3); dregs 387 drivers/scsi/zorro_esp.c writeb((addr >> 8) & 0xff, &dregs->dma_addr2); dregs 388 drivers/scsi/zorro_esp.c writeb((addr >> 16) & 0xff, &dregs->dma_addr1); dregs 389 drivers/scsi/zorro_esp.c writeb((addr >> 24) & 0xff, &dregs->dma_addr0); dregs 404 drivers/scsi/zorro_esp.c struct cyber_dma_registers __iomem *dregs = esp->dma_regs; dregs 433 drivers/scsi/zorro_esp.c writeb((addr >> 24) & 0xff, &dregs->dma_addr0); dregs 434 drivers/scsi/zorro_esp.c writeb((addr >> 16) & 0xff, &dregs->dma_addr1); dregs 435 drivers/scsi/zorro_esp.c writeb((addr >> 8) & 0xff, &dregs->dma_addr2); dregs 436 drivers/scsi/zorro_esp.c writeb(addr & 0xff, &dregs->dma_addr3); dregs 445 drivers/scsi/zorro_esp.c writeb(*ctrl_data, &dregs->ctrl_reg); dregs 455 drivers/scsi/zorro_esp.c struct cyberII_dma_registers __iomem *dregs = esp->dma_regs; dregs 483 drivers/scsi/zorro_esp.c writeb((addr >> 24) & 0xff, &dregs->dma_addr0); dregs 484 drivers/scsi/zorro_esp.c writeb((addr >> 16) & 0xff, &dregs->dma_addr1); dregs 485 drivers/scsi/zorro_esp.c writeb((addr >> 8) & 0xff, &dregs->dma_addr2); dregs 486 drivers/scsi/zorro_esp.c writeb(addr & 0xff, &dregs->dma_addr3); dregs 497 drivers/scsi/zorro_esp.c struct fastlane_dma_registers __iomem *dregs = esp->dma_regs; dregs 526 drivers/scsi/zorro_esp.c writeb(0, &dregs->clear_strobe); dregs 538 drivers/scsi/zorro_esp.c writeb(*ctrl_data, &dregs->ctrl_reg);