Lines Matching refs:config_regs
109 void __iomem *config_regs;
580 iowrite32(1, card->config_regs + FPGA_MODE);
581 data32 = ioread32(card->config_regs + FPGA_MODE);
588 iowrite32((chip * 2), card->config_regs + FLASH_MODE);
591 iowrite32(1, card->config_regs + WRITE_FLASH);
592 wait_event(card->fw_wq, !ioread32(card->config_regs + FLASH_BUSY));
598 iowrite32(0, card->config_regs + WRITE_FLASH);
602 iowrite32(((chip * 2) + 1), card->config_regs + FLASH_MODE);
614 iowrite32(offset / blocksize, card->config_regs + FLASH_BLOCK);
615 iowrite32(1, card->config_regs + WRITE_FLASH);
616 wait_event(card->fw_wq, !ioread32(card->config_regs + FLASH_BUSY));
620 iowrite32(0, card->config_regs + WRITE_FLASH);
621 iowrite32(0, card->config_regs + FPGA_MODE);
622 iowrite32(0, card->config_regs + FLASH_MODE);
632 iowrite32(0, card->config_regs + IRQ_CLEAR);
757 card->config_regs + RX_DMA_ADDR(port));
769 iowrite32(rx_done, card->config_regs + FLAGS_ADDR);
981 card_flags = ioread32(card->config_regs + FLAGS_ADDR);
1012 card->config_regs + TX_DMA_ADDR(port));
1037 iowrite32(tx_started, card->config_regs + FLAGS_ADDR);
1133 card->config_regs = pci_iomap(dev, 0, CONFIG_RAM_SIZE);
1134 if (!card->config_regs) {
1145 iowrite32(1, card->config_regs + FPGA_MODE);
1146 data32 = ioread32(card->config_regs + FPGA_MODE);
1148 iowrite32(0, card->config_regs + FPGA_MODE);
1149 data32 = ioread32(card->config_regs + FPGA_MODE);
1152 data32 = ioread32(card->config_regs + FPGA_VER);
1169 iowrite32(0xF0, card->config_regs + FLAGS_ADDR);
1172 data32 = ioread32(card->config_regs + PORTS);
1191 iowrite32(1, card->config_regs + IRQ_EN_ADDR);
1212 iowrite32(0, card->config_regs + IRQ_EN_ADDR);
1218 pci_iounmap(dev, card->config_regs);
1313 iowrite32(0, card->config_regs + IRQ_EN_ADDR);
1316 iowrite32(1, card->config_regs + FPGA_MODE);
1317 (void)ioread32(card->config_regs + FPGA_MODE);
1325 iowrite32(0, card->config_regs + FPGA_MODE);
1326 (void)ioread32(card->config_regs + FPGA_MODE);
1329 pci_iounmap(dev, card->config_regs);