Home
last modified time | relevance | path

Searched refs:fpga_read_reg (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/arch/sh/boards/mach-sdk7786/
Dsetup.c127 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()
Dirq.c35 fpga_write_reg(fpga_read_reg(INTMSR) | 0x0303, INTMSR); in sdk7786_init_irq()
42 tmp = fpga_read_reg(INTAMR); in sdk7786_init_irq()
Dfpga.c65 version = fpga_read_reg(FPGAVR); in sdk7786_fpga_init()
66 date = fpga_read_reg(FPGADR); in sdk7786_fpga_init()
Dgpio.c33 return !!(fpga_read_reg(USRGPIR) & (1 << gpio)); in usrgpir_gpio_get()
Dsram.c30 data = fpga_read_reg(LCLASR); in fpga_sram_init()
Dnmi.c76 tmp = fpga_read_reg(NMISR); in sdk7786_nmi_init()
/Linux-v4.19/arch/sh/drivers/pci/
Dfixups-sdk7786.c40 u16 data = fpga_read_reg(PCIECR); in sdk7786_pci_init()
/Linux-v4.19/arch/sh/include/mach-sdk7786/mach/
Dfpga.h146 static inline u16 fpga_read_reg(unsigned int reg) in fpga_read_reg() function