Lines Matching refs:mfunc
369 u32 mfunc, mfunc_old, devctl; in ti12xx_irqroute_func0() local
373 mfunc = mfunc_old = config_readl(socket, TI122X_MFUNC); in ti12xx_irqroute_func0()
376 mfunc, devctl); in ti12xx_irqroute_func0()
407 mfunc = (mfunc & ~TI122X_MFUNC3_MASK) | TI122X_MFUNC3_IRQSER; in ti12xx_irqroute_func0()
410 if (mfunc != mfunc_old) { in ti12xx_irqroute_func0()
411 config_writel(socket, TI122X_MFUNC, mfunc); in ti12xx_irqroute_func0()
417 mfunc_old = mfunc; in ti12xx_irqroute_func0()
422 mfunc = mfunc_old; in ti12xx_irqroute_func0()
423 config_writel(socket, TI122X_MFUNC, mfunc); in ti12xx_irqroute_func0()
454 mfunc = (mfunc & ~TI122X_MFUNC0_MASK) | TI122X_MFUNC0_INTA; in ti12xx_irqroute_func0()
455 if (mfunc != mfunc_old) in ti12xx_irqroute_func0()
456 config_writel(socket, TI122X_MFUNC, mfunc); in ti12xx_irqroute_func0()
462 mfunc_old = mfunc; in ti12xx_irqroute_func0()
466 mfunc = mfunc_old; in ti12xx_irqroute_func0()
467 config_writel(socket, TI122X_MFUNC, mfunc); in ti12xx_irqroute_func0()
543 u32 mfunc, mfunc_old, devctl, sysctl; in ti12xx_irqroute_func1() local
546 mfunc = mfunc_old = config_readl(socket, TI122X_MFUNC); in ti12xx_irqroute_func1()
549 mfunc, devctl); in ti12xx_irqroute_func1()
602 mfunc = (mfunc & ~TI122X_MFUNC0_MASK) | TI125X_MFUNC0_INTB; in ti12xx_irqroute_func1()
606 mfunc = (mfunc & ~TI122X_MFUNC1_MASK) | TI122X_MFUNC1_INTB; in ti12xx_irqroute_func1()
611 if (mfunc != mfunc_old) { in ti12xx_irqroute_func1()
612 config_writel(socket, TI122X_MFUNC, mfunc); in ti12xx_irqroute_func1()
621 mfunc = mfunc_old; in ti12xx_irqroute_func1()
622 config_writel(socket, TI122X_MFUNC, mfunc); in ti12xx_irqroute_func1()
747 u32 mfunc, devctl, sysctl; in ti12xx_power_hook() local
756 mfunc = config_readl(socket, TI122X_MFUNC); in ti12xx_power_hook()
780 mfunc = (mfunc & ~TI122X_MFUNC3_MASK); in ti12xx_power_hook()
782 mfunc = (mfunc & ~TI122X_MFUNC3_MASK) | TI122X_MFUNC3_IRQSER; in ti12xx_power_hook()
810 mfunc &= ~TI122X_MFUNC0_MASK; in ti12xx_power_hook()
812 mfunc |= TI122X_MFUNC0_INTA; in ti12xx_power_hook()
813 config_writel(socket, TI122X_MFUNC, mfunc); in ti12xx_power_hook()
822 mfunc &= ~TI122X_MFUNC0_MASK; in ti12xx_power_hook()
824 mfunc |= TI125X_MFUNC0_INTB; in ti12xx_power_hook()
825 config_writel(socket, TI122X_MFUNC, mfunc); in ti12xx_power_hook()
832 mfunc &= ~TI122X_MFUNC1_MASK; in ti12xx_power_hook()
834 mfunc |= TI122X_MFUNC1_INTB; in ti12xx_power_hook()
835 config_writel(socket, TI122X_MFUNC, mfunc); in ti12xx_power_hook()