Lines Matching refs:mtk_pinctrl

107 	struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev);  in mtk_pinmux_gpio_request_enable()
120 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pinmux_gpio_set_direction()
132 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pinconf_get()
261 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pinconf_set()
354 mtk_pctrl_find_group_by_pin(struct mtk_pinctrl *hw, u32 pin) in mtk_pctrl_find_group_by_pin()
369 mtk_pctrl_find_function_by_pin(struct mtk_pinctrl *hw, u32 pin_num, u32 fnum) in mtk_pctrl_find_function_by_pin()
383 static bool mtk_pctrl_is_function_valid(struct mtk_pinctrl *hw, u32 pin_num, in mtk_pctrl_is_function_valid()
407 static int mtk_pctrl_dt_node_to_map_func(struct mtk_pinctrl *pctl, in mtk_pctrl_dt_node_to_map_func()
441 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pctrl_dt_subnode_to_map()
561 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pctrl_get_groups_count()
569 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pctrl_get_group_name()
578 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pctrl_get_group_pins()
586 static int mtk_hw_get_value_wrap(struct mtk_pinctrl *hw, unsigned int gpio, int field) in mtk_hw_get_value_wrap()
624 ssize_t mtk_pctrl_show_one_pin(struct mtk_pinctrl *hw, in mtk_pctrl_show_one_pin()
703 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pctrl_dbg_show()
736 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pmx_get_func_groups()
748 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pmx_set_mux()
781 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pconf_group_get()
791 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pconf_group_set()
839 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_get_direction()
867 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_get()
885 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_set()
898 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_direction_input()
909 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_direction_output()
921 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_to_irq()
938 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_set_config()
954 static int mtk_build_gpiochip(struct mtk_pinctrl *hw) in mtk_build_gpiochip()
982 struct mtk_pinctrl *hw = platform_get_drvdata(pdev); in mtk_pctrl_build_state()
1014 struct mtk_pinctrl *hw; in mtk_paris_pinctrl_probe()
1103 struct mtk_pinctrl *pctl = dev_get_drvdata(device); in mtk_paris_pinctrl_suspend()
1110 struct mtk_pinctrl *pctl = dev_get_drvdata(device); in mtk_paris_pinctrl_resume()