Searched refs:char_dev (Results 1 – 10 of 10) sorted by relevance
108 misc_deregister(&dbc_dev->char_dev); in dbc_dev_destroy()230 dbc_dev->char_dev.minor = MISC_DYNAMIC_MINOR; in dbc_dev_init()231 dbc_dev->char_dev.name = "dbc"; in dbc_dev_init()232 dbc_dev->char_dev.fops = &dbc_fops; in dbc_dev_init()233 dbc_dev->char_dev.mode = 0600; in dbc_dev_init()234 ret = misc_register(&dbc_dev->char_dev); in dbc_dev_init()
28 struct miscdevice char_dev; member
69 struct miscdevice char_dev; member918 struct wmi_block *wblock = container_of(filp->private_data, struct wmi_block, char_dev); in wmi_char_open()1050 wblock->char_dev.minor = MISC_DYNAMIC_MINOR; in wmi_dev_probe()1051 wblock->char_dev.name = buf; in wmi_dev_probe()1052 wblock->char_dev.fops = &wmi_fops; in wmi_dev_probe()1053 wblock->char_dev.mode = 0444; in wmi_dev_probe()1054 ret = misc_register(&wblock->char_dev); in wmi_dev_probe()1083 misc_deregister(&wblock->char_dev); in wmi_dev_remove()1084 kfree(wblock->char_dev.name); in wmi_dev_remove()
26 struct rtc_device, char_dev); in rtc_dev_open()557 cdev_init(&rtc->char_dev, &rtc_dev_fops); in rtc_dev_prepare()558 rtc->char_dev.owner = rtc->owner; in rtc_dev_prepare()
348 cdev_device_del(&rtc->char_dev, &rtc->dev); in devm_rtc_unregister_device()415 err = cdev_device_add(&rtc->char_dev, &rtc->dev); in __devm_rtc_register_device()
96 struct cdev char_dev; member
321 fs/char_dev.c
11 char_dev.o stat.o exec.o pipe.o namei.o fcntl.o \
3584 struct device *char_dev; in init_chrdev() local3605 char_dev = device_create(cxlflash_class, NULL, devno, in init_chrdev()3607 if (IS_ERR(char_dev)) { in init_chrdev()3608 rc = PTR_ERR(char_dev); in init_chrdev()3614 cfg->chardev = char_dev; in init_chrdev()
354 .. kernel-doc:: fs/char_dev.c