Home
last modified time | relevance | path

Searched refs:mtk_hw_set_value (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/pinctrl/mediatek/
Dpinctrl-mtk-common-v2.c192 int mtk_hw_set_value(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, in mtk_hw_set_value() function
213 EXPORT_SYMBOL_GPL(mtk_hw_set_value);
339 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_MODE, in mtk_xt_set_gpio_as_eint()
344 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, MTK_INPUT); in mtk_xt_set_gpio_as_eint()
348 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_SMT, MTK_ENABLE); in mtk_xt_set_gpio_as_eint()
419 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_PU, in mtk_pinconf_bias_disable_set()
424 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_PD, in mtk_pinconf_bias_disable_set()
463 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_PU, arg & 1); in mtk_pinconf_bias_set()
467 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_PD, in mtk_pinconf_bias_set()
500 return mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_PULLEN, in mtk_pinconf_bias_disable_set_rev1()
[all …]
Dpinctrl-moore.c66 mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_MODE, in mtk_pinmux_set_mux()
84 return mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_MODE, in mtk_pinmux_gpio_request_enable()
100 return mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, !input); in mtk_pinmux_gpio_set_direction()
265 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_SMT, in mtk_pinconf_set()
270 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, in mtk_pinconf_set()
278 mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_IES, in mtk_pinconf_set()
282 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, in mtk_pinconf_set()
288 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_SR, in mtk_pinconf_set()
295 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, in mtk_pinconf_set()
300 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DO, in mtk_pinconf_set()
[all …]
Dpinctrl-paris.c107 return mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_MODE, in mtk_pinmux_gpio_request_enable()
121 return mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, !input); in mtk_pinmux_gpio_set_direction()
280 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_SMT, in mtk_pinconf_set()
288 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, in mtk_pinconf_set()
293 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_IES, !!arg); in mtk_pinconf_set()
297 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, in mtk_pinconf_set()
302 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_SR, !!arg); in mtk_pinconf_set()
305 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DO, in mtk_pinconf_set()
310 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, in mtk_pinconf_set()
318 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, !arg); in mtk_pinconf_set()
[all …]
Dpinctrl-mtk-common-v2.h307 int mtk_hw_set_value(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc,