Home
last modified time | relevance | path

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

123

/linux-2.6.39/include/linux/
Dcdev.h27 int cdev_add(struct cdev *, dev_t, unsigned);
/linux-2.6.39/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-2.6.39/drivers/char/
Dscx200_gpio.c110 cdev_add(&scx200_gpio_cdev, devid, MAX_PINS); in scx200_gpio_init()
Dbsr.c250 result = cdev_add(&cur->bsr_cdev, cur->bsr_dev, 1); in bsr_add_node()
Dpc8736x_gpio.c326 cdev_add(&pc8736x_gpio_cdev, devid, PC8736X_GPIO_CT); in pc8736x_gpio_init()
Draw.c320 ret = cdev_add(&raw_cdev, dev, MAX_RAW_MINORS); in raw_init()
Dmsm_smd_pkt.c401 r = cdev_add(&smd_pkt_devp[i]->cdev, in smd_pkt_init()
Dsnsc.c440 if (cdev_add(&scd->scd_cdev, dev, 1)) { in scdrv_init()
/linux-2.6.39/arch/sh/boards/mach-landisk/
Dgio.c151 error = cdev_add(cdev_p, dev, DEVCOUNT); in gio_init()
/linux-2.6.39/drivers/s390/char/
Dtape_class.c74 rc = cdev_add(tcd->char_device, tcd->char_device->dev, 1); in register_tape_dev()
/linux-2.6.39/drivers/staging/cs5535_gpio/
Dcs5535_gpio.c245 cdev_add(&cs5535_gpio_cdev, dev_id, CS5535_GPIO_COUNT); in cs5535_gpio_init()
/linux-2.6.39/drivers/media/
Dmedia-devnode.c232 ret = cdev_add(&mdev->cdev, MKDEV(MAJOR(media_dev_t), mdev->minor), 1); in media_devnode_register()
/linux-2.6.39/drivers/pps/
Dpps.c322 err = cdev_add(&pps->cdev, devt, 1); in pps_register_cdev()
/linux-2.6.39/drivers/hid/
Dhid-roccat.c432 cdev_add(&roccat_cdev, dev_id, ROCCAT_MAX_DEVICES); in roccat_init()
Dhidraw.c564 cdev_add(&hidraw_cdev, dev_id, HIDRAW_MAX_DEVICES); in hidraw_init()
/linux-2.6.39/drivers/mtd/ubi/
Dvmt.c318 err = cdev_add(&vol->cdev, dev, 1); in ubi_create_volume()
665 err = cdev_add(&vol->cdev, dev, 1); in ubi_add_volume()
/linux-2.6.39/kernel/time/
Dposix-clock.c217 err = cdev_add(&clk->cdev, devid, 1); in posix_clock_register()
/linux-2.6.39/drivers/media/dvb/dvb-core/
Ddvbdev.c473 if ((retval = cdev_add(&dvb_device_cdev, dev, MAX_DVB_MINORS)) != 0) { in init_dvbdev()
/linux-2.6.39/drivers/staging/tidspbridge/rmgr/
Ddrv_interface.c361 err = cdev_add(&bridge_cdev, dev, 1); in omap34_xx_bridge_probe()
/linux-2.6.39/drivers/scsi/osd/
Dosd_uld.c456 error = cdev_add(&oud->cdev, in osd_probe()
/linux-2.6.39/drivers/rtc/
Drtc-dev.c500 if (cdev_add(&rtc->char_dev, rtc->dev.devt, 1)) in rtc_dev_add_device()
/linux-2.6.39/drivers/staging/iio/
Dindustrialio-ring.c203 ret = cdev_add(&buf->access_handler.chrdev, buf->access_dev.devt, 1); in __iio_request_ring_buffer_access_chrdev()
/linux-2.6.39/fs/fuse/
Dcuse.c371 rc = cdev_add(cdev, devt, 1); in cuse_process_init_reply()
/linux-2.6.39/drivers/misc/
Dphantom.c404 retval = cdev_add(&pht->cdev, MKDEV(phantom_major, minor), 1); in phantom_probe()
/linux-2.6.39/drivers/infiniband/core/
Duser_mad.c1032 if (cdev_add(&port->cdev, base, 1)) in ib_umad_init_port()
1050 if (cdev_add(&port->sm_cdev, base, 1)) in ib_umad_init_port()

123