• Home
  • Raw
  • Download

Lines Matching refs:config_regs

115 	void __iomem *config_regs;  member
531 data32 = ioread32(card->config_regs + GPIO_STATUS); in geos_gpio_store()
534 iowrite32(data32, card->config_regs + GPIO_STATUS); in geos_gpio_store()
537 iowrite32(data32, card->config_regs + GPIO_STATUS); in geos_gpio_store()
553 data32 = ioread32(card->config_regs + GPIO_STATUS); in geos_gpio_show()
567 data32 = ioread32(card->config_regs + GPIO_STATUS); in hardware_show()
689 iowrite32(DRIVER_VERSION, card->config_regs + DRIVER_VER); in flash_upgrade()
696 iowrite32(1, card->config_regs + FPGA_MODE); in flash_upgrade()
697 (void) ioread32(card->config_regs + FPGA_MODE); in flash_upgrade()
704 iowrite32((chip * 2), card->config_regs + FLASH_MODE); in flash_upgrade()
707 iowrite32(1, card->config_regs + WRITE_FLASH); in flash_upgrade()
708 wait_event(card->fw_wq, !ioread32(card->config_regs + FLASH_BUSY)); in flash_upgrade()
714 iowrite32(0, card->config_regs + WRITE_FLASH); in flash_upgrade()
718 iowrite32(((chip * 2) + 1), card->config_regs + FLASH_MODE); in flash_upgrade()
734 iowrite32(offset / blocksize, card->config_regs + FLASH_BLOCK); in flash_upgrade()
735 iowrite32(1, card->config_regs + WRITE_FLASH); in flash_upgrade()
736 wait_event(card->fw_wq, !ioread32(card->config_regs + FLASH_BUSY)); in flash_upgrade()
740 iowrite32(0, card->config_regs + WRITE_FLASH); in flash_upgrade()
741 iowrite32(0, card->config_regs + FPGA_MODE); in flash_upgrade()
742 iowrite32(0, card->config_regs + FLASH_MODE); in flash_upgrade()
752 iowrite32(0, card->config_regs + IRQ_CLEAR); in solos_irq()
886 card->config_regs + RX_DMA_ADDR(port)); in solos_bh()
898 iowrite32(rx_done, card->config_regs + FLAGS_ADDR); in solos_bh()
1066 card_flags = ioread32(card->config_regs + FLAGS_ADDR); in fpga_tx()
1104 card->config_regs + TX_DMA_ADDR(port)); in fpga_tx()
1137 iowrite32(tx_started, card->config_regs + FLAGS_ADDR); in fpga_tx()
1233 card->config_regs = pci_iomap(dev, 0, CONFIG_RAM_SIZE); in fpga_probe()
1234 if (!card->config_regs) { in fpga_probe()
1247 iowrite32(1, card->config_regs + FPGA_MODE); in fpga_probe()
1248 data32 = ioread32(card->config_regs + FPGA_MODE); in fpga_probe()
1250 iowrite32(0, card->config_regs + FPGA_MODE); in fpga_probe()
1251 data32 = ioread32(card->config_regs + FPGA_MODE); in fpga_probe()
1254 data32 = ioread32(card->config_regs + FPGA_VER); in fpga_probe()
1280 data32 = ioread32(card->config_regs + PORTS); in fpga_probe()
1299 iowrite32(0xF0, card->config_regs + FLAGS_ADDR); in fpga_probe()
1318 iowrite32(1, card->config_regs + IRQ_EN_ADDR); in fpga_probe()
1343 iowrite32(0, card->config_regs + IRQ_EN_ADDR); in fpga_probe()
1351 pci_iounmap(dev, card->config_regs); in fpga_probe()
1444 iowrite32(0, card->config_regs + IRQ_EN_ADDR); in fpga_remove()
1447 iowrite32(1, card->config_regs + FPGA_MODE); in fpga_remove()
1448 (void)ioread32(card->config_regs + FPGA_MODE); in fpga_remove()
1461 iowrite32(0, card->config_regs + FPGA_MODE); in fpga_remove()
1462 (void)ioread32(card->config_regs + FPGA_MODE); in fpga_remove()
1465 pci_iounmap(dev, card->config_regs); in fpga_remove()