MKDEV              77 arch/mips/kernel/rtlx-cmp.c 		dev = device_create(mt_class, NULL, MKDEV(major, i), NULL,
MKDEV              81 arch/mips/kernel/rtlx-cmp.c 				device_destroy(mt_class, MKDEV(major, i));
MKDEV             105 arch/mips/kernel/rtlx-cmp.c 		device_destroy(mt_class, MKDEV(major, i));
MKDEV             117 arch/mips/kernel/rtlx-cmp.c 		device_destroy(mt_class, MKDEV(major, i));
MKDEV             103 arch/mips/kernel/rtlx-mt.c 		dev = device_create(mt_class, NULL, MKDEV(major, i), NULL,
MKDEV             107 arch/mips/kernel/rtlx-mt.c 				device_destroy(mt_class, MKDEV(major, i));
MKDEV             136 arch/mips/kernel/rtlx-mt.c 		device_destroy(mt_class, MKDEV(major, i));
MKDEV             148 arch/mips/kernel/rtlx-mt.c 		device_destroy(mt_class, MKDEV(major, i));
MKDEV             123 arch/mips/kernel/vpe-cmp.c 	vpe_device.devt = MKDEV(major, VPE_MODULE_MINOR);
MKDEV             371 arch/mips/kernel/vpe-mt.c 	vpe_device.devt = MKDEV(major, VPE_MODULE_MINOR);
MKDEV             561 arch/mips/sibyte/common/sb_tbprof.c 	dev = device_create(tbc, NULL, MKDEV(SBPROF_TB_MAJOR, 0), NULL, "tb");
MKDEV             585 arch/mips/sibyte/common/sb_tbprof.c 	device_destroy(tb_class, MKDEV(SBPROF_TB_MAJOR, 0));
MKDEV            1345 arch/x86/kernel/cpu/resctrl/pseudo_lock.c 			    MKDEV(pseudo_lock_major, new_minor),
MKDEV            1374 arch/x86/kernel/cpu/resctrl/pseudo_lock.c 	device_destroy(pseudo_lock_class, MKDEV(pseudo_lock_major, new_minor));
MKDEV            1415 arch/x86/kernel/cpu/resctrl/pseudo_lock.c 	device_destroy(pseudo_lock_class, MKDEV(pseudo_lock_major, plr->minor));
MKDEV             132 arch/x86/kernel/cpuid.c 	dev = device_create(cpuid_class, NULL, MKDEV(CPUID_MAJOR, cpu), NULL,
MKDEV             139 arch/x86/kernel/cpuid.c 	device_destroy(cpuid_class, MKDEV(CPUID_MAJOR, cpu));
MKDEV             191 arch/x86/kernel/msr.c 	dev = device_create(msr_class, NULL, MKDEV(MSR_MAJOR, cpu), NULL,
MKDEV             198 arch/x86/kernel/msr.c 	device_destroy(msr_class, MKDEV(MSR_MAJOR, cpu));
MKDEV             782 block/blk-cgroup.c 	disk = get_gendisk(MKDEV(major, minor), &part);
MKDEV             437 block/bsg.c    	dev = MKDEV(bsg_major, bcd->minor);
MKDEV             501 block/bsg.c    	ret = cdev_add(&bsg_cdev, MKDEV(bsg_major, 0), BSG_MAX_DEVS);
MKDEV             509 block/bsg.c    	unregister_chrdev_region(MKDEV(bsg_major, 0), BSG_MAX_DEVS);
MKDEV             495 block/genhd.c  		*devt = MKDEV(disk->major, disk->first_minor + part->partno);
MKDEV             510 block/genhd.c  	*devt = MKDEV(BLOCK_EXT_MAJOR, blk_mangle_minor(idx));
MKDEV             525 block/genhd.c  	if (devt == MKDEV(0, 0))
MKDEV            1431 block/genhd.c  	dev_t devt = MKDEV(0, 0);
MKDEV            1447 block/genhd.c  			devt = MKDEV(MAJOR(dev->devt),
MKDEV             314 block/partition-generic.c 	dev_t devt = MKDEV(0, 0);
MKDEV             145 drivers/android/binderfs.c 			   MKDEV(MAJOR(binderfs_dev), minor));
MKDEV             446 drivers/android/binderfs.c 			   MKDEV(MAJOR(binderfs_dev), minor));
MKDEV             146 drivers/base/power/wakeup_stats.c 	dev->devt = MKDEV(0, 0);
MKDEV            1887 drivers/block/amiflop.c 	blk_register_region(MKDEV(FLOPPY_MAJOR, 0), 256, THIS_MODULE,
MKDEV             304 drivers/block/aoe/aoechr.c 			      MKDEV(AOE_MAJOR, chardevs[i].minor), NULL,
MKDEV             316 drivers/block/aoe/aoechr.c 		device_destroy(aoe_class, MKDEV(AOE_MAJOR, chardevs[i].minor));
MKDEV            2039 drivers/block/ataflop.c 	blk_register_region(MKDEV(FLOPPY_MAJOR, 0), 256, THIS_MODULE,
MKDEV            2104 drivers/block/ataflop.c 	blk_unregister_region(MKDEV(FLOPPY_MAJOR, 0), 256);
MKDEV             535 drivers/block/brd.c 	blk_register_region(MKDEV(RAMDISK_MAJOR, 0), 1UL << MINORBITS,
MKDEV             559 drivers/block/brd.c 	blk_unregister_region(MKDEV(RAMDISK_MAJOR, 0), 1UL << MINORBITS);
MKDEV            2824 drivers/block/drbd/drbd_main.c 	device->this_bdev = bdget(MKDEV(DRBD_MAJOR, minor));
MKDEV            4591 drivers/block/floppy.c 	blk_register_region(MKDEV(FLOPPY_MAJOR, 0), 256, THIS_MODULE,
MKDEV            4729 drivers/block/floppy.c 	blk_unregister_region(MKDEV(FLOPPY_MAJOR, 0), 256);
MKDEV            4956 drivers/block/floppy.c 	blk_unregister_region(MKDEV(FLOPPY_MAJOR, 0), 256);
MKDEV            2296 drivers/block/loop.c 	blk_register_region(MKDEV(LOOP_MAJOR, 0), range,
MKDEV            2331 drivers/block/loop.c 	blk_unregister_region(MKDEV(LOOP_MAJOR, 0), range);
MKDEV             701 drivers/block/paride/pg.c 			device_create(pg_class, NULL, MKDEV(major, unit), NULL,
MKDEV             720 drivers/block/paride/pg.c 			device_destroy(pg_class, MKDEV(major, unit));
MKDEV             994 drivers/block/paride/pt.c 			device_create(pt_class, NULL, MKDEV(major, unit), NULL,
MKDEV             996 drivers/block/paride/pt.c 			device_create(pt_class, NULL, MKDEV(major, unit + 128),
MKDEV            1012 drivers/block/paride/pt.c 			device_destroy(pt_class, MKDEV(major, unit));
MKDEV            1013 drivers/block/paride/pt.c 			device_destroy(pt_class, MKDEV(major, unit + 128));
MKDEV             317 drivers/block/pktcdvd.c 		pd->dev = device_create(class_pktcdvd, NULL, MKDEV(0, 0), NULL,
MKDEV             384 drivers/block/pktcdvd.c 		pkt_setup_dev(MKDEV(major, minor), NULL);
MKDEV             400 drivers/block/pktcdvd.c 		pkt_remove_dev(MKDEV(major, minor));
MKDEV            2756 drivers/block/pktcdvd.c 	pd->pkt_dev = MKDEV(pktdev_major, idx);
MKDEV             867 drivers/block/swim.c 	blk_register_region(MKDEV(FLOPPY_MAJOR, 0), 256, THIS_MODULE,
MKDEV             953 drivers/block/swim.c 	blk_unregister_region(MKDEV(FLOPPY_MAJOR, 0), 256);
MKDEV             466 drivers/block/xen-blkback/xenbus.c 	vbd->pdevice  = MKDEV(major, minor);
MKDEV             378 drivers/block/z2ram.c     blk_register_region(MKDEV(Z2RAM_MAJOR, 0), Z2MINOR_COUNT, THIS_MODULE,
MKDEV             394 drivers/block/z2ram.c     blk_unregister_region(MKDEV(Z2RAM_MAJOR, 0), Z2MINOR_COUNT);
MKDEV             210 drivers/char/bsr.c 		cur->bsr_dev    = MKDEV(bsr_major, i + total_bsr_devs);
MKDEV             343 drivers/char/bsr.c 		unregister_chrdev_region(MKDEV(bsr_major, 0), BSR_MAX_DEVS);
MKDEV             512 drivers/char/dsp56k.c 	device_create(dsp56k_class, NULL, MKDEV(DSP56K_MAJOR, 0), NULL,
MKDEV             527 drivers/char/dsp56k.c 	device_destroy(dsp56k_class, MKDEV(DSP56K_MAJOR, 0));
MKDEV             813 drivers/char/ipmi/ipmi_devintf.c 	dev_t dev = MKDEV(ipmi_major, if_num);
MKDEV             831 drivers/char/ipmi/ipmi_devintf.c 	dev_t dev = MKDEV(ipmi_major, if_num);
MKDEV             934 drivers/char/lp.c 	device_create(lp_class, port->dev, MKDEV(LP_MAJOR, nr), NULL,
MKDEV            1006 drivers/char/lp.c 			device_destroy(lp_class, MKDEV(LP_MAJOR, n));
MKDEV             964 drivers/char/mem.c 		device_create(mem_class, NULL, MKDEV(MEM_MAJOR, minor),
MKDEV             203 drivers/char/misc.c 	dev = MKDEV(MISC_MAJOR, misc->minor);
MKDEV             248 drivers/char/misc.c 	device_destroy(misc_class, MKDEV(MISC_MAJOR, misc->minor));
MKDEV             307 drivers/char/pc8736x_gpio.c 		devid = MKDEV(major, 0);
MKDEV             346 drivers/char/pc8736x_gpio.c 	unregister_chrdev_region(MKDEV(major,0), PC8736X_GPIO_CT);
MKDEV            1829 drivers/char/pcmcia/cm4000_cs.c 	device_create(cmm_class, NULL, MKDEV(major, i), NULL, "cmm%d", i);
MKDEV            1853 drivers/char/pcmcia/cm4000_cs.c 	device_destroy(cmm_class, MKDEV(major, devno));
MKDEV             596 drivers/char/pcmcia/cm4040_cs.c 	device_create(cmx_class, NULL, MKDEV(major, i), NULL, "cmx%d", i);
MKDEV             619 drivers/char/pcmcia/cm4040_cs.c 	device_destroy(cmx_class, MKDEV(major, devno));
MKDEV             269 drivers/char/pcmcia/scr24x_cs.c 	ret = cdev_add(&dev->c_dev, MKDEV(MAJOR(scr24x_devt), dev->devno), 1);
MKDEV             279 drivers/char/pcmcia/scr24x_cs.c 	device_create(scr24x_class, NULL, MKDEV(MAJOR(scr24x_devt), dev->devno),
MKDEV             296 drivers/char/pcmcia/scr24x_cs.c 	device_destroy(scr24x_class, MKDEV(MAJOR(scr24x_devt), dev->devno));
MKDEV             812 drivers/char/ppdev.c 			    MKDEV(PP_MAJOR, port->number), NULL,
MKDEV             827 drivers/char/ppdev.c 	device_destroy(ppdev_class, MKDEV(PP_MAJOR, port->number));
MKDEV             130 drivers/char/raw.c 	dev_t dev = MKDEV(major, minor);
MKDEV             171 drivers/char/raw.c 		device_destroy(raw_class, MKDEV(RAW_MAJOR, number));
MKDEV             177 drivers/char/raw.c 			dev_t raw = MKDEV(RAW_MAJOR, number);
MKDEV             316 drivers/char/raw.c 	dev_t dev = MKDEV(RAW_MAJOR, 0);
MKDEV             349 drivers/char/raw.c 	device_create(raw_class, NULL, MKDEV(RAW_MAJOR, 0), NULL, "rawctl");
MKDEV             362 drivers/char/raw.c 	device_destroy(raw_class, MKDEV(RAW_MAJOR, 0));
MKDEV             365 drivers/char/raw.c 	unregister_chrdev_region(MKDEV(RAW_MAJOR, 0), max_raw_minors);
MKDEV              99 drivers/char/scx200_gpio.c 		devid = MKDEV(major, 0);
MKDEV             128 drivers/char/scx200_gpio.c 	unregister_chrdev_region(MKDEV(major, 0), MAX_PINS);
MKDEV             367 drivers/char/tpm/tpm-chip.c 		chip->dev.devt = MKDEV(MISC_MAJOR, TPM_MINOR);
MKDEV             369 drivers/char/tpm/tpm-chip.c 		chip->dev.devt = MKDEV(MAJOR(tpm_devt), chip->dev_num);
MKDEV             372 drivers/char/tpm/tpm-chip.c 		MKDEV(MAJOR(tpm_devt), chip->dev_num + TPM_NUM_DEVICES);
MKDEV            1401 drivers/char/virtio_console.c 	devt = MKDEV(portdev->chr_major, id);
MKDEV             635 drivers/char/xilinx_hwicap/xilinx_hwicap.c 	devt = MKDEV(XHWICAP_MAJOR, XHWICAP_MINOR + id);
MKDEV             862 drivers/char/xilinx_hwicap/xilinx_hwicap.c 	devt = MKDEV(XHWICAP_MAJOR, XHWICAP_MINOR);
MKDEV             883 drivers/char/xilinx_hwicap/xilinx_hwicap.c 	dev_t devt = MKDEV(XHWICAP_MAJOR, XHWICAP_MINOR);
MKDEV            1824 drivers/char/xillybus/xillybus_core.c 	rc = cdev_add(&endpoint->cdev, MKDEV(major, minor),
MKDEV            1845 drivers/char/xillybus/xillybus_core.c 				       MKDEV(major, i),
MKDEV            1865 drivers/char/xillybus/xillybus_core.c 		device_destroy(xillybus_class, MKDEV(major, i));
MKDEV            1869 drivers/char/xillybus/xillybus_core.c 	unregister_chrdev_region(MKDEV(major, minor), endpoint->num_channels);
MKDEV            1881 drivers/char/xillybus/xillybus_core.c 		device_destroy(xillybus_class, MKDEV(endpoint->major, minor));
MKDEV            1883 drivers/char/xillybus/xillybus_core.c 	unregister_chrdev_region(MKDEV(endpoint->major,
MKDEV              84 drivers/crypto/qat/qat_common/adf_ctl_drv.c 	device_destroy(adf_ctl_drv.drv_class, MKDEV(adf_ctl_drv.major, 0));
MKDEV              87 drivers/crypto/qat/qat_common/adf_ctl_drv.c 	unregister_chrdev_region(MKDEV(adf_ctl_drv.major, 0), 1);
MKDEV             113 drivers/crypto/qat/qat_common/adf_ctl_drv.c 				   MKDEV(adf_ctl_drv.major, 0),
MKDEV             562 drivers/dax/super.c 	devt = MKDEV(MAJOR(dax_devt), minor);
MKDEV              25 drivers/dca/dca-sysfs.c 	cd = device_create(dca_class, dca->cd, MKDEV(0, slot + 1), NULL,
MKDEV              34 drivers/dca/dca-sysfs.c 	device_destroy(dca_class, MKDEV(0, slot + 1));
MKDEV              54 drivers/dca/dca-sysfs.c 	cd = device_create(dca_class, dev, MKDEV(0, 0), NULL, "dca%d", dca->id);
MKDEV            1039 drivers/firewire/core-device.c 	device->device.devt = MKDEV(fw_cdev_major, minor);
MKDEV             347 drivers/fpga/dfl.c 			dfl_chrdevs[i].devt = MKDEV(0, 0);
MKDEV             374 drivers/fpga/dfl.c 	return MKDEV(MAJOR(dfl_chrdevs[type].devt), id);
MKDEV             630 drivers/gpio/gpiolib-sysfs.c 					MKDEV(0, 0), data, gpio_groups,
MKDEV             766 drivers/gpio/gpiolib-sysfs.c 					MKDEV(0, 0),
MKDEV            1193 drivers/gpio/gpiolib.c 	gdev->dev.devt = MKDEV(MAJOR(gpio_devt), gdev->id);
MKDEV              76 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c 					MKDEV(kfd_char_dev_major, 0),
MKDEV              94 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c 	device_destroy(kfd_class, MKDEV(kfd_char_dev_major, 0));
MKDEV             299 drivers/gpu/drm/drm_dp_aux_dev.c 			       MKDEV(drm_dev_major, minor));
MKDEV             315 drivers/gpu/drm/drm_dp_aux_dev.c 				     MKDEV(drm_dev_major, aux_dev->index), NULL,
MKDEV             404 drivers/gpu/drm/drm_sysfs.c 	kdev->devt = MKDEV(DRM_MAJOR, minor->index);
MKDEV             321 drivers/hid/hid-roccat.c 			MKDEV(roccat_major, minor), NULL,
MKDEV             361 drivers/hid/hid-roccat.c 	device_destroy(device->dev->class, MKDEV(roccat_major, minor));
MKDEV             446 drivers/hid/hid-roccat.c 	dev_t dev_id = MKDEV(roccat_major, 0);
MKDEV             328 drivers/hid/hidraw.c 			       MKDEV(hidraw_major, hidraw->minor));
MKDEV             536 drivers/hid/hidraw.c 	dev->dev = device_create(hidraw_class, &hid->dev, MKDEV(hidraw_major, minor),
MKDEV             614 drivers/hid/hidraw.c 	dev_t dev_id = MKDEV(hidraw_major, 0);
MKDEV             697 drivers/hsi/clients/hsi_char.c 		hsc_dev = MKDEV(hsc_major, hsc_baseminor);
MKDEV             657 drivers/hwtracing/intel_th/core.c 			thdev->dev.devt = MKDEV(th->major, th->num_thdevs);
MKDEV             885 drivers/hwtracing/stm/core.c 	stm->dev.devt = MKDEV(stm->major, 0);
MKDEV             659 drivers/i2c/i2c-dev.c 	i2c_dev->dev.devt = MKDEV(I2C_MAJOR, adap->nr);
MKDEV             726 drivers/i2c/i2c-dev.c 	res = register_chrdev_region(MKDEV(I2C_MAJOR, 0), I2C_MINORS, "i2c");
MKDEV             750 drivers/i2c/i2c-dev.c 	unregister_chrdev_region(MKDEV(I2C_MAJOR, 0), I2C_MINORS);
MKDEV             761 drivers/i2c/i2c-dev.c 	unregister_chrdev_region(MKDEV(I2C_MAJOR, 0), I2C_MINORS);
MKDEV             564 drivers/ide/ide-probe.c 				      MKDEV(0, 0), hwif, "%s", hwif->name);
MKDEV             950 drivers/ide/ide-probe.c 	blk_register_region(MKDEV(disk->major, disk->first_minor),
MKDEV             958 drivers/ide/ide-probe.c 	blk_unregister_region(MKDEV(disk->major, disk->first_minor),
MKDEV            1024 drivers/ide/ide-probe.c 	blk_register_region(MKDEV(hwif->major, 0), MAX_DRIVES << PARTN_BITS,
MKDEV            1617 drivers/ide/ide-probe.c 	blk_unregister_region(MKDEV(hwif->major, 0), MAX_DRIVES<<PARTN_BITS);
MKDEV            1829 drivers/ide/ide-tape.c 	device_destroy(idetape_sysfs_class, MKDEV(IDETAPE_MAJOR, tape->minor));
MKDEV            1831 drivers/ide/ide-tape.c 			MKDEV(IDETAPE_MAJOR, tape->minor + 128));
MKDEV            1997 drivers/ide/ide-tape.c 		      MKDEV(IDETAPE_MAJOR, minor), NULL, "%s", tape->name);
MKDEV            1999 drivers/ide/ide-tape.c 		      MKDEV(IDETAPE_MAJOR, minor + 128), NULL,
MKDEV            1658 drivers/iio/industrialio-core.c 	indio_dev->dev.devt = MKDEV(MAJOR(iio_devt), indio_dev->id);
MKDEV             137 drivers/infiniband/core/user_mad.c static const dev_t base_umad_dev = MKDEV(IB_UMAD_MAJOR, IB_UMAD_MINOR_BASE);
MKDEV              72 drivers/infiniband/core/uverbs_main.c #define IB_UVERBS_BASE_DEV	MKDEV(IB_UVERBS_MAJOR, IB_UVERBS_BASE_MINOR)
MKDEV              66 drivers/infiniband/hw/hfi1/device.c 	const dev_t dev = MKDEV(MAJOR(hfi1_dev), minor);
MKDEV            2261 drivers/infiniband/hw/qib/qib_file_ops.c 	const dev_t dev = MKDEV(MAJOR(qib_dev), minor);
MKDEV            1374 drivers/input/evdev.c 	evdev->dev.devt = MKDEV(INPUT_MAJOR, minor);
MKDEV            2508 drivers/input/input.c 	err = register_chrdev_region(MKDEV(INPUT_MAJOR, 0),
MKDEV            2525 drivers/input/input.c 	unregister_chrdev_region(MKDEV(INPUT_MAJOR, 0),
MKDEV             977 drivers/input/joydev.c 	joydev->dev.devt = MKDEV(INPUT_MAJOR, minor);
MKDEV             895 drivers/input/mousedev.c 	mousedev->dev.devt = MKDEV(INPUT_MAJOR, minor);
MKDEV            1396 drivers/isdn/capi/capi.c 	device_create(capi_class, NULL, MKDEV(capi_major, 0), NULL, "capi20");
MKDEV            1399 drivers/isdn/capi/capi.c 		device_destroy(capi_class, MKDEV(capi_major, 0));
MKDEV            1422 drivers/isdn/capi/capi.c 	device_destroy(capi_class, MKDEV(capi_major, 0));
MKDEV             894 drivers/macintosh/adb.c 	device_create(adb_dev_class, NULL, MKDEV(ADB_MAJOR, 0), NULL, "adb");
MKDEV            1998 drivers/md/dm.c 	format_dev_t(md->name, MKDEV(_major, minor));
MKDEV             679 drivers/md/md.c 			dev = MKDEV(MD_MAJOR, next_minor);
MKDEV            4446 drivers/md/md.c 	dev = MKDEV(major, minor);
MKDEV            5573 drivers/md/md.c 		return md_alloc(MKDEV(MD_MAJOR, devnum), NULL);
MKDEV            6297 drivers/md/md.c 			dev = MKDEV(mdp_major,
MKDEV            6301 drivers/md/md.c 			dev = MKDEV(MD_MAJOR, rdev0->preferred_minor);
MKDEV            6498 drivers/md/md.c 	dev_t dev = MKDEV(info->major,info->minor);
MKDEV            9335 drivers/md/md.c 	blk_register_region(MKDEV(MD_MAJOR, 0), 512, THIS_MODULE,
MKDEV            9337 drivers/md/md.c 	blk_register_region(MKDEV(mdp_major, 0), 1UL<<MINORBITS, THIS_MODULE,
MKDEV            9604 drivers/md/md.c 	blk_unregister_region(MKDEV(MD_MAJOR,0), 512);
MKDEV            9605 drivers/md/md.c 	blk_unregister_region(MKDEV(mdp_major,0), 1U << MINORBITS);
MKDEV             121 drivers/media/cec/cec-core.c 	devnode->dev.devt = MKDEV(MAJOR(cec_dev_t), minor);
MKDEV             537 drivers/media/dvb-core/dvbdev.c 			       MKDEV(DVB_MAJOR, minor),
MKDEV             563 drivers/media/dvb-core/dvbdev.c 	device_destroy(dvb_class, MKDEV(DVB_MAJOR, dvbdev->minor));
MKDEV            1035 drivers/media/dvb-core/dvbdev.c 	dev_t dev = MKDEV(DVB_MAJOR, 0);
MKDEV            1068 drivers/media/dvb-core/dvbdev.c 	unregister_chrdev_region(MKDEV(DVB_MAJOR, 0), MAX_DVB_MINORS);
MKDEV             236 drivers/media/mc/mc-devnode.c 	devnode->dev.devt = MKDEV(MAJOR(media_dev_t), devnode->minor);
MKDEV            3213 drivers/media/pci/ddbridge/ddbridge-core.c 				     MKDEV(ddb_major, dev->nr),
MKDEV            3223 drivers/media/pci/ddbridge/ddbridge-core.c 		device_destroy(&ddb_class, MKDEV(ddb_major, dev->nr));
MKDEV            3239 drivers/media/pci/ddbridge/ddbridge-core.c 	device_destroy(&ddb_class, MKDEV(ddb_major, dev->nr));
MKDEV             753 drivers/media/rc/lirc_dev.c 	dev->lirc_dev.devt = MKDEV(MAJOR(lirc_base_dev), minor);
MKDEV             985 drivers/media/v4l2-core/v4l2-dev.c 	ret = cdev_add(vdev->cdev, MKDEV(VIDEO_MAJOR, vdev->minor), 1);
MKDEV             995 drivers/media/v4l2-core/v4l2-dev.c 	vdev->dev.devt = MKDEV(VIDEO_MAJOR, vdev->minor);
MKDEV            1063 drivers/media/v4l2-core/v4l2-dev.c 	dev_t dev = MKDEV(VIDEO_MAJOR, 0);
MKDEV            1086 drivers/media/v4l2-core/v4l2-dev.c 	dev_t dev = MKDEV(VIDEO_MAJOR, 0);
MKDEV              31 drivers/misc/cxl/file.c #define CXL_AFU_MKDEV_D(afu) MKDEV(MAJOR(cxl_dev), CXL_AFU_MINOR_D(afu))
MKDEV              32 drivers/misc/cxl/file.c #define CXL_AFU_MKDEV_M(afu) MKDEV(MAJOR(cxl_dev), CXL_AFU_MINOR_M(afu))
MKDEV              33 drivers/misc/cxl/file.c #define CXL_AFU_MKDEV_S(afu) MKDEV(MAJOR(cxl_dev), CXL_AFU_MINOR_S(afu))
MKDEV             531 drivers/misc/cxl/flash.c 	devt = MKDEV(MAJOR(cxl_get_dev()), CXL_CARD_MINOR(adapter));
MKDEV             185 drivers/misc/habanalabs/device.c 	(*dev)->devt = MKDEV(hdev->major, minor);
MKDEV             490 drivers/misc/habanalabs/habanalabs_drv.c 	unregister_chrdev_region(MKDEV(hl_major, 0), HL_MAX_MINORS);
MKDEV             509 drivers/misc/habanalabs/habanalabs_drv.c 	unregister_chrdev_region(MKDEV(hl_major, 0), HL_MAX_MINORS);
MKDEV             748 drivers/misc/hpilo.c 		device_destroy(ilo_class, MKDEV(ilo_major, i));
MKDEV             833 drivers/misc/hpilo.c 	error = cdev_add(&ilo_hw->cdev, MKDEV(ilo_major, start), max_ccb);
MKDEV             842 drivers/misc/hpilo.c 				    MKDEV(ilo_major, minor), NULL,
MKDEV             912 drivers/misc/hpilo.c 	unregister_chrdev_region(MKDEV(ilo_major, 0), MAX_OPEN);
MKDEV             957 drivers/misc/mei/main.c 	devno = MKDEV(MAJOR(mei_devt), dev->minor);
MKDEV             257 drivers/misc/mic/cosm/cosm_main.c 			       MKDEV(0, cdev->index), cdev, cdev->attr_group,
MKDEV             276 drivers/misc/mic/cosm/cosm_main.c 	device_destroy(g_cosm_class, MKDEV(0, cdev->index));
MKDEV             287 drivers/misc/mic/cosm/cosm_main.c 	device_destroy(g_cosm_class, MKDEV(0, cdev->index));
MKDEV             531 drivers/misc/ocxl/file.c 	info->dev.devt = MKDEV(MAJOR(ocxl_dev), minor);
MKDEV             400 drivers/misc/phantom.c 	retval = cdev_add(&pht->cdev, MKDEV(phantom_major, minor), 1);
MKDEV             407 drivers/misc/phantom.c 				 MKDEV(phantom_major, minor), NULL,
MKDEV             439 drivers/misc/phantom.c 	device_destroy(phantom_class, MKDEV(phantom_major, minor));
MKDEV             553 drivers/misc/phantom.c 	unregister_chrdev_region(MKDEV(phantom_major, 0), PHANTOM_MAX_MINORS);
MKDEV            2532 drivers/mmc/core/block.c 	rpmb->dev.devt = MKDEV(MAJOR(mmc_rpmb_devt), rpmb->id);
MKDEV              85 drivers/mtd/mtdcore.c #define MTD_DEVT(index) MKDEV(MTD_CHAR_MAJOR, (index)*2)
MKDEV              48 drivers/mtd/mtdsuper.c 	sb->s_dev = MKDEV(MTD_BLOCK_MAJOR, sb->s_mtd->index);
MKDEV             274 drivers/mtd/ubi/vmt.c 	vol->dev.devt = MKDEV(MAJOR(ubi->cdev.dev), vol_id + 1);
MKDEV             585 drivers/mtd/ubi/vmt.c 	dev = MKDEV(MAJOR(ubi->cdev.dev), vol->vol_id + 1);
MKDEV             163 drivers/net/ipvlan/ipvtap.c 		devt = MKDEV(MAJOR(ipvtap_major), vlantap->tap.minor);
MKDEV             180 drivers/net/ipvlan/ipvtap.c 		devt = MKDEV(MAJOR(ipvtap_major), vlantap->tap.minor);
MKDEV             170 drivers/net/macvtap.c 		devt = MKDEV(MAJOR(macvtap_major), vlantap->tap.minor);
MKDEV             187 drivers/net/macvtap.c 		devt = MKDEV(MAJOR(macvtap_major), vlantap->tap.minor);
MKDEV            1197 drivers/net/ppp/ppp_generic.c 	device_create(ppp_class, NULL, MKDEV(PPP_MAJOR, 0), NULL, "ppp");
MKDEV            3275 drivers/net/ppp/ppp_generic.c 	device_destroy(ppp_class, MKDEV(PPP_MAJOR, 0));
MKDEV             380 drivers/net/wan/cosa.c 		device_create(cosa_class, NULL, MKDEV(cosa_major, i), NULL,
MKDEV             398 drivers/net/wan/cosa.c 		device_destroy(cosa_class, MKDEV(cosa_major, i));
MKDEV             709 drivers/nvdimm/bus.c 	dev_t devt = MKDEV(nvdimm_bus_major, nvdimm_bus->id);
MKDEV             723 drivers/nvdimm/bus.c 	device_destroy(nd_class, MKDEV(nvdimm_bus_major, nvdimm_bus->id));
MKDEV             490 drivers/nvdimm/dimm_devs.c 	dev->devt = MKDEV(nvdimm_major, nvdimm->id);
MKDEV            4069 drivers/nvme/host/core.c 	ctrl->device->devt = MKDEV(MAJOR(nvme_chr_devt), ctrl->instance);
MKDEV            1170 drivers/nvme/host/fabrics.c 		device_create(nvmf_class, NULL, MKDEV(0, 0), NULL, "ctl");
MKDEV            1186 drivers/nvme/host/fabrics.c 	device_destroy(nvmf_class, MKDEV(0, 0));
MKDEV            1197 drivers/nvme/host/fabrics.c 	device_destroy(nvmf_class, MKDEV(0, 0));
MKDEV            3474 drivers/nvme/host/fc.c 	fc_udev_device = device_create(&fc_class, NULL, MKDEV(0, 0), NULL,
MKDEV            3489 drivers/nvme/host/fc.c 	device_destroy(&fc_class, MKDEV(0, 0));
MKDEV            3549 drivers/nvme/host/fc.c 	device_destroy(&fc_class, MKDEV(0, 0));
MKDEV            1337 drivers/nvme/target/fcloop.c 				fcloop_class, NULL, MKDEV(0, 0), NULL,
MKDEV            1408 drivers/nvme/target/fcloop.c 	device_destroy(fcloop_class, MKDEV(0, 0));
MKDEV            1158 drivers/pci/switch/switchtec.c 	dev->devt = MKDEV(MAJOR(switchtec_devt), minor);
MKDEV             482 drivers/platform/chrome/wilco_ec/event.c 	dev_data->dev.devt = MKDEV(event_major, minor);
MKDEV             560 drivers/platform/chrome/wilco_ec/event.c 	unregister_chrdev_region(MKDEV(event_major, 0), EVENT_MAX_DEV);
MKDEV             570 drivers/platform/chrome/wilco_ec/event.c 	unregister_chrdev_region(MKDEV(event_major, 0), EVENT_MAX_DEV);
MKDEV             386 drivers/platform/chrome/wilco_ec/telemetry.c 	dev_data->dev.devt = MKDEV(telem_major, minor);
MKDEV             451 drivers/platform/chrome/wilco_ec/telemetry.c 	unregister_chrdev_region(MKDEV(telem_major, 0), TELEM_MAX_DEV);
MKDEV             461 drivers/platform/chrome/wilco_ec/telemetry.c 	unregister_chrdev_region(MKDEV(telem_major, 0), TELEM_MAX_DEV);
MKDEV            1350 drivers/platform/x86/wmi.c 	device_destroy(&wmi_bus_class, MKDEV(0, 0));
MKDEV            1387 drivers/platform/x86/wmi.c 	wmi_bus_dev = device_create(&wmi_bus_class, &device->dev, MKDEV(0, 0),
MKDEV            1404 drivers/platform/x86/wmi.c 	device_destroy(&wmi_bus_class, MKDEV(0, 0));
MKDEV             369 drivers/pps/pps.c 	devt = MKDEV(MAJOR(pps_devt), pps->id);
MKDEV             218 drivers/ptp/ptp_clock.c 	ptp->devid = MKDEV(major, index);
MKDEV             261 drivers/pwm/sysfs.c 	export->child.devt = MKDEV(0, 0);
MKDEV             496 drivers/pwm/sysfs.c 	parent = device_create(&pwm_class, chip->dev, MKDEV(0, 0), chip,
MKDEV            2377 drivers/rapidio/devices/rio_mport_cdev.c 	md->dev.devt = MKDEV(MAJOR(dev_number), mport->id);
MKDEV             376 drivers/rpmsg/rpmsg_char.c 	dev->devt = MKDEV(MAJOR(rpmsg_major), ret);
MKDEV             492 drivers/rpmsg/rpmsg_char.c 	dev->devt = MKDEV(MAJOR(rpmsg_major), ret);
MKDEV             454 drivers/rtc/dev.c 	rtc->dev.devt = MKDEV(MAJOR(rtc_devt), rtc->id);
MKDEV             531 drivers/s390/char/fs3270.c 	device_create(class3270, NULL, MKDEV(IBM_FS3270_MAJOR, minor),
MKDEV             537 drivers/s390/char/fs3270.c 	device_destroy(class3270, MKDEV(IBM_FS3270_MAJOR, minor));
MKDEV             558 drivers/s390/char/fs3270.c 	device_create(class3270, NULL, MKDEV(IBM_FS3270_MAJOR, 0),
MKDEV             568 drivers/s390/char/fs3270.c 	device_destroy(class3270, MKDEV(IBM_FS3270_MAJOR, 0));
MKDEV              71 drivers/s390/char/tape_char.c 		MKDEV(tapechar_major, device->first_minor),
MKDEV              79 drivers/s390/char/tape_char.c 		MKDEV(tapechar_major, device->first_minor + 1),
MKDEV             500 drivers/s390/char/tape_char.c 	unregister_chrdev_region(MKDEV(tapechar_major, 0), 256);
MKDEV             782 drivers/s390/char/vmlogrdr.c 					   MKDEV(vmlogrdr_major,
MKDEV             798 drivers/s390/char/vmlogrdr.c 	device_destroy(vmlogrdr_class, MKDEV(vmlogrdr_major, priv->minor_num));
MKDEV             841 drivers/s390/char/vmlogrdr.c 		unregister_chrdev_region(MKDEV(vmlogrdr_major, 0), MAXMINOR);
MKDEV             898 drivers/s390/char/vmur.c 	rc = cdev_add(urd->char_device, MKDEV(major, minor), 1);
MKDEV            1034 drivers/s390/char/vmur.c 	ur_first_dev_maj_min = MKDEV(MAJOR(dev), 0);
MKDEV             371 drivers/s390/crypto/zcrypt_api.c 		devt = MKDEV(MAJOR(zcrypt_devt), MINOR(zcrypt_devt) + i);
MKDEV             452 drivers/s390/crypto/zcrypt_api.c 		devt = MKDEV(MAJOR(zcrypt_devt), MINOR(zcrypt_devt) + i);
MKDEV             940 drivers/scsi/ch.c 				  MKDEV(SCSI_CHANGER_MAJOR, ch->minor), ch,
MKDEV             963 drivers/scsi/ch.c 	device_destroy(ch_sysfs_class, MKDEV(SCSI_CHANGER_MAJOR, ch->minor));
MKDEV             979 drivers/scsi/ch.c 	device_destroy(ch_sysfs_class, MKDEV(SCSI_CHANGER_MAJOR,ch->minor));
MKDEV            3620 drivers/scsi/cxlflash/main.c 	devno = MKDEV(cxlflash_major, minor);
MKDEV            3927 drivers/scsi/cxlflash/main.c 	dev_t devno = MKDEV(cxlflash_major, 0);
MKDEV             281 drivers/scsi/dpt_i2o.c 				NULL, MKDEV(DPTI_I2O_MAJOR, pHba->unit), NULL,
MKDEV            1107 drivers/scsi/dpt_i2o.c 				MKDEV(DPTI_I2O_MAJOR, pHba->unit));
MKDEV            5181 drivers/scsi/pmcraid.c 	error = cdev_add(&pinstance->cdev, MKDEV(pmcraid_major, minor), 1);
MKDEV            5186 drivers/scsi/pmcraid.c 		device_create(pmcraid_class, NULL, MKDEV(pmcraid_major, minor),
MKDEV            5203 drivers/scsi/pmcraid.c 		       MKDEV(pmcraid_major, MINOR(pinstance->cdev.dev)));
MKDEV            5904 drivers/scsi/pmcraid.c 	unregister_chrdev_region(MKDEV(pmcraid_major, 0), PMCRAID_MAX_ADAPTERS);
MKDEV            5916 drivers/scsi/pmcraid.c 	unregister_chrdev_region(MKDEV(pmcraid_major, 0),
MKDEV            1118 drivers/scsi/sg.c 				       MKDEV(SCSI_GENERIC_MAJOR, sdp->index),
MKDEV            1532 drivers/scsi/sg.c 	error = cdev_add(cdev, MKDEV(SCSI_GENERIC_MAJOR, sdp->index), 1);
MKDEV            1541 drivers/scsi/sg.c 						MKDEV(SCSI_GENERIC_MAJOR,
MKDEV            1627 drivers/scsi/sg.c 	device_destroy(sg_sysfs_class, MKDEV(SCSI_GENERIC_MAJOR, sdp->index));
MKDEV            1664 drivers/scsi/sg.c 	rc = register_chrdev_region(MKDEV(SCSI_GENERIC_MAJOR, 0), 
MKDEV            1683 drivers/scsi/sg.c 	unregister_chrdev_region(MKDEV(SCSI_GENERIC_MAJOR, 0), SG_MAX_DEVS);
MKDEV            1696 drivers/scsi/sg.c 	unregister_chrdev_region(MKDEV(SCSI_GENERIC_MAJOR, 0),
MKDEV            4181 drivers/scsi/st.c 	cdev_devno = MKDEV(SCSI_TAPE_MAJOR, TAPE_MINOR(dev_num, mode, rew));
MKDEV            4501 drivers/scsi/st.c 	err = register_chrdev_region(MKDEV(SCSI_TAPE_MAJOR, 0),
MKDEV            4516 drivers/scsi/st.c 	unregister_chrdev_region(MKDEV(SCSI_TAPE_MAJOR, 0),
MKDEV            4526 drivers/scsi/st.c 	unregister_chrdev_region(MKDEV(SCSI_TAPE_MAJOR, 0),
MKDEV             221 drivers/soc/qcom/rmtfs_mem.c 	rmtfs_mem->dev.devt = MKDEV(MAJOR(qcom_rmtfs_mem_major), client_id);
MKDEV             757 drivers/spi/spidev.c 		spidev->devt = MKDEV(SPIDEV_MAJOR, minor);
MKDEV             935 drivers/staging/android/vsoc.c 				   MKDEV(vsoc_dev.major, i),
MKDEV             972 drivers/staging/android/vsoc.c 					       MKDEV(vsoc_dev.major, i));
MKDEV             998 drivers/staging/android/vsoc.c 		unregister_chrdev_region(MKDEV(vsoc_dev.major, 0),
MKDEV             194 drivers/staging/comedi/comedi_fops.c 				       MKDEV(COMEDI_MAJOR, dev->minor));
MKDEV            2906 drivers/staging/comedi/comedi_fops.c 			      MKDEV(COMEDI_MAJOR, i), NULL, "comedi%i", i);
MKDEV            2955 drivers/staging/comedi/comedi_fops.c 			      MKDEV(COMEDI_MAJOR, i), NULL, "comedi%i_subd%i",
MKDEV            2979 drivers/staging/comedi/comedi_fops.c 		device_destroy(comedi_class, MKDEV(COMEDI_MAJOR, s->minor));
MKDEV            3008 drivers/staging/comedi/comedi_fops.c 	retval = register_chrdev_region(MKDEV(COMEDI_MAJOR, 0),
MKDEV            3020 drivers/staging/comedi/comedi_fops.c 	retval = cdev_add(&comedi_cdev, MKDEV(COMEDI_MAJOR, 0),
MKDEV            3059 drivers/staging/comedi/comedi_fops.c 	unregister_chrdev_region(MKDEV(COMEDI_MAJOR, 0), COMEDI_NUM_MINORS);
MKDEV            3069 drivers/staging/comedi/comedi_fops.c 	unregister_chrdev_region(MKDEV(COMEDI_MAJOR, 0), COMEDI_NUM_MINORS);
MKDEV             806 drivers/staging/comedi/drivers/comedi_test.c 		ctdev = device_create(ctcls, NULL, MKDEV(0, 0), NULL, DEV_NAME);
MKDEV             822 drivers/staging/comedi/drivers/comedi_test.c 	device_destroy(ctcls, MKDEV(0, 0));
MKDEV             839 drivers/staging/comedi/drivers/comedi_test.c 		device_destroy(ctcls, MKDEV(0, 0));
MKDEV             280 drivers/staging/fieldbus/dev_core.c 	devno = MKDEV(MAJOR(fieldbus_devt), fb->id);
MKDEV             227 drivers/staging/gasket/gasket_core.c 		MKDEV(driver_desc->major, driver_desc->minor +
MKDEV            1741 drivers/staging/gasket/gasket_core.c 	ret = register_chrdev_region(MKDEV(driver_desc->major,
MKDEV            1786 drivers/staging/gasket/gasket_core.c 	unregister_chrdev_region(MKDEV(driver_desc->major, driver_desc->minor),
MKDEV             331 drivers/staging/greybus/authentication.c 	cap->dev_num = MKDEV(MAJOR(cap_dev_num), minor);
MKDEV             624 drivers/staging/greybus/fw-management.c 	fw_mgmt->dev_num = MKDEV(MAJOR(fw_mgmt_dev_num), minor);
MKDEV            1044 drivers/staging/greybus/loopback.c 					MKDEV(0, 0), gb, loopback_groups,
MKDEV             187 drivers/staging/greybus/raw.c 	raw->dev = MKDEV(raw_major, minor);
MKDEV             373 drivers/staging/greybus/raw.c 	unregister_chrdev_region(MKDEV(raw_major, 0), NUM_MINORS);
MKDEV             163 drivers/staging/greybus/vibrator.c 			    MKDEV(0, 0), vib, "vibrator%d", vib->minor);
MKDEV             321 drivers/staging/kpc2000/kpc2000/cell_probe.c 	kudev->dev = device_create(kpc_uio_class, &pcard->pdev->dev, MKDEV(0, 0), kudev, "%s.%d.%d.%d", kudev->uioinfo.name, pcard->card_num, cte.type, kudev->core_num);
MKDEV             141 drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c 	dev = MKDEV(assigned_major_num, pldev->id);
MKDEV             188 drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c 	device_destroy(kpc_dma_class, MKDEV(assigned_major_num, ldev->pldev->id));
MKDEV             453 drivers/staging/most/cdev/cdev.c 	c->devno = MKDEV(comp.major, current_minor);
MKDEV            1210 drivers/staging/pi433/pi433_if.c 	device->devt = MKDEV(MAJOR(pi433_dev), device->minor);
MKDEV              32 drivers/staging/speakup/spk_ttyio.c 	*dev_no = MKDEV(4, (64 + ser));
MKDEV             543 drivers/staging/vme/devices/vme_user.c 	err = register_chrdev_region(MKDEV(VME_MAJOR, 0), VME_DEVS,
MKDEV             559 drivers/staging/vme/devices/vme_user.c 	err = cdev_add(vme_user_cdev, MKDEV(VME_MAJOR, 0), VME_DEVS);
MKDEV             645 drivers/staging/vme/devices/vme_user.c 						MKDEV(VME_MAJOR, i), NULL,
MKDEV             659 drivers/staging/vme/devices/vme_user.c 		device_destroy(vme_user_sysfs_class, MKDEV(VME_MAJOR, i));
MKDEV             686 drivers/staging/vme/devices/vme_user.c 	unregister_chrdev_region(MKDEV(VME_MAJOR, 0), VME_DEVS);
MKDEV             699 drivers/staging/vme/devices/vme_user.c 		device_destroy(vme_user_sysfs_class, MKDEV(VME_MAJOR, i));
MKDEV             719 drivers/staging/vme/devices/vme_user.c 	unregister_chrdev_region(MKDEV(VME_MAJOR, 0), VME_DEVS);
MKDEV             752 drivers/tee/tee_core.c 	teedev->dev.devt = MKDEV(MAJOR(tee_devt), teedev->id);
MKDEV             952 drivers/tty/pty.c 	if (cdev_add(&ptmx_cdev, MKDEV(TTYAUX_MAJOR, 2), 1) ||
MKDEV             953 drivers/tty/pty.c 	    register_chrdev_region(MKDEV(TTYAUX_MAJOR, 2), 1, "/dev/ptmx") < 0)
MKDEV             955 drivers/tty/pty.c 	device_create(tty_class, NULL, MKDEV(TTYAUX_MAJOR, 2), NULL, "ptmx");
MKDEV            2144 drivers/tty/serial/serial_core.c 	dev_t devt = MKDEV(tty_drv->major, tty_drv->minor_start) +
MKDEV              42 drivers/tty/tty_audit.c 	buf->dev = MKDEV(0, 0);
MKDEV             140 drivers/tty/tty_audit.c 	dev = MKDEV(tty->driver->major, tty->driver->minor_start) + tty->index;
MKDEV             227 drivers/tty/tty_audit.c 	dev = MKDEV(tty->driver->major, tty->driver->minor_start) + tty->index;
MKDEV             323 drivers/tty/tty_io.c 		dev_t base = MKDEV(p->major, p->minor_start);
MKDEV             369 drivers/tty/tty_io.c 				*number = MKDEV(p->major, p->minor_start + index);
MKDEV            1805 drivers/tty/tty_io.c 	if (device != MKDEV(TTYAUX_MAJOR, 0))
MKDEV            1844 drivers/tty/tty_io.c 	case MKDEV(TTY_MAJOR, 0): {
MKDEV            1851 drivers/tty/tty_io.c 	case MKDEV(TTYAUX_MAJOR, 1): {
MKDEV            2076 drivers/tty/tty_io.c 		 (IS_ENABLED(CONFIG_VT) && device == MKDEV(TTY_MAJOR, 0)) ||
MKDEV            2077 drivers/tty/tty_io.c 		 device == MKDEV(TTYAUX_MAJOR, 1) ||
MKDEV            3110 drivers/tty/tty_io.c 	dev_t devt = MKDEV(driver->major, driver->minor_start) + index;
MKDEV            3188 drivers/tty/tty_io.c 		MKDEV(driver->major, driver->minor_start) + index);
MKDEV            3327 drivers/tty/tty_io.c 		dev = MKDEV(driver->major, driver->minor_start);
MKDEV            3381 drivers/tty/tty_io.c 	unregister_chrdev_region(MKDEV(driver->major, driver->minor_start),
MKDEV            3393 drivers/tty/tty_io.c 	return MKDEV(tty->driver->major, tty->driver->minor_start) + tty->index;
MKDEV            3406 drivers/tty/tty_io.c 	if (dev->devt == MKDEV(TTYAUX_MAJOR, 0) ||
MKDEV            3407 drivers/tty/tty_io.c 	    dev->devt == MKDEV(TTYAUX_MAJOR, 2))
MKDEV            3488 drivers/tty/tty_io.c 	if (cdev_add(&tty_cdev, MKDEV(TTYAUX_MAJOR, 0), 1) ||
MKDEV            3489 drivers/tty/tty_io.c 	    register_chrdev_region(MKDEV(TTYAUX_MAJOR, 0), 1, "/dev/tty") < 0)
MKDEV            3491 drivers/tty/tty_io.c 	device_create(tty_class, NULL, MKDEV(TTYAUX_MAJOR, 0), NULL, "tty");
MKDEV            3494 drivers/tty/tty_io.c 	if (cdev_add(&console_cdev, MKDEV(TTYAUX_MAJOR, 1), 1) ||
MKDEV            3495 drivers/tty/tty_io.c 	    register_chrdev_region(MKDEV(TTYAUX_MAJOR, 1), 1, "/dev/console") < 0)
MKDEV            3498 drivers/tty/tty_io.c 					    MKDEV(TTYAUX_MAJOR, 1), NULL,
MKDEV             718 drivers/tty/vt/vc_screen.c 	device_create(vc_class, NULL, MKDEV(VCS_MAJOR, index + 1), NULL,
MKDEV             720 drivers/tty/vt/vc_screen.c 	device_create(vc_class, NULL, MKDEV(VCS_MAJOR, index + 65), NULL,
MKDEV             722 drivers/tty/vt/vc_screen.c 	device_create(vc_class, NULL, MKDEV(VCS_MAJOR, index + 129), NULL,
MKDEV             728 drivers/tty/vt/vc_screen.c 	device_destroy(vc_class, MKDEV(VCS_MAJOR, index + 1));
MKDEV             729 drivers/tty/vt/vc_screen.c 	device_destroy(vc_class, MKDEV(VCS_MAJOR, index + 65));
MKDEV             730 drivers/tty/vt/vc_screen.c 	device_destroy(vc_class, MKDEV(VCS_MAJOR, index + 129));
MKDEV             741 drivers/tty/vt/vc_screen.c 	device_create(vc_class, NULL, MKDEV(VCS_MAJOR, 0), NULL, "vcs");
MKDEV             742 drivers/tty/vt/vc_screen.c 	device_create(vc_class, NULL, MKDEV(VCS_MAJOR, 64), NULL, "vcsu");
MKDEV             743 drivers/tty/vt/vc_screen.c 	device_create(vc_class, NULL, MKDEV(VCS_MAJOR, 128), NULL, "vcsa");
MKDEV            3465 drivers/tty/vt/vt.c 	if (cdev_add(&vc0_cdev, MKDEV(TTY_MAJOR, 0), 1) ||
MKDEV            3466 drivers/tty/vt/vt.c 	    register_chrdev_region(MKDEV(TTY_MAJOR, 0), 1, "/dev/vc/0") < 0)
MKDEV            3469 drivers/tty/vt/vt.c 					    MKDEV(TTY_MAJOR, 0), NULL,
MKDEV            4032 drivers/tty/vt/vt.c 					  MKDEV(0, con_driver->node),
MKDEV            4112 drivers/tty/vt/vt.c 		device_destroy(vtconsole_class, MKDEV(0, con_driver->node));
MKDEV            4186 drivers/tty/vt/vt.c 							  MKDEV(0, con->node),
MKDEV             865 drivers/uio/uio.c 	unregister_chrdev_region(MKDEV(uio_major, 0), UIO_MAX_DEVICES);
MKDEV             949 drivers/uio/uio.c 	idev->dev.devt = MKDEV(uio_major, idev->minor);
MKDEV             130 drivers/usb/core/devio.c #define USB_DEVICE_DEV		MKDEV(USB_DEVICE_MAJOR, 0)
MKDEV             204 drivers/usb/core/file.c 				      MKDEV(USB_MAJOR, minor), class_driver,
MKDEV             237 drivers/usb/core/file.c 	device_destroy(usb_class->class, MKDEV(USB_MAJOR, intf->minor));
MKDEV            2529 drivers/usb/core/hub.c 	udev->dev.devt = MKDEV(USB_DEVICE_MAJOR,
MKDEV             825 drivers/usb/gadget/function/f_hid.c 	dev = MKDEV(major, hidg->minor);
MKDEV            1079 drivers/usb/gadget/function/f_hid.c 	device_destroy(hidg_class, MKDEV(major, hidg->minor));
MKDEV            1164 drivers/usb/gadget/function/f_hid.c 		unregister_chrdev_region(MKDEV(major, 0), minors);
MKDEV            1079 drivers/usb/gadget/function/f_printer.c 	devt = MKDEV(major, dev->minor);
MKDEV            1367 drivers/usb/gadget/function/f_printer.c 	device_destroy(usb_gadget_class, MKDEV(major, dev->minor));
MKDEV            1493 drivers/usb/gadget/function/f_printer.c 		unregister_chrdev_region(MKDEV(major, 0), minors);
MKDEV            1360 drivers/usb/mon/mon_bin.c 			    MKDEV(MAJOR(mon_bin_dev0), minor), NULL,
MKDEV             380 drivers/vfio/vfio.c 			    MKDEV(MAJOR(vfio.group_devt), minor),
MKDEV             415 drivers/vfio/vfio.c 	device_destroy(vfio.class, MKDEV(MAJOR(vfio.group_devt), group->minor));
MKDEV            3689 drivers/video/fbdev/core/fbcon.c 	fbcon_device = device_create(fb_class, NULL, MKDEV(0, 0), NULL,
MKDEV            3725 drivers/video/fbdev/core/fbcon.c 	device_destroy(fb_class, MKDEV(0, 0));
MKDEV            1601 drivers/video/fbdev/core/fbmem.c 				     MKDEV(FB_MAJOR, i), NULL, "fb%d", i);
MKDEV            1687 drivers/video/fbdev/core/fbmem.c 	device_destroy(fb_class, MKDEV(FB_MAJOR, i));
MKDEV             998 drivers/watchdog/watchdog_dev.c 	wd_data->dev.devt = MKDEV(MAJOR(watchdog_devt), wdd->id);
MKDEV             147 fs/9p/vfs_inode.c 		*rdev = MKDEV(major, minor);
MKDEV             207 fs/char_dev.c  		next = MKDEV(MAJOR(n)+1, 0);
MKDEV             219 fs/char_dev.c  		next = MKDEV(MAJOR(n)+1, 0);
MKDEV             243 fs/char_dev.c  	*dev = MKDEV(cd->major, cd->baseminor);
MKDEV             288 fs/char_dev.c  	err = cdev_add(cdev, MKDEV(cd->major, baseminor), count);
MKDEV             317 fs/char_dev.c  		next = MKDEV(MAJOR(n)+1, 0);
MKDEV             266 fs/cifs/inode.c 		fattr->cf_rdev = MKDEV(le64_to_cpu(info->DevMajor),
MKDEV             272 fs/cifs/inode.c 		fattr->cf_rdev = MKDEV(le64_to_cpu(info->DevMajor),
MKDEV             514 fs/cifs/inode.c 				fattr->cf_rdev = MKDEV(mjr, mnr);
MKDEV             526 fs/cifs/inode.c 				fattr->cf_rdev = MKDEV(mjr, mnr);
MKDEV             376 fs/coda/psdev.c 			      MKDEV(CODA_PSDEV_MAJOR, i), NULL, "cfs%d", i);
MKDEV             415 fs/coda/psdev.c 		device_destroy(coda_psdev_class, MKDEV(CODA_PSDEV_MAJOR, i));
MKDEV             433 fs/coda/psdev.c 		device_destroy(coda_psdev_class, MKDEV(CODA_PSDEV_MAJOR, i));
MKDEV             362 fs/devpts/inode.c 	init_special_inode(inode, mode, MKDEV(TTYAUX_MAJOR, 2));
MKDEV             582 fs/devpts/inode.c 	init_special_inode(inode, S_IFCHR|opts->mode, MKDEV(UNIX98_PTY_SLAVE_MAJOR, index));
MKDEV             122 fs/efs/inode.c 			device = MKDEV(sysv_major(rdev), sysv_minor(rdev));
MKDEV             346 fs/fuse/cuse.c 	devt = MKDEV(arg->dev_major, arg->dev_minor);
MKDEV             375 fs/gfs2/glops.c 		ip->i_inode.i_rdev = MKDEV(be32_to_cpu(str->di_major),
MKDEV             521 fs/hostfs/hostfs_kern.c 	rdev = MKDEV(st.maj, st.min);
MKDEV             408 fs/isofs/rock.c 					    MKDEV(low >> 8, low & 0xff);
MKDEV             411 fs/isofs/rock.c 					    MKDEV(high, low);
MKDEV             104 fs/nfs/blocklayout/rpc_pipefs.c 	dev = MKDEV(reply->major, reply->minor);
MKDEV             402 fs/nfs/nfs3xdr.c 	*rdev = MKDEV(major, minor);
MKDEV            3968 fs/nfs/nfs4xdr.c 	*rdev = MKDEV(0,0);
MKDEV            3979 fs/nfs/nfs4xdr.c 		tmp = MKDEV(major, minor);
MKDEV             329 fs/nfsd/nfs3proc.c 		rdev = MKDEV(argp->major, argp->minor);
MKDEV             619 fs/nfsd/nfs4proc.c 		rdev = MKDEV(create->cr_specdata1, create->cr_specdata2);
MKDEV             630 fs/nfsd/nfs4proc.c 		rdev = MKDEV(create->cr_specdata1, create->cr_specdata2);
MKDEV             188 fs/nfsd/nfsfh.c 			fh->fh_fsid[0] = new_encode_dev(MKDEV(ntohl((__force __be32)fh->fh_fsid[0]),
MKDEV              38 fs/proc/consoles.c 			dev = MKDEV(driver->major, driver->minor_start);
MKDEV              72 fs/proc/proc_tty.c 	dev_t from = MKDEV(p->major, p->minor_start);
MKDEV              96 fs/proc/proc_tty.c 		dev_t next = MKDEV(MAJOR(from)+1, 0);
MKDEV              73 fs/pstore/pmsg.c 	pmsg_device = device_create(pmsg_class, NULL, MKDEV(pmsg_major, 0),
MKDEV              91 fs/pstore/pmsg.c 	device_destroy(pmsg_class, MKDEV(pmsg_major, 0));
MKDEV             353 fs/romfs/super.c 		init_special_inode(i, mode, MKDEV(nextfh >> 16,
MKDEV             487 fs/romfs/super.c 		sb->s_dev = MKDEV(MTD_BLOCK_MAJOR, sb->s_mtd->index);
MKDEV            1088 fs/super.c     	*p = MKDEV(0, dev);
MKDEV            1340 fs/ubifs/dir.c 		whiteout_ui->data_len = ubifs_encode_dev(dev, MKDEV(0, 0));
MKDEV            1603 fs/udf/inode.c 				MKDEV(le32_to_cpu(dsea->majorDeviceIdent),
MKDEV             198 fs/ufs/util.c  			dev = MKDEV(sysv_major(fs32), sysv_minor(fs32));
MKDEV             194 fs/xfs/xfs_linux.h 	return MKDEV(sysv_major(dev) & 0x1ff, sysv_minor(dev));
MKDEV             250 include/linux/genhd.h 	return MKDEV(disk->major, disk->first_minor);
MKDEV             779 include/linux/genhd.h 	dev_t devt = MKDEV(0, 0);
MKDEV              36 include/linux/kdev_t.h 	return MKDEV((val >> 8) & 255, val & 255);
MKDEV              50 include/linux/kdev_t.h 	return MKDEV(major, minor);
MKDEV              10 include/linux/root_dev.h 	Root_NFS = MKDEV(UNNAMED_MAJOR, 255),
MKDEV              11 include/linux/root_dev.h 	Root_CIFS = MKDEV(UNNAMED_MAJOR, 254),
MKDEV              12 include/linux/root_dev.h 	Root_RAM0 = MKDEV(RAMDISK_MAJOR, 0),
MKDEV              13 include/linux/root_dev.h 	Root_RAM1 = MKDEV(RAMDISK_MAJOR, 1),
MKDEV              14 include/linux/root_dev.h 	Root_FD0 = MKDEV(FLOPPY_MAJOR, 0),
MKDEV              15 include/linux/root_dev.h 	Root_HDA1 = MKDEV(IDE0_MAJOR, 1),
MKDEV              16 include/linux/root_dev.h 	Root_HDA2 = MKDEV(IDE0_MAJOR, 2),
MKDEV              17 include/linux/root_dev.h 	Root_SDA1 = MKDEV(SCSI_DISK0_MAJOR, 1),
MKDEV              18 include/linux/root_dev.h 	Root_SDA2 = MKDEV(SCSI_DISK0_MAJOR, 2),
MKDEV              19 include/linux/root_dev.h 	Root_HDC1 = MKDEV(IDE1_MAJOR, 1),
MKDEV              20 include/linux/root_dev.h 	Root_SR0 = MKDEV(SCSI_CDROM_MAJOR, 0),
MKDEV             256 init/do_mounts.c 			res = MKDEV(maj, min);
MKDEV             136 init/do_mounts_md.c 			dev = MKDEV(mdp_major, minor << MdpMinorShift);
MKDEV             138 init/do_mounts_md.c 			dev = MKDEV(MD_MAJOR, minor);
MKDEV             297 init/do_mounts_md.c 	create_dev("/dev/md0", MKDEV(MD_MAJOR, 0));
MKDEV             290 init/do_mounts_rd.c 	create_dev("/dev/ram", MKDEV(RAMDISK_MAJOR, n));
MKDEV             174 init/initramfs.c 	rdev = new_encode_dev(MKDEV(parsed[9], parsed[10]));
MKDEV              26 init/noinitramfs.c 			new_encode_dev(MKDEV(5, 1)));
MKDEV             942 mm/backing-dev.c 	dev = device_create(bdi_class, NULL, MKDEV(0, 0), bdi, bdi->dev_name);
MKDEV             277 net/netfilter/xt_IDLETIMER.c 					    MKDEV(0, 0), NULL, "timers");
MKDEV             294 net/netfilter/xt_IDLETIMER.c 	device_destroy(idletimer_tg_class, MKDEV(0, 0));
MKDEV             305 net/netfilter/xt_IDLETIMER.c 	device_destroy(idletimer_tg_class, MKDEV(0, 0));
MKDEV            2436 security/apparmor/apparmorfs.c 			   MKDEV(MEM_MAJOR, 3));
MKDEV            1960 security/selinux/selinuxfs.c 	init_special_inode(inode, S_IFCHR | S_IRUGO | S_IWUGO, MKDEV(MEM_MAJOR, 3));
MKDEV             274 sound/core/sound.c 	device->devt = MKDEV(major, minor);
MKDEV             283 sound/sound_core.c 	device_create(sound_class, dev, MKDEV(SOUND_MAJOR, s->unit_minor),
MKDEV             309 sound/sound_core.c 		device_destroy(sound_class, MKDEV(SOUND_MAJOR, p->unit_minor));