Lines Matching refs:mtk_pinctrl
54 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pinmux_gpio_request_enable()
67 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pinmux_gpio_set_direction()
79 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pinconf_get()
204 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pinconf_set()
344 mtk_pctrl_find_group_by_pin(struct mtk_pinctrl *hw, u32 pin) in mtk_pctrl_find_group_by_pin()
359 mtk_pctrl_find_function_by_pin(struct mtk_pinctrl *hw, u32 pin_num, u32 fnum) in mtk_pctrl_find_function_by_pin()
373 static bool mtk_pctrl_is_function_valid(struct mtk_pinctrl *hw, u32 pin_num, in mtk_pctrl_is_function_valid()
397 static int mtk_pctrl_dt_node_to_map_func(struct mtk_pinctrl *pctl, in mtk_pctrl_dt_node_to_map_func()
431 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pctrl_dt_subnode_to_map()
553 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pctrl_get_groups_count()
561 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pctrl_get_group_name()
570 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pctrl_get_group_pins()
602 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pmx_get_func_groups()
614 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pmx_set_mux()
649 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pconf_group_get()
659 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pconf_group_set()
692 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_get_direction()
707 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_get()
722 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_set()
745 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_to_irq()
762 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_set_config()
778 static int mtk_build_gpiochip(struct mtk_pinctrl *hw, struct device_node *np) in mtk_build_gpiochip()
808 struct mtk_pinctrl *hw = platform_get_drvdata(pdev); in mtk_pctrl_build_state()
840 struct mtk_pinctrl *hw; in mtk_paris_pinctrl_probe()
932 struct mtk_pinctrl *pctl = dev_get_drvdata(device); in mtk_paris_pinctrl_suspend()
939 struct mtk_pinctrl *pctl = dev_get_drvdata(device); in mtk_paris_pinctrl_resume()