Lines Matching full:direction
86 * Depending on NVM config, return an error if direction is output, otherwise the GPIO0 in tps65219_gpio_get()
111 unsigned int direction) in tps65219_gpio_change_direction() argument
117 * Documentation is stating that GPIO0 direction must not be changed in Linux: in tps65219_gpio_change_direction()
120 * Set statically by NVM, changing direction in application can cause a hang. in tps65219_gpio_change_direction()
126 TPS65219_GPIO0_DIR_MASK, direction); in tps65219_gpio_change_direction()
129 "GPIO DEBUG enabled: Fail to change direction to %u for GPIO%d.\n", in tps65219_gpio_change_direction()
130 direction, offset); in tps65219_gpio_change_direction()
136 "GPIO%d direction set by NVM, change to %u failed, not allowed by specification\n", in tps65219_gpio_change_direction()
137 offset, direction); in tps65219_gpio_change_direction()
143 unsigned int direction) in tps65214_gpio_change_direction() argument
162 TPS65214_GPIO0_DIR_MASK, direction); in tps65214_gpio_change_direction()
164 dev_err(dev, "Fail to change direction to %u for GPIO%d.\n", direction, offset); in tps65214_gpio_change_direction()