Home
last modified time | relevance | path

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

/linux/drivers/gpio/
H A Dgpio-ts4900.c20 #define TS4900_GPIO_OE 0x01 macro
39 if (reg & TS4900_GPIO_OE) in ts4900_gpio_get_direction()
54 return regmap_update_bits(priv->regmap, offset, TS4900_GPIO_OE, 0); in ts4900_gpio_direction_input()
70 if (!(reg & TS4900_GPIO_OE)) { in ts4900_gpio_direction_output()
80 ret = regmap_write(priv->regmap, offset, TS4900_GPIO_OE | in ts4900_gpio_direction_output()
83 ret = regmap_write(priv->regmap, offset, TS4900_GPIO_OE); in ts4900_gpio_direction_output()