Lines Matching refs:mtk_pinctrl
232 struct mtk_pinctrl;
257 int (*bias_disable_set)(struct mtk_pinctrl *hw,
259 int (*bias_disable_get)(struct mtk_pinctrl *hw,
261 int (*bias_set)(struct mtk_pinctrl *hw,
263 int (*bias_get)(struct mtk_pinctrl *hw,
266 int (*bias_set_combo)(struct mtk_pinctrl *hw,
268 int (*bias_get_combo)(struct mtk_pinctrl *hw,
271 int (*drive_set)(struct mtk_pinctrl *hw,
273 int (*drive_get)(struct mtk_pinctrl *hw,
276 int (*adv_pull_set)(struct mtk_pinctrl *hw,
279 int (*adv_pull_get)(struct mtk_pinctrl *hw,
282 int (*adv_drive_set)(struct mtk_pinctrl *hw,
284 int (*adv_drive_get)(struct mtk_pinctrl *hw,
291 struct mtk_pinctrl { struct
307 void mtk_rmw(struct mtk_pinctrl *pctl, u8 i, u32 reg, u32 mask, u32 set); argument
309 int mtk_hw_set_value(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc,
311 int mtk_hw_get_value(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc,
314 int mtk_build_eint(struct mtk_pinctrl *hw, struct platform_device *pdev);
316 int mtk_pinconf_bias_disable_set(struct mtk_pinctrl *hw,
318 int mtk_pinconf_bias_disable_get(struct mtk_pinctrl *hw,
320 int mtk_pinconf_bias_set(struct mtk_pinctrl *hw,
322 int mtk_pinconf_bias_get(struct mtk_pinctrl *hw,
326 int mtk_pinconf_bias_disable_set_rev1(struct mtk_pinctrl *hw,
328 int mtk_pinconf_bias_disable_get_rev1(struct mtk_pinctrl *hw,
331 int mtk_pinconf_bias_set_rev1(struct mtk_pinctrl *hw,
333 int mtk_pinconf_bias_get_rev1(struct mtk_pinctrl *hw,
336 int mtk_pinconf_bias_set_combo(struct mtk_pinctrl *hw,
339 int mtk_pinconf_bias_get_combo(struct mtk_pinctrl *hw,
343 int mtk_pinconf_drive_set(struct mtk_pinctrl *hw,
345 int mtk_pinconf_drive_get(struct mtk_pinctrl *hw,
348 int mtk_pinconf_drive_set_rev1(struct mtk_pinctrl *hw,
350 int mtk_pinconf_drive_get_rev1(struct mtk_pinctrl *hw,
353 int mtk_pinconf_drive_set_raw(struct mtk_pinctrl *hw,
355 int mtk_pinconf_drive_get_raw(struct mtk_pinctrl *hw,
358 int mtk_pinconf_adv_pull_set(struct mtk_pinctrl *hw,
361 int mtk_pinconf_adv_pull_get(struct mtk_pinctrl *hw,
364 int mtk_pinconf_adv_drive_set(struct mtk_pinctrl *hw,
366 int mtk_pinconf_adv_drive_get(struct mtk_pinctrl *hw,
368 int mtk_pinconf_adv_drive_set_raw(struct mtk_pinctrl *hw,
370 int mtk_pinconf_adv_drive_get_raw(struct mtk_pinctrl *hw,
373 bool mtk_is_virt_gpio(struct mtk_pinctrl *hw, unsigned int gpio_n);