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)
72 static int mtk_hw_pin_field_lookup(struct mtk_pinctrl *hw,
145 static int mtk_hw_pin_field_get(struct mtk_pinctrl *hw,
163 static void mtk_hw_write_cross_field(struct mtk_pinctrl *hw,
177 static void mtk_hw_read_cross_field(struct mtk_pinctrl *hw,
192 int mtk_hw_set_value(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc,
215 int mtk_hw_get_value(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc,
235 static int mtk_xt_find_eint_num(struct mtk_pinctrl *hw, unsigned long eint_n)
260 bool mtk_is_virt_gpio(struct mtk_pinctrl *hw, unsigned int gpio_n)
282 struct mtk_pinctrl *hw = (struct mtk_pinctrl *)data;
303 struct mtk_pinctrl *hw = (struct mtk_pinctrl *)data;
324 struct mtk_pinctrl *hw = (struct mtk_pinctrl *)data;
367 int mtk_build_eint(struct mtk_pinctrl *hw, struct platform_device *pdev)
414 int mtk_pinconf_bias_disable_set(struct mtk_pinctrl *hw,
433 int mtk_pinconf_bias_disable_get(struct mtk_pinctrl *hw,
456 int mtk_pinconf_bias_set(struct mtk_pinctrl *hw,
476 int mtk_pinconf_bias_get(struct mtk_pinctrl *hw,
497 int mtk_pinconf_bias_disable_set_rev1(struct mtk_pinctrl *hw,
505 int mtk_pinconf_bias_disable_get_rev1(struct mtk_pinctrl *hw,
523 int mtk_pinconf_bias_set_rev1(struct mtk_pinctrl *hw,
543 int mtk_pinconf_bias_get_rev1(struct mtk_pinctrl *hw,
574 static int mtk_pinconf_bias_set_pu_pd(struct mtk_pinctrl *hw,
604 static int mtk_pinconf_bias_set_pullsel_pullen(struct mtk_pinctrl *hw,
629 static int mtk_pinconf_bias_set_pupd_r1_r0(struct mtk_pinctrl *hw,
668 static int mtk_hw_pin_rsel_lookup(struct mtk_pinctrl *hw,
706 static int mtk_pinconf_bias_set_rsel(struct mtk_pinctrl *hw,
740 int mtk_pinconf_bias_set_combo(struct mtk_pinctrl *hw,
781 static int mtk_rsel_get_si_unit(struct mtk_pinctrl *hw,
806 static int mtk_pinconf_bias_get_rsel(struct mtk_pinctrl *hw,
848 static int mtk_pinconf_bias_get_pu_pd(struct mtk_pinctrl *hw,
878 static int mtk_pinconf_bias_get_pullsel_pullen(struct mtk_pinctrl *hw,
894 static int mtk_pinconf_bias_get_pupd_r1_r0(struct mtk_pinctrl *hw,
929 int mtk_pinconf_bias_get_combo(struct mtk_pinctrl *hw,
968 int mtk_pinconf_drive_set(struct mtk_pinctrl *hw,
997 int mtk_pinconf_drive_get(struct mtk_pinctrl *hw,
1023 int mtk_pinconf_drive_set_rev1(struct mtk_pinctrl *hw,
1044 int mtk_pinconf_drive_get_rev1(struct mtk_pinctrl *hw,
1062 int mtk_pinconf_drive_set_raw(struct mtk_pinctrl *hw,
1069 int mtk_pinconf_drive_get_raw(struct mtk_pinctrl *hw,
1076 int mtk_pinconf_adv_pull_set(struct mtk_pinctrl *hw,
1119 int mtk_pinconf_adv_pull_get(struct mtk_pinctrl *hw,
1162 int mtk_pinconf_adv_drive_set(struct mtk_pinctrl *hw,
1189 int mtk_pinconf_adv_drive_get(struct mtk_pinctrl *hw,
1213 int mtk_pinconf_adv_drive_set_raw(struct mtk_pinctrl *hw,
1220 int mtk_pinconf_adv_drive_get_raw(struct mtk_pinctrl *hw,