Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/pinctrl/mediatek/
Dpinctrl-mtk-common-v2.c187 int mtk_hw_set_value(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, in mtk_hw_set_value() function
208 EXPORT_SYMBOL_GPL(mtk_hw_set_value);
334 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_MODE, in mtk_xt_set_gpio_as_eint()
339 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, MTK_INPUT); in mtk_xt_set_gpio_as_eint()
343 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_SMT, MTK_ENABLE); in mtk_xt_set_gpio_as_eint()
414 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_PU, in mtk_pinconf_bias_disable_set()
419 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_PD, in mtk_pinconf_bias_disable_set()
458 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_PU, arg & 1); in mtk_pinconf_bias_set()
462 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_PD, in mtk_pinconf_bias_set()
497 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_PULLEN, in mtk_pinconf_bias_disable_set_rev1()
[all …]
Dpinctrl-moore.c64 mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_MODE, in mtk_pinmux_set_mux()
80 return mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_MODE, in mtk_pinmux_gpio_request_enable()
94 return mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, !input); in mtk_pinmux_gpio_set_direction()
255 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_SMT, in mtk_pinconf_set()
260 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, in mtk_pinconf_set()
268 mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_IES, in mtk_pinconf_set()
272 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, in mtk_pinconf_set()
278 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_SR, in mtk_pinconf_set()
285 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, in mtk_pinconf_set()
290 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DO, in mtk_pinconf_set()
[all …]
Dpinctrl-paris.c60 return mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_MODE, in mtk_pinmux_gpio_request_enable()
74 return mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, !input); in mtk_pinmux_gpio_set_direction()
225 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_SMT, in mtk_pinconf_set()
233 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, in mtk_pinconf_set()
238 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_IES, !!arg); in mtk_pinconf_set()
242 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, in mtk_pinconf_set()
247 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_SR, !!arg); in mtk_pinconf_set()
250 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, in mtk_pinconf_set()
255 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DO, in mtk_pinconf_set()
263 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, !arg); in mtk_pinconf_set()
[all …]
Dpinctrl-mtk-common-v2.h258 int mtk_hw_set_value(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc,