Searched refs:clsdev (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/misc/mei/ |
D | main.c | 1112 struct device *clsdev; in mei_set_devstate() local 1119 clsdev = class_find_device_by_devt(mei_class, dev->cdev.dev); in mei_set_devstate() 1120 if (clsdev) { in mei_set_devstate() 1121 sysfs_notify(&clsdev->kobj, NULL, "dev_state"); in mei_set_devstate() 1122 put_device(clsdev); in mei_set_devstate() 1216 struct device *clsdev; /* class device */ in mei_register() local 1236 clsdev = device_create_with_groups(mei_class, parent, devno, in mei_register() 1240 if (IS_ERR(clsdev)) { in mei_register() 1243 ret = PTR_ERR(clsdev); in mei_register() 1247 mei_dbgfs_register(dev, dev_name(clsdev)); in mei_register()
|
/linux-6.1.9/drivers/media/dvb-core/ |
D | dvbdev.c | 456 struct device *clsdev; in dvb_register_device() local 534 clsdev = device_create(dvb_class, adap->device, in dvb_register_device() 537 if (IS_ERR(clsdev)) { in dvb_register_device() 539 __func__, adap->num, dnames[type], id, PTR_ERR(clsdev)); in dvb_register_device() 544 return PTR_ERR(clsdev); in dvb_register_device()
|