Home
last modified time | relevance | path

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

/drivers/pinctrl/mediatek/
A Dpinctrl-mtk-common-v2.h232 struct mtk_pinctrl;
261 int (*bias_set)(struct mtk_pinctrl *hw,
263 int (*bias_get)(struct mtk_pinctrl *hw,
266 int (*bias_set_combo)(struct mtk_pinctrl *hw,
271 int (*drive_set)(struct mtk_pinctrl *hw,
273 int (*drive_get)(struct mtk_pinctrl *hw,
276 int (*adv_pull_set)(struct mtk_pinctrl *hw,
279 int (*adv_pull_get)(struct mtk_pinctrl *hw,
282 int (*adv_drive_set)(struct mtk_pinctrl *hw,
284 int (*adv_drive_get)(struct mtk_pinctrl *hw,
[all …]
A Dpinctrl-mtk-common-v2.c146 static int mtk_hw_pin_field_get(struct mtk_pinctrl *hw, in mtk_hw_pin_field_get()
283 struct mtk_pinctrl *hw = (struct mtk_pinctrl *)data; in mtk_xt_get_gpio_n()
304 struct mtk_pinctrl *hw = (struct mtk_pinctrl *)data; in mtk_xt_get_gpio_state()
325 struct mtk_pinctrl *hw = (struct mtk_pinctrl *)data; in mtk_xt_set_gpio_as_eint()
484 int mtk_pinconf_bias_set(struct mtk_pinctrl *hw, in mtk_pinconf_bias_set()
504 int mtk_pinconf_bias_get(struct mtk_pinctrl *hw, in mtk_pinconf_bias_get()
551 int mtk_pinconf_bias_set_rev1(struct mtk_pinctrl *hw, in mtk_pinconf_bias_set_rev1()
571 int mtk_pinconf_bias_get_rev1(struct mtk_pinctrl *hw, in mtk_pinconf_bias_get_rev1()
1032 int mtk_pinconf_drive_set(struct mtk_pinctrl *hw, in mtk_pinconf_drive_set()
1061 int mtk_pinconf_drive_get(struct mtk_pinctrl *hw, in mtk_pinconf_drive_get()
[all …]
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()
827 struct mtk_pinctrl *pctl = gpiochip_get_data(chip); in mtk_gpio_get_direction()
847 struct mtk_pinctrl *pctl = gpiochip_get_data(chip); in mtk_gpio_get()
859 struct mtk_pinctrl *pctl = gpiochip_get_data(chip); in mtk_gpio_to_irq()
875 struct mtk_pinctrl *pctl = gpiochip_get_data(chip); in mtk_gpio_set_config()
960 struct mtk_pinctrl *pctl = (struct mtk_pinctrl *)data; in mtk_xt_get_gpio_n()
975 struct mtk_pinctrl *pctl = (struct mtk_pinctrl *)data; in mtk_xt_get_gpio_state()
987 struct mtk_pinctrl *pctl = (struct mtk_pinctrl *)data; in mtk_xt_set_gpio_as_eint()
[all …]
A Dpinctrl-paris.c624 ssize_t mtk_pctrl_show_one_pin(struct mtk_pinctrl *hw, in mtk_pctrl_show_one_pin()
839 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_get_direction()
864 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_get()
879 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_set()
906 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_to_irq()
923 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_set_config()
939 static int mtk_build_gpiochip(struct mtk_pinctrl *hw) in mtk_build_gpiochip()
967 struct mtk_pinctrl *hw = platform_get_drvdata(pdev); in mtk_pctrl_build_state()
999 struct mtk_pinctrl *hw; in mtk_paris_pinctrl_probe()
1088 struct mtk_pinctrl *pctl = dev_get_drvdata(device); in mtk_paris_pinctrl_suspend()
[all …]
A Dpinctrl-moore.c45 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pinmux_set_mux()
84 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pinmux_gpio_request_enable()
99 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pinmux_gpio_set_direction()
484 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_get()
501 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()
620 static int mtk_build_functions(struct mtk_pinctrl *hw) in mtk_build_functions()
[all …]
A Dpinctrl-paris.h67 ssize_t mtk_pctrl_show_one_pin(struct mtk_pinctrl *hw,
A Dpinctrl-mtk-common.h282 struct mtk_pinctrl { struct
A Dpinctrl-mt7623.c1405 struct mtk_pinctrl *hw = platform_get_drvdata(pdev); in mt7623_bonding_disable()

Completed in 23 milliseconds