Lines Matching refs:mtk_hw_set_value

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()
530 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_PULLEN, in mtk_pinconf_bias_set_rev1()
535 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_PULLSEL, arg); in mtk_pinconf_bias_set_rev1()
594 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_PU, pu); in mtk_pinconf_bias_set_pu_pd()
598 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_PD, pd); in mtk_pinconf_bias_set_pu_pd()
619 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_PULLEN, enable); in mtk_pinconf_bias_set_pullsel_pullen()
623 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_PULLSEL, pullup); in mtk_pinconf_bias_set_pullsel_pullen()
654 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_PUPD, !pullup); in mtk_pinconf_bias_set_pupd_r1_r0()
658 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_R0, r0); in mtk_pinconf_bias_set_pupd_r1_r0()
662 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_R1, r1); in mtk_pinconf_bias_set_pupd_r1_r0()
727 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_RSEL, rsel_val); in mtk_pinconf_bias_set_rsel()
979 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_E4, in mtk_pinconf_drive_set()
984 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_E8, in mtk_pinconf_drive_set()
1031 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DRV, in mtk_pinconf_drive_set_rev1()
1062 return mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DRV, arg); in mtk_pinconf_drive_set_raw()
1084 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_R0, arg & 1); in mtk_pinconf_adv_pull_set()
1088 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_R1, in mtk_pinconf_adv_pull_set()
1095 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_PUPD, arg); in mtk_pinconf_adv_pull_set()
1167 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DRV_EN, en); in mtk_pinconf_adv_drive_set()
1174 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DRV_E0, e0); in mtk_pinconf_adv_drive_set()
1178 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DRV_E1, e1); in mtk_pinconf_adv_drive_set()
1213 return mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DRV_ADV, arg); in mtk_pinconf_adv_drive_set_raw()