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()
72 static int mtk_hw_pin_field_lookup(struct mtk_pinctrl *hw, in mtk_hw_pin_field_lookup()
145 static int mtk_hw_pin_field_get(struct mtk_pinctrl *hw, in mtk_hw_pin_field_get()
163 static void mtk_hw_write_cross_field(struct mtk_pinctrl *hw, in mtk_hw_write_cross_field()
177 static void mtk_hw_read_cross_field(struct mtk_pinctrl *hw, in mtk_hw_read_cross_field()
192 int mtk_hw_set_value(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, in mtk_hw_set_value()
215 int mtk_hw_get_value(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, in mtk_hw_get_value()
235 static int mtk_xt_find_eint_num(struct mtk_pinctrl *hw, unsigned long eint_n) in mtk_xt_find_eint_num()
260 bool mtk_is_virt_gpio(struct mtk_pinctrl *hw, unsigned int gpio_n) in mtk_is_virt_gpio()
282 struct mtk_pinctrl *hw = (struct mtk_pinctrl *)data; in mtk_xt_get_gpio_n()
303 struct mtk_pinctrl *hw = (struct mtk_pinctrl *)data; in mtk_xt_get_gpio_state()
324 struct mtk_pinctrl *hw = (struct mtk_pinctrl *)data; in mtk_xt_set_gpio_as_eint()
367 int mtk_build_eint(struct mtk_pinctrl *hw, struct platform_device *pdev) in mtk_build_eint()
414 int mtk_pinconf_bias_disable_set(struct mtk_pinctrl *hw, in mtk_pinconf_bias_disable_set()
433 int mtk_pinconf_bias_disable_get(struct mtk_pinctrl *hw, in mtk_pinconf_bias_disable_get()
456 int mtk_pinconf_bias_set(struct mtk_pinctrl *hw, in mtk_pinconf_bias_set()
476 int mtk_pinconf_bias_get(struct mtk_pinctrl *hw, in mtk_pinconf_bias_get()
497 int mtk_pinconf_bias_disable_set_rev1(struct mtk_pinctrl *hw, in mtk_pinconf_bias_disable_set_rev1()
505 int mtk_pinconf_bias_disable_get_rev1(struct mtk_pinctrl *hw, in mtk_pinconf_bias_disable_get_rev1()
523 int mtk_pinconf_bias_set_rev1(struct mtk_pinctrl *hw, in mtk_pinconf_bias_set_rev1()
543 int mtk_pinconf_bias_get_rev1(struct mtk_pinctrl *hw, in mtk_pinconf_bias_get_rev1()
574 static int mtk_pinconf_bias_set_pu_pd(struct mtk_pinctrl *hw, in mtk_pinconf_bias_set_pu_pd()
604 static int mtk_pinconf_bias_set_pullsel_pullen(struct mtk_pinctrl *hw, in mtk_pinconf_bias_set_pullsel_pullen()
629 static int mtk_pinconf_bias_set_pupd_r1_r0(struct mtk_pinctrl *hw, in mtk_pinconf_bias_set_pupd_r1_r0()
668 static int mtk_hw_pin_rsel_lookup(struct mtk_pinctrl *hw, in mtk_hw_pin_rsel_lookup()
706 static int mtk_pinconf_bias_set_rsel(struct mtk_pinctrl *hw, in mtk_pinconf_bias_set_rsel()
737 int mtk_pinconf_bias_set_combo(struct mtk_pinctrl *hw, in mtk_pinconf_bias_set_combo()
778 static int mtk_rsel_get_si_unit(struct mtk_pinctrl *hw, in mtk_rsel_get_si_unit()
803 static int mtk_pinconf_bias_get_rsel(struct mtk_pinctrl *hw, in mtk_pinconf_bias_get_rsel()
845 static int mtk_pinconf_bias_get_pu_pd(struct mtk_pinctrl *hw, in mtk_pinconf_bias_get_pu_pd()
875 static int mtk_pinconf_bias_get_pullsel_pullen(struct mtk_pinctrl *hw, in mtk_pinconf_bias_get_pullsel_pullen()
891 static int mtk_pinconf_bias_get_pupd_r1_r0(struct mtk_pinctrl *hw, in mtk_pinconf_bias_get_pupd_r1_r0()
926 int mtk_pinconf_bias_get_combo(struct mtk_pinctrl *hw, in mtk_pinconf_bias_get_combo()
965 int mtk_pinconf_drive_set(struct mtk_pinctrl *hw, in mtk_pinconf_drive_set()
994 int mtk_pinconf_drive_get(struct mtk_pinctrl *hw, in mtk_pinconf_drive_get()
1020 int mtk_pinconf_drive_set_rev1(struct mtk_pinctrl *hw, in mtk_pinconf_drive_set_rev1()
1041 int mtk_pinconf_drive_get_rev1(struct mtk_pinctrl *hw, in mtk_pinconf_drive_get_rev1()
1059 int mtk_pinconf_drive_set_raw(struct mtk_pinctrl *hw, in mtk_pinconf_drive_set_raw()
1066 int mtk_pinconf_drive_get_raw(struct mtk_pinctrl *hw, in mtk_pinconf_drive_get_raw()
1073 int mtk_pinconf_adv_pull_set(struct mtk_pinctrl *hw, in mtk_pinconf_adv_pull_set()
1116 int mtk_pinconf_adv_pull_get(struct mtk_pinctrl *hw, in mtk_pinconf_adv_pull_get()
1159 int mtk_pinconf_adv_drive_set(struct mtk_pinctrl *hw, in mtk_pinconf_adv_drive_set()
1186 int mtk_pinconf_adv_drive_get(struct mtk_pinctrl *hw, in mtk_pinconf_adv_drive_get()
1210 int mtk_pinconf_adv_drive_set_raw(struct mtk_pinctrl *hw, in mtk_pinconf_adv_drive_set_raw()
1217 int mtk_pinconf_adv_drive_get_raw(struct mtk_pinctrl *hw, in mtk_pinconf_adv_drive_get_raw()