Searched refs:rsel_val (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/pinctrl/mediatek/ |
H A D | pinctrl-mtk-common-v2.c | 670 u32 pullup, u32 arg, u32 *rsel_val) in mtk_hw_pin_rsel_lookup() argument 684 *rsel_val = rsel[check].rsel_index; in mtk_hw_pin_rsel_lookup() 690 *rsel_val = rsel[check].rsel_index; in mtk_hw_pin_rsel_lookup() 710 int err, rsel_val; in mtk_pinconf_bias_set_rsel() local 714 err = mtk_hw_pin_rsel_lookup(hw, desc, pullup, arg, &rsel_val); in mtk_pinconf_bias_set_rsel() 721 rsel_val = arg - MTK_PULL_SET_RSEL_000; in mtk_pinconf_bias_set_rsel() 724 return mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_RSEL, rsel_val); in mtk_pinconf_bias_set_rsel() 786 u32 pullup, u32 rsel_val, u32 *si_unit) in mtk_rsel_get_si_unit() argument 796 if (rsel_val == rsel[check].rsel_index) { in mtk_rsel_get_si_unit()
|