Searched refs:mtk_pinctrl (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/pinctrl/mediatek/ |
| A D | pinctrl-mtk-common-v2.h | 231 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 …]
|
| A D | pinctrl-mtk-common-v2.c | 145 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 …]
|
| 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 …]
|
| 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 …]
|
| 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 …]
|
| A D | pinctrl-paris.h | 60 ssize_t mtk_pctrl_show_one_pin(struct mtk_pinctrl *hw,
|
| A D | pinctrl-mtk-common.h | 282 struct mtk_pinctrl { struct
|
| A D | pinctrl-mt7623.c | 1405 struct mtk_pinctrl *hw = platform_get_drvdata(pdev); in mt7623_bonding_disable()
|
Completed in 33 milliseconds