Home
last modified time | relevance | path

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

1234

/linux-6.15/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-6.15/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-6.15/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-6.15/fs/pstore/
H A Dpmsg.c73 pmsg_device = device_create(pmsg_class, NULL, MKDEV(pmsg_major, 0), in pstore_register_pmsg()
/linux-6.15/arch/mips/kernel/
H A Drtlx-mt.c98 dev = device_create(&mt_class, NULL, MKDEV(major, i), NULL, in rtlx_module_init()
/linux-6.15/drivers/s390/char/
H A Dtape_class.c79 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-6.15/drivers/usb/core/
H A Dfile.c150 intf->usb_dev = device_create(&usbmisc_class, &intf->dev, in usb_register_dev()
/linux-6.15/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-6.15/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()
H A Dauthentication.c342 cap->class_device = device_create(&cap_class, cap->parent, cap->dev_num, in gb_cap_connection_init()
/linux-6.15/drivers/net/ipvlan/
H A Dipvtap.c163 classdev = device_create(&ipvtap_class, &dev->dev, devt, in ipvtap_device_event()
/linux-6.15/drivers/net/
H A Dmacvtap.c176 classdev = device_create(&macvtap_class, &dev->dev, devt, in macvtap_device_event()
/linux-6.15/drivers/block/rnbd/
H A Drnbd-srv-sysfs.c222 rnbd_dev = device_create(&rnbd_dev_class, NULL, in rnbd_srv_create_sysfs_files()
/linux-6.15/drivers/char/xillybus/
H A Dxillybus_class.c126 device = device_create(&xillybus_class, in xillybus_init_chrdev()
/linux-6.15/drivers/block/aoe/
H A Daoechr.c305 device_create(&aoe_class, NULL, in aoechr_init()
/linux-6.15/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-6.15/drivers/dma-buf/
H A Ddma-heap.c267 dev_ret = device_create(dma_heap_class, in dma_heap_add()
/linux-6.15/drivers/char/
H A Dbsr.c250 cur->bsr_device = device_create(&bsr_class, NULL, cur->bsr_dev, in bsr_add_node()
/linux-6.15/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-6.15/sound/
H A Dsound_core.c280 device_create(&sound_class, dev, MKDEV(SOUND_MAJOR, s->unit_minor), in sound_insert_unit()
/linux-6.15/drivers/platform/x86/intel/pmt/
H A Dclass.c275 dev = device_create(&intel_pmt_class, parent, MKDEV(0, 0), entry, in intel_pmt_dev_register()

1234