Home
last modified time | relevance | path

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

1234

/openbmc/linux/drivers/dca/
H A Ddca-sysfs.c25 cd = device_create(dca_class, dca->cd, MKDEV(0, slot + 1), NULL, in dca_sysfs_add_req()
52 cd = device_create(dca_class, dev, MKDEV(0, 0), NULL, "dca%d", dca->id); in dca_sysfs_add_provider()
/openbmc/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()
/openbmc/linux/drivers/tty/vt/
H A Dvc_screen.c793 device_create(vc_class, NULL, MKDEV(VCS_MAJOR, index + 1), NULL, in vcs_make_sysfs()
795 device_create(vc_class, NULL, MKDEV(VCS_MAJOR, index + 65), NULL, in vcs_make_sysfs()
797 device_create(vc_class, NULL, MKDEV(VCS_MAJOR, index + 129), NULL, 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()
/openbmc/linux/fs/pstore/
H A Dpmsg.c73 pmsg_device = device_create(pmsg_class, NULL, MKDEV(pmsg_major, 0), in pstore_register_pmsg()
/openbmc/linux/arch/mips/kernel/
H A Drtlx-mt.c98 dev = device_create(mt_class, NULL, MKDEV(major, i), NULL, in rtlx_module_init()
/openbmc/linux/drivers/s390/char/
H A Dtape_class.c77 tcd->class_device = device_create(tape_class, device, in register_tape_dev()
H A Dfs3270.c524 device_create(class3270, NULL, MKDEV(IBM_FS3270_MAJOR, minor), in fs3270_create_cb()
549 device_create(class3270, NULL, MKDEV(IBM_FS3270_MAJOR, 0), in fs3270_init()
H A Dhmcdrv_dev.c325 dev = device_create(hmcdrv_dev_class, NULL, hmcdrv_dev_no, NULL, in hmcdrv_dev_init()
/openbmc/linux/drivers/usb/core/
H A Dfile.c150 intf->usb_dev = device_create(&usbmisc_class, &intf->dev, in usb_register_dev()
/openbmc/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()
/openbmc/linux/drivers/staging/greybus/
H A Dvibrator.c161 dev = device_create(&vibrator_class, &bundle->dev, in gb_vibrator_probe()
H A Draw.c198 raw->device = device_create(raw_class, &connection->bundle->dev, in gb_raw_probe()
/openbmc/linux/drivers/block/rnbd/
H A Drnbd-srv-sysfs.c222 rnbd_dev = device_create(&rnbd_dev_class, NULL, in rnbd_srv_create_sysfs_files()
/openbmc/linux/drivers/net/
H A Dmacvtap.c176 classdev = device_create(&macvtap_class, &dev->dev, devt, in macvtap_device_event()
/openbmc/linux/drivers/net/ipvlan/
H A Dipvtap.c163 classdev = device_create(&ipvtap_class, &dev->dev, devt, in ipvtap_device_event()
/openbmc/linux/drivers/char/xillybus/
H A Dxillybus_class.c126 device = device_create(&xillybus_class, in xillybus_init_chrdev()
/openbmc/linux/drivers/dma-buf/
H A Ddma-heap.c264 dev_ret = device_create(dma_heap_class, in dma_heap_add()
/openbmc/linux/drivers/block/aoe/
H A Daoechr.c305 device_create(&aoe_class, NULL, in aoechr_init()
/openbmc/linux/drivers/char/
H A Dbsr.c250 cur->bsr_device = device_create(&bsr_class, NULL, cur->bsr_dev, in bsr_add_node()
/openbmc/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()
/openbmc/linux/sound/
H A Dsound_core.c280 device_create(&sound_class, dev, MKDEV(SOUND_MAJOR, s->unit_minor), in sound_insert_unit()
/openbmc/linux/drivers/platform/x86/intel/pmt/
H A Dclass.c250 dev = device_create(&intel_pmt_class, parent, MKDEV(0, 0), entry, in intel_pmt_dev_register()
/openbmc/linux/drivers/staging/fieldbus/
H A Ddev_core.c282 fb->dev = device_create(&fieldbus_class, fb->parent, devno, fb, in __fieldbus_dev_register()
/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_ctl_drv.c72 drv_device = device_create(adf_ctl_drv.drv_class, NULL, in adf_chr_drv_create()

1234