Lines Matching defs:pu
606 int err, pu, pd;
609 pu = 0;
612 pu = 1;
615 pu = 0;
622 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_PU, pu);
845 int pu, pd, rsel, err;
851 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PU, &pu);
859 if (pu == 0 && pd == 0) {
862 } else if (pu == 1 && pd == 0) {
868 } else if (pu == 0 && pd == 1) {
887 int err, pu, pd;
889 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PU, &pu);
897 if (pu == 0 && pd == 0) {
900 } else if (pu == 1 && pd == 0) {
903 } else if (pu == 0 && pd == 1) {