Home
last modified time | relevance | path

Searched refs:fpgamgr_regs (Results 1 – 3 of 3) sorted by relevance

/openbmc/u-boot/drivers/fpga/
H A Dsocfpga_gen5.c16 static struct socfpga_fpga_manager *fpgamgr_regs = variable
24 clrsetbits_le32(&fpgamgr_regs->ctrl, in fpgamgr_set_cd_ratio()
35 msel = readl(&fpgamgr_regs->stat); in fpgamgr_program_init()
44 setbits_le32(&fpgamgr_regs->ctrl, in fpgamgr_program_init()
59 clrbits_le32(&fpgamgr_regs->ctrl, in fpgamgr_program_init()
75 clrbits_le32(&fpgamgr_regs->ctrl, FPGAMGRREGS_CTRL_NCE_MASK); in fpgamgr_program_init()
78 setbits_le32(&fpgamgr_regs->ctrl, FPGAMGRREGS_CTRL_EN_MASK); in fpgamgr_program_init()
111 writel(0xFFF, &fpgamgr_regs->gpio_porta_eoi); in fpgamgr_program_init()
114 setbits_le32(&fpgamgr_regs->ctrl, FPGAMGRREGS_CTRL_AXICFGEN_MASK); in fpgamgr_program_init()
128 reg = readl(&fpgamgr_regs->gpio_ext_porta); in fpgamgr_program_poll_cd()
[all …]
H A Dsocfpga.c17 static struct socfpga_fpga_manager *fpgamgr_regs = variable
25 if (readl(&fpgamgr_regs->dclkstat)) in fpgamgr_dclkcnt_set()
26 writel(0x1, &fpgamgr_regs->dclkstat); in fpgamgr_dclkcnt_set()
29 writel(cnt, &fpgamgr_regs->dclkcnt); in fpgamgr_dclkcnt_set()
33 if (!readl(&fpgamgr_regs->dclkstat)) in fpgamgr_dclkcnt_set()
36 writel(0x1, &fpgamgr_regs->dclkstat); in fpgamgr_dclkcnt_set()
/openbmc/u-boot/arch/arm/mach-socfpga/
H A Dfpga_manager.c20 static struct socfpga_fpga_manager *fpgamgr_regs = variable
28 val = readl(&fpgamgr_regs->gpio_ext_porta); in is_fpgamgr_initdone_high()
37 val = readl(&fpgamgr_regs->stat); in fpgamgr_get_mode()