Lines Matching refs:mtk_hw_get_value
215 int mtk_hw_get_value(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, in mtk_hw_get_value() function
233 EXPORT_SYMBOL_GPL(mtk_hw_get_value);
311 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DI, &value); in mtk_xt_get_gpio_state()
435 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PU, &v); in mtk_pinconf_bias_disable_get()
439 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PD, &v2); in mtk_pinconf_bias_disable_get()
479 err = mtk_hw_get_value(hw, desc, reg, &v); in mtk_pinconf_bias_get()
506 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PULLEN, &v); in mtk_pinconf_bias_disable_get_rev1()
545 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PULLEN, &v); in mtk_pinconf_bias_get_rev1()
552 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PULLSEL, &v); in mtk_pinconf_bias_get_rev1()
670 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PU, &pu); in mtk_pinconf_bias_get_pu_pd()
674 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PD, &pd); in mtk_pinconf_bias_get_pu_pd()
700 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PULLSEL, pullup); in mtk_pinconf_bias_get_pullsel_pullen()
704 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PULLEN, enable); in mtk_pinconf_bias_get_pullsel_pullen()
716 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PUPD, pullup); in mtk_pinconf_bias_get_pupd_r1_r0()
722 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_R0, &r0); in mtk_pinconf_bias_get_pupd_r1_r0()
726 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_R1, &r1); in mtk_pinconf_bias_get_pupd_r1_r0()
825 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_E4, &val1); in mtk_pinconf_drive_get()
829 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_E8, &val2); in mtk_pinconf_drive_get()
872 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DRV, &val1); in mtk_pinconf_drive_get_rev1()
892 return mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DRV, val); in mtk_pinconf_drive_get_raw()
946 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PUPD, &t); in mtk_pinconf_adv_pull_get()
968 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_R0, &t); in mtk_pinconf_adv_pull_get()
972 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_R1, &t2); in mtk_pinconf_adv_pull_get()
1015 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DRV_EN, &en); in mtk_pinconf_adv_drive_get()
1019 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DRV_E0, &e0); in mtk_pinconf_adv_drive_get()
1023 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DRV_E1, &e1); in mtk_pinconf_adv_drive_get()
1043 return mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DRV_ADV, val); in mtk_pinconf_adv_drive_get_raw()