Lines Matching refs:pu
603 int err, pu, pd;
606 pu = 0;
609 pu = 1;
612 pu = 0;
619 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_PU, pu);
842 int pu, pd, rsel, err;
848 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PU, &pu);
856 if (pu == 0 && pd == 0) {
859 } else if (pu == 1 && pd == 0) {
865 } else if (pu == 0 && pd == 1) {
884 int err, pu, pd;
886 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PU, &pu);
894 if (pu == 0 && pd == 0) {
897 } else if (pu == 1 && pd == 0) {
900 } else if (pu == 0 && pd == 1) {