Searched refs:fpga_read_reg (Results 1 – 8 of 8) sorted by relevance
124 tmp = fpga_read_reg(SBCR); in sdk7786_i2c_setup()147 return fpga_read_reg(MODSWR); in sdk7786_mode_pins()166 fpga_write_reg(fpga_read_reg(PCIECR) | PCIECR_CLKEN, PCIECR); in sdk7786_pcie_clk_enable()172 fpga_write_reg(fpga_read_reg(PCIECR) & ~PCIECR_CLKEN, PCIECR); in sdk7786_pcie_clk_disable()228 fpga_write_reg(fpga_read_reg(PWRCR) | PWRCR_PDWNREQ, PWRCR); in sdk7786_power_off()235 while ((fpga_read_reg(PWRCR) & PWRCR_PDWNACK) == 0) in sdk7786_power_off()249 pr_info("\tPCB revision:\t%d\n", fpga_read_reg(PCBRR) & 0xf); in sdk7786_setup()
32 fpga_write_reg(fpga_read_reg(INTMSR) | 0x0303, INTMSR); in sdk7786_init_irq()39 tmp = fpga_read_reg(INTAMR); in sdk7786_init_irq()
62 version = fpga_read_reg(FPGAVR); in sdk7786_fpga_init()63 date = fpga_read_reg(FPGADR); in sdk7786_fpga_init()
30 return !!(fpga_read_reg(USRGPIR) & (1 << gpio)); in usrgpir_gpio_get()
27 data = fpga_read_reg(LCLASR); in fpga_sram_init()
73 tmp = fpga_read_reg(NMISR); in sdk7786_nmi_init()
37 u16 data = fpga_read_reg(PCIECR); in sdk7786_pci_init()
146 static inline u16 fpga_read_reg(unsigned int reg) in fpga_read_reg() function