Lines Matching refs:mtk_pinctrl

47 static void mtk_w32(struct mtk_pinctrl *pctl, u8 i, u32 reg, u32 val)  in mtk_w32()
52 static u32 mtk_r32(struct mtk_pinctrl *pctl, u8 i, u32 reg) in mtk_r32()
57 void mtk_rmw(struct mtk_pinctrl *pctl, u8 i, u32 reg, u32 mask, u32 set) in mtk_rmw()
67 static int mtk_hw_pin_field_lookup(struct mtk_pinctrl *hw, in mtk_hw_pin_field_lookup()
140 static int mtk_hw_pin_field_get(struct mtk_pinctrl *hw, in mtk_hw_pin_field_get()
158 static void mtk_hw_write_cross_field(struct mtk_pinctrl *hw, in mtk_hw_write_cross_field()
172 static void mtk_hw_read_cross_field(struct mtk_pinctrl *hw, in mtk_hw_read_cross_field()
187 int mtk_hw_set_value(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, in mtk_hw_set_value()
210 int mtk_hw_get_value(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, in mtk_hw_get_value()
230 static int mtk_xt_find_eint_num(struct mtk_pinctrl *hw, unsigned long eint_n) in mtk_xt_find_eint_num()
255 bool mtk_is_virt_gpio(struct mtk_pinctrl *hw, unsigned int gpio_n) in mtk_is_virt_gpio()
277 struct mtk_pinctrl *hw = (struct mtk_pinctrl *)data; in mtk_xt_get_gpio_n()
298 struct mtk_pinctrl *hw = (struct mtk_pinctrl *)data; in mtk_xt_get_gpio_state()
319 struct mtk_pinctrl *hw = (struct mtk_pinctrl *)data; in mtk_xt_set_gpio_as_eint()
362 int mtk_build_eint(struct mtk_pinctrl *hw, struct platform_device *pdev) in mtk_build_eint()
409 int mtk_pinconf_bias_disable_set(struct mtk_pinctrl *hw, in mtk_pinconf_bias_disable_set()
428 int mtk_pinconf_bias_disable_get(struct mtk_pinctrl *hw, in mtk_pinconf_bias_disable_get()
451 int mtk_pinconf_bias_set(struct mtk_pinctrl *hw, in mtk_pinconf_bias_set()
471 int mtk_pinconf_bias_get(struct mtk_pinctrl *hw, in mtk_pinconf_bias_get()
492 int mtk_pinconf_bias_disable_set_rev1(struct mtk_pinctrl *hw, in mtk_pinconf_bias_disable_set_rev1()
506 int mtk_pinconf_bias_disable_get_rev1(struct mtk_pinctrl *hw, in mtk_pinconf_bias_disable_get_rev1()
524 int mtk_pinconf_bias_set_rev1(struct mtk_pinctrl *hw, in mtk_pinconf_bias_set_rev1()
544 int mtk_pinconf_bias_get_rev1(struct mtk_pinctrl *hw, in mtk_pinconf_bias_get_rev1()
575 static int mtk_pinconf_bias_set_pu_pd(struct mtk_pinctrl *hw, in mtk_pinconf_bias_set_pu_pd()
605 static int mtk_pinconf_bias_set_pullsel_pullen(struct mtk_pinctrl *hw, in mtk_pinconf_bias_set_pullsel_pullen()
630 static int mtk_pinconf_bias_set_pupd_r1_r0(struct mtk_pinctrl *hw, in mtk_pinconf_bias_set_pupd_r1_r0()
669 static int mtk_pinconf_bias_get_pu_pd(struct mtk_pinctrl *hw, in mtk_pinconf_bias_get_pu_pd()
699 static int mtk_pinconf_bias_get_pullsel_pullen(struct mtk_pinctrl *hw, in mtk_pinconf_bias_get_pullsel_pullen()
715 static int mtk_pinconf_bias_get_pupd_r1_r0(struct mtk_pinctrl *hw, in mtk_pinconf_bias_get_pupd_r1_r0()
750 int mtk_pinconf_bias_set_combo(struct mtk_pinctrl *hw, in mtk_pinconf_bias_set_combo()
771 int mtk_pinconf_bias_get_combo(struct mtk_pinctrl *hw, in mtk_pinconf_bias_get_combo()
793 int mtk_pinconf_drive_set(struct mtk_pinctrl *hw, in mtk_pinconf_drive_set()
822 int mtk_pinconf_drive_get(struct mtk_pinctrl *hw, in mtk_pinconf_drive_get()
848 int mtk_pinconf_drive_set_rev1(struct mtk_pinctrl *hw, in mtk_pinconf_drive_set_rev1()
869 int mtk_pinconf_drive_get_rev1(struct mtk_pinctrl *hw, in mtk_pinconf_drive_get_rev1()
887 int mtk_pinconf_drive_set_raw(struct mtk_pinctrl *hw, in mtk_pinconf_drive_set_raw()
894 int mtk_pinconf_drive_get_raw(struct mtk_pinctrl *hw, in mtk_pinconf_drive_get_raw()
901 int mtk_pinconf_adv_pull_set(struct mtk_pinctrl *hw, in mtk_pinconf_adv_pull_set()
944 int mtk_pinconf_adv_pull_get(struct mtk_pinctrl *hw, in mtk_pinconf_adv_pull_get()
987 int mtk_pinconf_adv_drive_set(struct mtk_pinctrl *hw, in mtk_pinconf_adv_drive_set()
1014 int mtk_pinconf_adv_drive_get(struct mtk_pinctrl *hw, in mtk_pinconf_adv_drive_get()