Lines Matching refs:mtk_pinctrl
189 struct mtk_pinctrl;
210 int (*bias_disable_set)(struct mtk_pinctrl *hw,
212 int (*bias_disable_get)(struct mtk_pinctrl *hw,
214 int (*bias_set)(struct mtk_pinctrl *hw,
216 int (*bias_get)(struct mtk_pinctrl *hw,
219 int (*bias_set_combo)(struct mtk_pinctrl *hw,
221 int (*bias_get_combo)(struct mtk_pinctrl *hw,
224 int (*drive_set)(struct mtk_pinctrl *hw,
226 int (*drive_get)(struct mtk_pinctrl *hw,
229 int (*adv_pull_set)(struct mtk_pinctrl *hw,
232 int (*adv_pull_get)(struct mtk_pinctrl *hw,
235 int (*adv_drive_set)(struct mtk_pinctrl *hw,
237 int (*adv_drive_get)(struct mtk_pinctrl *hw,
244 struct mtk_pinctrl {
256 void mtk_rmw(struct mtk_pinctrl *pctl, u8 i, u32 reg, u32 mask, u32 set);
258 int mtk_hw_set_value(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc,
260 int mtk_hw_get_value(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc,
263 int mtk_build_eint(struct mtk_pinctrl *hw, struct platform_device *pdev);
265 int mtk_pinconf_bias_disable_set(struct mtk_pinctrl *hw,
267 int mtk_pinconf_bias_disable_get(struct mtk_pinctrl *hw,
269 int mtk_pinconf_bias_set(struct mtk_pinctrl *hw,
271 int mtk_pinconf_bias_get(struct mtk_pinctrl *hw,
275 int mtk_pinconf_bias_disable_set_rev1(struct mtk_pinctrl *hw,
277 int mtk_pinconf_bias_disable_get_rev1(struct mtk_pinctrl *hw,
280 int mtk_pinconf_bias_set_rev1(struct mtk_pinctrl *hw,
282 int mtk_pinconf_bias_get_rev1(struct mtk_pinctrl *hw,
285 int mtk_pinconf_bias_set_combo(struct mtk_pinctrl *hw,
288 int mtk_pinconf_bias_get_combo(struct mtk_pinctrl *hw,
292 int mtk_pinconf_drive_set(struct mtk_pinctrl *hw,
294 int mtk_pinconf_drive_get(struct mtk_pinctrl *hw,
297 int mtk_pinconf_drive_set_rev1(struct mtk_pinctrl *hw,
299 int mtk_pinconf_drive_get_rev1(struct mtk_pinctrl *hw,
302 int mtk_pinconf_drive_set_raw(struct mtk_pinctrl *hw,
304 int mtk_pinconf_drive_get_raw(struct mtk_pinctrl *hw,
307 int mtk_pinconf_adv_pull_set(struct mtk_pinctrl *hw,
310 int mtk_pinconf_adv_pull_get(struct mtk_pinctrl *hw,
313 int mtk_pinconf_adv_drive_set(struct mtk_pinctrl *hw,
315 int mtk_pinconf_adv_drive_get(struct mtk_pinctrl *hw,
318 bool mtk_is_virt_gpio(struct mtk_pinctrl *hw, unsigned int gpio_n);