• Home
  • Raw
  • Download

Lines Matching refs:config_regs

106 	void __iomem *config_regs;  member
527 data32 = ioread32(card->config_regs + GPIO_STATUS); in geos_gpio_store()
530 iowrite32(data32, card->config_regs + GPIO_STATUS); in geos_gpio_store()
533 iowrite32(data32, card->config_regs + GPIO_STATUS); in geos_gpio_store()
548 data32 = ioread32(card->config_regs + GPIO_STATUS); in geos_gpio_show()
561 data32 = ioread32(card->config_regs + GPIO_STATUS); in hardware_show()
683 iowrite32(DRIVER_VERSION, card->config_regs + DRIVER_VER); in flash_upgrade()
690 iowrite32(1, card->config_regs + FPGA_MODE); in flash_upgrade()
691 (void) ioread32(card->config_regs + FPGA_MODE); in flash_upgrade()
698 iowrite32((chip * 2), card->config_regs + FLASH_MODE); in flash_upgrade()
701 iowrite32(1, card->config_regs + WRITE_FLASH); in flash_upgrade()
702 wait_event(card->fw_wq, !ioread32(card->config_regs + FLASH_BUSY)); in flash_upgrade()
708 iowrite32(0, card->config_regs + WRITE_FLASH); in flash_upgrade()
712 iowrite32(((chip * 2) + 1), card->config_regs + FLASH_MODE); in flash_upgrade()
728 iowrite32(offset / blocksize, card->config_regs + FLASH_BLOCK); in flash_upgrade()
729 iowrite32(1, card->config_regs + WRITE_FLASH); in flash_upgrade()
730 wait_event(card->fw_wq, !ioread32(card->config_regs + FLASH_BUSY)); in flash_upgrade()
734 iowrite32(0, card->config_regs + WRITE_FLASH); in flash_upgrade()
735 iowrite32(0, card->config_regs + FPGA_MODE); in flash_upgrade()
736 iowrite32(0, card->config_regs + FLASH_MODE); in flash_upgrade()
746 iowrite32(0, card->config_regs + IRQ_CLEAR); in solos_irq()
880 card->config_regs + RX_DMA_ADDR(port)); in solos_bh()
892 iowrite32(rx_done, card->config_regs + FLAGS_ADDR); in solos_bh()
1060 card_flags = ioread32(card->config_regs + FLAGS_ADDR); in fpga_tx()
1098 card->config_regs + TX_DMA_ADDR(port)); in fpga_tx()
1131 iowrite32(tx_started, card->config_regs + FLAGS_ADDR); in fpga_tx()
1225 card->config_regs = pci_iomap(dev, 0, CONFIG_RAM_SIZE); in fpga_probe()
1226 if (!card->config_regs) { in fpga_probe()
1239 iowrite32(1, card->config_regs + FPGA_MODE); in fpga_probe()
1240 ioread32(card->config_regs + FPGA_MODE); in fpga_probe()
1242 iowrite32(0, card->config_regs + FPGA_MODE); in fpga_probe()
1243 ioread32(card->config_regs + FPGA_MODE); in fpga_probe()
1246 data32 = ioread32(card->config_regs + FPGA_VER); in fpga_probe()
1272 data32 = ioread32(card->config_regs + PORTS); in fpga_probe()
1292 iowrite32(0xF0, card->config_regs + FLAGS_ADDR); in fpga_probe()
1311 iowrite32(1, card->config_regs + IRQ_EN_ADDR); in fpga_probe()
1336 iowrite32(0, card->config_regs + IRQ_EN_ADDR); in fpga_probe()
1344 pci_iounmap(dev, card->config_regs); in fpga_probe()
1437 iowrite32(0, card->config_regs + IRQ_EN_ADDR); in fpga_remove()
1440 iowrite32(1, card->config_regs + FPGA_MODE); in fpga_remove()
1441 (void)ioread32(card->config_regs + FPGA_MODE); in fpga_remove()
1454 iowrite32(0, card->config_regs + FPGA_MODE); in fpga_remove()
1455 (void)ioread32(card->config_regs + FPGA_MODE); in fpga_remove()
1458 pci_iounmap(dev, card->config_regs); in fpga_remove()