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);
315 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DI, &value); in mtk_xt_get_gpio_state()
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()
510 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PULLEN, &v); in mtk_pinconf_bias_disable_get_rev1()
549 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PULLEN, &v); in mtk_pinconf_bias_get_rev1()
556 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PULLSEL, &v); in mtk_pinconf_bias_get_rev1()
815 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_RSEL, &rsel); in mtk_pinconf_bias_get_pu_pd_rsel()
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()
887 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PULLSEL, pullup); in mtk_pinconf_bias_get_pullsel_pullen()
891 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PULLEN, enable); in mtk_pinconf_bias_get_pullsel_pullen()
903 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PUPD, pullup); in mtk_pinconf_bias_get_pupd_r1_r0()
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()
1008 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_E4, &val1); in mtk_pinconf_drive_get()
1012 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_E8, &val2); in mtk_pinconf_drive_get()
1055 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DRV, &val1); in mtk_pinconf_drive_get_rev1()
1075 return mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DRV, val); in mtk_pinconf_drive_get_raw()
1129 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PUPD, &t); in mtk_pinconf_adv_pull_get()
1151 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_R0, &t); in mtk_pinconf_adv_pull_get()
1155 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_R1, &t2); in mtk_pinconf_adv_pull_get()
1198 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DRV_EN, &en); in mtk_pinconf_adv_drive_get()
1202 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DRV_E0, &e0); in mtk_pinconf_adv_drive_get()
1206 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DRV_E1, &e1); in mtk_pinconf_adv_drive_get()
1226 return mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DRV_ADV, val); in mtk_pinconf_adv_drive_get_raw()