Home
last modified time | relevance | path

Searched refs:device_create (Results 1 – 25 of 78) sorted by relevance

1234

/drivers/dca/
Ddca-sysfs.c39 cd = device_create(dca_class, dca->cd, MKDEV(0, slot + 1), NULL, in dca_sysfs_add_req()
71 cd = device_create(dca_class, dev, MKDEV(0, 0), NULL, "dca%d", dca->id); in dca_sysfs_add_provider()
/drivers/char/
Dvc_screen.c484 device_create(vc_class, NULL, MKDEV(VCS_MAJOR, tty->index + 1), NULL, in vcs_make_sysfs()
486 device_create(vc_class, NULL, MKDEV(VCS_MAJOR, tty->index + 129), NULL, in vcs_make_sysfs()
502 device_create(vc_class, NULL, MKDEV(VCS_MAJOR, 0), NULL, "vcs"); in vcs_init()
503 device_create(vc_class, NULL, MKDEV(VCS_MAJOR, 128), NULL, "vcsa"); in vcs_init()
Draw.c134 device_create(raw_class, NULL, MKDEV(RAW_MAJOR, rq->raw_minor), NULL, in bind_device()
286 device_create(raw_class, NULL, MKDEV(RAW_MAJOR, 0), NULL, "rawctl"); in raw_init()
Dmisc.c220 misc->this_device = device_create(misc_class, misc->parent, dev, NULL, in misc_register()
Dbsr.c237 cur->bsr_device = device_create(bsr_class, NULL, cur->bsr_dev, in bsr_add_node()
Dviotape.c889 device_create(tape_class, NULL, MKDEV(VIOTAPE_MAJOR, i), NULL, in viotape_probe()
891 device_create(tape_class, NULL, MKDEV(VIOTAPE_MAJOR, i | 0x80), NULL, in viotape_probe()
Dsnsc.c447 device_create(snsc_class, NULL, dev, NULL, in scdrv_init()
Ddsp56k.c511 device_create(dsp56k_class, NULL, MKDEV(DSP56K_MAJOR, 0), NULL, in dsp56k_init_driver()
/drivers/hwmon/
Dhwmon.c58 hwdev = device_create(hwmon_class, dev, MKDEV(0, 0), NULL, in hwmon_device_register()
/drivers/staging/android/
Dtimed_output.c76 tdev->dev = device_create(timed_output_class, NULL, in timed_output_dev_register()
/drivers/s390/char/
Dtape_class.c72 tcd->class_device = device_create(tape_class, device, in register_tape_dev()
/drivers/power/
Dpower_supply_core.c118 psy->dev = device_create(power_supply_class, parent, 0, psy, in power_supply_register()
/drivers/switch/
Dswitch_class.c124 sdev->dev = device_create(switch_class, NULL, in switch_dev_register()
/drivers/leds/
Dled-class.c123 led_cdev->dev = device_create(leds_class, parent, 0, led_cdev, in led_classdev_register()
/drivers/usb/core/
Dfile.c200 intf->usb_dev = device_create(usb_class->class, &intf->dev, in usb_register_dev()
/drivers/video/display/
Ddisplay-sysfs.c156 new_dev->dev = device_create(display_class, parent, in display_device_register()
/drivers/block/aoe/
Daoechr.c287 device_create(aoe_class, NULL, in aoechr_init()
/drivers/mtd/
Dmtdchar.c29 device_create(mtd_class, NULL, MKDEV(MTD_CHAR_MAJOR, mtd->index*2), in mtd_notify_add()
32 device_create(mtd_class, NULL, MKDEV(MTD_CHAR_MAJOR, mtd->index*2+1), in mtd_notify_add()
/drivers/usb/misc/
Dphidgetservo.c278 dev->dev = device_create(phidget_class, &dev->udev->dev, MKDEV(0, 0), in servo_probe()
Dphidgetmotorcontrol.c368 mc->dev = device_create(phidget_class, &mc->udev->dev, MKDEV(0, 0), mc, in motorcontrol_probe()
/drivers/block/paride/
Dpt.c982 device_create(pt_class, NULL, MKDEV(major, unit), NULL, in pt_init()
984 device_create(pt_class, NULL, MKDEV(major, unit + 128), in pt_init()
/drivers/gpio/
Dgpiolib.c467 dev = device_create(&gpio_class, desc->chip->dev, MKDEV(0, 0), in gpio_export()
551 dev = device_create(&gpio_class, chip->dev, MKDEV(0, 0), chip, in gpiochip_export()
/drivers/hid/
Dhidraw.c364 dev->dev = device_create(hidraw_class, &hid->dev, MKDEV(hidraw_major, minor), in hidraw_connect()
/drivers/staging/comedi/
Dcomedidev.h136 device_create(cs, ((parent) ? (parent) : (device)), devt, drvdata, fmt)
/drivers/media/dvb/dvb-core/
Ddvbdev.c258 clsdev = device_create(dvb_class, adap->device, in dvb_register_device()

1234