Home
last modified time | relevance | path

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

/linux-6.12.1/arch/sh/boards/mach-sdk7786/
Dsetup.c124 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()
Dirq.c32 fpga_write_reg(fpga_read_reg(INTMSR) | 0x0303, INTMSR); in sdk7786_init_irq()
39 tmp = fpga_read_reg(INTAMR); in sdk7786_init_irq()
Dfpga.c62 version = fpga_read_reg(FPGAVR); in sdk7786_fpga_init()
63 date = fpga_read_reg(FPGADR); in sdk7786_fpga_init()
Dgpio.c30 return !!(fpga_read_reg(USRGPIR) & (1 << gpio)); in usrgpir_gpio_get()
Dsram.c27 data = fpga_read_reg(LCLASR); in fpga_sram_init()
Dnmi.c73 tmp = fpga_read_reg(NMISR); in sdk7786_nmi_init()
/linux-6.12.1/arch/sh/drivers/pci/
Dfixups-sdk7786.c37 u16 data = fpga_read_reg(PCIECR); in sdk7786_pci_init()
/linux-6.12.1/arch/sh/include/mach-sdk7786/mach/
Dfpga.h146 static inline u16 fpga_read_reg(unsigned int reg) in fpga_read_reg() function