Home
last modified time | relevance | path

Searched refs:PINCTRL_PIN_REG_DIR (Results 1 – 22 of 22) sorted by relevance

/openbmc/u-boot/drivers/pinctrl/mediatek/
H A Dpinctrl-mtk-common.c345 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 Dpinctrl-mtk-common.h40 PINCTRL_PIN_REG_DIR, enumerator
H A Dpinctrl-mt7629.c85 [PINCTRL_PIN_REG_DIR] = MTK_RANGE(mt7629_pin_dir_range),
H A Dpinctrl-mt7623.c267 [PINCTRL_PIN_REG_DIR] = MTK_RANGE(mt7623_pin_dir_range),
/openbmc/linux/drivers/pinctrl/mediatek/
H A Dpinctrl-moore.c104 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 Dpinctrl-paris.c126 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 Dpinctrl-mt6797.c41 [PINCTRL_PIN_REG_DIR] = MTK_RANGE(mt6797_pin_dir_range),
H A Dpinctrl-mt7629.c102 [PINCTRL_PIN_REG_DIR] = MTK_RANGE(mt7629_pin_dir_range),
H A Dpinctrl-mtk-common-v2.h72 PINCTRL_PIN_REG_DIR, enumerator
H A Dpinctrl-mt8183.c522 [PINCTRL_PIN_REG_DIR] = MTK_RANGE(mt8183_pin_dir_range),
H A Dpinctrl-mt6795.c459 [PINCTRL_PIN_REG_DIR] = MTK_RANGE(mt6795_pin_dir_range),
H A Dpinctrl-mt6779.c717 [PINCTRL_PIN_REG_DIR] = MTK_RANGE(mt6779_pin_dir_range),
H A Dpinctrl-mt7981.c473 [PINCTRL_PIN_REG_DIR] = MTK_RANGE(mt7981_pin_dir_range),
H A Dpinctrl-mt7622.c142 [PINCTRL_PIN_REG_DIR] = MTK_RANGE(mt7622_pin_dir_range),
H A Dpinctrl-mt8195.c913 [PINCTRL_PIN_REG_DIR] = MTK_RANGE(mt8195_pin_dir_range),
H A Dpinctrl-mt6765.c1040 [PINCTRL_PIN_REG_DIR] = MTK_RANGE(mt6765_pin_dir_range),
H A Dpinctrl-mt8186.c1198 [PINCTRL_PIN_REG_DIR] = MTK_RANGE(mt8186_pin_dir_range),
H A Dpinctrl-mt7986.c466 [PINCTRL_PIN_REG_DIR] = MTK_RANGE(mt7986_pin_dir_range),
H A Dpinctrl-mt8192.c1379 [PINCTRL_PIN_REG_DIR] = MTK_RANGE(mt8192_pin_dir_range),
H A Dpinctrl-mt8188.c1602 [PINCTRL_PIN_REG_DIR] = MTK_RANGE(mt8188_pin_dir_range),
H A Dpinctrl-mt7623.c402 [PINCTRL_PIN_REG_DIR] = MTK_RANGE(mt7623_pin_dir_range),
H A Dpinctrl-mtk-common-v2.c344 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, MTK_INPUT); in mtk_xt_set_gpio_as_eint()