Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpio/
H A Dgpiolib-sysfs.c538 ATTRIBUTE_GROUPS(gpio_class);
540 static struct class gpio_class = { variable
573 if (!class_is_registered(&gpio_class)) { in gpiod_export()
624 dev = device_create_with_groups(&gpio_class, &gdev->dev, in gpiod_export()
675 cdev = class_find_device(&gpio_class, NULL, desc, match_export); in gpiod_export_link()
707 dev = class_find_device(&gpio_class, NULL, desc, match_export); in gpiod_unexport()
747 if (!class_is_registered(&gpio_class)) in gpiochip_sysfs_register()
760 dev = device_create_with_groups(&gpio_class, parent, MKDEV(0, 0), chip, in gpiochip_sysfs_register()
801 status = class_register(&gpio_class); in gpiolib_sysfs_init()