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()
809 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_RSEL, &rsel); in mtk_pinconf_bias_get_rsel()
813 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PU, &pu); in mtk_pinconf_bias_get_rsel()
817 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PD, &pd); in mtk_pinconf_bias_get_rsel()
851 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PU, &pu); in mtk_pinconf_bias_get_pu_pd()
855 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PD, &pd); in mtk_pinconf_bias_get_pu_pd()
881 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PULLSEL, pullup); in mtk_pinconf_bias_get_pullsel_pullen()
885 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PULLEN, enable); in mtk_pinconf_bias_get_pullsel_pullen()
897 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PUPD, pullup); in mtk_pinconf_bias_get_pupd_r1_r0()
903 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_R0, &r0); in mtk_pinconf_bias_get_pupd_r1_r0()
907 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_R1, &r1); in mtk_pinconf_bias_get_pupd_r1_r0()
1002 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_E4, &val1); in mtk_pinconf_drive_get()
1006 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_E8, &val2); in mtk_pinconf_drive_get()
1049 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DRV, &val1); in mtk_pinconf_drive_get_rev1()
1069 return mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DRV, val); in mtk_pinconf_drive_get_raw()
1123 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PUPD, &t); in mtk_pinconf_adv_pull_get()
1145 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_R0, &t); in mtk_pinconf_adv_pull_get()
1149 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_R1, &t2); in mtk_pinconf_adv_pull_get()
1192 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DRV_EN, &en); in mtk_pinconf_adv_drive_get()
1196 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DRV_E0, &e0); in mtk_pinconf_adv_drive_get()
1200 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DRV_E1, &e1); in mtk_pinconf_adv_drive_get()
1220 return mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DRV_ADV, val); in mtk_pinconf_adv_drive_get_raw()