Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpio/
Dgpiolib-sysfs.c575 if (!chip || !gdev->mockdev) { in gpiod_export()
753 gdev->mockdev = dev; in gpiochip_sysfs_register()
764 if (!gdev->mockdev) in gpiochip_sysfs_unregister()
767 device_unregister(gdev->mockdev); in gpiochip_sysfs_unregister()
771 gdev->mockdev = NULL; in gpiochip_sysfs_unregister()
797 if (gdev->mockdev) in gpiolib_sysfs_init()
Dgpiolib.h57 struct device *mockdev; member