Searched refs:fpga_read_reg (Results 1 – 8 of 8) sorted by relevance
127 tmp = fpga_read_reg(SBCR); in sdk7786_i2c_setup()150 return fpga_read_reg(MODSWR); in sdk7786_mode_pins()169 fpga_write_reg(fpga_read_reg(PCIECR) | PCIECR_CLKEN, PCIECR); in sdk7786_pcie_clk_enable()175 fpga_write_reg(fpga_read_reg(PCIECR) & ~PCIECR_CLKEN, PCIECR); in sdk7786_pcie_clk_disable()231 fpga_write_reg(fpga_read_reg(PWRCR) | PWRCR_PDWNREQ, PWRCR); in sdk7786_power_off()238 while ((fpga_read_reg(PWRCR) & PWRCR_PDWNACK) == 0) in sdk7786_power_off()252 pr_info("\tPCB revision:\t%d\n", fpga_read_reg(PCBRR) & 0xf); in sdk7786_setup()
35 fpga_write_reg(fpga_read_reg(INTMSR) | 0x0303, INTMSR); in sdk7786_init_irq()42 tmp = fpga_read_reg(INTAMR); in sdk7786_init_irq()
65 version = fpga_read_reg(FPGAVR); in sdk7786_fpga_init()66 date = fpga_read_reg(FPGADR); in sdk7786_fpga_init()
33 return !!(fpga_read_reg(USRGPIR) & (1 << gpio)); in usrgpir_gpio_get()
30 data = fpga_read_reg(LCLASR); in fpga_sram_init()
76 tmp = fpga_read_reg(NMISR); in sdk7786_nmi_init()
40 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