Lines Matching refs:mtk_pinctrl

231 struct mtk_pinctrl;
255 int (*bias_disable_set)(struct mtk_pinctrl *hw,
257 int (*bias_disable_get)(struct mtk_pinctrl *hw,
259 int (*bias_set)(struct mtk_pinctrl *hw,
261 int (*bias_get)(struct mtk_pinctrl *hw,
264 int (*bias_set_combo)(struct mtk_pinctrl *hw,
266 int (*bias_get_combo)(struct mtk_pinctrl *hw,
269 int (*drive_set)(struct mtk_pinctrl *hw,
271 int (*drive_get)(struct mtk_pinctrl *hw,
274 int (*adv_pull_set)(struct mtk_pinctrl *hw,
277 int (*adv_pull_get)(struct mtk_pinctrl *hw,
280 int (*adv_drive_set)(struct mtk_pinctrl *hw,
282 int (*adv_drive_get)(struct mtk_pinctrl *hw,
289 struct mtk_pinctrl { struct
305 void mtk_rmw(struct mtk_pinctrl *pctl, u8 i, u32 reg, u32 mask, u32 set); argument
307 int mtk_hw_set_value(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc,
309 int mtk_hw_get_value(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc,
312 int mtk_build_eint(struct mtk_pinctrl *hw, struct platform_device *pdev);
314 int mtk_pinconf_bias_disable_set(struct mtk_pinctrl *hw,
316 int mtk_pinconf_bias_disable_get(struct mtk_pinctrl *hw,
318 int mtk_pinconf_bias_set(struct mtk_pinctrl *hw,
320 int mtk_pinconf_bias_get(struct mtk_pinctrl *hw,
324 int mtk_pinconf_bias_disable_set_rev1(struct mtk_pinctrl *hw,
326 int mtk_pinconf_bias_disable_get_rev1(struct mtk_pinctrl *hw,
329 int mtk_pinconf_bias_set_rev1(struct mtk_pinctrl *hw,
331 int mtk_pinconf_bias_get_rev1(struct mtk_pinctrl *hw,
334 int mtk_pinconf_bias_set_combo(struct mtk_pinctrl *hw,
337 int mtk_pinconf_bias_get_combo(struct mtk_pinctrl *hw,
341 int mtk_pinconf_drive_set(struct mtk_pinctrl *hw,
343 int mtk_pinconf_drive_get(struct mtk_pinctrl *hw,
346 int mtk_pinconf_drive_set_rev1(struct mtk_pinctrl *hw,
348 int mtk_pinconf_drive_get_rev1(struct mtk_pinctrl *hw,
351 int mtk_pinconf_drive_set_raw(struct mtk_pinctrl *hw,
353 int mtk_pinconf_drive_get_raw(struct mtk_pinctrl *hw,
356 int mtk_pinconf_adv_pull_set(struct mtk_pinctrl *hw,
359 int mtk_pinconf_adv_pull_get(struct mtk_pinctrl *hw,
362 int mtk_pinconf_adv_drive_set(struct mtk_pinctrl *hw,
364 int mtk_pinconf_adv_drive_get(struct mtk_pinctrl *hw,
366 int mtk_pinconf_adv_drive_set_raw(struct mtk_pinctrl *hw,
368 int mtk_pinconf_adv_drive_get_raw(struct mtk_pinctrl *hw,
371 bool mtk_is_virt_gpio(struct mtk_pinctrl *hw, unsigned int gpio_n);