Lines Matching refs:pu
579 int err, pu, pd;
582 pu = 0;
585 pu = 1;
588 pu = 0;
595 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_PU, pu);
673 int err, pu, pd;
675 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PU, &pu);
683 if (pu == 0 && pd == 0) {
686 } else if (pu == 1 && pd == 0) {
689 } else if (pu == 0 && pd == 1) {