Searched refs:mtk_hw_set_value (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/pinctrl/mediatek/ |
D | pinctrl-mtk-common-v2.c | 192 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 …]
|
D | pinctrl-moore.c | 70 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_MODE, in mtk_pinmux_set_mux() 91 return mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_MODE, in mtk_pinmux_gpio_request_enable() 107 return mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, !input); in mtk_pinmux_gpio_set_direction() 306 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_SMT, in mtk_pinconf_set() 311 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, in mtk_pinconf_set() 319 mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_IES, in mtk_pinconf_set() 323 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, in mtk_pinconf_set() 329 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_SR, in mtk_pinconf_set() 336 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, in mtk_pinconf_set() 341 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DO, in mtk_pinconf_set() [all …]
|
D | pinctrl-paris.c | 112 return mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_MODE, in mtk_pinmux_gpio_request_enable() 126 return mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, !input); in mtk_pinmux_gpio_set_direction() 289 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_IES, !!arg); in mtk_pinconf_set() 293 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_SR, !!arg); in mtk_pinconf_set() 296 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DO, in mtk_pinconf_set() 301 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, in mtk_pinconf_set() 309 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, !arg); in mtk_pinconf_set() 313 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_SMT, !!arg); in mtk_pinconf_set() 333 err = mtk_hw_set_value(hw, desc, reg, arg); in mtk_pinconf_set() 766 return mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_MODE, desc_func->muxval); in mtk_pmx_set_mux() [all …]
|
D | pinctrl-mtk-common-v2.h | 307 int mtk_hw_set_value(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc,
|