devt              189 arch/mips/include/asm/octeon/cvmx-pci-defs.h 		uint32_t devt:2;
devt              227 arch/mips/include/asm/octeon/cvmx-pci-defs.h 		uint32_t devt:2;
devt               62 arch/mips/include/asm/octeon/cvmx-pciercx-defs.h 		__BITFIELD_FIELD(uint32_t devt:2,
devt              123 arch/mips/kernel/vpe-cmp.c 	vpe_device.devt = MKDEV(major, VPE_MODULE_MINOR);
devt              371 arch/mips/kernel/vpe-mt.c 	vpe_device.devt = MKDEV(major, VPE_MODULE_MINOR);
devt              145 arch/x86/kernel/cpuid.c 	return kasprintf(GFP_KERNEL, "cpu/%u/cpuid", MINOR(dev->devt));
devt              204 arch/x86/kernel/msr.c 	return kasprintf(GFP_KERNEL, "cpu/%u/msr", MINOR(dev->devt));
devt              488 block/genhd.c  int blk_alloc_devt(struct hd_struct *part, dev_t *devt)
devt              495 block/genhd.c  		*devt = MKDEV(disk->major, disk->first_minor + part->partno);
devt              510 block/genhd.c  	*devt = MKDEV(BLOCK_EXT_MAJOR, blk_mangle_minor(idx));
devt              523 block/genhd.c  void blk_free_devt(dev_t devt)
devt              525 block/genhd.c  	if (devt == MKDEV(0, 0))
devt              528 block/genhd.c  	if (MAJOR(devt) == BLOCK_EXT_MAJOR) {
devt              530 block/genhd.c  		idr_remove(&ext_devt_idr, blk_mangle_minor(MINOR(devt)));
devt              538 block/genhd.c  void blk_invalidate_devt(dev_t devt)
devt              540 block/genhd.c  	if (MAJOR(devt) == BLOCK_EXT_MAJOR) {
devt              542 block/genhd.c  		idr_replace(&ext_devt_idr, NULL, blk_mangle_minor(MINOR(devt)));
devt              547 block/genhd.c  static char *bdevt_str(dev_t devt, char *buf)
devt              549 block/genhd.c  	if (MAJOR(devt) <= 0xff && MINOR(devt) <= 0xff) {
devt              551 block/genhd.c  		snprintf(tbuf, BDEVT_SIZE, "%02x%02x", MAJOR(devt), MINOR(devt));
devt              554 block/genhd.c  		snprintf(buf, BDEVT_SIZE, "%03x:%05x", MAJOR(devt), MINOR(devt));
devt              564 block/genhd.c  void blk_register_region(dev_t devt, unsigned long range, struct module *module,
devt              568 block/genhd.c  	kobj_map(bdev_map, devt, range, module, probe, lock, data);
devt              573 block/genhd.c  void blk_unregister_region(dev_t devt, unsigned long range)
devt              575 block/genhd.c  	kobj_unmap(bdev_map, devt, range);
devt              580 block/genhd.c  static struct kobject *exact_match(dev_t devt, int *partno, void *data)
devt              587 block/genhd.c  static int exact_lock(dev_t devt, void *data)
devt              695 block/genhd.c  	dev_t devt;
devt              717 block/genhd.c  	retval = blk_alloc_devt(&disk->part0, &devt);
devt              722 block/genhd.c  	disk->major = MAJOR(devt);
devt              723 block/genhd.c  	disk->first_minor = MINOR(devt);
devt              738 block/genhd.c  		disk_to_dev(disk)->devt = devt;
devt              871 block/genhd.c  struct gendisk *get_gendisk(dev_t devt, int *partno)
devt              875 block/genhd.c  	if (MAJOR(devt) != BLOCK_EXT_MAJOR) {
devt              878 block/genhd.c  		kobj = kobj_lookup(bdev_map, devt, partno);
devt              885 block/genhd.c  		part = idr_find(&ext_devt_idr, blk_mangle_minor(MINOR(devt)));
devt             1086 block/genhd.c  static struct kobject *base_probe(dev_t devt, int *partno, void *data)
devt             1088 block/genhd.c  	if (request_module("block-major-%d-%d", MAJOR(devt), MINOR(devt)) > 0)
devt             1090 block/genhd.c  		request_module("block-major-%d", MAJOR(devt));
devt             1327 block/genhd.c  	blk_free_devt(dev->devt);
devt             1431 block/genhd.c  	dev_t devt = MKDEV(0, 0);
devt             1447 block/genhd.c  			devt = MKDEV(MAJOR(dev->devt),
devt             1448 block/genhd.c  				     MINOR(dev->devt) + partno);
devt             1453 block/genhd.c  			devt = part_devt(part);
devt             1460 block/genhd.c  	return devt;
devt              226 block/partition-generic.c 	blk_free_devt(dev->devt);
devt              314 block/partition-generic.c 	dev_t devt = MKDEV(0, 0);
devt              371 block/partition-generic.c 	err = blk_alloc_devt(p, &devt);
devt              374 block/partition-generic.c 	pdev->devt = devt;
devt              635 block/partition-generic.c 			md_autodetect_dev(part_to_dev(part)->devt);
devt             1167 drivers/base/core.c 	if (MAJOR(dev->devt)) {
devt             1174 drivers/base/core.c 		add_uevent_var(env, "MAJOR=%u", MAJOR(dev->devt));
devt             1175 drivers/base/core.c 		add_uevent_var(env, "MINOR=%u", MINOR(dev->devt));
devt             1526 drivers/base/core.c 	return print_dev_t(buf, dev->devt);
devt             2042 drivers/base/core.c 		format_dev_t(devt_str, dev->devt);
devt             2055 drivers/base/core.c 		format_dev_t(devt_str, dev->devt);
devt             2182 drivers/base/core.c 	if (MAJOR(dev->devt)) {
devt             2224 drivers/base/core.c 	if (MAJOR(dev->devt))
devt             2356 drivers/base/core.c 	if (MAJOR(dev->devt)) {
devt             2818 drivers/base/core.c 			   dev_t devt, void *drvdata,
devt             2835 drivers/base/core.c 	dev->devt = devt;
devt             2883 drivers/base/core.c 				   dev_t devt, void *drvdata, const char *fmt,
devt             2886 drivers/base/core.c 	return device_create_groups_vargs(class, parent, devt, drvdata, NULL,
devt             2916 drivers/base/core.c 			     dev_t devt, void *drvdata, const char *fmt, ...)
devt             2922 drivers/base/core.c 	dev = device_create_vargs(class, parent, devt, drvdata, fmt, vargs);
devt             2956 drivers/base/core.c 					 struct device *parent, dev_t devt,
devt             2965 drivers/base/core.c 	dev = device_create_groups_vargs(class, parent, devt, drvdata, groups,
devt             2980 drivers/base/core.c void device_destroy(struct class *class, dev_t devt)
devt             2984 drivers/base/core.c 	dev = class_find_device_by_devt(class, devt);
devt             3274 drivers/base/core.c 	if (MAJOR(dev->devt)) {
devt             3284 drivers/base/core.c 				c, MAJOR(dev->devt), MINOR(dev->devt));
devt             3477 drivers/base/core.c 	return dev->devt == *(dev_t *)pdevt;
devt              224 drivers/base/devtmpfs.c 	err = vfs_mknod(d_inode(path.dentry), dentry, mode, dev->devt);
devt              305 drivers/base/devtmpfs.c 	if (stat->rdev != dev->devt)
devt              146 drivers/base/power/wakeup_stats.c 	dev->devt = MKDEV(0, 0);
devt              935 drivers/char/mem.c 	if (mode && devlist[MINOR(dev->devt)].mode)
devt              936 drivers/char/mem.c 		*mode = devlist[MINOR(dev->devt)].mode;
devt              367 drivers/char/tpm/tpm-chip.c 		chip->dev.devt = MKDEV(MISC_MAJOR, TPM_MINOR);
devt              369 drivers/char/tpm/tpm-chip.c 		chip->dev.devt = MKDEV(MAJOR(tpm_devt), chip->dev_num);
devt              371 drivers/char/tpm/tpm-chip.c 	chip->devs.devt =
devt              447 drivers/char/tpm/tpm-chip.c 			dev_name(&chip->dev), MAJOR(chip->dev.devt),
devt              448 drivers/char/tpm/tpm-chip.c 			MINOR(chip->dev.devt), rc);
devt              457 drivers/char/tpm/tpm-chip.c 				dev_name(&chip->devs), MAJOR(chip->devs.devt),
devt              458 drivers/char/tpm/tpm-chip.c 				MINOR(chip->devs.devt), rc);
devt              573 drivers/char/tpm/tpm_vtpm_proxy.c 	vtpm_new_dev->major = MAJOR(proxy_dev->chip->dev.devt);
devt              574 drivers/char/tpm/tpm_vtpm_proxy.c 	vtpm_new_dev->minor = MINOR(proxy_dev->chip->dev.devt);
devt             1364 drivers/char/virtio_console.c 	dev_t devt;
devt             1401 drivers/char/virtio_console.c 	devt = MKDEV(portdev->chr_major, id);
devt             1402 drivers/char/virtio_console.c 	err = cdev_add(port->cdev, devt, 1);
devt             1409 drivers/char/virtio_console.c 				  devt, port, "vport%up%u",
devt             1477 drivers/char/virtio_console.c 	device_destroy(pdrvdata.class, port->dev->devt);
devt             1551 drivers/char/virtio_console.c 	device_destroy(pdrvdata.class, port->dev->devt);
devt              607 drivers/char/xilinx_hwicap/xilinx_hwicap.c 	dev_t devt;
devt              635 drivers/char/xilinx_hwicap/xilinx_hwicap.c 	devt = MKDEV(XHWICAP_MAJOR, XHWICAP_MINOR + id);
devt              662 drivers/char/xilinx_hwicap/xilinx_hwicap.c 	drvdata->devt = devt;
devt              684 drivers/char/xilinx_hwicap/xilinx_hwicap.c 	retval = cdev_add(&drvdata->cdev, devt, 1);
devt              690 drivers/char/xilinx_hwicap/xilinx_hwicap.c 	device_create(icap_class, dev, devt, NULL, "%s%d", DRIVER_NAME, id);
devt              733 drivers/char/xilinx_hwicap/xilinx_hwicap.c 	device_destroy(icap_class, drvdata->devt);
devt              740 drivers/char/xilinx_hwicap/xilinx_hwicap.c 	probed_devices[MINOR(dev->devt)-XHWICAP_MINOR] = 0;
devt              856 drivers/char/xilinx_hwicap/xilinx_hwicap.c 	dev_t devt;
devt              862 drivers/char/xilinx_hwicap/xilinx_hwicap.c 	devt = MKDEV(XHWICAP_MAJOR, XHWICAP_MINOR);
devt              863 drivers/char/xilinx_hwicap/xilinx_hwicap.c 	retval = register_chrdev_region(devt,
devt              876 drivers/char/xilinx_hwicap/xilinx_hwicap.c 	unregister_chrdev_region(devt, HWICAP_DEVICES);
devt              883 drivers/char/xilinx_hwicap/xilinx_hwicap.c 	dev_t devt = MKDEV(XHWICAP_MAJOR, XHWICAP_MINOR);
devt              889 drivers/char/xilinx_hwicap/xilinx_hwicap.c 	unregister_chrdev_region(devt, HWICAP_DEVICES);
devt               54 drivers/char/xilinx_hwicap/xilinx_hwicap.h 	dev_t devt;
devt              427 drivers/dax/bus.c 	dev->devt = inode->i_rdev;
devt              445 drivers/dax/device.c 	rc = cdev_add(cdev, dev->devt, 1);
devt              490 drivers/dax/super.c 	dev_t devt = *(dev_t *) data;
devt              492 drivers/dax/super.c 	return inode->i_rdev == devt;
devt              497 drivers/dax/super.c 	dev_t devt = *(dev_t *) data;
devt              499 drivers/dax/super.c 	inode->i_rdev = devt;
devt              503 drivers/dax/super.c static struct dax_device *dax_dev_get(dev_t devt)
devt              508 drivers/dax/super.c 	inode = iget5_locked(dax_superblock, hash_32(devt + DAXFS_MAGIC, 31),
devt              509 drivers/dax/super.c 			dax_test, dax_set, &devt);
devt              551 drivers/dax/super.c 	dev_t devt;
devt              562 drivers/dax/super.c 	devt = MKDEV(MAJOR(dax_devt), minor);
devt              563 drivers/dax/super.c 	dax_dev = dax_dev_get(devt);
devt              751 drivers/firewire/core-device.c struct fw_device *fw_device_get_by_devt(dev_t devt)
devt              756 drivers/firewire/core-device.c 	device = idr_find(&fw_device_idr, MINOR(devt));
devt              793 drivers/firewire/core-device.c 	int minor = MINOR(device->device.devt);
devt             1039 drivers/firewire/core-device.c 	device->device.devt = MKDEV(fw_cdev_major, minor);
devt              151 drivers/firewire/core.h struct fw_device *fw_device_get_by_devt(dev_t devt);
devt               79 drivers/fpga/dfl.c 	dev_t devt;
devt              344 drivers/fpga/dfl.c 		if (MAJOR(dfl_chrdevs[i].devt)) {
devt              345 drivers/fpga/dfl.c 			unregister_chrdev_region(dfl_chrdevs[i].devt,
devt              347 drivers/fpga/dfl.c 			dfl_chrdevs[i].devt = MKDEV(0, 0);
devt              356 drivers/fpga/dfl.c 		ret = alloc_chrdev_region(&dfl_chrdevs[i].devt, 0,
devt              374 drivers/fpga/dfl.c 	return MKDEV(MAJOR(dfl_chrdevs[type].devt), id);
devt              403 drivers/fpga/dfl.c 	return cdev_add(&pdata->cdev, pdev->dev.devt, 1);
devt              588 drivers/fpga/dfl.c 	fdev->dev.devt = dfl_get_devt(dfl_devs[type].devt_type, fdev->id);
devt              640 drivers/fsi/fsi-core.c 	fsi_free_minor(slave->dev.devt);
devt             1064 drivers/fsi/fsi-core.c 	rc = __fsi_get_new_minor(slave, fsi_dev_cfam, &slave->dev.devt,
devt             1101 drivers/fsi/fsi-core.c 	fsi_free_minor(slave->dev.devt);
devt              971 drivers/fsi/fsi-sbefifo.c 	rc = fsi_get_new_minor(fsi_dev, fsi_dev_sbefifo, &sbefifo->dev.devt, &didx);
devt              996 drivers/fsi/fsi-sbefifo.c 	fsi_free_minor(sbefifo->dev.devt);
devt             1024 drivers/fsi/fsi-sbefifo.c 	fsi_free_minor(sbefifo->dev.devt);
devt              595 drivers/fsi/fsi-scom.c 	rc = fsi_get_new_minor(fsi_dev, fsi_dev_scom, &scom->dev.devt, &didx);
devt              610 drivers/fsi/fsi-scom.c 	fsi_free_minor(scom->dev.devt);
devt              624 drivers/fsi/fsi-scom.c 	fsi_free_minor(scom->dev.devt);
devt              245 drivers/gnss/core.c 	dev->devt = gnss_first + id;
devt             1193 drivers/gpio/gpiolib.c 	gdev->dev.devt = MKDEV(MAJOR(gpio_devt), gdev->id);
devt              110 drivers/gpu/drm/drm_dp_aux_dev.c 		drm_dp_aux_dev_get_by_minor(MINOR(dev->devt));
devt              220 drivers/gpu/drm/drm_file.c 		  (long)old_encode_dev(file->minor->kdev->devt),
devt              990 drivers/gpu/drm/drm_ioc32.c 		  (long)old_encode_dev(file_priv->minor->kdev->devt),
devt              856 drivers/gpu/drm/drm_ioctl.c 		  (long)old_encode_dev(file_priv->minor->kdev->devt),
devt              894 drivers/gpu/drm/drm_ioctl.c 			  (long)old_encode_dev(file_priv->minor->kdev->devt),
devt              404 drivers/gpu/drm/drm_sysfs.c 	kdev->devt = MKDEV(DRM_MAJOR, minor->index);
devt              189 drivers/gpu/drm/mga/mga_ioc32.c 		  (long)old_encode_dev(file_priv->minor->kdev->devt),
devt              657 drivers/hwtracing/intel_th/core.c 			thdev->dev.devt = MKDEV(th->major, th->num_thdevs);
devt              361 drivers/hwtracing/stm/core.c 	return MAJOR(dev->devt) == major;
devt              885 drivers/hwtracing/stm/core.c 	stm->dev.devt = MKDEV(stm->major, 0);
devt              100 drivers/i2c/i2c-dev.c 	struct i2c_dev *i2c_dev = i2c_dev_get_by_minor(MINOR(dev->devt));
devt              659 drivers/i2c/i2c-dev.c 	i2c_dev->dev.devt = MKDEV(I2C_MAJOR, adap->nr);
devt             1658 drivers/iio/industrialio-core.c 	indio_dev->dev.devt = MKDEV(MAJOR(iio_devt), indio_dev->id);
devt             1584 drivers/infiniband/core/nldev.c 				huge_encode_dev(data.cdev->devt),
devt             1291 drivers/infiniband/core/user_mad.c 	port->dev.devt = base_umad;
devt             1301 drivers/infiniband/core/user_mad.c 	port->sm_dev.devt = base_issm;
devt             1303 drivers/infiniband/core/uverbs_main.c 	uverbs_dev->dev.devt = base;
devt             1374 drivers/input/evdev.c 	evdev->dev.devt = MKDEV(INPUT_MAJOR, minor);
devt             1408 drivers/input/evdev.c 	input_free_minor(MINOR(evdev->dev.devt));
devt              977 drivers/input/joydev.c 	joydev->dev.devt = MKDEV(INPUT_MAJOR, minor);
devt             1011 drivers/input/joydev.c 	input_free_minor(MINOR(joydev->dev.devt));
devt              895 drivers/input/mousedev.c 	mousedev->dev.devt = MKDEV(INPUT_MAJOR, minor);
devt              929 drivers/input/mousedev.c 	input_free_minor(MINOR(mousedev->dev.devt));
devt              804 drivers/isdn/hardware/mISDN/mISDNisar.c isar_pump_statev_modem(struct isar_ch *ch, u8 devt) {
devt              807 drivers/isdn/hardware/mISDN/mISDNisar.c 	switch (devt) {
devt              853 drivers/isdn/hardware/mISDN/mISDNisar.c 		pr_info("u%s: unknown pump stev %x\n", ch->is->name, devt);
devt              859 drivers/isdn/hardware/mISDN/mISDNisar.c isar_pump_statev_fax(struct isar_ch *ch, u8 devt) {
devt              863 drivers/isdn/hardware/mISDN/mISDNisar.c 	switch (devt) {
devt              121 drivers/media/cec/cec-core.c 	devnode->dev.devt = MKDEV(MAJOR(cec_dev_t), minor);
devt              236 drivers/media/mc/mc-devnode.c 	devnode->dev.devt = MKDEV(MAJOR(media_dev_t), devnode->minor);
devt              753 drivers/media/rc/lirc_dev.c 	dev->lirc_dev.devt = MKDEV(MAJOR(lirc_base_dev), minor);
devt              800 drivers/media/rc/lirc_dev.c 		dev->driver_name, MINOR(dev->lirc_dev.devt));
devt              808 drivers/media/rc/lirc_dev.c 	ida_simple_remove(&lirc_ida, MINOR(dev->lirc_dev.devt));
devt              995 drivers/media/v4l2-core/v4l2-dev.c 	vdev->dev.devt = MKDEV(VIDEO_MAJOR, vdev->minor);
devt              552 drivers/misc/cxl/file.c 	    CXL_DEVT_IS_CARD(dev->devt)) {
devt              564 drivers/misc/cxl/file.c static int cxl_add_chardev(struct cxl_afu *afu, dev_t devt, struct cdev *cdev,
devt              572 drivers/misc/cxl/file.c 	if ((rc = cdev_add(cdev, devt, 1))) {
devt              577 drivers/misc/cxl/file.c 	dev = device_create(cxl_class, &afu->dev, devt, afu,
devt              528 drivers/misc/cxl/flash.c 	dev_t devt;
devt              531 drivers/misc/cxl/flash.c 	devt = MKDEV(MAJOR(cxl_get_dev()), CXL_CARD_MINOR(adapter));
devt              533 drivers/misc/cxl/flash.c 	if ((rc = cdev_add(&adapter->guest->cdev, devt, 1))) {
devt              539 drivers/misc/cxl/flash.c 	adapter->dev.devt = devt;
devt              185 drivers/misc/habanalabs/device.c 	(*dev)->devt = MKDEV(hdev->major, minor);
devt               46 drivers/misc/ocxl/file.c 	idr_remove(&minors_idr, MINOR(info->dev.devt));
devt              498 drivers/misc/ocxl/file.c 	rc = cdev_add(&info->cdev, info->dev.devt, 1);
devt              531 drivers/misc/ocxl/file.c 	info->dev.devt = MKDEV(MAJOR(ocxl_dev), minor);
devt             2532 drivers/mmc/core/block.c 	rpmb->dev.devt = MKDEV(MAJOR(mmc_rpmb_devt), rpmb->id);
devt              243 drivers/mtd/devices/block2mtd.c 		dev_t devt;
devt              254 drivers/mtd/devices/block2mtd.c 		devt = name_to_dev_t(devname);
devt              255 drivers/mtd/devices/block2mtd.c 		if (!devt)
devt              257 drivers/mtd/devices/block2mtd.c 		bdev = blkdev_get_by_dev(devt, mode, dev);
devt              671 drivers/mtd/mtdcore.c 	mtd->dev.devt = MTD_DEVT(i);
devt              457 drivers/mtd/ubi/build.c 	ubi->dev.devt = dev;
devt              274 drivers/mtd/ubi/vmt.c 	vol->dev.devt = MKDEV(MAJOR(ubi->cdev.dev), vol_id + 1);
devt              595 drivers/mtd/ubi/vmt.c 	vol->dev.devt = dev;
devt              143 drivers/net/ipvlan/ipvtap.c 	dev_t devt;
devt              163 drivers/net/ipvlan/ipvtap.c 		devt = MKDEV(MAJOR(ipvtap_major), vlantap->tap.minor);
devt              164 drivers/net/ipvlan/ipvtap.c 		classdev = device_create(&ipvtap_class, &dev->dev, devt,
devt              180 drivers/net/ipvlan/ipvtap.c 		devt = MKDEV(MAJOR(ipvtap_major), vlantap->tap.minor);
devt              181 drivers/net/ipvlan/ipvtap.c 		device_destroy(&ipvtap_class, devt);
devt              150 drivers/net/macvtap.c 	dev_t devt;
devt              170 drivers/net/macvtap.c 		devt = MKDEV(MAJOR(macvtap_major), vlantap->tap.minor);
devt              171 drivers/net/macvtap.c 		classdev = device_create(&macvtap_class, &dev->dev, devt,
devt              187 drivers/net/macvtap.c 		devt = MKDEV(MAJOR(macvtap_major), vlantap->tap.minor);
devt              188 drivers/net/macvtap.c 		device_destroy(&macvtap_class, devt);
devt              934 drivers/net/wireless/ath/ath6kl/core.h void ath6kl_ready_event(void *devt, u8 *datap, u32 sw_ver, u32 abi_ver,
devt              936 drivers/net/wireless/ath/ath6kl/core.h int ath6kl_control_tx(void *devt, struct sk_buff *skb,
devt              951 drivers/net/wireless/ath/ath6kl/core.h void ath6kl_txpwr_rx_evt(void *devt, u8 tx_pwr);
devt              954 drivers/net/wireless/ath/ath6kl/core.h void ath6kl_indicate_tx_activity(void *devt, u8 traffic_class, bool active);
devt              955 drivers/net/wireless/ath/ath6kl/core.h enum htc_endpoint_id ath6kl_ac2_endpoint_id(void *devt, u8 ac);
devt              149 drivers/net/wireless/ath/ath6kl/main.c enum htc_endpoint_id ath6kl_ac2_endpoint_id(void *devt, u8 ac)
devt              151 drivers/net/wireless/ath/ath6kl/main.c 	struct ath6kl *ar = devt;
devt              525 drivers/net/wireless/ath/ath6kl/main.c void ath6kl_ready_event(void *devt, u8 *datap, u32 sw_ver, u32 abi_ver,
devt              528 drivers/net/wireless/ath/ath6kl/main.c 	struct ath6kl *ar = devt;
devt              857 drivers/net/wireless/ath/ath6kl/main.c void ath6kl_txpwr_rx_evt(void *devt, u8 tx_pwr)
devt              859 drivers/net/wireless/ath/ath6kl/main.c 	struct ath6kl *ar = (struct ath6kl *) devt;
devt              286 drivers/net/wireless/ath/ath6kl/txrx.c int ath6kl_control_tx(void *devt, struct sk_buff *skb,
devt              289 drivers/net/wireless/ath/ath6kl/txrx.c 	struct ath6kl *ar = devt;
devt              525 drivers/net/wireless/ath/ath6kl/txrx.c void ath6kl_indicate_tx_activity(void *devt, u8 traffic_class, bool active)
devt              527 drivers/net/wireless/ath/ath6kl/txrx.c 	struct ath6kl *ar = devt;
devt             2727 drivers/net/wireless/ath/ath6kl/wmi.h void *ath6kl_wmi_init(struct ath6kl *devt);
devt              709 drivers/nvdimm/bus.c 	dev_t devt = MKDEV(nvdimm_bus_major, nvdimm_bus->id);
devt              712 drivers/nvdimm/bus.c 	dev = device_create(nd_class, &nvdimm_bus->dev, devt, nvdimm_bus,
devt              490 drivers/nvdimm/dimm_devs.c 	dev->devt = MKDEV(nvdimm_major, nvdimm->id);
devt             4069 drivers/nvme/host/core.c 	ctrl->device->devt = MKDEV(MAJOR(nvme_chr_devt), ctrl->instance);
devt             1158 drivers/pci/switch/switchtec.c 	dev->devt = MKDEV(MAJOR(switchtec_devt), minor);
devt             1452 drivers/pci/switch/switchtec.c 	ida_simple_remove(&switchtec_minor_ida, MINOR(stdev->dev.devt));
devt             1464 drivers/pci/switch/switchtec.c 	ida_simple_remove(&switchtec_minor_ida, MINOR(stdev->dev.devt));
devt              482 drivers/platform/chrome/wilco_ec/event.c 	dev_data->dev.devt = MKDEV(event_major, minor);
devt              508 drivers/platform/chrome/wilco_ec/event.c 	ida_simple_remove(&event_ida, MINOR(dev_data->dev.devt));
devt              386 drivers/platform/chrome/wilco_ec/telemetry.c 	dev_data->dev.devt = MKDEV(telem_major, minor);
devt              409 drivers/platform/chrome/wilco_ec/telemetry.c 	ida_simple_remove(&telem_ida, MINOR(dev_data->dev.devt));
devt              350 drivers/pps/pps.c 	dev_t devt;
devt              369 drivers/pps/pps.c 	devt = MKDEV(MAJOR(pps_devt), pps->id);
devt              374 drivers/pps/pps.c 	err = cdev_add(&pps->cdev, devt, 1);
devt              380 drivers/pps/pps.c 	pps->dev = device_create(pps_class, pps->info.dev, devt, pps,
devt              410 drivers/pps/pps.c 	device_destroy(pps_class, pps->dev->devt);
devt              256 drivers/ptp/ptp_clock.c 	ptp->dev.devt = ptp->devid;
devt              261 drivers/pwm/sysfs.c 	export->child.devt = MKDEV(0, 0);
devt             2377 drivers/rapidio/devices/rio_mport_cdev.c 	md->dev.devt = MKDEV(MAJOR(dev_number), mport->id);
devt              338 drivers/rpmsg/rpmsg_char.c 	ida_simple_remove(&rpmsg_minor_ida, MINOR(eptdev->dev.devt));
devt              376 drivers/rpmsg/rpmsg_char.c 	dev->devt = MKDEV(MAJOR(rpmsg_major), ret);
devt              384 drivers/rpmsg/rpmsg_char.c 	ret = cdev_add(&eptdev->cdev, dev->devt, 1);
devt              402 drivers/rpmsg/rpmsg_char.c 	ida_simple_remove(&rpmsg_minor_ida, MINOR(dev->devt));
devt              464 drivers/rpmsg/rpmsg_char.c 	ida_simple_remove(&rpmsg_minor_ida, MINOR(dev->devt));
devt              492 drivers/rpmsg/rpmsg_char.c 	dev->devt = MKDEV(MAJOR(rpmsg_major), ret);
devt              500 drivers/rpmsg/rpmsg_char.c 	ret = cdev_add(&ctrldev->cdev, dev->devt, 1);
devt              520 drivers/rpmsg/rpmsg_char.c 	ida_simple_remove(&rpmsg_minor_ida, MINOR(dev->devt));
devt              367 drivers/rtc/class.c 			 MAJOR(rtc->dev.devt), rtc->id);
devt              370 drivers/rtc/class.c 			MAJOR(rtc->dev.devt), rtc->id);
devt              454 drivers/rtc/dev.c 	rtc->dev.devt = MKDEV(MAJOR(rtc_devt), rtc->id);
devt              154 drivers/s390/crypto/zcrypt_api.c static inline struct zcdn_device *find_zcdndev_by_devt(dev_t devt)
devt              156 drivers/s390/crypto/zcrypt_api.c 	struct device *dev = class_find_device_by_devt(zcrypt_class, devt);
devt              344 drivers/s390/crypto/zcrypt_api.c 		   MAJOR(dev->devt), MINOR(dev->devt));
devt              351 drivers/s390/crypto/zcrypt_api.c 	dev_t devt;
devt              371 drivers/s390/crypto/zcrypt_api.c 		devt = MKDEV(MAJOR(zcrypt_devt), MINOR(zcrypt_devt) + i);
devt              372 drivers/s390/crypto/zcrypt_api.c 		zcdndev = find_zcdndev_by_devt(devt);
devt              391 drivers/s390/crypto/zcrypt_api.c 	zcdndev->device.devt = devt;
devt              397 drivers/s390/crypto/zcrypt_api.c 			 ZCRYPT_NAME "_%d", (int) MINOR(devt));
devt              410 drivers/s390/crypto/zcrypt_api.c 		   MAJOR(devt), MINOR(devt));
devt              447 drivers/s390/crypto/zcrypt_api.c 	dev_t devt;
devt              452 drivers/s390/crypto/zcrypt_api.c 		devt = MKDEV(MAJOR(zcrypt_devt), MINOR(zcrypt_devt) + i);
devt              453 drivers/s390/crypto/zcrypt_api.c 		zcdndev = find_zcdndev_by_devt(devt);
devt              589 drivers/scsi/sd.c static struct kobject *sd_default_probe(dev_t devt, int *partno, void *data)
devt             3429 drivers/scsi/sd.c 	dev_t devt;
devt             3432 drivers/scsi/sd.c 	devt = disk_devt(sdkp->disk);
devt             3442 drivers/scsi/sd.c 	blk_register_region(devt, SD_MINORS, NULL,
devt              221 drivers/soc/qcom/rmtfs_mem.c 	rmtfs_mem->dev.devt = MKDEV(MAJOR(qcom_rmtfs_mem_major), client_id);
devt               68 drivers/spi/spidev.c 	dev_t			devt;
devt              561 drivers/spi/spidev.c 		if (spidev->devt == inode->i_rdev) {
devt              757 drivers/spi/spidev.c 		spidev->devt = MKDEV(SPIDEV_MAJOR, minor);
devt              758 drivers/spi/spidev.c 		dev = device_create(spidev_class, &spi->dev, spidev->devt,
devt              794 drivers/spi/spidev.c 	device_destroy(spidev_class, spidev->devt);
devt              795 drivers/spi/spidev.c 	clear_bit(MINOR(spidev->devt), minors);
devt              751 drivers/staging/android/vsoc.c 	dev_t devt;
devt              814 drivers/staging/android/vsoc.c 	result = alloc_chrdev_region(&devt, 0, vsoc_dev.layout->region_count,
devt              821 drivers/staging/android/vsoc.c 	vsoc_dev.major = MAJOR(devt);
devt              824 drivers/staging/android/vsoc.c 	result = cdev_add(&vsoc_dev.cdev, devt, vsoc_dev.layout->region_count);
devt              145 drivers/staging/axis-fifo/axis-fifo.c 	dev_t devt; /* our char device number */
devt              999 drivers/staging/axis-fifo/axis-fifo.c 	rc = alloc_chrdev_region(&fifo->devt, 0, 1, DRIVER_NAME);
devt             1003 drivers/staging/axis-fifo/axis-fifo.c 		MAJOR(fifo->devt), MINOR(fifo->devt));
devt             1006 drivers/staging/axis-fifo/axis-fifo.c 	fifo->device = device_create(axis_fifo_driver_class, NULL, fifo->devt,
devt             1018 drivers/staging/axis-fifo/axis-fifo.c 	rc = cdev_add(&fifo->char_device, fifo->devt, 1);
devt             1033 drivers/staging/axis-fifo/axis-fifo.c 		 MAJOR(fifo->devt), MINOR(fifo->devt));
devt             1040 drivers/staging/axis-fifo/axis-fifo.c 	device_destroy(axis_fifo_driver_class, fifo->devt);
devt             1042 drivers/staging/axis-fifo/axis-fifo.c 	unregister_chrdev_region(fifo->devt, 1);
devt             1062 drivers/staging/axis-fifo/axis-fifo.c 	device_destroy(axis_fifo_driver_class, fifo->devt);
devt             1063 drivers/staging/axis-fifo/axis-fifo.c 	unregister_chrdev_region(fifo->devt, 1);
devt              381 drivers/staging/comedi/comedi_fops.c 	unsigned int minor = MINOR(csdev->devt);
devt              404 drivers/staging/comedi/comedi_fops.c 	unsigned int minor = MINOR(csdev->devt);
devt              437 drivers/staging/comedi/comedi_fops.c 	unsigned int minor = MINOR(csdev->devt);
devt              460 drivers/staging/comedi/comedi_fops.c 	unsigned int minor = MINOR(csdev->devt);
devt              494 drivers/staging/comedi/comedi_fops.c 	unsigned int minor = MINOR(csdev->devt);
devt              517 drivers/staging/comedi/comedi_fops.c 	unsigned int minor = MINOR(csdev->devt);
devt              550 drivers/staging/comedi/comedi_fops.c 	unsigned int minor = MINOR(csdev->devt);
devt              573 drivers/staging/comedi/comedi_fops.c 	unsigned int minor = MINOR(csdev->devt);
devt              226 drivers/staging/gasket/gasket_core.c 	dev_info->devt =
devt              230 drivers/staging/gasket/gasket_core.c 		device_create(internal_desc->class, parent, dev_info->devt,
devt              613 drivers/staging/gasket/gasket_core.c 	ret = cdev_add(&dev_info->cdev, dev_info->devt, 1);
devt             1449 drivers/staging/gasket/gasket_core.c 	device_destroy(internal_desc->class, gasket_dev->dev_info.devt);
devt             1459 drivers/staging/gasket/gasket_core.c 	device_destroy(internal_desc->class, gasket_dev->dev_info.devt);
devt              155 drivers/staging/gasket/gasket_core.h 	dev_t devt;
devt               69 drivers/staging/pi433/pi433_if.c 	dev_t			devt;
devt             1210 drivers/staging/pi433/pi433_if.c 	device->devt = MKDEV(MAJOR(pi433_dev), device->minor);
devt             1213 drivers/staging/pi433/pi433_if.c 				    device->devt,
devt             1247 drivers/staging/pi433/pi433_if.c 	retval = cdev_add(device->cdev, device->devt, 1);
devt             1263 drivers/staging/pi433/pi433_if.c 	device_destroy(pi433_class, device->devt);
devt             1288 drivers/staging/pi433/pi433_if.c 	device_destroy(pi433_class, device->devt);
devt              752 drivers/tee/tee_core.c 	teedev->dev.devt = MKDEV(MAJOR(tee_devt), teedev->id);
devt              778 drivers/tee/tee_core.c 	unregister_chrdev_region(teedev->dev.devt, 1);
devt              830 drivers/tee/tee_core.c 	rc = cdev_add(&teedev->cdev, teedev->dev.devt, 1);
devt              834 drivers/tee/tee_core.c 			teedev->name, MAJOR(teedev->dev.devt),
devt              835 drivers/tee/tee_core.c 			MINOR(teedev->dev.devt), rc);
devt              843 drivers/tee/tee_core.c 			teedev->name, MAJOR(teedev->dev.devt),
devt              844 drivers/tee/tee_core.c 			MINOR(teedev->dev.devt), rc);
devt             2144 drivers/tty/serial/serial_core.c 	dev_t devt = MKDEV(tty_drv->major, tty_drv->minor_start) +
devt             2147 drivers/tty/serial/serial_core.c 	return dev->devt == devt; /* Actually, only one tty per port */
devt             2960 drivers/tty/tty_io.c 	dev_t devt = tty_devnum(tty);
devt             2961 drivers/tty/tty_io.c 	return class_find_device_by_devt(tty_class, devt);
devt             3110 drivers/tty/tty_io.c 	dev_t devt = MKDEV(driver->major, driver->minor_start) + index;
devt             3130 drivers/tty/tty_io.c 	dev->devt = devt;
devt             3155 drivers/tty/tty_io.c 		retval = tty_cdev_add(driver, devt, index, 1);
devt             3406 drivers/tty/tty_io.c 	if (dev->devt == MKDEV(TTYAUX_MAJOR, 0) ||
devt             3407 drivers/tty/tty_io.c 	    dev->devt == MKDEV(TTYAUX_MAJOR, 2))
devt              949 drivers/uio/uio.c 	idev->dev.devt = MKDEV(uio_major, idev->minor);
devt              997 drivers/usb/core/devio.c static struct usb_device *usbdev_lookup_by_devt(dev_t devt)
devt             1001 drivers/usb/core/devio.c 	dev = bus_find_device_by_devt(&usb_bus_type, devt);
devt             2529 drivers/usb/core/hub.c 	udev->dev.devt = MKDEV(USB_DEVICE_MAJOR,
devt             1367 drivers/usb/dwc3/core.h 	struct dwc3_event_devt		devt;
devt              375 drivers/usb/dwc3/debug.h 		return dwc3_gadget_event_string(str, size, &evt.devt);
devt             3192 drivers/usb/dwc3/gadget.c 		dwc3_gadget_interrupt(dwc, &event->devt);
devt             1023 drivers/usb/gadget/function/f_printer.c 	dev_t devt;
devt             1079 drivers/usb/gadget/function/f_printer.c 	devt = MKDEV(major, dev->minor);
devt             1080 drivers/usb/gadget/function/f_printer.c 	pdev = device_create(usb_gadget_class, NULL, devt,
devt             1094 drivers/usb/gadget/function/f_printer.c 	ret = cdev_add(&dev->printer_cdev, devt, 1);
devt             1103 drivers/usb/gadget/function/f_printer.c 	device_destroy(usb_gadget_class, devt);
devt             1466 drivers/usb/gadget/function/f_printer.c 	dev_t devt;
devt             1476 drivers/usb/gadget/function/f_printer.c 	status = alloc_chrdev_region(&devt, 0, count, "USB printer gadget");
devt             1484 drivers/usb/gadget/function/f_printer.c 	major = MAJOR(devt);
devt             1371 drivers/usb/mon/mon_bin.c 	device_destroy(mon_bin_class, mbus->classdev->devt);
devt              998 drivers/watchdog/watchdog_dev.c 	wd_data->dev.devt = MKDEV(MAJOR(watchdog_devt), wdd->id);
devt              538 fs/char_dev.c  	if (dev->devt) {
devt              541 fs/char_dev.c  		rc = cdev_add(cdev, dev->devt, 1);
devt              571 fs/char_dev.c  	if (dev->devt)
devt               77 fs/fuse/cuse.c static struct list_head *cuse_conntbl_head(dev_t devt)
devt               79 fs/fuse/cuse.c 	return &cuse_conntbl[(MAJOR(devt) + MINOR(devt)) % CUSE_CONNTBL_LEN];
devt              115 fs/fuse/cuse.c 	dev_t devt = inode->i_cdev->dev;
devt              121 fs/fuse/cuse.c 	list_for_each_entry(pos, cuse_conntbl_head(devt), list)
devt              122 fs/fuse/cuse.c 		if (pos->dev->devt == devt) {
devt              327 fs/fuse/cuse.c 	dev_t devt;
devt              346 fs/fuse/cuse.c 	devt = MKDEV(arg->dev_major, arg->dev_minor);
devt              347 fs/fuse/cuse.c 	if (!MAJOR(devt))
devt              348 fs/fuse/cuse.c 		rc = alloc_chrdev_region(&devt, MINOR(devt), 1, devinfo.name);
devt              350 fs/fuse/cuse.c 		rc = register_chrdev_region(devt, 1, devinfo.name);
devt              365 fs/fuse/cuse.c 	dev->devt = devt;
devt              392 fs/fuse/cuse.c 	rc = cdev_add(cdev, devt, 1);
devt              400 fs/fuse/cuse.c 	list_add(&cc->list, cuse_conntbl_head(devt));
devt              417 fs/fuse/cuse.c 	unregister_chrdev_region(devt, 1);
devt              224 include/linux/device.h 						     dev_t devt)
devt              226 include/linux/device.h 	return bus_find_device(bus, NULL, &devt, device_match_devt);
devt              479 include/linux/device.h 							dev_t devt)
devt              481 include/linux/device.h 	return driver_find_device(drv, NULL, &devt, device_match_devt);
devt              684 include/linux/device.h 						       dev_t devt)
devt              686 include/linux/device.h 	return class_find_device(class, NULL, &devt, device_match_devt);
devt             1297 include/linux/device.h 	dev_t			devt;	/* dev_t, creates the sysfs "dev" */
devt             1573 include/linux/device.h 				   dev_t devt, void *drvdata,
devt             1577 include/linux/device.h 			     dev_t devt, void *drvdata,
devt             1581 include/linux/device.h 			     struct device *parent, dev_t devt, void *drvdata,
devt             1584 include/linux/device.h extern void device_destroy(struct class *cls, dev_t devt);
devt              255 include/linux/genhd.h 	return part_to_dev(part)->devt;
devt              618 include/linux/genhd.h extern int blk_alloc_devt(struct hd_struct *part, dev_t *devt);
devt              619 include/linux/genhd.h extern void blk_free_devt(dev_t devt);
devt              620 include/linux/genhd.h extern void blk_invalidate_devt(dev_t devt);
devt              640 include/linux/genhd.h extern void blk_register_region(dev_t devt, unsigned long range,
devt              645 include/linux/genhd.h extern void blk_unregister_region(dev_t devt, unsigned long range);
devt              779 include/linux/genhd.h 	dev_t devt = MKDEV(0, 0);
devt              780 include/linux/genhd.h 	return devt;
devt              146 init/do_mounts.c 	res = dev->devt;
devt              244 init/do_mounts.c 		res = dev->devt;
devt              172 kernel/time/posix-clock.c 			dev_name(dev), MAJOR(dev->devt), MINOR(dev->devt));
devt              985 mm/backing-dev.c 	rc = bdi_register(bdi, "%u:%u", MAJOR(owner->devt), MINOR(owner->devt));
devt              274 sound/core/sound.c 	device->devt = MKDEV(major, minor);
devt               35 sound/sound_core.c 	if (MAJOR(dev->devt) == SOUND_MAJOR)
devt               76 sound/usb/media.c 						  MAJOR(pcm_dev->devt),
devt               77 sound/usb/media.c 						  MINOR(pcm_dev->devt));
devt              180 sound/usb/media.c 						MAJOR(ctl_dev->devt),
devt              181 sound/usb/media.c 						MINOR(ctl_dev->devt));