Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/drivers/fpga/
H A Dsocfpga_gen5.c35 unsigned long msel, i; in fpgamgr_program_init() local
38 msel = readl(&fpgamgr_regs->stat); in fpgamgr_program_init()
39 msel &= FPGAMGRREGS_STAT_MSEL_MASK; in fpgamgr_program_init()
40 msel >>= FPGAMGRREGS_STAT_MSEL_LSB; in fpgamgr_program_init()
46 if (msel & 0x8) { in fpgamgr_program_init()
52 if ((msel & 0x3) == 0x0) in fpgamgr_program_init()
55 else if ((msel & 0x3) == 0x1) in fpgamgr_program_init()
58 else if ((msel & 0x3) == 0x2) in fpgamgr_program_init()
67 if ((msel & 0x3) == 0x0) in fpgamgr_program_init()
70 else if ((msel & 0x3) == 0x1) in fpgamgr_program_init()
[all …]
H A Dsocfpga_arria10.c144 u32 msel = fpgamgr_get_msel(); in fpgamgr_verify_msel() local
146 if (msel & ~BIT(0)) { in fpgamgr_verify_msel()
147 printf("Fail: read msel=%d\n", msel); in fpgamgr_verify_msel()
/rk3399_rockchip-uboot/arch/powerpc/cpu/mpc8xxx/
H A Dfsl_lbc.c112 u32 msel = BR_UPMx_TO_MSEL(upm); in upmconfig() local
126 if ((get_lbc_br(i) & (BR_V | BR_MSEL)) == (BR_V | msel)) { in upmconfig()