Searched refs:mtk_pinctrl (Results 1 – 9 of 9) sorted by relevance
| /linux-6.15/drivers/pinctrl/mediatek/ |
| H A D | pinctrl-mtk-common-v2.h | 232 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 …]
|
| H A D | pinctrl-mtk-common-v2.c | 146 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() 481 int mtk_pinconf_bias_set(struct mtk_pinctrl *hw, in mtk_pinconf_bias_set() 501 int mtk_pinconf_bias_get(struct mtk_pinctrl *hw, in mtk_pinconf_bias_get() 548 int mtk_pinconf_bias_set_rev1(struct mtk_pinctrl *hw, in mtk_pinconf_bias_set_rev1() 568 int mtk_pinconf_bias_get_rev1(struct mtk_pinctrl *hw, in mtk_pinconf_bias_get_rev1() 1029 int mtk_pinconf_drive_set(struct mtk_pinctrl *hw, in mtk_pinconf_drive_set() 1058 int mtk_pinconf_drive_get(struct mtk_pinctrl *hw, in mtk_pinconf_drive_get() [all …]
|
| H A D | pinctrl-mtk-common.c | 93 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() 822 struct mtk_pinctrl *pctl = gpiochip_get_data(chip); in mtk_gpio_get_direction() 842 struct mtk_pinctrl *pctl = gpiochip_get_data(chip); in mtk_gpio_get() 854 struct mtk_pinctrl *pctl = gpiochip_get_data(chip); in mtk_gpio_to_irq() 870 struct mtk_pinctrl *pctl = gpiochip_get_data(chip); in mtk_gpio_set_config() 955 struct mtk_pinctrl *pctl = (struct mtk_pinctrl *)data; in mtk_xt_get_gpio_n() 970 struct mtk_pinctrl *pctl = (struct mtk_pinctrl *)data; in mtk_xt_get_gpio_state() 982 struct mtk_pinctrl *pctl = (struct mtk_pinctrl *)data; in mtk_xt_set_gpio_as_eint() [all …]
|
| H A D | pinctrl-paris.c | 839 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_get_direction() 867 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_get() 885 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_set() 898 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_direction_input() 909 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_direction_output() 921 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_to_irq() 938 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_set_config() 954 static int mtk_build_gpiochip(struct mtk_pinctrl *hw) in mtk_build_gpiochip() 1014 struct mtk_pinctrl *hw; in mtk_paris_pinctrl_probe() 1103 struct mtk_pinctrl *pctl = dev_get_drvdata(device); in mtk_paris_pinctrl_suspend() [all …]
|
| H A D | pinctrl-moore.c | 45 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() 523 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_to_irq() 540 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_set_config() 558 static int mtk_build_gpiochip(struct mtk_pinctrl *hw) in mtk_build_gpiochip() 599 static int mtk_build_groups(struct mtk_pinctrl *hw) in mtk_build_groups() 618 static int mtk_build_functions(struct mtk_pinctrl *hw) in mtk_build_functions() [all …]
|
| H A D | pinctrl-paris.h | 67 ssize_t mtk_pctrl_show_one_pin(struct mtk_pinctrl *hw,
|
| H A D | pinctrl-mtk-common.h | 282 struct mtk_pinctrl { struct
|
| H A D | mtk-eint.c | 511 struct mtk_pinctrl *hw = (struct mtk_pinctrl *)eint->pctl; in mtk_eint_do_init()
|
| H A D | pinctrl-mt7623.c | 1405 struct mtk_pinctrl *hw = platform_get_drvdata(pdev); in mt7623_bonding_disable()
|