Lines Matching refs:mtk_pinctrl
102 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pinmux_gpio_request_enable()
115 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pinmux_gpio_set_direction()
127 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pinconf_get()
253 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pinconf_set()
363 mtk_pctrl_find_group_by_pin(struct mtk_pinctrl *hw, u32 pin) in mtk_pctrl_find_group_by_pin()
378 mtk_pctrl_find_function_by_pin(struct mtk_pinctrl *hw, u32 pin_num, u32 fnum) in mtk_pctrl_find_function_by_pin()
392 static bool mtk_pctrl_is_function_valid(struct mtk_pinctrl *hw, u32 pin_num, in mtk_pctrl_is_function_valid()
416 static int mtk_pctrl_dt_node_to_map_func(struct mtk_pinctrl *pctl, in mtk_pctrl_dt_node_to_map_func()
450 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pctrl_dt_subnode_to_map()
572 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pctrl_get_groups_count()
580 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pctrl_get_group_name()
589 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pctrl_get_group_pins()
597 static int mtk_hw_get_value_wrap(struct mtk_pinctrl *hw, unsigned int gpio, int field) in mtk_hw_get_value_wrap()
635 ssize_t mtk_pctrl_show_one_pin(struct mtk_pinctrl *hw, in mtk_pctrl_show_one_pin()
714 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pctrl_dbg_show()
747 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pmx_get_func_groups()
759 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pmx_set_mux()
794 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pconf_group_get()
804 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pconf_group_set()
852 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_get_direction()
880 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_get()
898 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_set()
911 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_direction_input()
922 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_direction_output()
934 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_to_irq()
951 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_set_config()
967 static int mtk_build_gpiochip(struct mtk_pinctrl *hw) in mtk_build_gpiochip()
996 struct mtk_pinctrl *hw = platform_get_drvdata(pdev); in mtk_pctrl_build_state()
1028 struct mtk_pinctrl *hw; in mtk_paris_pinctrl_probe()
1120 struct mtk_pinctrl *pctl = dev_get_drvdata(device); in mtk_paris_pinctrl_suspend()
1127 struct mtk_pinctrl *pctl = dev_get_drvdata(device); in mtk_paris_pinctrl_resume()