Home
last modified time | relevance | path

Searched refs:cdev_add (Results 1 – 25 of 28) sorted by relevance

12

/linux-4.19.296/include/linux/
Dcdev.h29 int cdev_add(struct cdev *, dev_t, unsigned);
/linux-4.19.296/fs/
Dchar_dev.c297 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/
Dscx200_gpio.c110 cdev_add(&scx200_gpio_cdev, devid, MAX_PINS); in scx200_gpio_init()
Dpc8736x_gpio.c326 cdev_add(&pc8736x_gpio_cdev, devid, PC8736X_GPIO_CT); in pc8736x_gpio_init()
Dbsr.c255 result = cdev_add(&cur->bsr_cdev, cur->bsr_dev, 1); in bsr_add_node()
Draw.c337 ret = cdev_add(&raw_cdev, dev, max_raw_minors); in raw_init()
Dsnsc.c444 if (cdev_add(&scd->scd_cdev, dev, 1)) { in scdrv_init()
/linux-4.19.296/drivers/s390/char/
Dtape_class.c73 rc = cdev_add(tcd->char_device, dev, 1); in register_tape_dev()
Dhmcdrv_dev.c302 rc = cdev_add(&hmcdrv_dev.dev, hmcdrv_dev_no, 1); in hmcdrv_dev_init()
Dvmlogrdr.c816 rc = cdev_add(vmlogrdr_cdev, dev, MAXMINOR); in vmlogrdr_register_cdev()
Dvmur.c898 rc = cdev_add(urd->char_device, MKDEV(major, minor), 1); in ur_set_online()
/linux-4.19.296/drivers/char/pcmcia/
Dscr24x_cs.c282 ret = cdev_add(&dev->c_dev, MKDEV(MAJOR(scr24x_devt), dev->devno), 1); in scr24x_probe()
/linux-4.19.296/drivers/hid/
Dhid-roccat.c436 retval = cdev_add(&roccat_cdev, dev_id, ROCCAT_MAX_DEVICES); in roccat_init()
Dhidraw.c608 result = cdev_add(&hidraw_cdev, dev_id, HIDRAW_MAX_DEVICES); in hidraw_init()
/linux-4.19.296/drivers/misc/ocxl/
Dfile.c477 rc = cdev_add(&afu->cdev, afu->dev.devt, 1); in ocxl_create_cdev()
/linux-4.19.296/fs/fuse/
Dcuse.c383 rc = cdev_add(cdev, devt, 1); in cuse_process_init_reply()
/linux-4.19.296/drivers/misc/cxl/
Dflash.c533 if ((rc = cdev_add(&adapter->guest->cdev, devt, 1))) { in cxl_guest_add_chardev()
Dfile.c576 if ((rc = cdev_add(cdev, devt, 1))) { in cxl_add_chardev()
/linux-4.19.296/drivers/misc/
Dphantom.c404 retval = cdev_add(&pht->cdev, MKDEV(phantom_major, minor), 1); in phantom_probe()
Dhpilo.c825 error = cdev_add(&ilo_hw->cdev, MKDEV(ilo_major, start), max_ccb); in ilo_probe()
/linux-4.19.296/block/
Dbsg.c558 ret = cdev_add(&bsg_cdev, MKDEV(bsg_major, 0), BSG_MAX_DEVS); in bsg_init()
/linux-4.19.296/drivers/char/xilinx_hwicap/
Dxilinx_hwicap.c684 retval = cdev_add(&drvdata->cdev, devt, 1); in hwicap_setup()
/linux-4.19.296/drivers/misc/mei/
Dmain.c925 ret = cdev_add(&dev->cdev, devno, 1); in mei_register()
/linux-4.19.296/drivers/media/dvb-core/
Ddvbdev.c1056 if ((retval = cdev_add(&dvb_device_cdev, dev, MAX_DVB_MINORS)) != 0) { in init_dvbdev()
/linux-4.19.296/drivers/media/v4l2-core/
Dv4l2-dev.c970 ret = cdev_add(vdev->cdev, MKDEV(VIDEO_MAJOR, vdev->minor), 1); in __video_register_device()

12