/openbmc/u-boot/drivers/pinctrl/mediatek/ |
H A D | pinctrl-mtk-common.c | 345 err = mtk_hw_set_value(dev, pin, PINCTRL_PIN_REG_DIR, 1); in mtk_pinconf_set() 353 err = mtk_hw_set_value(dev, pin, PINCTRL_PIN_REG_DIR, 0); in mtk_pinconf_set() 358 err = mtk_hw_set_value(dev, pin, PINCTRL_PIN_REG_DIR, 1); in mtk_pinconf_set() 371 err = mtk_hw_set_value(dev, pin, PINCTRL_PIN_REG_DIR, in mtk_pinconf_set() 452 err = mtk_hw_get_value(dev->parent, off, PINCTRL_PIN_REG_DIR, &val); in mtk_gpio_get_direction() 461 return mtk_hw_set_value(dev->parent, off, PINCTRL_PIN_REG_DIR, 0); in mtk_gpio_direction_input() 470 return mtk_hw_set_value(dev->parent, off, PINCTRL_PIN_REG_DIR, 1); in mtk_gpio_direction_output()
|
H A D | pinctrl-mtk-common.h | 40 PINCTRL_PIN_REG_DIR, enumerator
|
H A D | pinctrl-mt7629.c | 85 [PINCTRL_PIN_REG_DIR] = MTK_RANGE(mt7629_pin_dir_range),
|
H A D | pinctrl-mt7623.c | 267 [PINCTRL_PIN_REG_DIR] = MTK_RANGE(mt7623_pin_dir_range),
|
/openbmc/linux/drivers/pinctrl/mediatek/ |
H A D | pinctrl-moore.c | 104 return mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, !input); in mtk_pinmux_gpio_set_direction() 180 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DIR, &val); in mtk_pinconf_get() 191 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DIR, &val); in mtk_pinconf_get() 308 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, in mtk_pinconf_set() 320 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, in mtk_pinconf_set() 333 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, in mtk_pinconf_set() 348 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, in mtk_pinconf_set()
|
H A D | pinctrl-paris.c | 126 return mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, !input); in mtk_pinmux_gpio_set_direction() 173 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DIR, &ret); in mtk_pinconf_get() 185 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DIR, &ret); in mtk_pinconf_get() 301 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, in mtk_pinconf_set() 309 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, !arg); in mtk_pinconf_set() 609 mtk_hw_get_value_wrap(hw, gpio, PINCTRL_PIN_REG_DIR) 859 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DIR, &value); in mtk_gpio_get_direction()
|
H A D | pinctrl-mt6797.c | 41 [PINCTRL_PIN_REG_DIR] = MTK_RANGE(mt6797_pin_dir_range),
|
H A D | pinctrl-mt7629.c | 102 [PINCTRL_PIN_REG_DIR] = MTK_RANGE(mt7629_pin_dir_range),
|
H A D | pinctrl-mtk-common-v2.h | 72 PINCTRL_PIN_REG_DIR, enumerator
|
H A D | pinctrl-mt8183.c | 522 [PINCTRL_PIN_REG_DIR] = MTK_RANGE(mt8183_pin_dir_range),
|
H A D | pinctrl-mt6795.c | 459 [PINCTRL_PIN_REG_DIR] = MTK_RANGE(mt6795_pin_dir_range),
|
H A D | pinctrl-mt6779.c | 717 [PINCTRL_PIN_REG_DIR] = MTK_RANGE(mt6779_pin_dir_range),
|
H A D | pinctrl-mt7981.c | 473 [PINCTRL_PIN_REG_DIR] = MTK_RANGE(mt7981_pin_dir_range),
|
H A D | pinctrl-mt7622.c | 142 [PINCTRL_PIN_REG_DIR] = MTK_RANGE(mt7622_pin_dir_range),
|
H A D | pinctrl-mt8195.c | 913 [PINCTRL_PIN_REG_DIR] = MTK_RANGE(mt8195_pin_dir_range),
|
H A D | pinctrl-mt6765.c | 1040 [PINCTRL_PIN_REG_DIR] = MTK_RANGE(mt6765_pin_dir_range),
|
H A D | pinctrl-mt8186.c | 1198 [PINCTRL_PIN_REG_DIR] = MTK_RANGE(mt8186_pin_dir_range),
|
H A D | pinctrl-mt7986.c | 466 [PINCTRL_PIN_REG_DIR] = MTK_RANGE(mt7986_pin_dir_range),
|
H A D | pinctrl-mt8192.c | 1379 [PINCTRL_PIN_REG_DIR] = MTK_RANGE(mt8192_pin_dir_range),
|
H A D | pinctrl-mt8188.c | 1602 [PINCTRL_PIN_REG_DIR] = MTK_RANGE(mt8188_pin_dir_range),
|
H A D | pinctrl-mt7623.c | 402 [PINCTRL_PIN_REG_DIR] = MTK_RANGE(mt7623_pin_dir_range),
|
H A D | pinctrl-mtk-common-v2.c | 344 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, MTK_INPUT); in mtk_xt_set_gpio_as_eint()
|