Searched refs:dregs (Results 1 – 4 of 4) sorted by relevance
100 static volatile struct sun3_dma_regs *dregs; variable191 dregs = (struct sun3_dma_regs *)(((unsigned char *)ioaddr) + 8); in sun3scsi_detect()193 if(sun3_map_test((unsigned long)dregs, &x)) { in sun3scsi_detect()196 oldcsr = dregs->csr; in sun3scsi_detect()197 dregs->csr = 0; in sun3scsi_detect()199 if(dregs->csr == 0x1400) in sun3scsi_detect()202 dregs->csr = oldcsr; in sun3scsi_detect()257 dregs->csr = 0; in sun3scsi_detect()259 dregs->csr = CSR_SCSI | CSR_FIFO | CSR_INTR; in sun3scsi_detect()261 dregs->fifo_count = 0; in sun3scsi_detect()[all …]
135 static volatile struct sun3_dma_regs *dregs; variable165 dregs->udc_addr = UDC_CSR; in sun3_udc_read()167 ret = dregs->udc_data; in sun3_udc_read()175 dregs->udc_addr = reg; in sun3_udc_write()177 dregs->udc_data = val; in sun3_udc_write()237 dregs = (struct sun3_dma_regs *)(((unsigned char *)ioaddr) + 8); in sun3scsi_detect()295 dregs->csr = 0; in sun3scsi_detect()297 dregs->csr = CSR_SCSI | CSR_FIFO | CSR_INTR; in sun3scsi_detect()299 dregs->fifo_count = 0; in sun3scsi_detect()375 unsigned short csr = dregs->csr; in scsi_sun3_intr()[all …]
1318 dregs->csr |= CSR_DMA_ENABLE; in NCR5380_intr()1331 dregs->csr |= CSR_DMA_ENABLE; in NCR5380_intr()1698 dregs->csr |= CSR_INTR; in NCR5380_select()1953 dregs->csr |= CSR_DMA_ENABLE; in NCR5380_transfer_dma()1995 dregs->csr |= CSR_INTR; in NCR5380_information_transfer()2032 dregs->csr |= CSR_INTR; in NCR5380_information_transfer()2350 dregs->csr |= CSR_DMA_ENABLE; in NCR5380_information_transfer()
244 void __iomem *dregs; /* DMA controller regs. */ member442 u32 csr = sbus_readl(lp->dregs + DMA_CSR); in init_restart_ledma()446 while (sbus_readl(lp->dregs + DMA_CSR) & DMA_FIFO_ISDRAIN) in init_restart_ledma()450 csr = sbus_readl(lp->dregs + DMA_CSR); in init_restart_ledma()464 sbus_writel(csr, lp->dregs + DMA_CSR); in init_restart_ledma()473 if (lp->dregs) in init_restart_lance()490 if (lp->dregs) in init_restart_lance()491 printk("dcsr=%8.8x\n", sbus_readl(lp->dregs + DMA_CSR)); in init_restart_lance()499 if (lp->dregs) { in init_restart_lance()500 u32 csr = sbus_readl(lp->dregs + DMA_CSR); in init_restart_lance()[all …]