Lines Matching refs:gpio_registry
22 static struct gpio_registry { struct
25 } gpio_registry[MAX_NUM_GPIOS]; argument
318 if (gpio_registry[gpio].is_registered) in gpio_request()
321 gpio_registry[gpio].is_registered = 1; in gpio_request()
322 strncpy(gpio_registry[gpio].name, label, GPIO_NAME_SIZE); in gpio_request()
323 gpio_registry[gpio].name[GPIO_NAME_SIZE - 1] = 0; in gpio_request()
335 if (!gpio_registry[gpio].is_registered) in gpio_free()
338 gpio_registry[gpio].is_registered = 0; in gpio_free()
339 gpio_registry[gpio].name[0] = '\0'; in gpio_free()
394 gpio_registry[gpio].is_registered ? 'x' : ' ', in gpio_info()
395 gpio_registry[gpio].name); in gpio_info()