Home
last modified time | relevance | path

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

123

/linux-3.4.99/include/linux/
Dcdev.h27 int cdev_add(struct cdev *, dev_t, unsigned);
/linux-3.4.99/fs/
Dchar_dev.c284 err = cdev_add(cdev, MKDEV(cd->major, baseminor), count); in __register_chrdev()
472 int cdev_add(struct cdev *p, dev_t dev, unsigned count) in cdev_add() function
572 EXPORT_SYMBOL(cdev_add);
/linux-3.4.99/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.c250 result = cdev_add(&cur->bsr_cdev, cur->bsr_dev, 1); in bsr_add_node()
Draw.c339 ret = cdev_add(&raw_cdev, dev, max_raw_minors); in raw_init()
Dtile-srom.c433 result = cdev_add(&srom_cdev, dev, srom_devs); in srom_init()
Dsnsc.c440 if (cdev_add(&scd->scd_cdev, dev, 1)) { in scdrv_init()
Dmsm_smd_pkt.c400 r = cdev_add(&smd_pkt_devp[i]->cdev, in smd_pkt_init()
/linux-3.4.99/arch/sh/boards/mach-landisk/
Dgio.c151 error = cdev_add(cdev_p, dev, DEVCOUNT); in gio_init()
/linux-3.4.99/drivers/s390/char/
Dtape_class.c74 rc = cdev_add(tcd->char_device, tcd->char_device->dev, 1); in register_tape_dev()
/linux-3.4.99/drivers/media/
Dmedia-devnode.c231 ret = cdev_add(&mdev->cdev, MKDEV(MAJOR(media_dev_t), mdev->minor), 1); in media_devnode_register()
/linux-3.4.99/drivers/hid/
Dhid-roccat.c433 cdev_add(&roccat_cdev, dev_id, ROCCAT_MAX_DEVICES); in roccat_init()
Dhidraw.c562 result = cdev_add(&hidraw_cdev, dev_id, HIDRAW_MAX_DEVICES); in hidraw_init()
/linux-3.4.99/drivers/pps/
Dpps.c327 err = cdev_add(&pps->cdev, devt, 1); in pps_register_cdev()
/linux-3.4.99/drivers/mtd/ubi/
Dvmt.c319 err = cdev_add(&vol->cdev, dev, 1); in ubi_create_volume()
666 err = cdev_add(&vol->cdev, dev, 1); in ubi_add_volume()
/linux-3.4.99/drivers/staging/tidspbridge/rmgr/
Ddrv_interface.c502 err = cdev_add(&bridge_cdev, dev, 1); in omap34_xx_bridge_probe()
/linux-3.4.99/kernel/time/
Dposix-clock.c218 err = cdev_add(&clk->cdev, devid, 1); in posix_clock_register()
/linux-3.4.99/drivers/media/dvb/dvb-core/
Ddvbdev.c474 if ((retval = cdev_add(&dvb_device_cdev, dev, MAX_DVB_MINORS)) != 0) { in init_dvbdev()
/linux-3.4.99/drivers/scsi/osd/
Dosd_uld.c456 error = cdev_add(&oud->cdev, in osd_probe()
/linux-3.4.99/drivers/rtc/
Drtc-dev.c501 if (cdev_add(&rtc->char_dev, rtc->dev.devt, 1)) in rtc_dev_add_device()
/linux-3.4.99/fs/fuse/
Dcuse.c372 rc = cdev_add(cdev, devt, 1); in cuse_process_init_reply()
/linux-3.4.99/drivers/staging/ozwpan/
Dozcdev.c364 err = cdev_add(&g_cdev.cdev, g_cdev.devnum, 1); in oz_cdev_register()
/linux-3.4.99/drivers/misc/
Dphantom.c404 retval = cdev_add(&pht->cdev, MKDEV(phantom_major, minor), 1); in phantom_probe()
/linux-3.4.99/drivers/infiniband/core/
Duser_mad.c1042 if (cdev_add(&port->cdev, base, 1)) in ib_umad_init_port()
1061 if (cdev_add(&port->sm_cdev, base, 1)) in ib_umad_init_port()

123