Searched refs:gpio_attrs (Results 1 – 4 of 4) sorted by relevance
208 static struct device_attribute *gpio_attrs[] = { variable231 for (ptr = 0; ptr < ARRAY_SIZE(gpio_attrs); ptr++) { in to_gpio_num()232 if (gpio_attrs[ptr] == attr) in to_gpio_num()269 ret = device_create_file(&spi->dev, gpio_attrs[ptr]); in tle62x0_probe()282 device_remove_file(&spi->dev, gpio_attrs[ptr]); in tle62x0_probe()297 device_remove_file(&spi->dev, gpio_attrs[ptr]); in tle62x0_remove()
388 static struct attribute *gpio_attrs[] = { variable397 .attrs = gpio_attrs,
2058 static struct gpio_attribute gpio_attrs[] = { variable2211 for (i = 0; i < ARRAY_SIZE(gpio_attrs); i++) { in rk312x_probe()2212 ret = sysfs_create_file(gpio_kobj, &gpio_attrs[i].attr); in rk312x_probe()
607 static struct attribute *gpio_attrs[] = { variable620 .attrs = gpio_attrs,