Lines Matching refs:mtk_pinctrl

55 	struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev);  in mtk_pinmux_gpio_request_enable()
68 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pinmux_gpio_set_direction()
80 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pinconf_get()
194 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pinconf_set()
307 mtk_pctrl_find_group_by_pin(struct mtk_pinctrl *hw, u32 pin) in mtk_pctrl_find_group_by_pin()
322 mtk_pctrl_find_function_by_pin(struct mtk_pinctrl *hw, u32 pin_num, u32 fnum) in mtk_pctrl_find_function_by_pin()
336 static bool mtk_pctrl_is_function_valid(struct mtk_pinctrl *hw, u32 pin_num, in mtk_pctrl_is_function_valid()
360 static int mtk_pctrl_dt_node_to_map_func(struct mtk_pinctrl *pctl, in mtk_pctrl_dt_node_to_map_func()
394 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pctrl_dt_subnode_to_map()
516 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pctrl_get_groups_count()
524 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pctrl_get_group_name()
533 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pctrl_get_group_pins()
541 static int mtk_hw_get_value_wrap(struct mtk_pinctrl *hw, unsigned int gpio, int field) in mtk_hw_get_value_wrap()
579 ssize_t mtk_pctrl_show_one_pin(struct mtk_pinctrl *hw, in mtk_pctrl_show_one_pin()
659 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pctrl_dbg_show()
692 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pmx_get_func_groups()
704 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pmx_set_mux()
739 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pconf_group_get()
749 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pconf_group_set()
783 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_get_direction()
811 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_get()
829 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_set()
842 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_direction_input()
853 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_direction_output()
865 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_to_irq()
882 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_set_config()
898 static int mtk_build_gpiochip(struct mtk_pinctrl *hw, struct device_node *np) in mtk_build_gpiochip()
928 struct mtk_pinctrl *hw = platform_get_drvdata(pdev); in mtk_pctrl_build_state()
960 struct mtk_pinctrl *hw; in mtk_paris_pinctrl_probe()
1054 struct mtk_pinctrl *pctl = dev_get_drvdata(device); in mtk_paris_pinctrl_suspend()
1061 struct mtk_pinctrl *pctl = dev_get_drvdata(device); in mtk_paris_pinctrl_resume()