Searched refs:TS4900_GPIO_OE (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpio/ |
H A D | gpio-ts4900.c | 28 #define TS4900_GPIO_OE 0x01 macro 47 if (reg & TS4900_GPIO_OE) in ts4900_gpio_get_direction() 61 return regmap_update_bits(priv->regmap, offset, TS4900_GPIO_OE, 0); in ts4900_gpio_direction_input() 76 if (!(reg & TS4900_GPIO_OE)) { in ts4900_gpio_direction_output() 86 ret = regmap_write(priv->regmap, offset, TS4900_GPIO_OE | in ts4900_gpio_direction_output() 89 ret = regmap_write(priv->regmap, offset, TS4900_GPIO_OE); in ts4900_gpio_direction_output()
|
/kernel/linux/linux-6.6/drivers/gpio/ |
H A D | gpio-ts4900.c | 20 #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()
|
Completed in 2 milliseconds