Home
last modified time | relevance | path

Searched refs:mtk_pinctrl (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/pinctrl/mediatek/
H A Dpinctrl-mtk-common-v2.h231 struct mtk_pinctrl;
259 int (*bias_set)(struct mtk_pinctrl *hw,
261 int (*bias_get)(struct mtk_pinctrl *hw,
264 int (*bias_set_combo)(struct mtk_pinctrl *hw,
269 int (*drive_set)(struct mtk_pinctrl *hw,
271 int (*drive_get)(struct mtk_pinctrl *hw,
274 int (*adv_pull_set)(struct mtk_pinctrl *hw,
277 int (*adv_pull_get)(struct mtk_pinctrl *hw,
280 int (*adv_drive_set)(struct mtk_pinctrl *hw,
282 int (*adv_drive_get)(struct mtk_pinctrl *hw,
[all …]
H A Dpinctrl-mtk-common-v2.c145 static int mtk_hw_pin_field_get(struct mtk_pinctrl *hw, in mtk_hw_pin_field_get()
282 struct mtk_pinctrl *hw = (struct mtk_pinctrl *)data; in mtk_xt_get_gpio_n()
303 struct mtk_pinctrl *hw = (struct mtk_pinctrl *)data; in mtk_xt_get_gpio_state()
324 struct mtk_pinctrl *hw = (struct mtk_pinctrl *)data; in mtk_xt_set_gpio_as_eint()
456 int mtk_pinconf_bias_set(struct mtk_pinctrl *hw, in mtk_pinconf_bias_set()
476 int mtk_pinconf_bias_get(struct mtk_pinctrl *hw, in mtk_pinconf_bias_get()
523 int mtk_pinconf_bias_set_rev1(struct mtk_pinctrl *hw, in mtk_pinconf_bias_set_rev1()
543 int mtk_pinconf_bias_get_rev1(struct mtk_pinctrl *hw, in mtk_pinconf_bias_get_rev1()
971 int mtk_pinconf_drive_set(struct mtk_pinctrl *hw, in mtk_pinconf_drive_set()
1000 int mtk_pinconf_drive_get(struct mtk_pinctrl *hw, in mtk_pinconf_drive_get()
[all …]
H A Dpinctrl-mtk-common.c93 struct mtk_pinctrl *pctl = gpiochip_get_data(chip); in mtk_gpio_set()
195 struct mtk_pinctrl *pctl, unsigned long pin) { in mtk_find_pin_drv_grp_by_pin()
457 struct mtk_pinctrl *pctl, u32 pin_num, u32 fnum) in mtk_pctrl_find_function_by_pin()
830 struct mtk_pinctrl *pctl = gpiochip_get_data(chip); in mtk_gpio_get_direction()
850 struct mtk_pinctrl *pctl = gpiochip_get_data(chip); in mtk_gpio_get()
862 struct mtk_pinctrl *pctl = gpiochip_get_data(chip); in mtk_gpio_to_irq()
878 struct mtk_pinctrl *pctl = gpiochip_get_data(chip); in mtk_gpio_set_config()
964 struct mtk_pinctrl *pctl = (struct mtk_pinctrl *)data; in mtk_xt_get_gpio_n()
979 struct mtk_pinctrl *pctl = (struct mtk_pinctrl *)data; in mtk_xt_get_gpio_state()
991 struct mtk_pinctrl *pctl = (struct mtk_pinctrl *)data; in mtk_xt_set_gpio_as_eint()
[all …]
H A Dpinctrl-paris.c843 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_get_direction()
871 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_get()
889 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_set()
902 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_direction_input()
913 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_direction_output()
925 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_to_irq()
942 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_set_config()
958 static int mtk_build_gpiochip(struct mtk_pinctrl *hw) in mtk_build_gpiochip()
1018 struct mtk_pinctrl *hw; in mtk_paris_pinctrl_probe()
1110 struct mtk_pinctrl *pctl = dev_get_drvdata(device); in mtk_paris_pinctrl_suspend()
[all …]
H A Dpinctrl-moore.c45 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pinmux_set_mux()
81 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pinmux_gpio_request_enable()
96 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pinmux_gpio_set_direction()
481 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_get()
498 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_set()
525 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_to_irq()
542 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_set_config()
560 static int mtk_build_gpiochip(struct mtk_pinctrl *hw) in mtk_build_gpiochip()
601 static int mtk_build_groups(struct mtk_pinctrl *hw) in mtk_build_groups()
621 static int mtk_build_functions(struct mtk_pinctrl *hw) in mtk_build_functions()
[all …]
H A Dpinctrl-paris.h62 ssize_t mtk_pctrl_show_one_pin(struct mtk_pinctrl *hw,
H A Dpinctrl-mtk-common.h282 struct mtk_pinctrl { struct
H A Dpinctrl-mt7623.c1405 struct mtk_pinctrl *hw = platform_get_drvdata(pdev); in mt7623_bonding_disable()