Lines Matching refs:mtk_pinctrl

45 static void mtk_w32(struct mtk_pinctrl *pctl, u8 i, u32 reg, u32 val)  in mtk_w32()
50 static u32 mtk_r32(struct mtk_pinctrl *pctl, u8 i, u32 reg) in mtk_r32()
55 void mtk_rmw(struct mtk_pinctrl *pctl, u8 i, u32 reg, u32 mask, u32 set) in mtk_rmw()
65 static int mtk_hw_pin_field_lookup(struct mtk_pinctrl *hw, in mtk_hw_pin_field_lookup()
128 static int mtk_hw_pin_field_get(struct mtk_pinctrl *hw, in mtk_hw_pin_field_get()
146 static void mtk_hw_write_cross_field(struct mtk_pinctrl *hw, in mtk_hw_write_cross_field()
160 static void mtk_hw_read_cross_field(struct mtk_pinctrl *hw, in mtk_hw_read_cross_field()
175 int mtk_hw_set_value(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, in mtk_hw_set_value()
194 int mtk_hw_get_value(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, in mtk_hw_get_value()
213 static int mtk_xt_find_eint_num(struct mtk_pinctrl *hw, unsigned long eint_n) in mtk_xt_find_eint_num()
233 struct mtk_pinctrl *hw = (struct mtk_pinctrl *)data; in mtk_xt_get_gpio_n()
250 struct mtk_pinctrl *hw = (struct mtk_pinctrl *)data; in mtk_xt_get_gpio_state()
271 struct mtk_pinctrl *hw = (struct mtk_pinctrl *)data; in mtk_xt_set_gpio_as_eint()
311 int mtk_build_eint(struct mtk_pinctrl *hw, struct platform_device *pdev) in mtk_build_eint()
352 int mtk_pinconf_bias_disable_set(struct mtk_pinctrl *hw, in mtk_pinconf_bias_disable_set()
370 int mtk_pinconf_bias_disable_get(struct mtk_pinctrl *hw, in mtk_pinconf_bias_disable_get()
392 int mtk_pinconf_bias_set(struct mtk_pinctrl *hw, in mtk_pinconf_bias_set()
411 int mtk_pinconf_bias_get(struct mtk_pinctrl *hw, in mtk_pinconf_bias_get()
431 int mtk_pinconf_bias_disable_set_rev1(struct mtk_pinctrl *hw, in mtk_pinconf_bias_disable_set_rev1()
444 int mtk_pinconf_bias_disable_get_rev1(struct mtk_pinctrl *hw, in mtk_pinconf_bias_disable_get_rev1()
461 int mtk_pinconf_bias_set_rev1(struct mtk_pinctrl *hw, in mtk_pinconf_bias_set_rev1()
480 int mtk_pinconf_bias_get_rev1(struct mtk_pinctrl *hw, in mtk_pinconf_bias_get_rev1()
506 int mtk_pinconf_drive_set(struct mtk_pinctrl *hw, in mtk_pinconf_drive_set()
534 int mtk_pinconf_drive_get(struct mtk_pinctrl *hw, in mtk_pinconf_drive_get()
559 int mtk_pinconf_drive_set_rev1(struct mtk_pinctrl *hw, in mtk_pinconf_drive_set_rev1()
579 int mtk_pinconf_drive_get_rev1(struct mtk_pinctrl *hw, in mtk_pinconf_drive_get_rev1()
596 int mtk_pinconf_adv_pull_set(struct mtk_pinctrl *hw, in mtk_pinconf_adv_pull_set()
636 int mtk_pinconf_adv_pull_get(struct mtk_pinctrl *hw, in mtk_pinconf_adv_pull_get()
678 int mtk_pinconf_adv_drive_set(struct mtk_pinctrl *hw, in mtk_pinconf_adv_drive_set()
704 int mtk_pinconf_adv_drive_get(struct mtk_pinctrl *hw, in mtk_pinconf_adv_drive_get()