Lines Matching refs:pullup
393 const struct mtk_pin_desc *desc, bool pullup) in mtk_pinconf_bias_set() argument
397 arg = pullup ? 1 : 2; in mtk_pinconf_bias_set()
412 const struct mtk_pin_desc *desc, bool pullup, int *res) in mtk_pinconf_bias_get() argument
416 reg = pullup ? PINCTRL_PIN_REG_PU : PINCTRL_PIN_REG_PD; in mtk_pinconf_bias_get()
462 const struct mtk_pin_desc *desc, bool pullup) in mtk_pinconf_bias_set_rev1() argument
466 arg = pullup ? MTK_PULLUP : MTK_PULLDOWN; in mtk_pinconf_bias_set_rev1()
481 const struct mtk_pin_desc *desc, bool pullup, in mtk_pinconf_bias_get_rev1() argument
497 if (pullup ^ (v == MTK_PULLUP)) in mtk_pinconf_bias_get_rev1()
597 const struct mtk_pin_desc *desc, bool pullup, in mtk_pinconf_adv_pull_set() argument
616 arg = pullup ? 0 : 1; in mtk_pinconf_adv_pull_set()
625 err = hw->soc->bias_set(hw, desc, pullup); in mtk_pinconf_adv_pull_set()
637 const struct mtk_pin_desc *desc, bool pullup, in mtk_pinconf_adv_pull_get() argument
650 err = hw->soc->bias_get(hw, desc, pullup, val); in mtk_pinconf_adv_pull_get()
661 if (pullup ^ !t) in mtk_pinconf_adv_pull_get()