Home
last modified time | relevance | path

Searched refs:fpga_write_reg (Results 1 – 6 of 6) sorted by relevance

/linux-5.19.10/arch/sh/boards/mach-sdk7786/
Dirq.c32 fpga_write_reg(fpga_read_reg(INTMSR) | 0x0303, INTMSR); in sdk7786_init_irq()
35 fpga_write_reg(0x0000, INTASR); in sdk7786_init_irq()
36 fpga_write_reg(0x0000, INTBSR); in sdk7786_init_irq()
41 fpga_write_reg(tmp, INTAMR); in sdk7786_init_irq()
Dsetup.c127 fpga_write_reg(tmp, SBCR); in sdk7786_i2c_setup()
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()
223 fpga_write_reg(0xa5a5, SRSTR); in sdk7786_restart()
228 fpga_write_reg(fpga_read_reg(PWRCR) | PWRCR_PDWNREQ, PWRCR); in sdk7786_power_off()
Dnmi.c76 fpga_write_reg(tmp, NMISR); in sdk7786_nmi_init()
79 fpga_write_reg(NMIMR_MASK ^ mask, NMIMR); in sdk7786_nmi_init()
Dsram.c29 fpga_write_reg(data, LCLASR); in fpga_sram_init()
/linux-5.19.10/arch/sh/drivers/pci/
Dfixups-sdk7786.c52 fpga_write_reg(data, PCIECR); in sdk7786_pci_init()
/linux-5.19.10/arch/sh/include/mach-sdk7786/mach/
Dfpga.h151 static inline void fpga_write_reg(u16 val, unsigned int reg) in fpga_write_reg() function