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

/linux-4.4.14/drivers/gpio/
H A Dgpiolib-sysfs.c524 static struct class gpio_class = { variable in typeref:struct:class
558 if (!gpio_class.p) { gpiod_export()
608 dev = device_create_with_groups(&gpio_class, chip->dev, gpiod_export()
659 cdev = class_find_device(&gpio_class, NULL, desc, match_export); gpiod_export_link()
691 dev = class_find_device(&gpio_class, NULL, desc, match_export); gpiod_unexport()
727 * verify that _some_ field of gpio_class got initialized. gpiochip_sysfs_register()
729 if (!gpio_class.p) gpiochip_sysfs_register()
733 dev = device_create_with_groups(&gpio_class, chip->dev, MKDEV(0, 0), gpiochip_sysfs_register()
775 status = class_register(&gpio_class); gpiolib_sysfs_init()

Completed in 78 milliseconds