Home
last modified time | relevance | path

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

1234

/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/tty/vt/
H A Dvc_screen.c779 device_create(&vc_class, NULL, MKDEV(VCS_MAJOR, index + 1), NULL, "vcs%u", index + 1); in vcs_make_sysfs()
780 device_create(&vc_class, NULL, MKDEV(VCS_MAJOR, index + 65), NULL, "vcsu%u", index + 1); in vcs_make_sysfs()
781 device_create(&vc_class, NULL, MKDEV(VCS_MAJOR, index + 129), NULL, "vcsa%u", index + 1); in vcs_make_sysfs()
800 device_create(&vc_class, NULL, MKDEV(VCS_MAJOR, 0), NULL, "vcs"); in vcs_init()
801 device_create(&vc_class, NULL, MKDEV(VCS_MAJOR, 64), NULL, "vcsu"); in vcs_init()
802 device_create(&vc_class, NULL, MKDEV(VCS_MAJOR, 128), NULL, "vcsa"); in vcs_init()
/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/fs/pstore/
H A Dpmsg.c73 pmsg_device = device_create(pmsg_class, NULL, MKDEV(pmsg_major, 0), in pstore_register_pmsg()
/linux/drivers/s390/char/
H A Dtape_class.c72 tcd->class_device = device_create(&tape_class, device, in register_tape_dev()
H A Dfs3270.c518 device_create(&class3270, NULL, MKDEV(IBM_FS3270_MAJOR, minor), in fs3270_create_cb()
543 device_create(&class3270, NULL, MKDEV(IBM_FS3270_MAJOR, 0), in fs3270_init()
H A Dhmcdrv_dev.c314 dev = device_create(hmcdrv_dev_class, NULL, hmcdrv_dev_no, NULL, in hmcdrv_dev_init()
/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/usb/core/
H A Dfile.c150 intf->usb_dev = device_create(&usbmisc_class, &intf->dev, in usb_register_dev()
/linux/arch/x86/kernel/
H A Dcpuid.c140 dev = device_create(&cpuid_class, NULL, MKDEV(CPUID_MAJOR, cpu), NULL, in cpuid_device_create()
H A Dmsr.c251 dev = device_create(&msr_class, NULL, MKDEV(MSR_MAJOR, cpu), NULL, in msr_device_create()
/linux/drivers/staging/greybus/
H A Dvibrator.c161 dev = device_create(&vibrator_class, &bundle->dev, in gb_vibrator_probe()
H A Draw.c201 raw->device = device_create(&raw_class, &connection->bundle->dev, in gb_raw_probe()
/linux/drivers/net/ipvlan/
H A Dipvtap.c163 classdev = device_create(&ipvtap_class, &dev->dev, devt, in ipvtap_device_event()
/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/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.c275 dev_ret = device_create(dma_heap_class, in dma_heap_add()
/linux/drivers/char/
H A Dbsr.c249 cur->bsr_device = device_create(&bsr_class, NULL, cur->bsr_dev, 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/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/fs/coda/
H A Dpsdev.c371 device_create(coda_psdev_class, NULL, in init_coda_psdev()

1234