Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/fpga/
H A Dsocfpga_gen5.c19 static struct socfpga_fpga_manager *fpgamgr_regs = variable
27 clrsetbits_le32(&fpgamgr_regs->ctrl, in fpgamgr_set_cd_ratio()
38 msel = readl(&fpgamgr_regs->stat); in fpgamgr_program_init()
47 setbits_le32(&fpgamgr_regs->ctrl, in fpgamgr_program_init()
62 clrbits_le32(&fpgamgr_regs->ctrl, in fpgamgr_program_init()
78 clrbits_le32(&fpgamgr_regs->ctrl, FPGAMGRREGS_CTRL_NCE_MASK); in fpgamgr_program_init()
81 setbits_le32(&fpgamgr_regs->ctrl, FPGAMGRREGS_CTRL_EN_MASK); in fpgamgr_program_init()
84 setbits_le32(&fpgamgr_regs->ctrl, FPGAMGRREGS_CTRL_NCONFIGPULL_MASK); in fpgamgr_program_init()
99 clrbits_le32(&fpgamgr_regs->ctrl, FPGAMGRREGS_CTRL_NCONFIGPULL_MASK); in fpgamgr_program_init()
114 writel(0xFFF, &fpgamgr_regs->gpio_porta_eoi); in fpgamgr_program_init()
[all …]
H A Dsocfpga.c20 static struct socfpga_fpga_manager *fpgamgr_regs = variable
28 if (readl(&fpgamgr_regs->dclkstat)) in fpgamgr_dclkcnt_set()
29 writel(0x1, &fpgamgr_regs->dclkstat); in fpgamgr_dclkcnt_set()
32 writel(cnt, &fpgamgr_regs->dclkcnt); in fpgamgr_dclkcnt_set()
36 if (!readl(&fpgamgr_regs->dclkstat)) in fpgamgr_dclkcnt_set()
39 writel(0x1, &fpgamgr_regs->dclkstat); in fpgamgr_dclkcnt_set()
/OK3568_Linux_fs/u-boot/arch/arm/mach-socfpga/
H A Dfpga_manager.c23 static struct socfpga_fpga_manager *fpgamgr_regs = variable
31 val = readl(&fpgamgr_regs->gpio_ext_porta); in is_fpgamgr_initdone_high()
40 val = readl(&fpgamgr_regs->stat); in fpgamgr_get_mode()