Lines Matching refs:mtk_pinctrl

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