/linux-4.19.296/include/linux/ |
D | cdev.h | 29 int cdev_add(struct cdev *, dev_t, unsigned);
|
/linux-4.19.296/fs/ |
D | char_dev.c | 297 err = cdev_add(cdev, MKDEV(cd->major, baseminor), count); in __register_chrdev() 488 int cdev_add(struct cdev *p, dev_t dev, unsigned count) in cdev_add() function 550 rc = cdev_add(cdev, dev->devt, 1); in cdev_device_add() 686 EXPORT_SYMBOL(cdev_add);
|
/linux-4.19.296/drivers/char/ |
D | scx200_gpio.c | 110 cdev_add(&scx200_gpio_cdev, devid, MAX_PINS); in scx200_gpio_init()
|
D | pc8736x_gpio.c | 326 cdev_add(&pc8736x_gpio_cdev, devid, PC8736X_GPIO_CT); in pc8736x_gpio_init()
|
D | bsr.c | 255 result = cdev_add(&cur->bsr_cdev, cur->bsr_dev, 1); in bsr_add_node()
|
D | raw.c | 337 ret = cdev_add(&raw_cdev, dev, max_raw_minors); in raw_init()
|
D | snsc.c | 444 if (cdev_add(&scd->scd_cdev, dev, 1)) { in scdrv_init()
|
/linux-4.19.296/drivers/s390/char/ |
D | tape_class.c | 73 rc = cdev_add(tcd->char_device, dev, 1); in register_tape_dev()
|
D | hmcdrv_dev.c | 302 rc = cdev_add(&hmcdrv_dev.dev, hmcdrv_dev_no, 1); in hmcdrv_dev_init()
|
D | vmlogrdr.c | 816 rc = cdev_add(vmlogrdr_cdev, dev, MAXMINOR); in vmlogrdr_register_cdev()
|
D | vmur.c | 898 rc = cdev_add(urd->char_device, MKDEV(major, minor), 1); in ur_set_online()
|
/linux-4.19.296/drivers/char/pcmcia/ |
D | scr24x_cs.c | 282 ret = cdev_add(&dev->c_dev, MKDEV(MAJOR(scr24x_devt), dev->devno), 1); in scr24x_probe()
|
/linux-4.19.296/drivers/hid/ |
D | hid-roccat.c | 436 retval = cdev_add(&roccat_cdev, dev_id, ROCCAT_MAX_DEVICES); in roccat_init()
|
D | hidraw.c | 608 result = cdev_add(&hidraw_cdev, dev_id, HIDRAW_MAX_DEVICES); in hidraw_init()
|
/linux-4.19.296/drivers/misc/ocxl/ |
D | file.c | 477 rc = cdev_add(&afu->cdev, afu->dev.devt, 1); in ocxl_create_cdev()
|
/linux-4.19.296/fs/fuse/ |
D | cuse.c | 383 rc = cdev_add(cdev, devt, 1); in cuse_process_init_reply()
|
/linux-4.19.296/drivers/misc/cxl/ |
D | flash.c | 533 if ((rc = cdev_add(&adapter->guest->cdev, devt, 1))) { in cxl_guest_add_chardev()
|
D | file.c | 576 if ((rc = cdev_add(cdev, devt, 1))) { in cxl_add_chardev()
|
/linux-4.19.296/drivers/misc/ |
D | phantom.c | 404 retval = cdev_add(&pht->cdev, MKDEV(phantom_major, minor), 1); in phantom_probe()
|
D | hpilo.c | 825 error = cdev_add(&ilo_hw->cdev, MKDEV(ilo_major, start), max_ccb); in ilo_probe()
|
/linux-4.19.296/block/ |
D | bsg.c | 558 ret = cdev_add(&bsg_cdev, MKDEV(bsg_major, 0), BSG_MAX_DEVS); in bsg_init()
|
/linux-4.19.296/drivers/char/xilinx_hwicap/ |
D | xilinx_hwicap.c | 684 retval = cdev_add(&drvdata->cdev, devt, 1); in hwicap_setup()
|
/linux-4.19.296/drivers/misc/mei/ |
D | main.c | 925 ret = cdev_add(&dev->cdev, devno, 1); in mei_register()
|
/linux-4.19.296/drivers/media/dvb-core/ |
D | dvbdev.c | 1056 if ((retval = cdev_add(&dvb_device_cdev, dev, MAX_DVB_MINORS)) != 0) { in init_dvbdev()
|
/linux-4.19.296/drivers/media/v4l2-core/ |
D | v4l2-dev.c | 970 ret = cdev_add(vdev->cdev, MKDEV(VIDEO_MAJOR, vdev->minor), 1); in __video_register_device()
|