Searched refs:mtk_hw_get_value (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/pinctrl/mediatek/ |
H A D | pinctrl-mtk-common-v2.c | 233 EXPORT_SYMBOL_GPL(mtk_hw_get_value); 439 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PU, &v); in mtk_pinconf_bias_disable_get() 443 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PD, &v2); in mtk_pinconf_bias_disable_get() 483 err = mtk_hw_get_value(hw, desc, reg, &v); in mtk_pinconf_bias_get() 819 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PU, &pu); in mtk_pinconf_bias_get_pu_pd_rsel() 823 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PD, &pd); in mtk_pinconf_bias_get_pu_pd_rsel() 857 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PU, &pu); in mtk_pinconf_bias_get_pu_pd() 861 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PD, &pd); in mtk_pinconf_bias_get_pu_pd() 909 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_R0, &r0); in mtk_pinconf_bias_get_pupd_r1_r0() 913 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_R1, &r1); in mtk_pinconf_bias_get_pupd_r1_r0() [all …]
|
H A D | pinctrl-paris.c | 165 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_SR, &ret); in mtk_pinconf_get() 168 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_IES, &ret); in mtk_pinconf_get() 173 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DIR, &ret); in mtk_pinconf_get() 182 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DO, &ret); in mtk_pinconf_get() 185 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DIR, &ret); in mtk_pinconf_get() 196 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_SMT, &ret); in mtk_pinconf_get() 236 err = mtk_hw_get_value(hw, desc, reg, &ret); in mtk_pinconf_get() 598 err = mtk_hw_get_value(hw, desc, field, &value); in mtk_hw_get_value_wrap() 859 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DIR, &value); in mtk_gpio_get_direction() 880 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DI, &value); in mtk_gpio_get()
|
H A D | pinctrl-moore.c | 170 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_SR, &val); in mtk_pinconf_get() 180 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DIR, &val); in mtk_pinconf_get() 191 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DIR, &val); in mtk_pinconf_get() 195 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_SMT, &val2); in mtk_pinconf_get() 217 err = mtk_hw_get_value(hw, desc, reg, &val); in mtk_pinconf_get() 489 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DI, &value); in mtk_gpio_get()
|
H A D | pinctrl-mtk-common-v2.h | 309 int mtk_hw_get_value(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc,
|
/openbmc/u-boot/drivers/pinctrl/mediatek/ |
H A D | pinctrl-mtk-common.c | 189 static int mtk_hw_get_value(struct udevice *dev, int pin, int field, in mtk_hw_get_value() function 436 err = mtk_hw_get_value(dev->parent, off, PINCTRL_PIN_REG_DI, &val); in mtk_gpio_get() 452 err = mtk_hw_get_value(dev->parent, off, PINCTRL_PIN_REG_DIR, &val); in mtk_gpio_get_direction()
|