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() 963 int mtk_pinconf_drive_set(struct mtk_pinctrl *hw, in mtk_pinconf_drive_set() 992 int mtk_pinconf_drive_get(struct mtk_pinctrl *hw, in mtk_pinconf_drive_get() [all …]
|
A D | pinctrl-mtk-common.c | 95 struct mtk_pinctrl *pctl = gpiochip_get_data(chip); in mtk_gpio_set() 180 struct mtk_pinctrl *pctl, unsigned long pin) { in mtk_find_pin_drv_grp_by_pin() 424 struct mtk_pinctrl *pctl, u32 pin_num, u32 fnum) in mtk_pctrl_find_function_by_pin() 797 struct mtk_pinctrl *pctl = gpiochip_get_data(chip); in mtk_gpio_get_direction() 817 struct mtk_pinctrl *pctl = gpiochip_get_data(chip); in mtk_gpio_get() 829 struct mtk_pinctrl *pctl = gpiochip_get_data(chip); in mtk_gpio_to_irq() 845 struct mtk_pinctrl *pctl = gpiochip_get_data(chip); in mtk_gpio_set_config() 932 struct mtk_pinctrl *pctl = (struct mtk_pinctrl *)data; in mtk_xt_get_gpio_n() 947 struct mtk_pinctrl *pctl = (struct mtk_pinctrl *)data; in mtk_xt_get_gpio_state() 959 struct mtk_pinctrl *pctl = (struct mtk_pinctrl *)data; in mtk_xt_set_gpio_as_eint() [all …]
|
A D | pinctrl-paris.c | 783 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_get_direction() 811 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_get() 829 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_set() 842 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_direction_input() 853 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_direction_output() 865 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_to_irq() 882 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_set_config() 928 struct mtk_pinctrl *hw = platform_get_drvdata(pdev); in mtk_pctrl_build_state() 960 struct mtk_pinctrl *hw; in mtk_paris_pinctrl_probe() 1054 struct mtk_pinctrl *pctl = dev_get_drvdata(device); in mtk_paris_pinctrl_suspend() [all …]
|
A D | pinctrl-moore.c | 41 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pinmux_set_mux() 77 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pinmux_gpio_request_enable() 92 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pinmux_gpio_set_direction() 106 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pinconf_get() 443 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_get() 460 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_set() 487 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_to_irq() 504 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_set_config() 565 static int mtk_build_groups(struct mtk_pinctrl *hw) in mtk_build_groups() 585 static int mtk_build_functions(struct mtk_pinctrl *hw) in mtk_build_functions() [all …]
|
A D | pinctrl-paris.h | 63 ssize_t mtk_pctrl_show_one_pin(struct mtk_pinctrl *hw,
|
A D | pinctrl-mtk-common.h | 262 struct mtk_pinctrl { struct
|
A D | pinctrl-mt7623.c | 1404 struct mtk_pinctrl *hw = platform_get_drvdata(pdev); in mt7623_bonding_disable()
|
Completed in 25 milliseconds