Searched refs:mpp_ctrl (Results 1 – 2 of 2) sorted by relevance
36 u32 mpp_ctrl[MPP_NR_REGS]; in kirkwood_mpp_conf() local46 mpp_ctrl[i] = readl(MPP_CTRL(i)); in kirkwood_mpp_conf()47 debug(" %08x", mpp_ctrl[i]); in kirkwood_mpp_conf()72 sel_save = (mpp_ctrl[num / 8] >> shift) & 0xf; in kirkwood_mpp_conf()77 mpp_ctrl[num / 8] &= ~(0xf << shift); in kirkwood_mpp_conf()78 mpp_ctrl[num / 8] |= sel << shift; in kirkwood_mpp_conf()85 writel(mpp_ctrl[i], MPP_CTRL(i)); in kirkwood_mpp_conf()86 debug(" %08x", mpp_ctrl[i]); in kirkwood_mpp_conf()
31 u32 mpp_ctrl[8]; in orion_mpp_conf() local35 if (mpp_nr_regs > ARRAY_SIZE(mpp_ctrl)) { in orion_mpp_conf()41 mpp_ctrl[i] = readl(mpp_ctrl_addr(i, dev_bus)); in orion_mpp_conf()42 printk(" %08x", mpp_ctrl[i]); in orion_mpp_conf()64 mpp_ctrl[num / 8] &= ~(0xf << shift); in orion_mpp_conf()65 mpp_ctrl[num / 8] |= sel << shift; in orion_mpp_conf()78 writel(mpp_ctrl[i], mpp_ctrl_addr(i, dev_bus)); in orion_mpp_conf()79 printk(" %08x", mpp_ctrl[i]); in orion_mpp_conf()