Searched refs:msel (Results 1 – 3 of 3) sorted by relevance
35 unsigned long msel, i; in fpgamgr_program_init() local38 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 …]
144 u32 msel = fpgamgr_get_msel(); in fpgamgr_verify_msel() local146 if (msel & ~BIT(0)) { in fpgamgr_verify_msel()147 printf("Fail: read msel=%d\n", msel); in fpgamgr_verify_msel()
112 u32 msel = BR_UPMx_TO_MSEL(upm); in upmconfig() local126 if ((get_lbc_br(i) & (BR_V | BR_MSEL)) == (BR_V | msel)) { in upmconfig()