Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/char/
Draw.c36 static struct class *raw_class; variable
179 device_destroy(raw_class, raw); in bind_set()
182 device_destroy(raw_class, raw); in bind_set()
183 device_create(raw_class, NULL, raw, NULL, "raw%d", number); in bind_set()
333 raw_class = class_create(THIS_MODULE, "raw"); in raw_init()
334 if (IS_ERR(raw_class)) { in raw_init()
337 ret = PTR_ERR(raw_class); in raw_init()
340 raw_class->devnode = raw_devnode; in raw_init()
341 device_create(raw_class, NULL, MKDEV(RAW_MAJOR, 0), NULL, "rawctl"); in raw_init()
354 device_destroy(raw_class, MKDEV(RAW_MAJOR, 0)); in raw_exit()
[all …]
/Linux-v5.10/drivers/staging/greybus/
Draw.c35 static struct class *raw_class; variable
198 raw->device = device_create(raw_class, &connection->bundle->dev, in gb_raw_probe()
232 device_destroy(raw_class, raw->dev); in gb_raw_disconnect()
343 raw_class = class_create(THIS_MODULE, "gb_raw"); in raw_init()
344 if (IS_ERR(raw_class)) { in raw_init()
345 retval = PTR_ERR(raw_class); in raw_init()
364 class_destroy(raw_class); in raw_init()
374 class_destroy(raw_class); in raw_exit()