Searched refs:char_dev (Results 1 – 8 of 8) sorted by relevance
58 struct miscdevice char_dev; member959 wblock->char_dev.minor = MISC_DYNAMIC_MINOR; in wmi_dev_probe()960 wblock->char_dev.name = buf; in wmi_dev_probe()961 wblock->char_dev.fops = &wmi_fops; in wmi_dev_probe()962 wblock->char_dev.mode = 0444; in wmi_dev_probe()963 ret = misc_register(&wblock->char_dev); in wmi_dev_probe()990 misc_deregister(&wblock->char_dev); in wmi_dev_remove()991 kfree(wblock->char_dev.name); in wmi_dev_remove()
26 struct rtc_device, char_dev); in rtc_dev_open()492 cdev_init(&rtc->char_dev, &rtc_dev_fops); in rtc_dev_prepare()493 rtc->char_dev.owner = rtc->owner; in rtc_dev_prepare()
337 cdev_device_del(&rtc->char_dev, &rtc->dev); in devm_rtc_unregister_device()399 err = cdev_device_add(&rtc->char_dev, &rtc->dev); in __devm_rtc_register_device()
93 struct cdev char_dev; member
314 fs/char_dev.c
10 char_dev.o stat.o exec.o pipe.o namei.o fcntl.o \
3580 struct device *char_dev; in init_chrdev() local3601 char_dev = device_create(cxlflash_class, NULL, devno, in init_chrdev()3603 if (IS_ERR(char_dev)) { in init_chrdev()3604 rc = PTR_ERR(char_dev); in init_chrdev()3610 cfg->chardev = char_dev; in init_chrdev()
324 .. kernel-doc:: fs/char_dev.c