Home
last modified time | relevance | path

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

123

/linux/drivers/dca/
H A Ddca-sysfs.c27 cd = device_create(&dca_class, dca->cd, MKDEV(0, slot + 1), NULL, in dca_sysfs_add_req()
54 cd = device_create(&dca_class, dev, MKDEV(0, 0), NULL, "dca%d", dca->id); in dca_sysfs_add_provider()
/linux/drivers/infiniband/hw/hfi1/
H A Ddevice.c61 device = device_create(&user_class, NULL, dev, NULL, "%s", name); in hfi1_cdev_init()
63 device = device_create(&class, NULL, dev, NULL, "%s", name); in hfi1_cdev_init()
/linux/drivers/tty/vt/
H A Dvc_screen.c795 device_create(&vc_class, NULL, MKDEV(VCS_MAJOR, index + 1), NULL, "vcs%u", index + 1); in vcs_make_sysfs()
796 device_create(&vc_class, NULL, MKDEV(VCS_MAJOR, index + 65), NULL, "vcsu%u", index + 1); in vcs_make_sysfs()
797 device_create(&vc_class, NULL, MKDEV(VCS_MAJOR, index + 129), NULL, "vcsa%u", index + 1); in vcs_make_sysfs()
816 device_create(&vc_class, NULL, MKDEV(VCS_MAJOR, 0), NULL, "vcs"); in vcs_init()
817 device_create(&vc_class, NULL, MKDEV(VCS_MAJOR, 64), NULL, "vcsu"); in vcs_init()
818 device_create(&vc_class, NULL, MKDEV(VCS_MAJOR, 128), NULL, "vcsa"); in vcs_init()
/linux/fs/pstore/
H A Dpmsg.c73 pmsg_device = device_create(pmsg_class, NULL, MKDEV(pmsg_major, 0), in pstore_register_pmsg()
/linux/arch/mips/kernel/
H A Drtlx-mt.c98 dev = device_create(&mt_class, NULL, MKDEV(major, i), NULL, in rtlx_module_init()
/linux/drivers/s390/char/
H A Dtape_class.c80 tcd->class_device = device_create(&tape_class, device, in register_tape_dev()
H A Dfs3270.c523 device_create(&class3270, NULL, MKDEV(IBM_FS3270_MAJOR, minor), in fs3270_create_cb()
548 device_create(&class3270, NULL, MKDEV(IBM_FS3270_MAJOR, 0), in fs3270_init()
H A Dhmcdrv_dev.c322 dev = device_create(hmcdrv_dev_class, NULL, hmcdrv_dev_no, NULL, in hmcdrv_dev_init()
/linux/drivers/usb/core/
H A Dfile.c150 intf->usb_dev = device_create(&usbmisc_class, &intf->dev, in usb_register_dev()
/linux/drivers/block/rnbd/
H A Drnbd-srv-sysfs.c222 rnbd_dev = device_create(&rnbd_dev_class, NULL, in rnbd_srv_create_sysfs_files()
/linux/drivers/net/
H A Dmacvtap.c176 classdev = device_create(&macvtap_class, &dev->dev, devt, in macvtap_device_event()
/linux/drivers/char/xillybus/
H A Dxillybus_class.c126 device = device_create(&xillybus_class, in xillybus_init_chrdev()
/linux/arch/x86/kernel/
H A Dmsr.c251 dev = device_create(&msr_class, NULL, MKDEV(MSR_MAJOR, cpu), NULL, in msr_device_create()
/linux/drivers/block/aoe/
H A Daoechr.c305 device_create(&aoe_class, NULL, in aoechr_init()
/linux/drivers/pps/generators/
H A Dpps_gen.c186 pps_gen->dev = device_create(pps_gen_class, pps_gen->info->parent, devt, in pps_gen_register_cdev()
/linux/drivers/dma-buf/
H A Ddma-heap.c267 dev_ret = device_create(dma_heap_class, in dma_heap_add()
/linux/drivers/char/
H A Dbsr.c250 cur->bsr_device = device_create(&bsr_class, NULL, cur->bsr_dev, in bsr_add_node()
253 printk(KERN_ERR "device_create failed for %s\n", in bsr_add_node()
/linux/drivers/gpu/drm/display/
H A Ddrm_dp_aux_dev.c312 aux_dev->dev = device_create(drm_dp_aux_dev_class, aux->dev, in drm_dp_aux_register_devnode()
/linux/sound/
H A Dsound_core.c280 device_create(&sound_class, dev, MKDEV(SOUND_MAJOR, s->unit_minor), in sound_insert_unit()
/linux/drivers/staging/greybus/
H A Draw.c201 raw->device = device_create(&raw_class, &connection->bundle->dev, in gb_raw_probe()
H A Dauthentication.c342 cap->class_device = device_create(&cap_class, cap->parent, cap->dev_num, in gb_cap_connection_init()
/linux/fs/coda/
H A Dpsdev.c371 device_create(coda_psdev_class, NULL, in init_coda_psdev()
/linux/drivers/hid/
H A Dhid-roccat.c324 device->dev = device_create(klass, &hid->dev, in roccat_connect()
/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_ctl_drv.c75 drv_device = device_create(&adf_ctl_class, NULL, in adf_chr_drv_create()
/linux/drivers/platform/x86/dell/dell-wmi-sysman/
H A Dsysman.c543 wmi_priv.class_dev = device_create(&firmware_attributes_class, NULL, MKDEV(0, 0), in sysman_init()

123