Lines Matching refs:pu
578 int err, pu, pd;
581 pu = 0;
584 pu = 1;
587 pu = 0;
594 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_PU, pu);
810 int pu, pd, rsel, err;
816 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PU, &pu);
824 if (pu == 0 && pd == 0) {
827 } else if (pu == 1 && pd == 0) {
833 } else if (pu == 0 && pd == 1) {
852 int err, pu, pd;
854 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PU, &pu);
862 if (pu == 0 && pd == 0) {
865 } else if (pu == 1 && pd == 0) {
868 } else if (pu == 0 && pd == 1) {