major             222 arch/alpha/kernel/srmcons.c 		driver->major = 0; 	/* dynamic */
major              28 arch/arm/mach-imx/mach-qong.c #define QONG_FPGA_VERSION(major, minor, rev)	\
major              29 arch/arm/mach-imx/mach-qong.c 	(((major & 0xF) << 12) | ((minor & 0xF) << 8) | (rev & 0xFF))
major             456 arch/arm64/mm/fault.c 	vm_fault_t fault, major = 0;
major             523 arch/arm64/mm/fault.c 	major |= fault & VM_FAULT_MAJOR;
major             561 arch/arm64/mm/fault.c 		if (major) {
major             240 arch/ia64/include/asm/sal.h #define SAL_VERSION_CODE(major, minor) ((bin2bcd(major) << 8) | bin2bcd(minor))
major             311 arch/ia64/include/asm/sal.h 	u8 major;		/* BCD (0..99) */
major              34 arch/m68k/emu/nfblock.c static inline s32 nfhd_read_write(u32 major, u32 minor, u32 rwflag, u32 recno,
major              37 arch/m68k/emu/nfblock.c 	return nf_call(nfhd_id + NFHD_READ_WRITE, major, minor, rwflag, recno,
major              41 arch/m68k/emu/nfblock.c static inline s32 nfhd_get_capacity(u32 major, u32 minor, u32 *blocks,
major              44 arch/m68k/emu/nfblock.c 	return nf_call(nfhd_id + NFHD_GET_CAPACITY, major, minor,
major             133 arch/m68k/emu/nfblock.c 	dev->disk->major = major_num;
major             158 arch/m68k/include/uapi/asm/bootinfo.h #define MK_BI_VERSION(major, minor)	(((major) << 16) + (minor))
major              57 arch/mips/ath79/setup.c 	u32 major;
major              63 arch/mips/ath79/setup.c 	major = id & REV_ID_MAJOR_MASK;
major              65 arch/mips/ath79/setup.c 	switch (major) {
major              20 arch/mips/include/asm/mach-ath25/ath25_platform.h 	u16 major;                   /* Board major number */
major             155 arch/mips/include/asm/mips-cm.h #define CM_ENCODE_REV(major, minor) \
major             156 arch/mips/include/asm/mips-cm.h 		(((major) << __ffs(CM_GCR_REV_MAJOR)) | \
major             441 arch/mips/include/asm/octeon/cvmx-pko-defs.h 		uint64_t major:3;
major             443 arch/mips/include/asm/octeon/cvmx-pko-defs.h 		uint64_t major:3;
major             477 arch/mips/include/asm/octeon/cvmx-pko-defs.h 		uint64_t major:3;
major             479 arch/mips/include/asm/octeon/cvmx-pko-defs.h 		uint64_t major:3;
major             525 arch/mips/include/asm/octeon/cvmx-pko-defs.h 		uint64_t major:4;
major             527 arch/mips/include/asm/octeon/cvmx-pko-defs.h 		uint64_t major:4;
major              20 arch/mips/kernel/rtlx-cmp.c static int major;
major              64 arch/mips/kernel/rtlx-cmp.c 	major = register_chrdev(0, RTLX_MODULE_NAME, &rtlx_fops);
major              65 arch/mips/kernel/rtlx-cmp.c 	if (major < 0) {
major              67 arch/mips/kernel/rtlx-cmp.c 		return major;
major              77 arch/mips/kernel/rtlx-cmp.c 		dev = device_create(mt_class, NULL, MKDEV(major, i), NULL,
major              81 arch/mips/kernel/rtlx-cmp.c 				device_destroy(mt_class, MKDEV(major, i));
major             105 arch/mips/kernel/rtlx-cmp.c 		device_destroy(mt_class, MKDEV(major, i));
major             107 arch/mips/kernel/rtlx-cmp.c 	unregister_chrdev(major, RTLX_MODULE_NAME);
major             117 arch/mips/kernel/rtlx-cmp.c 		device_destroy(mt_class, MKDEV(major, i));
major             119 arch/mips/kernel/rtlx-cmp.c 	unregister_chrdev(major, RTLX_MODULE_NAME);
major              21 arch/mips/kernel/rtlx-mt.c static int major;
major              90 arch/mips/kernel/rtlx-mt.c 	major = register_chrdev(0, RTLX_MODULE_NAME, &rtlx_fops);
major              91 arch/mips/kernel/rtlx-mt.c 	if (major < 0) {
major              93 arch/mips/kernel/rtlx-mt.c 		return major;
major             103 arch/mips/kernel/rtlx-mt.c 		dev = device_create(mt_class, NULL, MKDEV(major, i), NULL,
major             107 arch/mips/kernel/rtlx-mt.c 				device_destroy(mt_class, MKDEV(major, i));
major             136 arch/mips/kernel/rtlx-mt.c 		device_destroy(mt_class, MKDEV(major, i));
major             138 arch/mips/kernel/rtlx-mt.c 	unregister_chrdev(major, RTLX_MODULE_NAME);
major             148 arch/mips/kernel/rtlx-mt.c 		device_destroy(mt_class, MKDEV(major, i));
major             150 arch/mips/kernel/rtlx-mt.c 	unregister_chrdev(major, RTLX_MODULE_NAME);
major              17 arch/mips/kernel/vpe-cmp.c static int major;
major             107 arch/mips/kernel/vpe-cmp.c 	major = register_chrdev(0, VPE_MODULE_NAME, &vpe_fops);
major             108 arch/mips/kernel/vpe-cmp.c 	if (major < 0) {
major             110 arch/mips/kernel/vpe-cmp.c 		return major;
major             123 arch/mips/kernel/vpe-cmp.c 	vpe_device.devt = MKDEV(major, VPE_MODULE_MINOR);
major             163 arch/mips/kernel/vpe-cmp.c 	unregister_chrdev(major, VPE_MODULE_NAME);
major             174 arch/mips/kernel/vpe-cmp.c 	unregister_chrdev(major, VPE_MODULE_NAME);
major              20 arch/mips/kernel/vpe-mt.c static int major;
major             355 arch/mips/kernel/vpe-mt.c 	major = register_chrdev(0, VPE_MODULE_NAME, &vpe_fops);
major             356 arch/mips/kernel/vpe-mt.c 	if (major < 0) {
major             358 arch/mips/kernel/vpe-mt.c 		return major;
major             371 arch/mips/kernel/vpe-mt.c 	vpe_device.devt = MKDEV(major, VPE_MODULE_MINOR);
major             503 arch/mips/kernel/vpe-mt.c 	unregister_chrdev(major, VPE_MODULE_NAME);
major             514 arch/mips/kernel/vpe-mt.c 	unregister_chrdev(major, VPE_MODULE_NAME);
major             178 arch/parisc/kernel/pdc_cons.c 	pdc_console_tty_driver->major = MUX_MAJOR;
major             239 arch/parisc/math-emu/fpudispatch.c 	u_int class, subop, major;
major             247 arch/parisc/math-emu/fpudispatch.c 	major = get_major(ir);
major             257 arch/parisc/math-emu/fpudispatch.c 	switch (major) {
major              20 arch/powerpc/include/asm/ps3.h 		u16 major;
major              27 arch/powerpc/include/asm/ps3.h int ps3_compare_firmware_version(u16 major, u16 minor, u16 rev);
major              51 arch/powerpc/include/asm/vdso_datapage.h 		__u32 major;		/* Major number			0x10 */
major             706 arch/powerpc/kernel/vdso.c 	vdso_data->version.major = SYSTEMCFG_MAJOR;
major             445 arch/powerpc/mm/fault.c 	vm_fault_t fault, major = 0;
major             587 arch/powerpc/mm/fault.c 	major |= fault & VM_FAULT_MAJOR;
major             621 arch/powerpc/mm/fault.c 	if (major) {
major              46 arch/powerpc/platforms/ps3/setup.c int ps3_compare_firmware_version(u16 major, u16 minor, u16 rev)
major              51 arch/powerpc/platforms/ps3/setup.c 	x.major = major;
major             194 arch/powerpc/platforms/ps3/setup.c 	       ps3_firmware_version.major, ps3_firmware_version.minor,
major              78 arch/sh/kernel/cpu/sh5/unwind.c 		u8 major, minor;
major              83 arch/sh/kernel/cpu/sh5/unwind.c 		major = (op >> 26) & 0x3f;
major             103 arch/sh/kernel/cpu/sh5/unwind.c 		switch (major) {
major             458 arch/sh/kernel/traps_64.c 	int major, minor;
major             469 arch/sh/kernel/traps_64.c 	major = (opcode >> 26) & 0x3f;
major             472 arch/sh/kernel/traps_64.c 	switch (major) {
major             650 arch/sh/kernel/traps_64.c 	unsigned long major, minor, combined;
major             687 arch/sh/kernel/traps_64.c 	major = (opcode >> 26) & 0x3f;
major             689 arch/sh/kernel/traps_64.c 	combined = (major << 4) | minor;
major             690 arch/sh/kernel/traps_64.c 	index = major;
major            3511 arch/sparc/include/asm/hypervisor.h 			        unsigned long *major,
major            3514 arch/sparc/include/asm/hypervisor.h 			        unsigned long major,
major            3518 arch/sparc/include/asm/hypervisor.h int sun4v_hvapi_register(unsigned long group, unsigned long major,
major            3522 arch/sparc/include/asm/hypervisor.h 		    unsigned long *major,
major              49 arch/sparc/include/asm/vio.h 	u16			major;
major             373 arch/sparc/include/asm/vio.h 	u16		major;
major             445 arch/sparc/include/asm/vio.h 				      u16 major, u16 minor)
major             447 arch/sparc/include/asm/vio.h 	u32 have = (u32)vio->ver.major << 16 | vio->ver.minor;
major             448 arch/sparc/include/asm/vio.h 	u32 want = (u32)major << 16 | minor;
major             454 arch/sparc/include/asm/vio.h 				      u16 major, u16 minor)
major             456 arch/sparc/include/asm/vio.h 	u32 have = (u32)vio->ver.major << 16 | vio->ver.minor;
major             457 arch/sparc/include/asm/vio.h 	u32 want = (u32)major << 16 | minor;
major             463 arch/sparc/include/asm/vio.h 					u16 major, u16 minor)
major             465 arch/sparc/include/asm/vio.h 	u32 have = (u32)vio->ver.major << 16 | vio->ver.minor;
major             466 arch/sparc/include/asm/vio.h 	u32 want = (u32)major << 16 | minor;
major              66 arch/sparc/kernel/ds.c 	__u16			major;
major              82 arch/sparc/kernel/ds.c 	__u16			major;
major              88 arch/sparc/kernel/ds.c 	__u16			major;
major             102 arch/sparc/kernel/ds.c 	__u16			major;
major             911 arch/sparc/kernel/ds.c 		pbuf.req.major = 1;
major            1072 arch/sparc/kernel/ds.c 	req.ver.major = 1;
major            1260 arch/sparc/kernel/ds.c 	unsigned long hv_ret, major, minor;
major            1263 arch/sparc/kernel/ds.c 		hv_ret = sun4v_get_version(HV_GRP_REBOOT_DATA, &major, &minor);
major            1266 arch/sparc/kernel/ds.c 				major, minor);
major              20 arch/sparc/kernel/hvapi.c 	unsigned long major;
major              81 arch/sparc/kernel/hvapi.c 		p->major = p->minor = 0;
major              96 arch/sparc/kernel/hvapi.c int sun4v_hvapi_register(unsigned long group, unsigned long major,
major             109 arch/sparc/kernel/hvapi.c 			if (p->major == major) {
major             117 arch/sparc/kernel/hvapi.c 			hv_ret = sun4v_set_version(group, major, *minor,
major             122 arch/sparc/kernel/hvapi.c 				p->major = major;
major             128 arch/sparc/kernel/hvapi.c 					if (major == 1) {
major             129 arch/sparc/kernel/hvapi.c 						p->major = 1;
major             161 arch/sparc/kernel/hvapi.c 		    unsigned long *major,
major             172 arch/sparc/kernel/hvapi.c 		*major = p->major;
major             184 arch/sparc/kernel/hvapi.c 	unsigned long group, major, minor;
major             187 arch/sparc/kernel/hvapi.c 	major = 1;
major             189 arch/sparc/kernel/hvapi.c 	if (sun4v_hvapi_register(group, major, &minor))
major             193 arch/sparc/kernel/hvapi.c 	major = 1;
major             195 arch/sparc/kernel/hvapi.c 	if (sun4v_hvapi_register(group, major, &minor))
major             203 arch/sparc/kernel/hvapi.c 		    group, major, minor);
major             154 arch/sparc/kernel/irq_64.c 	unsigned long hv_error, major, minor = 0;
major             160 arch/sparc/kernel/irq_64.c 		major = hvirq_major;
major             162 arch/sparc/kernel/irq_64.c 		major = 3;
major             164 arch/sparc/kernel/irq_64.c 	hv_error = sun4v_hvapi_register(HV_GRP_INTR, major, &minor);
major             166 arch/sparc/kernel/irq_64.c 		hv_irq_version = major;
major              80 arch/sparc/kernel/ldc.c 	u16 major;
major              86 arch/sparc/kernel/ldc.c 	{ .major = 1, .minor = 0 },
major             376 arch/sparc/kernel/ldc.c 	       ver->major, ver->minor);
major             390 arch/sparc/kernel/ldc.c 			     u16 major, u16 minor)
major             396 arch/sparc/kernel/ldc.c 	ver.major = major;
major             403 arch/sparc/kernel/ldc.c 		       ver.major, ver.minor);
major             420 arch/sparc/kernel/ldc.c 		       vp->major, vp->minor);
major             558 arch/sparc/kernel/ldc.c static struct ldc_version *find_by_major(u16 major)
major             565 arch/sparc/kernel/ldc.c 		if (v->major <= major) {
major             579 arch/sparc/kernel/ldc.c 	       vp->major, vp->minor);
major             586 arch/sparc/kernel/ldc.c 	vap = find_by_major(vp->major);
major             589 arch/sparc/kernel/ldc.c 	} else if (vap->major != vp->major) {
major             590 arch/sparc/kernel/ldc.c 		err = send_version_nack(lp, vap->major, vap->minor);
major             610 arch/sparc/kernel/ldc.c 	       vp->major, vp->minor);
major             613 arch/sparc/kernel/ldc.c 		if (lp->ver.major != vp->major ||
major             631 arch/sparc/kernel/ldc.c 	if (vp->major == 0 && vp->minor == 0)
major             634 arch/sparc/kernel/ldc.c 	vap = find_by_major(vp->major);
major            2388 arch/sparc/kernel/ldc.c 	unsigned long major, minor;
major            2407 arch/sparc/kernel/ldc.c 	major = 1;
major            2409 arch/sparc/kernel/ldc.c 	if (sun4v_hvapi_register(HV_GRP_LDOM, major, &minor)) {
major              39 arch/sparc/kernel/pci_sun4v.c 	unsigned long major;
major              45 arch/sparc/kernel/pci_sun4v.c 	{ .major = 2, .minor = 0 },
major              46 arch/sparc/kernel/pci_sun4v.c 	{ .major = 1, .minor = 1 },
major            1238 arch/sparc/kernel/pci_sun4v.c 			vpci_major = vpci_versions[i].major;
major            1506 arch/sparc/kernel/smp_64.c 	unsigned long major;
major            1513 arch/sparc/kernel/smp_64.c 	ret = sun4v_hvapi_get(HV_GRP_CORE, &major, &minor);
major            1519 arch/sparc/kernel/smp_64.c 	if (major == 1 && minor >= 6) {
major              92 arch/sparc/kernel/sstate.c 	unsigned long major, minor;
major              97 arch/sparc/kernel/sstate.c 	major = 1;
major              99 arch/sparc/kernel/sstate.c 	if (sun4v_hvapi_register(HV_GRP_SOFT_STATE, major, &minor))
major              48 arch/sparc/kernel/viohs.c static int send_version(struct vio_driver_state *vio, u16 major, u16 minor)
major              56 arch/sparc/kernel/viohs.c 	pkt.major = major;
major              61 arch/sparc/kernel/viohs.c 	       major, minor, vio->dev_class);
major              75 arch/sparc/kernel/viohs.c 			   vio->ver_table[0].major,
major             240 arch/sparc/kernel/viohs.c 					 u16 major)
major             247 arch/sparc/kernel/viohs.c 		if (v->major <= major) {
major             262 arch/sparc/kernel/viohs.c 	       pkt->major, pkt->minor, pkt->dev_class);
major             270 arch/sparc/kernel/viohs.c 	vap = find_by_major(vio, pkt->major);
major             276 arch/sparc/kernel/viohs.c 		pkt->major = 0;
major             280 arch/sparc/kernel/viohs.c 	} else if (vap->major != pkt->major) {
major             282 arch/sparc/kernel/viohs.c 		pkt->major = vap->major;
major             285 arch/sparc/kernel/viohs.c 		       pkt->major, pkt->minor);
major             289 arch/sparc/kernel/viohs.c 			.major = pkt->major,
major             298 arch/sparc/kernel/viohs.c 		       pkt->major, pkt->minor);
major             315 arch/sparc/kernel/viohs.c 	       pkt->major, pkt->minor, pkt->dev_class);
major             318 arch/sparc/kernel/viohs.c 		if (vio->ver.major != pkt->major ||
major             325 arch/sparc/kernel/viohs.c 		vio->ver.major = pkt->major;
major             350 arch/sparc/kernel/viohs.c 	       pkt->major, pkt->minor, pkt->dev_class);
major             352 arch/sparc/kernel/viohs.c 	if (pkt->major == 0 && pkt->minor == 0)
major             354 arch/sparc/kernel/viohs.c 	nver = find_by_major(vio, pkt->major);
major             358 arch/sparc/kernel/viohs.c 	if (send_version(vio, nver->major, nver->minor) < 0)
major             554 arch/um/drivers/line.c 	driver->major = line_driver->major;
major              22 arch/um/drivers/line.h 	const short major;
major              46 arch/um/drivers/ssl.c 	.major 			= TTY_MAJOR,
major              52 arch/um/drivers/stdio_console.c 	.major 			= TTY_MAJOR,
major             274 arch/um/drivers/ubd_kern.c 		int major;
major             283 arch/um/drivers/ubd_kern.c 		major = simple_strtoul(str, &end, 0);
major             295 arch/um/drivers/ubd_kern.c 		fake_major = major;
major             298 arch/um/drivers/ubd_kern.c 		       major);
major             868 arch/um/drivers/ubd_kern.c static int ubd_disk_register(int major, u64 size, int unit,
major             878 arch/um/drivers/ubd_kern.c 	disk->major = major;
major             882 arch/um/drivers/ubd_kern.c 	if (major == UBD_MAJOR)
major             888 arch/um/drivers/ubd_kern.c 	if (major == UBD_MAJOR) {
major             179 arch/um/include/shared/os.h extern unsigned long long os_makedev(unsigned major, unsigned minor);
major             603 arch/um/os-Linux/file.c 	return major(dev);
major             611 arch/um/os-Linux/file.c unsigned long long os_makedev(unsigned major, unsigned minor)
major             613 arch/um/os-Linux/file.c 	return makedev(major, minor);
major            1311 arch/x86/mm/fault.c 	vm_fault_t fault, major = 0;
major            1464 arch/x86/mm/fault.c 	major |= fault & VM_FAULT_MAJOR;
major            1499 arch/x86/mm/fault.c 	if (major) {
major              87 arch/x86/xen/enlighten_hvm.c 	int major, minor;
major              93 arch/x86/xen/enlighten_hvm.c 	major = eax >> 16;
major              95 arch/x86/xen/enlighten_hvm.c 	printk(KERN_INFO "Xen version %d.%d.\n", major, minor);
major             154 arch/x86/xen/enlighten_pv.c xen_running_on_version_or_later(unsigned int major, unsigned int minor)
major             162 arch/x86/xen/enlighten_pv.c 	if ((((version >> 16) == major) && ((version & 0xffff) >= minor)) ||
major             163 arch/x86/xen/enlighten_pv.c 		((version >> 16) > major))
major             181 arch/xtensa/platforms/iss/console.c 	serial_driver->major = TTY_MAJOR;
major             284 arch/xtensa/platforms/iss/simdisk.c 	dev->gd->major = simdisk_major;
major             770 block/blk-cgroup.c 	unsigned int major, minor;
major             774 block/blk-cgroup.c 	if (sscanf(input, "%u:%u%n", &major, &minor, &key_len) != 2)
major             782 block/blk-cgroup.c 	disk = get_gendisk(MKDEV(major, minor), &part);
major             311 block/genhd.c  	int major;
major             316 block/genhd.c  static inline int major_to_index(unsigned major)
major             318 block/genhd.c  	return major % BLKDEV_MAJOR_HASH_SIZE;
major             328 block/genhd.c  		if (dp->major == offset)
major             329 block/genhd.c  			seq_printf(seqf, "%3d %s\n", dp->major, dp->name);
major             354 block/genhd.c  int register_blkdev(unsigned int major, const char *name)
major             362 block/genhd.c  	if (major == 0) {
major             374 block/genhd.c  		major = index;
major             375 block/genhd.c  		ret = major;
major             378 block/genhd.c  	if (major >= BLKDEV_MAJOR_MAX) {
major             380 block/genhd.c  		       __func__, major, BLKDEV_MAJOR_MAX-1, name);
major             392 block/genhd.c  	p->major = major;
major             395 block/genhd.c  	index = major_to_index(major);
major             398 block/genhd.c  		if ((*n)->major == major)
major             408 block/genhd.c  		       major, name);
major             418 block/genhd.c  void unregister_blkdev(unsigned int major, const char *name)
major             422 block/genhd.c  	int index = major_to_index(major);
major             426 block/genhd.c  		if ((*n)->major == major)
major             495 block/genhd.c  		*devt = MKDEV(disk->major, disk->first_minor + part->partno);
major             711 block/genhd.c  	WARN_ON(disk->minors && !(disk->major || disk->first_minor));
major             722 block/genhd.c  	disk->major = MAJOR(devt);
major             165 drivers/android/binderfs.c 	req->major = MAJOR(binderfs_dev);
major            2021 drivers/atm/ambassador.c   u32 major;
major            2029 drivers/atm/ambassador.c   major = be32_to_cpu (cmd.args.version.major);
major            2031 drivers/atm/ambassador.c   PRINTK (KERN_INFO, "microcode version is %u.%u", major, minor);
major             376 drivers/atm/ambassador.h       __be32 major;
major            1830 drivers/block/amiflop.c 		disk->major = FLOPPY_MAJOR;
major              45 drivers/block/aoe/aoe.h 	__be16 major;
major             417 drivers/block/aoe/aoeblk.c 	gd->major = AOE_MAJOR;
major              82 drivers/block/aoe/aoechr.c 	int major, minor, n;
major              94 drivers/block/aoe/aoechr.c 	n = sscanf(buf, "e%d.%d", &major, &minor);
major              99 drivers/block/aoe/aoechr.c 	d = aoedev_by_aoeaddr(major, minor, 0);
major             104 drivers/block/aoe/aoechr.c 	aoecmd_cfg(major, minor);
major             137 drivers/block/aoe/aoecmd.c 	h->major = cpu_to_be16(d->aoemajor);
major             441 drivers/block/aoe/aoecmd.c 		h->major = cpu_to_be16(aoemajor);
major            1164 drivers/block/aoe/aoecmd.c 			be16_to_cpu(get_unaligned(&hin->major)),
major            1313 drivers/block/aoe/aoecmd.c 	aoemajor = be16_to_cpu(get_unaligned(&h->major));
major            1343 drivers/block/aoe/aoecmd.c 				 get_unaligned_be16(&h->major),
major            1544 drivers/block/aoe/aoecmd.c 	aoemajor = get_unaligned_be16(&h->major);
major             166 drivers/block/aoe/aoenet.c 				get_unaligned_be16(&h->major),
major            2029 drivers/block/ataflop.c 		unit[i].disk->major = FLOPPY_MAJOR;
major             397 drivers/block/brd.c 	disk->major		= RAMDISK_MAJOR;
major            2818 drivers/block/drbd/drbd_main.c 	disk->major = DRBD_MAJOR;
major            4574 drivers/block/floppy.c 		disks[drive]->major = FLOPPY_MAJOR;
major            2085 drivers/block/loop.c 	disk->major		= LOOP_MAJOR;
major            3611 drivers/block/mtip32xx/mtip32xx.c 	dd->disk->major		= dd->major;
major            4050 drivers/block/mtip32xx/mtip32xx.c 	dd->major	= mtip_major;
major             426 drivers/block/mtip32xx/mtip32xx.h 	int major; /* Major device number. */
major            1726 drivers/block/nbd.c 	disk->major = NBD_MAJOR;
major            1540 drivers/block/null_blk_main.c 	disk->major		= null_major;
major             115 drivers/block/paride/pcd.c static int major = PCD_MAJOR;
major             148 drivers/block/paride/pcd.c module_param(major, int, 0);
major             341 drivers/block/paride/pcd.c 		disk->major = major;
major             715 drivers/block/paride/pcd.c 	       name, name, PCD_VERSION, major, nice);
major            1018 drivers/block/paride/pcd.c 	if (register_blkdev(major, name)) {
major            1059 drivers/block/paride/pcd.c 	unregister_blkdev(major, name);
major             130 drivers/block/paride/pd.c static int major = PD_MAJOR;
major             165 drivers/block/paride/pd.c module_param(major, int, 0);
major             898 drivers/block/paride/pd.c 	p->major = major;
major            1006 drivers/block/paride/pd.c 	if (register_blkdev(major, name))
major            1010 drivers/block/paride/pd.c 	       name, name, PD_VERSION, major, cluster, nice);
major            1017 drivers/block/paride/pd.c 	unregister_blkdev(major, name);
major            1026 drivers/block/paride/pd.c 	unregister_blkdev(major, name);
major             130 drivers/block/paride/pf.c static int major = PF_MAJOR;
major             164 drivers/block/paride/pf.c module_param(major, int, 0);
major             318 drivers/block/paride/pf.c 		disk->major = major;
major             728 drivers/block/paride/pf.c 	       name, name, PF_VERSION, major, cluster, nice);
major            1034 drivers/block/paride/pf.c 	if (register_blkdev(major, name)) {
major            1060 drivers/block/paride/pf.c 	unregister_blkdev(major, name);
major             141 drivers/block/paride/pg.c static int major = PG_MAJOR;
major             172 drivers/block/paride/pg.c module_param(major, int, 0);
major             483 drivers/block/paride/pg.c 	printk("%s: %s version %s, major %d\n", name, name, PG_VERSION, major);
major             682 drivers/block/paride/pg.c 	err = register_chrdev(major, name, &pg_fops);
major             684 drivers/block/paride/pg.c 		printk("pg_init: unable to get major number %d\n", major);
major             692 drivers/block/paride/pg.c 	major = err;	/* In case the user specified `major=0' (dynamic) */
major             701 drivers/block/paride/pg.c 			device_create(pg_class, NULL, MKDEV(major, unit), NULL,
major             708 drivers/block/paride/pg.c 	unregister_chrdev(major, "pg");
major             720 drivers/block/paride/pg.c 			device_destroy(pg_class, MKDEV(major, unit));
major             723 drivers/block/paride/pg.c 	unregister_chrdev(major, name);
major             121 drivers/block/paride/pt.c static int major = PT_MAJOR;
major             156 drivers/block/paride/pt.c module_param(major, int, 0);
major             607 drivers/block/paride/pt.c 	printk("%s: %s version %s, major %d\n", name, name, PT_VERSION, major);
major             977 drivers/block/paride/pt.c 	err = register_chrdev(major, name, &pt_fops);
major             979 drivers/block/paride/pt.c 		printk("pt_init: unable to get major number %d\n", major);
major             985 drivers/block/paride/pt.c 	major = err;
major             994 drivers/block/paride/pt.c 			device_create(pt_class, NULL, MKDEV(major, unit), NULL,
major             996 drivers/block/paride/pt.c 			device_create(pt_class, NULL, MKDEV(major, unit + 128),
major            1002 drivers/block/paride/pt.c 	unregister_chrdev(major, "pt");
major            1012 drivers/block/paride/pt.c 			device_destroy(pt_class, MKDEV(major, unit));
major            1013 drivers/block/paride/pt.c 			device_destroy(pt_class, MKDEV(major, unit + 128));
major            1016 drivers/block/paride/pt.c 	unregister_chrdev(major, name);
major             377 drivers/block/pktcdvd.c 	unsigned int major, minor;
major             379 drivers/block/pktcdvd.c 	if (sscanf(buf, "%u:%u", &major, &minor) == 2) {
major             384 drivers/block/pktcdvd.c 		pkt_setup_dev(MKDEV(major, minor), NULL);
major             398 drivers/block/pktcdvd.c 	unsigned int major, minor;
major             399 drivers/block/pktcdvd.c 	if (sscanf(buf, "%u:%u", &major, &minor) == 2) {
major             400 drivers/block/pktcdvd.c 		pkt_remove_dev(MKDEV(major, minor));
major            2745 drivers/block/pktcdvd.c 	disk->major = pktdev_major;
major             475 drivers/block/ps3disk.c 	gendisk->major = ps3disk_major;
major             762 drivers/block/ps3vram.c 	gendisk->major = ps3vram_major;
major             389 drivers/block/rbd.c 	int			major;		/* blkdev assigned major */
major            5137 drivers/block/rbd.c 	disk->major = rbd_dev->major;
major            5236 drivers/block/rbd.c 	if (rbd_dev->major)
major            5237 drivers/block/rbd.c 		return sprintf(buf, "%d\n", rbd_dev->major);
major            5403 drivers/block/rbd.c static DEVICE_ATTR(major, 0444, rbd_major_show, NULL);
major            6864 drivers/block/rbd.c 		unregister_blkdev(rbd_dev->major, rbd_dev->name);
major            6882 drivers/block/rbd.c 		rbd_dev->major = ret;
major            6885 drivers/block/rbd.c 		rbd_dev->major = rbd_major;
major            6910 drivers/block/rbd.c 		unregister_blkdev(rbd_dev->major, rbd_dev->name);
major             245 drivers/block/rsxx/dev.c 	card->major = register_blkdev(0, DRIVER_NAME);
major             246 drivers/block/rsxx/dev.c 	if (card->major < 0) {
major             254 drivers/block/rsxx/dev.c 		unregister_blkdev(card->major, DRIVER_NAME);
major             262 drivers/block/rsxx/dev.c 		unregister_blkdev(card->major, DRIVER_NAME);
major             290 drivers/block/rsxx/dev.c 	card->gendisk->major = card->major;
major             309 drivers/block/rsxx/dev.c 	unregister_blkdev(card->major, DRIVER_NAME);
major             157 drivers/block/rsxx/rsxx_priv.h 	int			major;
major             225 drivers/block/skd_main.c 	u32 major;
major            2830 drivers/block/skd_main.c 	disk->major = skdev->major;
major            2900 drivers/block/skd_main.c 	skdev->major = blk_major;
major             103 drivers/block/sunvdc.c 	{ .major = 1, .minor = 2 },
major             104 drivers/block/sunvdc.c 	{ .major = 1, .minor = 1 },
major             105 drivers/block/sunvdc.c 	{ .major = 1, .minor = 0 },
major             109 drivers/block/sunvdc.c 					u16 major, u16 minor)
major             111 drivers/block/sunvdc.c 	return port->vio.ver.major == major && port->vio.ver.minor >= minor;
major             862 drivers/block/sunvdc.c 	g->major = vdc_major;
major             899 drivers/block/sunvdc.c 	       port->vio.ver.major, port->vio.ver.minor);
major             857 drivers/block/swim.c 		swd->unit[drive].disk->major = FLOPPY_MAJOR;
major            1211 drivers/block/swim3.c 	disk->major = FLOPPY_MAJOR;
major             269 drivers/block/sx8.c 	int				major;
major            1358 drivers/block/sx8.c 	disk->major = host->major;
major            1486 drivers/block/sx8.c 		host->major = 160;
major            1488 drivers/block/sx8.c 		host->major = 161;
major            1495 drivers/block/sx8.c 	rc = register_blkdev(host->major, host->name);
major            1499 drivers/block/sx8.c 		host->major = rc;
major            1526 drivers/block/sx8.c 		   pdev->irq, host->major);
major            1537 drivers/block/sx8.c 	unregister_blkdev(host->major, host->name);
major            1539 drivers/block/sx8.c 	if (host->major == 160)
major            1541 drivers/block/sx8.c 	else if (host->major == 161)
major            1572 drivers/block/sx8.c 	unregister_blkdev(host->major, host->name);
major            1573 drivers/block/sx8.c 	if (host->major == 160)
major            1575 drivers/block/sx8.c 	else if (host->major == 161)
major            1085 drivers/block/umem.c 		disk->major = major_nr;
major              24 drivers/block/virtio_blk.c static int major;
major             889 drivers/block/virtio_blk.c 	vblk->disk->major = major;
major            1110 drivers/block/virtio_blk.c 	major = register_blkdev(0, "virtblk");
major            1111 drivers/block/virtio_blk.c 	if (major < 0) {
major            1112 drivers/block/virtio_blk.c 		error = major;
major            1122 drivers/block/virtio_blk.c 	unregister_blkdev(major, "virtblk");
major            1131 drivers/block/virtio_blk.c 	unregister_blkdev(major, "virtblk");
major              25 drivers/block/xen-blkback/xenbus.c 	unsigned		major;
major             411 drivers/block/xen-blkback/xenbus.c VBD_SHOW(physical_device, "%x:%x\n", be->major, be->minor);
major             454 drivers/block/xen-blkback/xenbus.c 			  unsigned major, unsigned minor, int readonly,
major             466 drivers/block/xen-blkback/xenbus.c 	vbd->pdevice  = MKDEV(major, minor);
major             508 drivers/block/xen-blkback/xenbus.c 	if (be->major || be->minor)
major             679 drivers/block/xen-blkback/xenbus.c 	unsigned major;
major             691 drivers/block/xen-blkback/xenbus.c 			   &major, &minor);
major             705 drivers/block/xen-blkback/xenbus.c 	if (be->major | be->minor) {
major             706 drivers/block/xen-blkback/xenbus.c 		if (be->major != major || be->minor != minor)
major             708 drivers/block/xen-blkback/xenbus.c 				be->major, be->minor, major, minor);
major             734 drivers/block/xen-blkback/xenbus.c 	be->major = major;
major             737 drivers/block/xen-blkback/xenbus.c 	err = xen_vbd_create(be->blkif, handle, major, minor,
major             753 drivers/block/xen-blkback/xenbus.c 		be->major = 0;
major            1026 drivers/block/xen-blkfront.c 	int major;
major            1027 drivers/block/xen-blkfront.c 	major = BLKIF_MAJOR(vdevice);
major            1029 drivers/block/xen-blkfront.c 	switch (major) {
major            1052 drivers/block/xen-blkfront.c 				((major - XEN_SCSI_DISK1_MAJOR + 1) * 16) +
major            1055 drivers/block/xen-blkfront.c 				((major - XEN_SCSI_DISK1_MAJOR + 1) * 16 * PARTS_PER_DISK) +
major            1067 drivers/block/xen-blkfront.c 				((major - XEN_SCSI_DISK8_MAJOR + 8) * 16) +
major            1070 drivers/block/xen-blkfront.c 				((major - XEN_SCSI_DISK8_MAJOR + 8) * 16 * PARTS_PER_DISK) +
major            1155 drivers/block/xen-blkfront.c 	gd->major = XENVBD_MAJOR;
major            1969 drivers/block/xen-blkfront.c 			int major;
major            1972 drivers/block/xen-blkfront.c 				major = BLKIF_MAJOR(vdevice);
major            1974 drivers/block/xen-blkfront.c 				major = XENVBD_MAJOR;
major            1976 drivers/block/xen-blkfront.c 			if (major != XENVBD_MAJOR) {
major            1029 drivers/block/xsysace.c 	ace->gd->major = ace_major;
major             371 drivers/block/z2ram.c     z2ram_gendisk->major = Z2RAM_MAJOR;
major            1913 drivers/block/zram/zram_drv.c 	zram->disk->major = zram_major;
major              66 drivers/bus/fsl-mc/fsl-mc-bus.c 	u32 major;
major             350 drivers/bus/fsl-mc/fsl-mc-bus.c 	mc_ver_info->major = le32_to_cpu(rsp_params->version_major);
major             858 drivers/bus/fsl-mc/fsl-mc-bus.c 		 mc_version.major, mc_version.minor, mc_version.revision);
major             715 drivers/cdrom/gdrom.c 	gd.disk->major = gdrom_major;
major              50 drivers/char/agp/backend.c 	.major = AGPGART_VERSION_MAJOR,
major              45 drivers/char/agp/compat_ioctl.c 	userinfo.version.major = kerninfo.version.major;
major             721 drivers/char/agp/frontend.c 	userinfo.version.major = kerninfo.version.major;
major             371 drivers/char/agp/generic.c 	info->version.major = bridge->version->major;
major            1373 drivers/char/ipmi/ipmi_msghandler.c 		     unsigned char *major,
major            1385 drivers/char/ipmi/ipmi_msghandler.c 		*major = ipmi_version_major(&id);
major              32 drivers/char/pc8736x_gpio.c static int major;		/* default to dynamic major */
major              33 drivers/char/pc8736x_gpio.c module_param(major, int, 0);
major              34 drivers/char/pc8736x_gpio.c MODULE_PARM_DESC(major, "Major device number");
major             306 drivers/char/pc8736x_gpio.c 	if (major) {
major             307 drivers/char/pc8736x_gpio.c 		devid = MKDEV(major, 0);
major             311 drivers/char/pc8736x_gpio.c 		major = MAJOR(devid);
major             318 drivers/char/pc8736x_gpio.c 	if (!major) {
major             319 drivers/char/pc8736x_gpio.c 		major = rc;
major             320 drivers/char/pc8736x_gpio.c 		dev_dbg(&pdev->dev, "got dynamic major %d\n", major);
major             346 drivers/char/pc8736x_gpio.c 	unregister_chrdev_region(MKDEV(major,0), PC8736X_GPIO_CT);
major              69 drivers/char/pcmcia/cm4000_cs.c static int major;		/* major number we get from the kernel */
major            1829 drivers/char/pcmcia/cm4000_cs.c 	device_create(cmm_class, NULL, MKDEV(major, i), NULL, "cmm%d", i);
major            1853 drivers/char/pcmcia/cm4000_cs.c 	device_destroy(cmm_class, MKDEV(major, devno));
major            1893 drivers/char/pcmcia/cm4000_cs.c 	major = register_chrdev(0, DEVICE_NAME, &cm4000_fops);
major            1894 drivers/char/pcmcia/cm4000_cs.c 	if (major < 0) {
major            1898 drivers/char/pcmcia/cm4000_cs.c 		return major;
major            1903 drivers/char/pcmcia/cm4000_cs.c 		unregister_chrdev(major, DEVICE_NAME);
major            1914 drivers/char/pcmcia/cm4000_cs.c 	unregister_chrdev(major, DEVICE_NAME);
major              64 drivers/char/pcmcia/cm4040_cs.c static int major;
major             596 drivers/char/pcmcia/cm4040_cs.c 	device_create(cmx_class, NULL, MKDEV(major, i), NULL, "cmx%d", i);
major             619 drivers/char/pcmcia/cm4040_cs.c 	device_destroy(cmx_class, MKDEV(major, devno));
major             658 drivers/char/pcmcia/cm4040_cs.c 	major = register_chrdev(0, DEVICE_NAME, &reader_fops);
major             659 drivers/char/pcmcia/cm4040_cs.c 	if (major < 0) {
major             663 drivers/char/pcmcia/cm4040_cs.c 		return major;
major             668 drivers/char/pcmcia/cm4040_cs.c 		unregister_chrdev(major, DEVICE_NAME);
major             679 drivers/char/pcmcia/cm4040_cs.c 	unregister_chrdev(major, DEVICE_NAME);
major            2827 drivers/char/pcmcia/synclink_cs.c 	serial_driver->major = ttymajor;
major            2848 drivers/char/pcmcia/synclink_cs.c 			serial_driver->major);
major             128 drivers/char/raw.c static int bind_set(int number, u64 major, u64 minor)
major             130 drivers/char/raw.c 	dev_t dev = MKDEV(major, minor);
major             137 drivers/char/raw.c 	if (MAJOR(dev) != major || MINOR(dev) != minor)
major              33 drivers/char/scx200_gpio.c static int major = 0;		/* default to dynamic major */
major              34 drivers/char/scx200_gpio.c module_param(major, int, 0);
major              35 drivers/char/scx200_gpio.c MODULE_PARM_DESC(major, "Major device number");
major              98 drivers/char/scx200_gpio.c 	if (major) {
major              99 drivers/char/scx200_gpio.c 		devid = MKDEV(major, 0);
major             103 drivers/char/scx200_gpio.c 		major = MAJOR(devid);
major             128 drivers/char/scx200_gpio.c 	unregister_chrdev_region(MKDEV(major, 0), MAX_PINS);
major              22 drivers/char/tb0219.c static int major;	/* default is dynamic major device number */
major              23 drivers/char/tb0219.c module_param(major, int, 0);
major              24 drivers/char/tb0219.c MODULE_PARM_DESC(major, "Major device number");
major             288 drivers/char/tb0219.c 	retval = register_chrdev(major, "TB0219", &tb0219_fops);
major             301 drivers/char/tb0219.c 	if (major == 0) {
major             302 drivers/char/tb0219.c 		major = retval;
major             303 drivers/char/tb0219.c 		printk(KERN_INFO "TB0219: major number %d\n", major);
major             407 drivers/char/toshiba.c 	int i,major,minor,day,year,month,flag;
major             451 drivers/char/toshiba.c 	major = readb(bios+0xe009)-'0';
major             453 drivers/char/toshiba.c 	tosh_bios = (major*0x100)+minor;
major             573 drivers/char/tpm/tpm_vtpm_proxy.c 	vtpm_new_dev->major = MAJOR(proxy_dev->chip->dev.devt);
major             191 drivers/char/ttyprintk.c 	ttyprintk_driver->major = TTYAUX_MAJOR;
major             108 drivers/char/xillybus/xillybus.h 	int major;
major            1413 drivers/char/xillybus/xillybus_core.c 	int major = imajor(inode);
major            1420 drivers/char/xillybus/xillybus_core.c 		if ((ep_iter->major == major) &&
major            1432 drivers/char/xillybus/xillybus_core.c 		       major, minor);
major            1807 drivers/char/xillybus/xillybus_core.c 	int devnum, i, minor, major;
major            1819 drivers/char/xillybus/xillybus_core.c 	endpoint->major = major = MAJOR(dev);
major            1824 drivers/char/xillybus/xillybus_core.c 	rc = cdev_add(&endpoint->cdev, MKDEV(major, minor),
major            1845 drivers/char/xillybus/xillybus_core.c 				       MKDEV(major, i),
major            1865 drivers/char/xillybus/xillybus_core.c 		device_destroy(xillybus_class, MKDEV(major, i));
major            1869 drivers/char/xillybus/xillybus_core.c 	unregister_chrdev_region(MKDEV(major, minor), endpoint->num_channels);
major            1881 drivers/char/xillybus/xillybus_core.c 		device_destroy(xillybus_class, MKDEV(endpoint->major, minor));
major            1883 drivers/char/xillybus/xillybus_core.c 	unregister_chrdev_region(MKDEV(endpoint->major,
major              79 drivers/cpufreq/pcc-cpufreq.c 	u8 major;
major             463 drivers/cpufreq/pcc-cpufreq.c 		ioread16(&pcch_hdr->length), ioread8(&pcch_hdr->major),
major             157 drivers/cpufreq/sti-cpufreq.c 	int pcode, substrate, major, minor;
major             196 drivers/cpufreq/sti-cpufreq.c 	major = sti_cpufreq_fetch_major();
major             197 drivers/cpufreq/sti-cpufreq.c 	if (major < 0) {
major             200 drivers/cpufreq/sti-cpufreq.c 		major = DEFAULT_VERSION;
major             218 drivers/cpufreq/sti-cpufreq.c 	version[0] = BIT(major);
major             229 drivers/cpufreq/sti-cpufreq.c 		pcode, major, minor, substrate);
major             347 drivers/crypto/caam/dpseci.c 	*major_ver = le16_to_cpu(rsp_params->major);
major             129 drivers/crypto/caam/dpseci_cmd.h 	__le16 major;
major             111 drivers/crypto/cavium/cpt/cptvf_algs.c 	req_info->req.opcode.s.major = MAJOR_OP_FC |
major              40 drivers/crypto/cavium/cpt/request_manager.h 		u8 major;
major              75 drivers/crypto/qat/qat_common/adf_ctl_drv.c 	unsigned int major;
major              84 drivers/crypto/qat/qat_common/adf_ctl_drv.c 	device_destroy(adf_ctl_drv.drv_class, MKDEV(adf_ctl_drv.major, 0));
major              87 drivers/crypto/qat/qat_common/adf_ctl_drv.c 	unregister_chrdev_region(MKDEV(adf_ctl_drv.major, 0), 1);
major             105 drivers/crypto/qat/qat_common/adf_ctl_drv.c 	adf_ctl_drv.major = MAJOR(dev_id);
major             113 drivers/crypto/qat/qat_common/adf_ctl_drv.c 				   MKDEV(adf_ctl_drv.major, 0),
major             422 drivers/crypto/qce/common.c void qce_get_version(struct qce_device *qce, u32 *major, u32 *minor, u32 *step)
major             427 drivers/crypto/qce/common.c 	*major = (val & CORE_MAJOR_REV_MASK) >> CORE_MAJOR_REV_SHIFT;
major              90 drivers/crypto/qce/common.h void qce_get_version(struct qce_device *qce, u32 *major, u32 *minor, u32 *step);
major             146 drivers/crypto/qce/core.c 	u32 major, minor, step;
major             148 drivers/crypto/qce/core.c 	qce_get_version(qce, &major, &minor, &step);
major             154 drivers/crypto/qce/core.c 	if (major != QCE_MAJOR_VERSION5 || minor == 0)
major             161 drivers/crypto/qce/core.c 		major, minor, step);
major             368 drivers/firmware/efi/cper.c 		       pcie->version.major, pcie->version.minor);
major             280 drivers/gpu/drm/amd/amdgpu/amdgpu.h 	const u32 major;
major             293 drivers/gpu/drm/amd/amdgpu/amdgpu.h 				       u32 major, u32 minor);
major             203 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c 			    ip_block->version->major, ip_block->version->minor);
major             559 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c 	.major = 2,
major            1277 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c 				       u32 major, u32 minor)
major            1281 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c 	if (ip_block && ((ip_block->version->major > major) ||
major            1282 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c 			((ip_block->version->major == major) &&
major             306 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c 				  ip->major, ip->minor,
major             336 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c 				    int *major, int *minor)
major             368 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c 				if (major)
major             369 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c 					*major = ip->major;
major              33 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.h                                     int *major, int *minor);
major            1459 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c 	.major = KMS_DRIVER_MAJOR,
major             425 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c 	result->hw_ip_version_major = adev->ip_blocks[i].version->major;
major            1400 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c 	.major = 3,
major            1409 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c 	.major = 10,
major            1418 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c 	.major = 11,
major            1427 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c 	.major = 12,
major             958 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c 		if (ip_block->version->major <= 7)
major             960 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c 		else if (ip_block->version->major == 8)
major            2077 drivers/gpu/drm/amd/amdgpu/cik.c 	.major = 1,
major             452 drivers/gpu/drm/amd/amdgpu/cik_ih.c 	.major = 2,
major            1390 drivers/gpu/drm/amd/amdgpu/cik_sdma.c 	.major = 2,
major             433 drivers/gpu/drm/amd/amdgpu/cz_ih.c 	.major = 3,
major            3616 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	.major = 10,
major            3625 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	.major = 10,
major            3748 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	.major = 11,
major            3757 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	.major = 11,
major            3425 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	.major = 6,
major            3434 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	.major = 6,
major            3504 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	.major = 8,
major            3513 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	.major = 8,
major            3522 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	.major = 8,
major            3531 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	.major = 8,
major            3540 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	.major = 8,
major             758 drivers/gpu/drm/amd/amdgpu/dce_virtual.c 	.major = 1,
major            5486 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	.major = 10,
major            3628 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c 	.major = 6,
major            5165 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 	.major = 7,
major            5174 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 	.major = 7,
major            5183 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 	.major = 7,
major            5192 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 	.major = 7,
major            7187 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 	.major = 8,
major            7196 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 	.major = 8,
major            6523 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	.major = 9,
major            1007 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c 	.major = 10,
major            1178 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c 	.major = 6,
major            1369 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c 	.major = 7,
major            1378 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c 	.major = 7,
major            1737 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c 	.major = 8,
major            1746 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c 	.major = 8,
major            1755 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c 	.major = 8,
major            1643 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c 	.major = 9,
major             431 drivers/gpu/drm/amd/amdgpu/iceland_ih.c 	.major = 2,
major            3350 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 	.major = 1,
major             362 drivers/gpu/drm/amd/amdgpu/mes_v10_1.c 	.major = 10,
major             483 drivers/gpu/drm/amd/amdgpu/navi10_ih.c 	.major = 5,
major             378 drivers/gpu/drm/amd/amdgpu/nv.c 	.major = 1,
major            1278 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c 	.major = 2,
major            1716 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c 	.major = 3,
major            1725 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c 	.major = 3,
major            2543 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c 	.major = 4,
major            1759 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c 	.major = 5,
major            2118 drivers/gpu/drm/amd/amdgpu/si.c 	.major = 1,
major             852 drivers/gpu/drm/amd/amdgpu/si_dma.c 	.major = 1,
major            8045 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	.major = 6,
major             308 drivers/gpu/drm/amd/amdgpu/si_ih.c 	.major = 1,
major             662 drivers/gpu/drm/amd/amdgpu/soc15.c 	.major = 2,
major             485 drivers/gpu/drm/amd/amdgpu/tonga_ih.c 	.major = 3,
major             781 drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c 		.major = 4,
major             890 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c 		.major = 5,
major            1636 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c 		.major = 6,
major            1645 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c 		.major = 6,
major            1654 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c 		.major = 6,
major            1886 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c 		.major = 7,
major             649 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c 		.major = 2,
major             976 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c 	.major = 3,
major             985 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c 	.major = 3,
major             994 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c 	.major = 3,
major            1125 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c 	.major = 4,
major            2334 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c 		.major = 1,
major            2297 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c 		.major = 2,
major            1408 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c 		.major = 2,
major             721 drivers/gpu/drm/amd/amdgpu/vega10_ih.c 	.major = 4,
major            1666 drivers/gpu/drm/amd/amdgpu/vi.c 	.major = 1,
major            1299 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	.major = 1,
major             388 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c 		switch (revision.major) {
major             946 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c 	switch (tbl_revision.major) {
major            1106 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c 	if (1 != revision.major || 2 > revision.minor)
major            1580 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c 	switch (revision.major) {
major            1638 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c 	if (1 != revision.major || 2 > revision.minor)
major            2092 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c 	tbl_revision->major = 0;
major            2098 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c 	tbl_revision->major =
major            2879 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c 	if (tbl_rev.major >= 2 && tbl_rev.minor >= 2)
major            2903 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c 	if (bp->object_info_tbl.revision.major == 1
major            2913 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c 	} else if (bp->object_info_tbl.revision.major == 1
major             143 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c 	tbl_revision->major = 0;
major             149 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c 	tbl_revision->major =
major             825 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c 	switch (tbl_revision.major) {
major             940 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c 	switch (tbl_revision.major) {
major            1140 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c 		switch (revision.major) {
major            1957 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c 	if (!(tbl_rev.major >= 2 && tbl_rev.minor >= 2))
major            1982 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c 	if (bp->object_info_tbl.revision.major == 1
major              33 drivers/gpu/drm/amd/display/dc/bios/bios_parser_types_internal.h 	uint32_t major;
major              35 drivers/gpu/drm/amd/display/dc/bios/bios_parser_types_internal2.h 	uint32_t major;
major              86 drivers/gpu/drm/amd/include/discovery.h 	uint8_t major;            /* HCID Major */
major             264 drivers/gpu/drm/amd/powerplay/amd_powerplay.c 	.major = 1,
major            1795 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c 	.major = 11,
major            1804 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c 	.major = 12,
major             142 drivers/gpu/drm/arc/arcpgu_drv.c 	.major = 1,
major              75 drivers/gpu/drm/arm/display/komeda/komeda_kms.c 	.major = 0,
major             260 drivers/gpu/drm/arm/hdlcd_drv.c 	.major = 1,
major             584 drivers/gpu/drm/arm/malidp_drv.c 	.major = 1,
major              46 drivers/gpu/drm/armada/armada_drv.c 	.major			= 1,
major             208 drivers/gpu/drm/aspeed/aspeed_gfx_drv.c 	.major = 1,
major             219 drivers/gpu/drm/ast/ast_drv.c 	.major = DRIVER_MAJOR,
major             857 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c 	.major = 1,
major              72 drivers/gpu/drm/bochs/bochs_drv.c 	.major			= 1,
major             521 drivers/gpu/drm/cirrus/cirrus.c 	.major		 = DRIVER_MAJOR,
major              68 drivers/gpu/drm/drm_agpsupport.c 	info->agp_version_major = kern->version.major;
major             993 drivers/gpu/drm/drm_drv.c 		 driver->name, driver->major, driver->minor,
major             410 drivers/gpu/drm/drm_ioctl.c 		if (sv->drm_dd_major != dev->driver->major ||
major             421 drivers/gpu/drm/drm_ioctl.c 	sv->drm_dd_major = dev->driver->major;
major             510 drivers/gpu/drm/drm_ioctl.c 	version->version_major = dev->driver->major;
major             527 drivers/gpu/drm/etnaviv/etnaviv_drv.c 	.major              = 1,
major             145 drivers/gpu/drm/exynos/exynos_drm_drv.c 	.major	= DRIVER_MAJOR,
major            1130 drivers/gpu/drm/exynos/exynos_drm_g2d.c 	ver->major = G2D_HW_MAJOR_VER;
major             158 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c 	.major			= 1,
major             491 drivers/gpu/drm/gma500/psb_drv.c 	.major = DRIVER_MAJOR,
major              59 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c 	.major			= 1,
major             938 drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c 	.major = 1,
major              70 drivers/gpu/drm/i810/i810_drv.c 	.major = DRIVER_MAJOR,
major              63 drivers/gpu/drm/i915/display/intel_opregion.c 		u8 major;
major             936 drivers/gpu/drm/i915/display/intel_opregion.c 			 opregion->header->over.major,
major             968 drivers/gpu/drm/i915/display/intel_opregion.c 	if (opregion->header->over.major >= 2 && opregion->asle &&
major             978 drivers/gpu/drm/i915/display/intel_opregion.c 		if (opregion->header->over.major > 2 ||
major              71 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c 	u8 major;
major              77 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c 	{ .major = major_, .minor = minor_, .path = path_ }
major             114 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c 			uc_fw->major_ver_wanted = blob->major;
major            2892 drivers/gpu/drm/i915/i915_drv.c 	.major = DRIVER_MAJOR,
major              11 drivers/gpu/drm/i915/intel_csr.h #define CSR_VERSION(major, minor)	((major) << 16 | (minor))
major             172 drivers/gpu/drm/imx/imx-drm-core.c 	.major			= 1,
major             517 drivers/gpu/drm/ingenic/ingenic-drm.c 	.major			= 1,
major             268 drivers/gpu/drm/lima/lima_drv.c 	.major              = 1,
major             189 drivers/gpu/drm/lima/lima_gp.c 	u32 version, major, minor;
major             193 drivers/gpu/drm/lima/lima_gp.c 	major = (version >> 8) & 0xFF;
major             213 drivers/gpu/drm/lima/lima_gp.c 		 lima_ip_name(ip), name, major, minor);
major             199 drivers/gpu/drm/lima/lima_pp.c 	u32 version, major, minor;
major             203 drivers/gpu/drm/lima/lima_pp.c 	major = (version >> 8) & 0xFF;
major             223 drivers/gpu/drm/lima/lima_pp.c 		 lima_ip_name(ip), name, major, minor);
major             248 drivers/gpu/drm/mcde/mcde_drv.c 	.major = 1,
major             381 drivers/gpu/drm/mediatek/mtk_drm_drv.c 	.major = DRIVER_MAJOR,
major             115 drivers/gpu/drm/meson/meson_drv.c 	.major			= 1,
major              78 drivers/gpu/drm/mga/mga_drv.c 	.major = DRIVER_MAJOR,
major             104 drivers/gpu/drm/mgag200/mgag200_drv.c 	.major = DRIVER_MAJOR,
major             611 drivers/gpu/drm/msm/adreno/a6xx_gmu.c 	chipid |= adreno_gpu->rev.major << 16;
major             199 drivers/gpu/drm/msm/adreno/adreno_device.c 				_rev_match(info->rev.major, rev.major) &&
major             288 drivers/gpu/drm/msm/adreno/adreno_device.c 			rev->major = r / 10;
major             305 drivers/gpu/drm/msm/adreno/adreno_device.c 	rev->major = (chipid >> 16) & 0xff;
major             311 drivers/gpu/drm/msm/adreno/adreno_device.c 		rev->core, rev->major, rev->minor, rev->patchid);
major             336 drivers/gpu/drm/msm/adreno/adreno_device.c 			config.rev.core, config.rev.major,
major             341 drivers/gpu/drm/msm/adreno/adreno_device.c 	DBG("Found GPU: %u.%u.%u.%u", config.rev.core, config.rev.major,
major             176 drivers/gpu/drm/msm/adreno/adreno_gpu.c 				(adreno_gpu->rev.major << 16) |
major             706 drivers/gpu/drm/msm/adreno/adreno_gpu.c 			adreno_gpu->rev.major, adreno_gpu->rev.minor,
major             764 drivers/gpu/drm/msm/adreno/adreno_gpu.c 			adreno_gpu->rev.major, adreno_gpu->rev.minor,
major              58 drivers/gpu/drm/msm/adreno/adreno_gpu.h 	uint8_t  major;
major              63 drivers/gpu/drm/msm/adreno/adreno_gpu.h #define ADRENO_REV(core, major, minor, patchid) \
major              64 drivers/gpu/drm/msm/adreno/adreno_gpu.h 	((struct adreno_rev){ core, major, minor, patchid })
major              22 drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c 	uint32_t version, major, minor, dmap_cfg, vg_cfg;
major              32 drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c 	major = FIELD(version, MDP4_VERSION_MAJOR);
major              35 drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c 	DBG("found MDP4 version v%d.%d", major, minor);
major              37 drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c 	if (major != 4) {
major              39 drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c 				major, minor);
major             778 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		uint32_t major, uint32_t minor)
major             793 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 	switch (major) {
major             804 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				major, minor);
major             819 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				major, minor);
major             122 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.h 		uint32_t major, uint32_t minor);
major             554 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c 				 u32 *major, u32 *minor)
major             563 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c 	*major = FIELD(version, MDP5_HW_VERSION_MAJOR);
major             566 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c 	DRM_DEV_INFO(dev, "MDP5 version v%d.%d", *major, *minor);
major             935 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c 	u32 major, minor;
major             987 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c 	read_mdp_hw_revision(mdp5_kms, &major, &minor);
major             989 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c 	mdp5_kms->cfg = mdp5_cfg_init(mdp5_kms, major, minor);
major             206 drivers/gpu/drm/msm/dsi/dsi_cfg.c const struct msm_dsi_cfg_handler *msm_dsi_cfg_get(u32 major, u32 minor)
major             212 drivers/gpu/drm/msm/dsi/dsi_cfg.c 		if ((dsi_cfg_handlers[i].major == major) &&
major              48 drivers/gpu/drm/msm/dsi/dsi_cfg.h 	u32 major;
major              54 drivers/gpu/drm/msm/dsi/dsi_cfg.h const struct msm_dsi_cfg_handler *msm_dsi_cfg_get(u32 major, u32 minor);
major              31 drivers/gpu/drm/msm/dsi/dsi_host.c static int dsi_get_version(const void __iomem *base, u32 *major, u32 *minor)
major              35 drivers/gpu/drm/msm/dsi/dsi_host.c 	if (!major || !minor)
major              55 drivers/gpu/drm/msm/dsi/dsi_host.c 			*major = ver;
major              71 drivers/gpu/drm/msm/dsi/dsi_host.c 			*major = ver;
major             206 drivers/gpu/drm/msm/dsi/dsi_host.c 	u32 major = 0, minor = 0;
major             234 drivers/gpu/drm/msm/dsi/dsi_host.c 	ret = dsi_get_version(msm_host->ctrl_base, &major, &minor);
major             240 drivers/gpu/drm/msm/dsi/dsi_host.c 	cfg_hnd = msm_dsi_cfg_get(major, minor);
major             242 drivers/gpu/drm/msm/dsi/dsi_host.c 	DBG("%s: Version %x:%x\n", __func__, major, minor);
major             874 drivers/gpu/drm/msm/dsi/dsi_host.c 	if ((cfg_hnd->major == MSM_DSI_VER_MAJOR_6G) &&
major             883 drivers/gpu/drm/msm/dsi/dsi_host.c 	if ((cfg_hnd->major == MSM_DSI_VER_MAJOR_6G) &&
major            2089 drivers/gpu/drm/msm/dsi/dsi_host.c 		if ((cfg_hnd->major == MSM_DSI_VER_MAJOR_6G) &&
major            1031 drivers/gpu/drm/msm/msm_drv.c 	.major              = MSM_VERSION_MAJOR,
major             337 drivers/gpu/drm/mxsfb/mxsfb_drv.c 	.major	= 1,
major              18 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios.h 		u8 major;
major            2024 drivers/gpu/drm/nouveau/nouveau_bios.c 	legacy->major_version = bios->version.major;
major            1219 drivers/gpu/drm/nouveau/nouveau_drm.c 	.major = DRIVER_MAJOR,
major             187 drivers/gpu/drm/nouveau/nvkm/subdev/bios/base.c 		bios->version.major = nvbios_rd08(bios, bit_i.offset + 3);
major             194 drivers/gpu/drm/nouveau/nvkm/subdev/bios/base.c 		bios->version.major = nvbios_rd08(bios, bios->bmp_offset + 13);
major             201 drivers/gpu/drm/nouveau/nvkm/subdev/bios/base.c 		  bios->version.major, bios->version.chip,
major             455 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	if (!init->ramcfg || init->subdev->device->bios->version.major < 0x70)
major            1522 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	if (bios->version.major > 2) {
major            1571 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	if (bios->version.major > 2) {
major            1605 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	if (bios->version.major > 2) {
major              56 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllnv04.c 	if (bios->version.major < 0x60) {
major             543 drivers/gpu/drm/omapdrm/omap_drv.c 	.major = DRIVER_MAJOR,
major             566 drivers/gpu/drm/panfrost/panfrost_drv.c 	.major			= 1,
major             198 drivers/gpu/drm/panfrost/panfrost_gpu.c 	u32 gpu_id, num_js, major, minor, status, rev;
major             250 drivers/gpu/drm/panfrost/panfrost_gpu.c 	major = (pfdev->features.revision >> 12) & 0xf;
major             284 drivers/gpu/drm/panfrost/panfrost_gpu.c 		 name, gpu_id, major, minor, status);
major             234 drivers/gpu/drm/pl111/pl111_drv.c 	.major = 1,
major             295 drivers/gpu/drm/qxl/qxl_drv.c 	.major = 0,
major              81 drivers/gpu/drm/r128/r128_drv.c 	.major = DRIVER_MAJOR,
major             656 drivers/gpu/drm/radeon/radeon_drv.c 	.major = KMS_DRIVER_MAJOR,
major             459 drivers/gpu/drm/rcar-du/rcar_du_drv.c 	.major			= 1,
major             233 drivers/gpu/drm/rockchip/rockchip_drm_drv.c 	.major	= DRIVER_MAJOR,
major              14 drivers/gpu/drm/rockchip/rockchip_drm_vop.h #define VOP_VERSION(major, minor)	((major) << 8 | (minor))
major              65 drivers/gpu/drm/savage/savage_drv.c 	.major = DRIVER_MAJOR,
major             148 drivers/gpu/drm/shmobile/shmob_drm_drv.c 	.major			= 1,
major             116 drivers/gpu/drm/sis/sis_drv.c 	.major = DRIVER_MAJOR,
major             165 drivers/gpu/drm/sti/sti_drv.c 	.major = DRIVER_MAJOR,
major              61 drivers/gpu/drm/stm/drv.c 	.major = 1,
major              51 drivers/gpu/drm/sun4i/sun4i_drv.c 	.major			= 1,
major              65 drivers/gpu/drm/tdfx/tdfx_drv.c 	.major = DRIVER_MAJOR,
major            1044 drivers/gpu/drm/tegra/drm.c 	.major = DRIVER_MAJOR,
major             535 drivers/gpu/drm/tilcdc/tilcdc_drv.c 	.major              = 1,
major             660 drivers/gpu/drm/tiny/gm12u320.c 	.major		 = DRIVER_MAJOR,
major             204 drivers/gpu/drm/tiny/hx8357d.c 	.major			= 1,
major             362 drivers/gpu/drm/tiny/ili9225.c 	.major			= 1,
major             160 drivers/gpu/drm/tiny/ili9341.c 	.major			= 1,
major             164 drivers/gpu/drm/tiny/mi0283qt.c 	.major			= 1,
major             972 drivers/gpu/drm/tiny/repaper.c 	.major			= 1,
major             302 drivers/gpu/drm/tiny/st7586.c 	.major			= 1,
major             134 drivers/gpu/drm/tiny/st7735r.c 	.major			= 1,
major             147 drivers/gpu/drm/tve200/tve200_drv.c 	.major = 1,
major              81 drivers/gpu/drm/udl/udl_drv.c 	.major = DRIVER_MAJOR,
major             216 drivers/gpu/drm/v3d/v3d_drv.c 	.major = DRIVER_MAJOR,
major             208 drivers/gpu/drm/vboxvideo/vbox_drv.c 	.major = DRIVER_MAJOR,
major             222 drivers/gpu/drm/vc4/vc4_drv.c 	.major = DRIVER_MAJOR,
major             467 drivers/gpu/drm/vgem/vgem_drv.c 	.major	= DRIVER_MAJOR,
major              97 drivers/gpu/drm/via/via_drv.c 	.major = DRIVER_MAJOR,
major             230 drivers/gpu/drm/virtio/virtgpu_drv.c 	.major = DRIVER_MAJOR,
major             110 drivers/gpu/drm/vkms/vkms_drv.c 	.major			= DRIVER_MAJOR,
major              53 drivers/gpu/drm/vmwgfx/device_include/svga3d_devcaps.h #define SVGA3D_MAKE_HWVERSION(major, minor)      (((major) << 16) | ((minor) & 0xFF))
major            1413 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c 	.major = VMWGFX_DRIVER_MAJOR,
major             509 drivers/gpu/drm/xen/xen_drm_front.c 	.major                     = 1,
major             553 drivers/gpu/drm/xen/xen_drm_front.c 		 xen_drm_driver.name, xen_drm_driver.major,
major              53 drivers/gpu/drm/zte/zx_drm_drv.c 	.major = 1,
major              25 drivers/greybus/control.c 	request.major = GB_CONTROL_VERSION_MAJOR;
major              39 drivers/greybus/control.c 	if (response.major > request.major) {
major              42 drivers/greybus/control.c 			response.major, request.major);
major              46 drivers/greybus/control.c 	control->protocol_major = response.major;
major              49 drivers/greybus/control.c 	dev_dbg(&intf->dev, "%s - %u.%u\n", __func__, response.major,
major              76 drivers/greybus/control.c 	bundle->class_major = response.major;
major              80 drivers/greybus/control.c 		response.major, response.minor);
major             656 drivers/greybus/svc.c 	if (request->major > GB_SVC_VERSION_MAJOR) {
major             658 drivers/greybus/svc.c 			 request->major, GB_SVC_VERSION_MAJOR);
major             662 drivers/greybus/svc.c 	svc->protocol_major = request->major;
major             669 drivers/greybus/svc.c 	response->major = svc->protocol_major;
major            1054 drivers/hid/hid-multitouch.c 		int major = max(*slot->w, *slot->h);
major            1084 drivers/hid/hid-multitouch.c 			major = major >> 1;
major            1095 drivers/hid/hid-multitouch.c 		input_event(input, EV_ABS, ABS_MT_TOUCH_MAJOR, major);
major             116 drivers/hid/intel-ish-hid/ishtp-fw-loader.c 	u16 major;
major             125 drivers/hid/intel-ish-hid/ishtp-fw-loader.c 		u8 major;
major             501 drivers/hid/intel-ish-hid/ishtp-fw-loader.c 		fw_info->ish_fw_version.major,
major              54 drivers/hid/intel-ish-hid/ishtp-hid.h 	uint8_t	major;
major             238 drivers/hv/channel_mgmt.c 			if ((negop->icversion_data[j].major == fw_major) &&
major             240 drivers/hv/channel_mgmt.c 				icframe_major = negop->icversion_data[j].major;
major             264 drivers/hv/channel_mgmt.c 			if ((negop->icversion_data[j].major == srv_major) &&
major             267 drivers/hv/channel_mgmt.c 				icmsg_major = negop->icversion_data[j].major;
major             298 drivers/hv/channel_mgmt.c 	negop->icversion_data[0].major = icframe_major;
major             300 drivers/hv/channel_mgmt.c 	negop->icversion_data[1].major = icmsg_major;
major             204 drivers/hwmon/ibmaem.c 	u8			major;
major             675 drivers/hwmon/ibmaem.c 	data->ver_major = fi_resp->major;
major             758 drivers/hwmon/ibmaem.c 		if (fi_resp.major != 2) {
major             761 drivers/hwmon/ibmaem.c 				fi_resp.major);
major             657 drivers/hwtracing/intel_th/core.c 			thdev->dev.devt = MKDEV(th->major, th->num_thdevs);
major             863 drivers/hwtracing/intel_th/core.c 	th->major = __register_chrdev(0, 0, TH_POSSIBLE_OUTPUTS,
major             865 drivers/hwtracing/intel_th/core.c 	if (th->major < 0) {
major             866 drivers/hwtracing/intel_th/core.c 		err = th->major;
major             913 drivers/hwtracing/intel_th/core.c 	__unregister_chrdev(th->major, 0, TH_POSSIBLE_OUTPUTS,
major             947 drivers/hwtracing/intel_th/core.c 	__unregister_chrdev(th->major, 0, TH_POSSIBLE_OUTPUTS,
major             284 drivers/hwtracing/intel_th/intel_th.h 	int			major;
major             359 drivers/hwtracing/stm/core.c 	unsigned int major = *(unsigned int *)data;
major             361 drivers/hwtracing/stm/core.c 	return MAJOR(dev->devt) == major;
major             489 drivers/hwtracing/stm/core.c 	unsigned int major = imajor(inode);
major             492 drivers/hwtracing/stm/core.c 	dev = class_find_device(&stm_class, NULL, &major, major_match);
major             880 drivers/hwtracing/stm/core.c 	stm->major = register_chrdev(0, stm_data->name, &stm_fops);
major             881 drivers/hwtracing/stm/core.c 	if (stm->major < 0)
major             885 drivers/hwtracing/stm/core.c 	stm->dev.devt = MKDEV(stm->major, 0);
major             924 drivers/hwtracing/stm/core.c 	unregister_chrdev(stm->major, stm_data->name);
major             963 drivers/hwtracing/stm/core.c 	unregister_chrdev(stm->major, stm_data->name);
major              34 drivers/hwtracing/stm/stm.h 	int			major;
major            1366 drivers/i2c/busses/i2c-omap.c 	u16 minor, major;
major            1429 drivers/i2c/busses/i2c-omap.c 		major = OMAP_I2C_REV_SCHEME_0_MAJOR(omap->rev);
major            1438 drivers/i2c/busses/i2c-omap.c 		major = OMAP_I2C_REV_SCHEME_1_MAJOR(rev);
major            1510 drivers/i2c/busses/i2c-omap.c 		 major, minor, omap->speed);
major             950 drivers/ide/ide-probe.c 	blk_register_region(MKDEV(disk->major, disk->first_minor),
major             958 drivers/ide/ide-probe.c 	blk_unregister_region(MKDEV(disk->major, disk->first_minor),
major             969 drivers/ide/ide-probe.c 	disk->major = hwif->major;
major            1002 drivers/ide/ide-probe.c 	if (register_blkdev(hwif->major, hwif->name))
major            1024 drivers/ide/ide-probe.c 	blk_register_region(MKDEV(hwif->major, 0), MAX_DRIVES << PARTN_BITS,
major            1029 drivers/ide/ide-probe.c 	unregister_blkdev(hwif->major, hwif->name);
major            1227 drivers/ide/ide-probe.c 	hwif->major	= ide_hwif_to_major[index];
major            1617 drivers/ide/ide-probe.c 	blk_unregister_region(MKDEV(hwif->major, 0), MAX_DRIVES<<PARTN_BITS);
major            1619 drivers/ide/ide-probe.c 	unregister_blkdev(hwif->major, hwif->name);
major              79 drivers/iio/chemical/sgp30.c 	u8 major;
major             123 drivers/iio/chemical/sgp30.c 		.major = 1,
major             130 drivers/iio/chemical/sgp30.c 		.major = 0,
major             414 drivers/iio/chemical/sgp30.c 	u16 product, generation, major, minor;
major             452 drivers/iio/chemical/sgp30.c 	major = SGP_VERS_MAJOR(data);
major             455 drivers/iio/chemical/sgp30.c 		if (major == supported_versions[ix].major &&
major             460 drivers/iio/chemical/sgp30.c 		major, minor);
major             126 drivers/infiniband/hw/bnxt_re/bnxt_re.h 	unsigned int			version, major, minor;
major            2044 drivers/infiniband/hw/i40iw/i40iw_main.c 	i40iw_client.version.major = CLIENT_IW_INTERFACE_VERSION_MAJOR;
major             877 drivers/infiniband/hw/mthca/mthca_main.c #define MTHCA_FW_VER(major, minor, subminor) \
major             878 drivers/infiniband/hw/mthca/mthca_main.c 	(((u64) (major) << 32) | ((u64) (minor) << 16) | (u64) (subminor))
major             138 drivers/input/misc/xen-kbdfront.c 				 mtouch->u.shape.major);
major             896 drivers/input/mouse/elan_i2c_core.c 	unsigned int area_x, area_y, major, minor;
major             923 drivers/input/mouse/elan_i2c_core.c 		major = max(area_x, area_y);
major             937 drivers/input/mouse/elan_i2c_core.c 		input_report_abs(input, ABS_MT_TOUCH_MAJOR, major);
major              72 drivers/input/rmi4/rmi_2d_sensor.c 	int wide, major, minor;
major              90 drivers/input/rmi4/rmi_2d_sensor.c 		major = max(obj->wx, obj->wy);
major              94 drivers/input/rmi4/rmi_2d_sensor.c 			major = max(1, major);
major             102 drivers/input/rmi4/rmi_2d_sensor.c 		input_event(sensor->input, EV_ABS, ABS_MT_TOUCH_MAJOR, major);
major             859 drivers/input/touchscreen/atmel_mxt_ts.c 	u8 major = 0;
major             892 drivers/input/touchscreen/atmel_mxt_ts.c 				major = message[data->t100_aux_area];
major             909 drivers/input/touchscreen/atmel_mxt_ts.c 			major = MXT_TOUCH_MAJOR_DEFAULT;
major             937 drivers/input/touchscreen/atmel_mxt_ts.c 			id, type, x, y, major, pressure, orientation);
major             942 drivers/input/touchscreen/atmel_mxt_ts.c 		input_report_abs(input_dev, ABS_MT_TOUCH_MAJOR, major);
major              27 drivers/input/touchscreen/ili210x.c 	u8 major;
major             373 drivers/input/touchscreen/ili210x.c 		client->irq, firmware.id, firmware.major, firmware.minor);
major             145 drivers/input/touchscreen/s6sy761.c 	u8 major = event[4];
major             156 drivers/input/touchscreen/s6sy761.c 	input_report_abs(sdata->input, ABS_MT_TOUCH_MAJOR, major);
major             414 drivers/input/touchscreen/sur40.c 	int wide, major, minor;
major             436 drivers/input/touchscreen/sur40.c 	major = max(bb_size_x, bb_size_y);
major             446 drivers/input/touchscreen/sur40.c 	input_report_abs(input, ABS_MT_TOUCH_MAJOR, major);
major             114 drivers/iommu/arm-smmu-impl.c 	u32 reg, major;
major             122 drivers/iommu/arm-smmu-impl.c 	major = FIELD_GET(ID7_MAJOR, reg);
major             124 drivers/iommu/arm-smmu-impl.c 	if (major >= 2)
major             362 drivers/ipack/devices/ipoctal.c 	tty->major = 0;
major              52 drivers/isdn/capi/capi.c module_param_named(major, capi_major, uint, 0);
major            1277 drivers/isdn/capi/capi.c 	drv->major = 0;
major             359 drivers/isdn/mISDN/socket.c 		ver.major = MISDN_MAJOR_VERSION;
major             642 drivers/isdn/mISDN/socket.c 		ver.major = MISDN_MAJOR_VERSION;
major             392 drivers/lightnvm/core.c 	tdisk->major = 0;
major             856 drivers/md/bcache/super.c 	d->disk->major		= bcache_major;
major              40 drivers/md/dm.c static unsigned int major = 0;
major             234 drivers/md/dm.c 	_major = major;
major            1983 drivers/md/dm.c 	md->disk->major = _major;
major            3232 drivers/md/dm.c module_param(major, uint, 0);
major            3233 drivers/md/dm.c MODULE_PARM_DESC(major, "The major number of the device mapper");
major            1437 drivers/md/md.c 		d->major = MAJOR(rdev2->bdev->bd_dev);
major            4435 drivers/md/md.c 	int major = simple_strtoul(buf, &e, 10);
major            4446 drivers/md/md.c 	dev = MKDEV(major, minor);
major            4447 drivers/md/md.c 	if (major != MAJOR(dev) ||
major            4587 drivers/md/md.c 	int major, minor;
major            4626 drivers/md/md.c 	major = simple_strtoul(buf, &e, 10);
major            4635 drivers/md/md.c 	if (major >= ARRAY_SIZE(super_types) || super_types[major].name == NULL)
major            4637 drivers/md/md.c 	mddev->major_version = major;
major            5495 drivers/md/md.c 	disk->major = MAJOR(mddev->unit);
major            6352 drivers/md/md.c 	ver.major = MD_MAJOR_VERSION;
major            6465 drivers/md/md.c 		info.major = MAJOR(rdev->bdev->bd_dev);
major            6482 drivers/md/md.c 		info.major = info.minor = 0;
major            6498 drivers/md/md.c 	dev_t dev = MKDEV(info->major,info->minor);
major            6507 drivers/md/md.c 	if (info->major != MAJOR(dev) || info->minor != MINOR(dev))
major             299 drivers/media/mc/mc-device.c 			kintf.devnode.major = devnode->major;
major             138 drivers/media/mc/mc-entity.c 			devnode->major, devnode->minor);
major             936 drivers/media/mc/mc-entity.c 						u32 major, u32 minor)
major             944 drivers/media/mc/mc-entity.c 	devnode->major = major;
major             223 drivers/media/pci/saa7164/saa7164.h 	u32	major;
major             939 drivers/media/platform/coda/coda-bit.c 	u16 product, major, minor, release;
major             971 drivers/media/platform/coda/coda-bit.c 	major = CODA_FIRMWARE_MAJOR(data);
major             982 drivers/media/platform/coda/coda-bit.c 			 coda_product_name(product), major, minor, release);
major             991 drivers/media/platform/coda/coda-bit.c 			  major, minor, release);
major             995 drivers/media/platform/coda/coda-bit.c 			  major, minor, release);
major             448 drivers/media/platform/coda/coda_regs.h #define		CODA_FIRMWARE_VERNUM(product, major, minor, release)	\
major             449 drivers/media/platform/coda/coda_regs.h 			((product) << 16 | ((major) << 12) |		\
major             472 drivers/media/platform/qcom/venus/hfi_venus.c 	u32 major, minor, step;
major             474 drivers/media/platform/qcom/venus/hfi_venus.c 	major = ver & WRAPPER_HW_VERSION_MAJOR_VERSION_MASK;
major             475 drivers/media/platform/qcom/venus/hfi_venus.c 	major = major >> WRAPPER_HW_VERSION_MAJOR_VERSION_SHIFT;
major             480 drivers/media/platform/qcom/venus/hfi_venus.c 	dev_dbg(dev, "venus hw version %x.%x.%x\n", major, minor, step);
major             482 drivers/media/platform/qcom/venus/hfi_venus.c 	return major;
major             258 drivers/media/platform/rockchip/rga/rga-hw.c 		if (rga->version.major == 0 || rga->version.minor == 0) {
major             871 drivers/media/platform/rockchip/rga/rga.c 	rga->version.major = (rga_read(rga, RGA_VERSION_INFO) >> 24) & 0xFF;
major             875 drivers/media/platform/rockchip/rga/rga.c 		  rga->version.major, rga->version.minor);
major              44 drivers/media/platform/rockchip/rga/rga.h 	u32 major;
major             800 drivers/media/v4l2-core/v4l2-dev.c 		vdev->entity.info.dev.major = VIDEO_MAJOR;
major             229 drivers/media/v4l2-core/v4l2-device.c 		sd->entity.info.dev.major = VIDEO_MAJOR;
major             760 drivers/media/v4l2-core/v4l2-mem2mem.c 		entity->info.dev.major = VIDEO_MAJOR;
major              23 drivers/memstick/core/mspro_block.c static int major;
major              24 drivers/memstick/core/mspro_block.c module_param(major, int, 0644);
major            1229 drivers/memstick/core/mspro_block.c 	msb->disk->major = major;
major            1446 drivers/memstick/core/mspro_block.c 	rc = register_blkdev(major, DRIVER_NAME);
major            1449 drivers/memstick/core/mspro_block.c 		       "major %d, error %d\n", major, rc);
major            1452 drivers/memstick/core/mspro_block.c 	if (!major)
major            1453 drivers/memstick/core/mspro_block.c 		major = rc;
major            1457 drivers/memstick/core/mspro_block.c 		unregister_blkdev(major, DRIVER_NAME);
major            1464 drivers/memstick/core/mspro_block.c 	unregister_blkdev(major, DRIVER_NAME);
major              53 drivers/mfd/kempld-core.c 	pld->info.major = KEMPLD_VERSION_GET_MAJOR(version);
major             286 drivers/mfd/kempld-core.c 	char major, minor;
major             300 drivers/mfd/kempld-core.c 	if (pld->info.major < 10)
major             301 drivers/mfd/kempld-core.c 		major = pld->info.major + '0';
major             303 drivers/mfd/kempld-core.c 		major = (pld->info.major - 10) + 'A';
major             310 drivers/mfd/kempld-core.c 			"P%X%c%c.%04X", pld->info.number, major, minor,
major              61 drivers/mfd/qcom-spmi-pmic.c 	unsigned int rev2, minor, major, type, subtype;
major              92 drivers/mfd/qcom-spmi-pmic.c 	ret = regmap_read(map, PMIC_REV4, &major);
major             103 drivers/mfd/qcom-spmi-pmic.c 	    major < 0x02)
major             104 drivers/mfd/qcom-spmi-pmic.c 		major++;
major             109 drivers/mfd/qcom-spmi-pmic.c 	dev_dbg(dev, "%x: %s v%d.%d\n", subtype, name, major, minor);
major             122 drivers/mfd/rave-sp.c 	__le16 major;
major             658 drivers/mfd/rave-sp.c 			      le16_to_cpu(version->major),
major             415 drivers/mfd/si476x-cmd.c 	info->firmware.major    = resp[1];
major             548 drivers/mfd/si476x-i2c.c 					 int func, int major,
major             553 drivers/mfd/si476x-i2c.c 		switch (major) {
major             564 drivers/mfd/si476x-i2c.c 		switch (major) {
major             575 drivers/mfd/si476x-i2c.c 		switch (major) {
major             595 drivers/mfd/si476x-i2c.c 		major, minor1, minor2);
major             628 drivers/mfd/si476x-i2c.c 						       info.firmware.major,
major              45 drivers/mfd/timberdale.c 		u32 major;
major             631 drivers/mfd/timberdale.c 	return sprintf(buf, "%d.%d.%d\n", priv->fw.major, priv->fw.minor,
major             678 drivers/mfd/timberdale.c 	priv->fw.major = ioread32(priv->ctl_membase + TIMB_REV_MAJOR);
major             682 drivers/mfd/timberdale.c 	if (priv->fw.major > TIMB_SUPPORTED_MAJOR) {
major             685 drivers/mfd/timberdale.c 			"support %d.%d\n", priv->fw.major, priv->fw.minor);
major             688 drivers/mfd/timberdale.c 	if (priv->fw.major < TIMB_SUPPORTED_MAJOR ||
major             692 drivers/mfd/timberdale.c 			priv->fw.major, priv->fw.minor,
major             768 drivers/mfd/timberdale.c 			priv->fw.major, priv->fw.minor, ip_setup);
major             802 drivers/mfd/timberdale.c 		priv->fw.major, priv->fw.minor, priv->fw.config);
major             185 drivers/misc/habanalabs/device.c 	(*dev)->devt = MKDEV(hdev->major, minor);
major            1312 drivers/misc/habanalabs/habanalabs.h 	u32				major;
major             271 drivers/misc/habanalabs/habanalabs_drv.c 	hdev->major = hl_major;
major              84 drivers/misc/mei/bus-fixup.c 	u8  major;
major             105 drivers/misc/mei/bus-fixup.c 	u8 major;
major             204 drivers/misc/mei/bus-fixup.c 			fwver->ver[i].major, fwver->ver[i].minor,
major             208 drivers/misc/mei/bus-fixup.c 		cldev->bus->fw_ver[i].major = fwver->ver[i].major;
major             832 drivers/misc/mei/main.c 				 ver[i].platform, ver[i].major, ver[i].minor,
major             370 drivers/misc/mei/mei_dev.h 	u8 major;
major             288 drivers/misc/ocxl/config.c 	u8 major, minor;
major             296 drivers/misc/ocxl/config.c 	major = EXTRACT_BITS(val32, 8, 15);
major             298 drivers/misc/ocxl/config.c 	*version = (major << 8) + minor;
major             926 drivers/misc/pti.c 	pti_tty_driver->major			= 0;
major            2314 drivers/mmc/core/block.c 	md->disk->major	= MMC_BLOCK_MAJOR;
major            1144 drivers/mmc/core/sdio_uart.c 	tty_drv->major = 0;  /* dynamically allocated */
major             226 drivers/mtd/chips/cfi_cmdset_0002.c 	__u8 major = extp->MajorVersion;
major             229 drivers/mtd/chips/cfi_cmdset_0002.c 	if (((major << 8) | minor) < 0x3131) {
major             264 drivers/mtd/chips/cfi_cmdset_0002.c 			" deduced %s from Device ID\n", map->name, major, minor,
major            1047 drivers/mtd/ftl.c 	.major		= FTL_MAJOR,
major             929 drivers/mtd/inftlcore.c 	.major		= INFTL_MAJOR,
major              49 drivers/mtd/lpddr/qinfo_probe.c 	int major, minor;
major              53 drivers/mtd/lpddr/qinfo_probe.c 			major = qinfo_array[i].major & ((1 << bankwidth) - 1);
major              55 drivers/mtd/lpddr/qinfo_probe.c 			return minor | (major << bankwidth);
major             406 drivers/mtd/mtd_blkdevs.c 	gd->major = tr->major;
major             562 drivers/mtd/mtd_blkdevs.c 	ret = register_blkdev(tr->major, tr->name);
major             565 drivers/mtd/mtd_blkdevs.c 		       tr->name, tr->major, ret);
major             571 drivers/mtd/mtd_blkdevs.c 		tr->major = ret;
major             598 drivers/mtd/mtd_blkdevs.c 	unregister_blkdev(tr->major, tr->name);
major             332 drivers/mtd/mtdblock.c 	.major		= MTD_BLOCK_MAJOR,
major              60 drivers/mtd/mtdblock_ro.c 	.major		= MTD_BLOCK_MAJOR,
major             124 drivers/mtd/mtdsuper.c 	int ret, major;
major             180 drivers/mtd/mtdsuper.c 	major = MAJOR(bdev->bd_dev);
major             184 drivers/mtd/mtdsuper.c 	if (major == MTD_BLOCK_MAJOR)
major            1481 drivers/mtd/mtdswap.c 	.major		= 0,
major             787 drivers/mtd/nftlcore.c 	.major		= NFTL_MAJOR,
major             785 drivers/mtd/rfd_ftl.c 	.major		= RFD_FTL_MAJOR,
major            1242 drivers/mtd/sm_ftl.c 	.major		= 0,
major              46 drivers/mtd/spi-nor/spi-nor.c 	u8		major;
major              71 drivers/mtd/spi-nor/spi-nor.c 	u8		major;
major            3912 drivers/mtd/spi-nor/spi-nor.c 	if (param_header->major != SFDP_JESD216_MAJOR ||
major            4072 drivers/mtd/spi-nor/spi-nor.c 	    header.major != SFDP_JESD216_MAJOR)
major            4081 drivers/mtd/spi-nor/spi-nor.c 	    bfpt_header->major != SFDP_JESD216_MAJOR)
major            4118 drivers/mtd/spi-nor/spi-nor.c 		    param_header->major == SFDP_JESD216_MAJOR &&
major             428 drivers/mtd/ssfdc.c 	.major		= SSFDCR_MAJOR,
major             406 drivers/mtd/ubi/block.c 	gd->major = ubiblock_major;
major             288 drivers/mtd/ubi/build.c struct ubi_device *ubi_get_by_major(int major)
major             296 drivers/mtd/ubi/build.c 		if (ubi && MAJOR(ubi->cdev.dev) == major) {
major             317 drivers/mtd/ubi/build.c int ubi_major2num(int major)
major             325 drivers/mtd/ubi/build.c 		if (ubi && MAJOR(ubi->cdev.dev) == major) {
major             944 drivers/mtd/ubi/ubi.h struct ubi_device *ubi_get_by_major(int major);
major             945 drivers/mtd/ubi/ubi.h int ubi_major2num(int major);
major            5470 drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h 	u8 major;
major            5472 drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h 	u8 major;
major            5787 drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h 	u8 major;
major            3326 drivers/net/ethernet/broadcom/genet/bcmgenet.c 	u8 major;
major            3353 drivers/net/ethernet/broadcom/genet/bcmgenet.c 	major = (reg >> 24 & 0x0f);
major            3354 drivers/net/ethernet/broadcom/genet/bcmgenet.c 	if (major == 6)
major            3355 drivers/net/ethernet/broadcom/genet/bcmgenet.c 		major = 5;
major            3356 drivers/net/ethernet/broadcom/genet/bcmgenet.c 	else if (major == 5)
major            3357 drivers/net/ethernet/broadcom/genet/bcmgenet.c 		major = 4;
major            3358 drivers/net/ethernet/broadcom/genet/bcmgenet.c 	else if (major == 0)
major            3359 drivers/net/ethernet/broadcom/genet/bcmgenet.c 		major = 1;
major            3360 drivers/net/ethernet/broadcom/genet/bcmgenet.c 	if (major != priv->version) {
major            3363 drivers/net/ethernet/broadcom/genet/bcmgenet.c 			major, priv->version);
major            3368 drivers/net/ethernet/broadcom/genet/bcmgenet.c 		 major, (reg >> 16) & 0x0f, reg & 0xffff);
major            15808 drivers/net/ethernet/broadcom/tg3.c 		u32 major, minor;
major            15813 drivers/net/ethernet/broadcom/tg3.c 		major = (ver_offset & TG3_NVM_BCVER_MAJMSK) >>
major            15817 drivers/net/ethernet/broadcom/tg3.c 			 "v%d.%02d", major, minor);
major            15823 drivers/net/ethernet/broadcom/tg3.c 	u32 val, major, minor;
major            15829 drivers/net/ethernet/broadcom/tg3.c 	major = (val & TG3_NVM_HWSB_CFG1_MAJMSK) >>
major            15834 drivers/net/ethernet/broadcom/tg3.c 	snprintf(&tp->fw_ver[0], 32, "sb v%d.%02d", major, minor);
major            15839 drivers/net/ethernet/broadcom/tg3.c 	u32 offset, major, minor, build;
major            15874 drivers/net/ethernet/broadcom/tg3.c 	major = (val & TG3_EEPROM_SB_EDH_MAJ_MASK) >>
major            15883 drivers/net/ethernet/broadcom/tg3.c 		 " v%d.%02d", major, minor);
major            1324 drivers/net/ethernet/brocade/bna/bfa_ioc.c 	if (drv_fwhdr->fwver.major != fwhdr_to_cmp->fwver.major)
major            1341 drivers/net/ethernet/brocade/bna/bfa_ioc.c 	if (flash_fwhdr->fwver.major == 0 || flash_fwhdr->fwver.major == 0xFF)
major             236 drivers/net/ethernet/brocade/bna/bfi.h 	u8 major;
major             241 drivers/net/ethernet/brocade/bna/bfi.h 	u8 major;
major             394 drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c 	u32 major = 0;
major             399 drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c 		major = ((struct lio_version *)(cmd->data))->major;
major             400 drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c 		major = major << 16;
major             403 drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c 	atomic_set((atomic_t *)arg, major | 1);
major             424 drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c 	((struct lio_version *)&mbox_cmd.data[0])->major =
major             678 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c 		      board_info->major, board_info->minor);
major             699 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c 		board_info->major, board_info->minor);
major            1011 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c 	vdata->major = (__force u16)cpu_to_be16(LIQUIDIO_BASE_MAJOR_VERSION);
major            3395 drivers/net/ethernet/cavium/liquidio/lio_main.c 		vdata->major = cpu_to_be16(LIQUIDIO_BASE_MAJOR_VERSION);
major            1966 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c 		vdata->major = cpu_to_be16(LIQUIDIO_BASE_MAJOR_VERSION);
major              41 drivers/net/ethernet/cavium/liquidio/liquidio_common.h 	u16  major;
major            1256 drivers/net/ethernet/cavium/liquidio/octeon_device.c 	oct->boardinfo.major = cs->board_rev_major;
major             228 drivers/net/ethernet/cavium/liquidio/octeon_device.h 	u64 major;
major             248 drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c 		((struct lio_version *)&mbox_cmd->data[0])->major =
major             984 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	unsigned int major, minor;
major             994 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	major = G_TP_VERSION_MAJOR(vers);
major             997 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	if (major == TP_VERSION_MAJOR && minor == TP_VERSION_MINOR)
major            1001 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 		       "driver compiled for version %d.%d\n", major, minor,
major            1064 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	unsigned int type, major, minor;
major            1071 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	major = G_FW_VERSION_MAJOR(vers);
major            1074 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	if (type == FW_VERSION_T3 && major == FW_VERSION_MAJOR &&
major            1077 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	else if (major != FW_VERSION_MAJOR || minor < FW_VERSION_MINOR)
major            1079 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 		        "driver compiled for version %u.%u\n", major, minor,
major            1083 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 		        "driver compiled for version %u.%u\n", major, minor,
major            3390 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c 	int i, ret, major, minor, micro;
major            3402 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c 	major = FW_HDR_FW_VER_MAJOR_G(adap->params.fw_vers);
major            3428 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c 	if (major < exp_major || (major == exp_major && minor < exp_minor) ||
major            3429 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c 	    (major == exp_major && minor == exp_minor && micro < exp_micro)) {
major            3432 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c 			"supported firmware is %u.%u.%u.\n", major, minor,
major             518 drivers/net/ethernet/freescale/dpaa2/dpni-cmd.h 	__le16 major;
major            1632 drivers/net/ethernet/freescale/dpaa2/dpni.c 	*major_ver = le16_to_cpu(rsp_params->major);
major             267 drivers/net/ethernet/freescale/fman/fman.c #define DFLT_DMA_COMM_Q_LOW(major, dma_thresh_max_commq)	\
major             268 drivers/net/ethernet/freescale/fman/fman.c 	((major == 6) ? DMA_COMM_Q_LOW_FMAN_V3 :		\
major             274 drivers/net/ethernet/freescale/fman/fman.c #define DFLT_DMA_COMM_Q_HIGH(major, dma_thresh_max_commq)	\
major             275 drivers/net/ethernet/freescale/fman/fman.c 	((major == 6) ? DMA_COMM_Q_HIGH_FMAN_V3 :		\
major             280 drivers/net/ethernet/freescale/fman/fman.c #define DFLT_TOTAL_NUM_OF_TASKS(major, minor, bmi_max_num_of_tasks)	\
major             281 drivers/net/ethernet/freescale/fman/fman.c 	((major == 6) ? ((minor == 1 || minor == 4) ?			\
major             287 drivers/net/ethernet/freescale/fman/fman.c #define DFLT_DMA_CAM_NUM_OF_ENTRIES(major)			\
major             288 drivers/net/ethernet/freescale/fman/fman.c 	(major == 6 ? DMA_CAM_NUM_OF_ENTRIES_FMAN_V3 :		\
major             605 drivers/net/ethernet/freescale/fman/fman.c static inline u8 hw_port_id_to_sw_port_id(u8 major, u8 hw_port_id)
major             777 drivers/net/ethernet/freescale/fman/fman.c 	if (fman->state->rev_info.major == 2) {
major            1136 drivers/net/ethernet/freescale/fman/fman.c 	switch (state->rev_info.major) {
major            1314 drivers/net/ethernet/freescale/fman/fman.c 		hw_port_id_to_sw_port_id(fman->state->rev_info.major, port_id);
major            1663 drivers/net/ethernet/freescale/fman/fman.c 	if ((fman->state->rev_info.major < 6) &&
major            1669 drivers/net/ethernet/freescale/fman/fman.c 	} else if ((fman->state->rev_info.major >= 6) &&
major            1670 drivers/net/ethernet/freescale/fman/fman.c 		   !((fman->state->rev_info.major == 6) &&
major            1686 drivers/net/ethernet/freescale/fman/fman.c 	if (fman->state->rev_info.major < 6)
major            1778 drivers/net/ethernet/freescale/fman/fman.c 	if (fman->state->rev_info.major >= 6)
major            1784 drivers/net/ethernet/freescale/fman/fman.c 	(u8)DFLT_TOTAL_NUM_OF_TASKS(fman->state->rev_info.major,
major            1788 drivers/net/ethernet/freescale/fman/fman.c 	if (fman->state->rev_info.major < 6) {
major            1790 drivers/net/ethernet/freescale/fman/fman.c 		(u8)DFLT_DMA_COMM_Q_LOW(fman->state->rev_info.major,
major            1794 drivers/net/ethernet/freescale/fman/fman.c 		(u8)DFLT_DMA_COMM_Q_HIGH(fman->state->rev_info.major,
major            1798 drivers/net/ethernet/freescale/fman/fman.c 		DFLT_DMA_CAM_NUM_OF_ENTRIES(fman->state->rev_info.major);
major            1832 drivers/net/ethernet/freescale/fman/fman.c 	if (fman->state->rev_info.major < 6) {
major            1932 drivers/net/ethernet/freescale/fman/fman.c 	if (fman->state->rev_info.major < 6)
major            1935 drivers/net/ethernet/freescale/fman/fman.c 	if (fman->state->rev_info.major >= 6)
major            2192 drivers/net/ethernet/freescale/fman/fman.c 	if (fman->state->rev_info.major < 6)
major            2195 drivers/net/ethernet/freescale/fman/fman.c 	mac_id = hw_port_id_to_sw_port_id(fman->state->rev_info.major, port_id);
major            2230 drivers/net/ethernet/freescale/fman/fman.c 	if (fman->state->rev_info.major >= 6) {
major            2356 drivers/net/ethernet/freescale/fman/fman.c 	rev_info->major = (u8)((tmp & FPM_REV1_MAJOR_MASK) >>
major            2375 drivers/net/ethernet/freescale/fman/fman.c 	if (fman->state->rev_info.major >= 6) {
major             113 drivers/net/ethernet/freescale/fman/fman.h 	u8 major;			/* Major revision */
major             716 drivers/net/ethernet/freescale/fman/fman_dtsec.c 		if (dtsec->fm_rev_info.major == 2) {
major             890 drivers/net/ethernet/freescale/fman/fman_dtsec.c 		if (dtsec->fm_rev_info.major == 2) {
major             901 drivers/net/ethernet/freescale/fman/fman_dtsec.c 		if (dtsec->fm_rev_info.major == 2) {
major             979 drivers/net/ethernet/freescale/fman/fman_dtsec.c 		if (dtsec->fm_rev_info.major == 2 && pause_time <= 320) {
major            1047 drivers/net/ethernet/freescale/fman/fman_memac.c 	if (memac->fm_rev_info.major == 6 && memac->fm_rev_info.minor == 4)
major            1071 drivers/net/ethernet/freescale/fman/fman_memac.c 	if ((memac->fm_rev_info.major == 6) &&
major              80 drivers/net/ethernet/freescale/fman/fman_port.c #define DFLT_PORT_RX_FIFO_THRESHOLD(major, bmi_max_fifo_size)	\
major              81 drivers/net/ethernet/freescale/fman/fman_port.c 	(major == 6 ?						\
major             879 drivers/net/ethernet/freescale/fman/fman_port.c 		if (port->rev_info.major >= 6)
major            1050 drivers/net/ethernet/freescale/fman/fman_port.c 	switch (port->rev_info.major) {
major            1070 drivers/net/ethernet/freescale/fman/fman_port.c static int get_dflt_fifo_deq_pipeline_depth(u8 major, enum fman_port_type type,
major            1080 drivers/net/ethernet/freescale/fman/fman_port.c 			if (major >= 6)
major            1092 drivers/net/ethernet/freescale/fman/fman_port.c static int get_dflt_num_of_tasks(u8 major, enum fman_port_type type,
major            1102 drivers/net/ethernet/freescale/fman/fman_port.c 			if (major >= 6)
major            1114 drivers/net/ethernet/freescale/fman/fman_port.c static int get_dflt_extra_num_of_tasks(u8 major, enum fman_port_type type,
major            1120 drivers/net/ethernet/freescale/fman/fman_port.c 		if (major >= 6)
major            1134 drivers/net/ethernet/freescale/fman/fman_port.c static int get_dflt_num_of_open_dmas(u8 major, enum fman_port_type type,
major            1139 drivers/net/ethernet/freescale/fman/fman_port.c 	if (major >= 6) {
major            1173 drivers/net/ethernet/freescale/fman/fman_port.c static int get_dflt_extra_num_of_open_dmas(u8 major, enum fman_port_type type,
major            1177 drivers/net/ethernet/freescale/fman/fman_port.c 	if (major >= 6)
major            1193 drivers/net/ethernet/freescale/fman/fman_port.c static int get_dflt_num_of_fifo_bufs(u8 major, enum fman_port_type type,
major            1198 drivers/net/ethernet/freescale/fman/fman_port.c 	if (major >= 6) {
major            1257 drivers/net/ethernet/freescale/fman/fman_port.c 		DFLT_PORT_RX_FIFO_THRESHOLD(port->rev_info.major,
major            1260 drivers/net/ethernet/freescale/fman/fman_port.c 	if ((port->rev_info.major == 6) &&
major            1265 drivers/net/ethernet/freescale/fman/fman_port.c 	if (port->rev_info.major < 6)
major            1297 drivers/net/ethernet/freescale/fman/fman_port.c 		get_dflt_fifo_deq_pipeline_depth(port->rev_info.major,
major            1368 drivers/net/ethernet/freescale/fman/fman_port.c 	get_dflt_num_of_fifo_bufs(port->rev_info.major, port->port_type,
major            1374 drivers/net/ethernet/freescale/fman/fman_port.c 	get_dflt_num_of_open_dmas(port->rev_info.major,
major            1377 drivers/net/ethernet/freescale/fman/fman_port.c 	get_dflt_extra_num_of_open_dmas(port->rev_info.major,
major            1380 drivers/net/ethernet/freescale/fman/fman_port.c 	get_dflt_num_of_tasks(port->rev_info.major,
major            1383 drivers/net/ethernet/freescale/fman/fman_port.c 	get_dflt_extra_num_of_tasks(port->rev_info.major,
major            1389 drivers/net/ethernet/freescale/fman/fman_port.c 	if ((port->rev_info.major == 6) && (port->rev_info.minor == 0) &&
major            1396 drivers/net/ethernet/freescale/fman/fman_port.c 	if (port->rev_info.major >= 6 &&
major             714 drivers/net/ethernet/freescale/fman/fman_tgec.c 	if (tgec->fm_rev_info.major <= 2)
major             735 drivers/net/ethernet/freescale/fman/fman_tgec.c 	if (tgec->fm_rev_info.major == 2) {
major             305 drivers/net/ethernet/intel/i40e/i40e_client.c 	cdev->lan_info.version.major = I40E_CLIENT_VERSION_MAJOR;
major             764 drivers/net/ethernet/intel/i40e/i40e_client.c 	if ((client->version.major != I40E_CLIENT_VERSION_MAJOR) ||
major             769 drivers/net/ethernet/intel/i40e/i40e_client.c 			client->version.major, client->version.minor,
major              21 drivers/net/ethernet/intel/i40e/i40e_client.h 	u8 major;
major             212 drivers/net/ethernet/intel/i40e/i40e_ddp.c 	if (pkg_hdr->version.major > 0) {
major             216 drivers/net/ethernet/intel/i40e/i40e_ddp.c 			   ver.major, ver.minor, ver.update, ver.draft);
major            1510 drivers/net/ethernet/intel/i40e/i40e_type.h 	u8 major;
major             328 drivers/net/ethernet/intel/iavf/iavf.h #define PF_IS_V11(_a) (((_a)->pf_version.major == 1) && \
major             211 drivers/net/ethernet/intel/iavf/iavf_client.c 	cinst->lan_info.version.major = IAVF_CLIENT_VERSION_MAJOR;
major             528 drivers/net/ethernet/intel/iavf/iavf_client.c 	if ((client->version.major != IAVF_CLIENT_VERSION_MAJOR) ||
major             533 drivers/net/ethernet/intel/iavf/iavf_client.c 			client->version.major, client->version.minor,
major              21 drivers/net/ethernet/intel/iavf/iavf_client.h 	u8 major;
major            1727 drivers/net/ethernet/intel/iavf/iavf_main.c 				adapter->pf_version.major,
major              50 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 	vvi.major = VIRTCHNL_VERSION_MAJOR;
major             109 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 	if ((pf_vvi->major > VIRTCHNL_VERSION_MAJOR) ||
major             110 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 	    ((pf_vvi->major == VIRTCHNL_VERSION_MAJOR) &&
major            1561 drivers/net/ethernet/intel/ice/ice_adminq_cmd.h 	u8 major;
major             272 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 		  pkg_hdr->format_ver.major, pkg_hdr->format_ver.minor,
major             406 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 		  ice_seg->hdr.seg_ver.major, ice_seg->hdr.seg_ver.minor,
major             445 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 			  meta_seg->pkg_ver.major, meta_seg->pkg_ver.minor,
major             461 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 			  seg_hdr->seg_ver.major, seg_hdr->seg_ver.minor,
major             517 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 			  i, pkg_info->pkg_info[i].ver.major,
major             546 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 	if (pkg->format_ver.major != ICE_PKG_FMT_VER_MAJ ||
major             623 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 	if (pkg_ver->major != ICE_PKG_SUPP_VER_MAJ ||
major            2529 drivers/net/ethernet/intel/ice/ice_main.c 		if (hw->pkg_ver.major == hw->active_pkg_ver.major &&
major            2539 drivers/net/ethernet/intel/ice/ice_main.c 					 hw->active_pkg_ver.major,
major            2547 drivers/net/ethernet/intel/ice/ice_main.c 					 hw->active_pkg_ver.major,
major            2551 drivers/net/ethernet/intel/ice/ice_main.c 		} else if (hw->active_pkg_ver.major != ICE_PKG_SUPP_VER_MAJ ||
major            2556 drivers/net/ethernet/intel/ice/ice_main.c 				hw->active_pkg_ver.major,
major            2560 drivers/net/ethernet/intel/ice/ice_main.c 		} else if (hw->active_pkg_ver.major == ICE_PKG_SUPP_VER_MAJ &&
major            2565 drivers/net/ethernet/intel/ice/ice_main.c 				 hw->active_pkg_ver.major,
major            2570 drivers/net/ethernet/intel/ice/ice_main.c 				 hw->pkg_ver.major,
major            2588 drivers/net/ethernet/intel/ice/ice_main.c 		if (hw->pkg_ver.major > ICE_PKG_SUPP_VER_MAJ ||
major            2589 drivers/net/ethernet/intel/ice/ice_main.c 		    (hw->pkg_ver.major == ICE_PKG_SUPP_VER_MAJ &&
major            2593 drivers/net/ethernet/intel/ice/ice_main.c 		else if (hw->pkg_ver.major < ICE_PKG_SUPP_VER_MAJ ||
major            2594 drivers/net/ethernet/intel/ice/ice_main.c 			 (hw->pkg_ver.major == ICE_PKG_SUPP_VER_MAJ &&
major             377 drivers/net/ethernet/mellanox/mlxsw/core.h 	u16 major;
major             527 drivers/net/ethernet/mellanox/mlxsw/i2c.c 	mlxsw_i2c->bus_info.fw_rev.major =
major              80 drivers/net/ethernet/mellanox/mlxsw/minimal.c 		 mlxsw_m->bus_info->fw_rev.major,
major            1435 drivers/net/ethernet/mellanox/mlxsw/pci.c 	mlxsw_pci->bus_info.fw_rev.major =
major              55 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	.major = MLXSW_SP1_FWREV_MAJOR,
major             405 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	if (rev->major != req_rev->major) {
major             407 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 		     rev->major, req_rev->major);
major             418 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 		 rev->major, rev->minor, rev->subminor);
major            1939 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 		 mlxsw_sp->bus_info->fw_rev.major,
major             409 drivers/net/ethernet/mellanox/mlxsw/switchx2.c 		 mlxsw_sx->bus_info->fw_rev.major,
major             222 drivers/net/ethernet/neterion/vxge/vxge-config.c vxge_hw_upgrade_read_version(struct __vxge_hw_device *hldev, u32 *major,
major             239 drivers/net/ethernet/neterion/vxge/vxge-config.c 	*major = VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_FW_VER_MAJOR(data0);
major             831 drivers/net/ethernet/neterion/vxge/vxge-config.c 	fw_version->major =
major             839 drivers/net/ethernet/neterion/vxge/vxge-config.c 		 fw_version->major, fw_version->minor, fw_version->build);
major             851 drivers/net/ethernet/neterion/vxge/vxge-config.c 	flash_version->major =
major             859 drivers/net/ethernet/neterion/vxge/vxge-config.c 		 flash_version->major, flash_version->minor,
major             221 drivers/net/ethernet/neterion/vxge/vxge-config.h 	u32     major;
major            2077 drivers/net/ethernet/neterion/vxge/vxge-config.h vxge_hw_upgrade_read_version(struct __vxge_hw_device *hldev, u32 *major,
major            4166 drivers/net/ethernet/neterion/vxge/vxge-main.c 	cmaj = vdev->config.device_hw_info.fw_version.major;
major            4206 drivers/net/ethernet/neterion/vxge/vxge-main.c 	maj = vdev->config.device_hw_info.fw_version.major;
major            4506 drivers/net/ethernet/neterion/vxge/vxge-main.c 	if (VXGE_FW_VER(ll_config->device_hw_info.fw_version.major,
major             453 drivers/net/ethernet/netronome/nfp/nfp_net.h 	u8 major;
major             459 drivers/net/ethernet/netronome/nfp/nfp_net.h 				     u8 resv, u8 class, u8 major, u8 minor)
major             463 drivers/net/ethernet/netronome/nfp/nfp_net.h 	       fw_ver->major == major &&
major            3772 drivers/net/ethernet/netronome/nfp/nfp_net_common.c 		nn->fw_ver.major, nn->fw_ver.minor,
major            3996 drivers/net/ethernet/netronome/nfp/nfp_net_common.c 	if ((nn->cap & NFP_NET_CFG_CTRL_LSO && nn->fw_ver.major > 2) ||
major            4070 drivers/net/ethernet/netronome/nfp/nfp_net_common.c 	nn->dp.chained_metadata_format = nn->fw_ver.major == 4 ||
major            4077 drivers/net/ethernet/netronome/nfp/nfp_net_common.c 	if (nn->dp.chained_metadata_format && nn->fw_ver.major != 4)
major            4081 drivers/net/ethernet/netronome/nfp/nfp_net_common.c 	if (nn->fw_ver.major >= 2) {
major             200 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 		 nn->fw_ver.major, nn->fw_ver.minor);
major             677 drivers/net/ethernet/netronome/nfp/nfp_net_main.c 			fw_ver.resv, fw_ver.class, fw_ver.major, fw_ver.minor);
major             687 drivers/net/ethernet/netronome/nfp/nfp_net_main.c 		switch (fw_ver.major) {
major             694 drivers/net/ethernet/netronome/nfp/nfp_net_main.c 				fw_ver.major, fw_ver.minor);
major             334 drivers/net/ethernet/netronome/nfp/nfp_net_repr.c 	if ((repr_cap & NFP_NET_CFG_CTRL_LSO && nn->fw_ver.major > 2) ||
major             121 drivers/net/ethernet/netronome/nfp/nfp_netvf_main.c 			fw_ver.resv, fw_ver.class, fw_ver.major, fw_ver.minor);
major             133 drivers/net/ethernet/netronome/nfp/nfp_netvf_main.c 		switch (fw_ver.major) {
major             142 drivers/net/ethernet/netronome/nfp/nfp_netvf_main.c 				fw_ver.major, fw_ver.minor);
major             130 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 		u16 major;
major             246 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 	state->ver.major = FIELD_GET(NSP_STATUS_MAJOR, reg);
major             249 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 	if (state->ver.major != NSP_MAJOR) {
major             251 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 			state->ver.major, state->ver.minor);
major             311 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 	return state->ver.major;
major             666 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 			arg->arg.code, nsp->ver.major, nsp->ver.minor);
major             761 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 	unsigned int major, minor;
major             764 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 	major = FIELD_GET(NFP_FW_LOAD_RET_MAJOR, ret_val);
major             771 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 	if (major == 0 && (minor == 0 || minor == 10))
major             773 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 	else if (major == 2)
major             778 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 	if (major >= ARRAY_SIZE(major_msg))
major             783 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 			   major_msg[major], minor);
major             786 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 			   major_msg[major], minor ? ',' : '.',
major             827 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 	__le32 major, minor, sub;
major             841 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 							&major, &minor, &sub);
major             849 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 		return major + (minor << 8) + (sub << 16);
major             875 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 	u32 val, version, major, minor, build;
major             917 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 		major = NXRD32(adapter, NETXEN_FW_VERSION_MAJOR);
major             921 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 		if (version > NETXEN_VERSION_CODE(major, minor, build))
major             924 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 		if (version == NETXEN_VERSION_CODE(major, minor, build) &&
major            2008 drivers/net/ethernet/qlogic/qed/qed_debug.c 			     "%d_%d_%d_%d", fw_info.ver.num.major,
major            2690 drivers/net/ethernet/qlogic/qed/qed_hsi.h 	u8 major;
major            3590 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	u32 major, minor, sub;
major            3592 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	major = QLC_SHARED_REG_RD32(adapter, QLCNIC_FW_VERSION_MAJOR);
major            3596 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	if (adapter->fw_version != QLCNIC_VERSION_CODE(major, minor, sub)) {
major            1010 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c 	u32 major, minor, sub;
major            1028 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c 					&major, &minor, &sub);
major            1032 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c 				return major + (minor << 8) + (sub << 16);
major             562 drivers/net/ethernet/sfc/falcon/falcon_boards.c 		(board->major == 0 && board->minor == 0) ?
major             668 drivers/net/ethernet/sfc/falcon/falcon_boards.c 	if (board->minor < 3 && board->major == 0)
major             681 drivers/net/ethernet/sfc/falcon/falcon_boards.c 	if (board->minor < 3 && board->major == 0)
major             695 drivers/net/ethernet/sfc/falcon/falcon_boards.c 		(board->major == 0 && board->minor <= 2) ?
major             747 drivers/net/ethernet/sfc/falcon/falcon_boards.c 	board->major = FALCON_BOARD_MAJOR(revision_info);
major             174 drivers/net/ethernet/sfc/falcon/nic.h 	int major;
major             248 drivers/net/ethernet/sfc/falcon/qt202x_phy.c 	if (board->major == 0 && board->minor < 2) {
major             201 drivers/net/ethernet/sfc/ptp.c 	u32 major;
major             547 drivers/net/ethernet/sfc/ptp.c 	u32 major = 0;
major             550 drivers/net/ethernet/sfc/ptp.c 		major = channel->sync_timestamp_major;
major             551 drivers/net/ethernet/sfc/ptp.c 	return major;
major             898 drivers/net/ethernet/sfc/ptp.c 	timeset->major = MCDI_DWORD(data, PTP_OUT_SYNCHRONIZE_MAJOR);
major            1011 drivers/net/ethernet/sfc/ptp.c 	mc_time = ptp->nic_to_kernel_time(ptp->timeset[last_good].major,
major             385 drivers/net/ethernet/socionext/sni_ave.c 	u32 major, minor, vr;
major             388 drivers/net/ethernet/socionext/sni_ave.c 	major = (vr & GENMASK(15, 8)) >> 8;
major             390 drivers/net/ethernet/socionext/sni_ave.c 	snprintf(buf, len, "v%u.%u", major, minor);
major              57 drivers/net/ethernet/sun/ldmvsw.c 	{ .major = 1, .minor = 8 },
major              58 drivers/net/ethernet/sun/ldmvsw.c 	{ .major = 1, .minor = 7 },
major              59 drivers/net/ethernet/sun/ldmvsw.c 	{ .major = 1, .minor = 6 },
major              60 drivers/net/ethernet/sun/ldmvsw.c 	{ .major = 1, .minor = 0 },
major              54 drivers/net/ethernet/sun/sunvnet.c 	{ .major = 1, .minor = 8 },
major              55 drivers/net/ethernet/sun/sunvnet.c 	{ .major = 1, .minor = 7 },
major              56 drivers/net/ethernet/sun/sunvnet.c 	{ .major = 1, .minor = 6 },
major              57 drivers/net/ethernet/sun/sunvnet.c 	{ .major = 1, .minor = 0 },
major             108 drivers/net/tap.c 	dev_t major;
major             393 drivers/net/tap.c static struct major_info *tap_get_major(int major)
major             398 drivers/net/tap.c 		if (tap_major->major == major)
major             405 drivers/net/tap.c int tap_get_minor(dev_t major, struct tap_dev *tap)
major             411 drivers/net/tap.c 	tap_major = tap_get_major(MAJOR(major));
major             433 drivers/net/tap.c void tap_free_minor(dev_t major, struct tap_dev *tap)
major             438 drivers/net/tap.c 	tap_major = tap_get_major(MAJOR(major));
major             455 drivers/net/tap.c static struct tap_dev *dev_get_by_tap_file(int major, int minor)
major             462 drivers/net/tap.c 	tap_major = tap_get_major(major);
major            1315 drivers/net/tap.c static int tap_list_add(dev_t major, const char *device_name)
major            1323 drivers/net/tap.c 	tap_major->major = MAJOR(major);
major            1364 drivers/net/tap.c void tap_destroy_cdev(dev_t major, struct cdev *tap_cdev)
major            1369 drivers/net/tap.c 	unregister_chrdev_region(major, TAP_NUM_DEVS);
major            1371 drivers/net/tap.c 		if (tap_major->major == MAJOR(major)) {
major             206 drivers/net/usb/aqc111.c 		 aqc111_data->fw_ver.major,
major             674 drivers/net/usb/aqc111.c 			1, 1, &aqc111_data->fw_ver.major);
major             680 drivers/net/usb/aqc111.c 	if (aqc111_data->fw_ver.major & 0x80)
major             681 drivers/net/usb/aqc111.c 		aqc111_data->fw_ver.major &= ~0x80;
major             169 drivers/net/usb/aqc111.h 		u8 major;
major            3251 drivers/net/usb/hso.c 		tty_drv->major = tty_major;
major            1020 drivers/net/wimax/i2400m/control.c 	unsigned major, minor, branch;
major            1054 drivers/net/wimax/i2400m/control.c 	major = le16_to_cpu(l4mv->major);
major            1058 drivers/net/wimax/i2400m/control.c 	if (major != I2400M_HDIv_MAJOR) {
major            1060 drivers/net/wimax/i2400m/control.c 			"%u.%u.%u\n", major, minor, branch);
major            1066 drivers/net/wimax/i2400m/control.c 			 major, minor, branch);
major            1068 drivers/net/wimax/i2400m/control.c 	i2400m->fw_version = major << 16 | minor;
major            1070 drivers/net/wimax/i2400m/control.c 		 major, minor, branch);
major             542 drivers/net/wireless/ath/ath10k/htt.h 	u8 major;
major            3748 drivers/net/wireless/ath/ath10k/htt_rx.c 		htt->target_version_major = resp->ver_resp.major;
major            3116 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 				   int *length, int *major, int *minor)
major            3127 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	*major = (value[2] & 0x000f);
major            3274 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	int reference, length, major, minor;
major            3349 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 				       &length, &major, &minor);
major            3352 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			cptr, code, reference, length, major, minor);
major            1551 drivers/net/wireless/ath/ath9k/ar9003_mci.c void ar9003_mci_set_bt_version(struct ath_hw *ah, u8 major, u8 minor)
major            1555 drivers/net/wireless/ath/ath9k/ar9003_mci.c 	mci->bt_ver_major = major;
major             316 drivers/net/wireless/ath/ath9k/ar9003_mci.h void ar9003_mci_set_bt_version(struct ath_hw *ah, u8 major, u8 minor);
major             797 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	priv->fw_version_major = be16_to_cpu(cmd_rsp.major);
major             373 drivers/net/wireless/ath/ath9k/mci.c 	u8 major, minor, update_scheme = 0;
major             388 drivers/net/wireless/ath/ath9k/mci.c 		major = *(rx_payload + MCI_GPM_COEX_B_MAJOR_VERSION);
major             390 drivers/net/wireless/ath/ath9k/mci.c 		ar9003_mci_set_bt_version(ah, major, minor);
major              34 drivers/net/wireless/ath/ath9k/wmi.h 	__be16 major;
major             738 drivers/net/wireless/ath/wcn36xx/hal.h 	u8 major;
major             430 drivers/net/wireless/ath/wcn36xx/smd.c 	wcn->fw_major = rsp->start_rsp_params.version.major;
major             260 drivers/net/wireless/ath/wcn36xx/wcn36xx.h 					 u8 major,
major             265 drivers/net/wireless/ath/wcn36xx/wcn36xx.h 	return (wcn->fw_major == major &&
major            1646 drivers/net/wireless/atmel/at76c50x-usb.c 	fwe->fw_version.major = fwh->major;
major            1661 drivers/net/wireless/atmel/at76c50x-usb.c 		   fwe->fwname, fwh->major, fwh->minor, fwh->patch, fwh->build);
major            2370 drivers/net/wireless/atmel/at76c50x-usb.c 		 priv->fw_version.major, priv->fw_version.minor,
major            2388 drivers/net/wireless/atmel/at76c50x-usb.c 		   priv->fw_version.major, priv->fw_version.minor,
major            2496 drivers/net/wireless/atmel/at76c50x-usb.c 	if ((fwe->fw_version.major > 0 || fwe->fw_version.minor >= 100)
major            2499 drivers/net/wireless/atmel/at76c50x-usb.c 		if (ret < 0 || (fwv->major | fwv->minor) == 0)
major             310 drivers/net/wireless/atmel/at76c50x-usb.h 	u8 major;
major             340 drivers/net/wireless/atmel/at76c50x-usb.h 	u8 major;		/* firmware major version */
major             885 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 			u32 major, minor;
major             891 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 			major = le32_to_cpup(ptr++);
major             895 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 			if (major >= 35)
major             898 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 					"%u.%08x.%u", major, minor, local_comp);
major             902 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 					"%u.%u.%u", major, minor, local_comp);
major             403 drivers/net/wireless/intel/iwlwifi/mvm/utils.c 	u32 major;		/* uCode version major */
major             570 drivers/net/wireless/intel/iwlwifi/mvm/utils.c 	IWL_ERR(mvm, "0x%08X | uCode version major\n", table.major);
major             181 drivers/net/wireless/intersil/hostap/hostap_common.h 	__le16 major;
major            1057 drivers/net/wireless/intersil/hostap/hostap_hw.c 	       __le16_to_cpu(comp.id), __le16_to_cpu(comp.major),
major            2732 drivers/net/wireless/intersil/hostap/hostap_hw.c 	int id, variant, major, minor;
major            2746 drivers/net/wireless/intersil/hostap/hostap_hw.c 	major = __le16_to_cpu(comp.major);
major            2749 drivers/net/wireless/intersil/hostap/hostap_hw.c 	local->sta_fw_ver = PRISM2_FW_VER(major, minor, variant);
major             798 drivers/net/wireless/intersil/hostap/hostap_wlan.h #define PRISM2_FW_VER(major, minor, variant) \
major             799 drivers/net/wireless/intersil/hostap/hostap_wlan.h (((major) << 16) | ((minor) << 8) | variant)
major              47 drivers/net/wireless/intersil/orinoco/hw.c 	u16 id, variant, major, minor;
major              54 drivers/net/wireless/intersil/orinoco/hw.c 	else if (nic_id->id == 0x8000 && nic_id->major == 0)
major              90 drivers/net/wireless/intersil/orinoco/hw.c 	le16_to_cpus(&nic_id.major);
major              93 drivers/net/wireless/intersil/orinoco/hw.c 		 nic_id.id, nic_id.variant, nic_id.major, nic_id.minor);
major              98 drivers/net/wireless/intersil/orinoco/hw.c 			   ((nic_id.major & 0xff) << 8) |
major             113 drivers/net/wireless/intersil/orinoco/hw.c 	le16_to_cpus(&sta_id.major);
major             116 drivers/net/wireless/intersil/orinoco/hw.c 		 sta_id.id, sta_id.variant, sta_id.major, sta_id.minor);
major             153 drivers/net/wireless/intersil/orinoco/hw.c 				 sta_id.major, sta_id.minor);
major             155 drivers/net/wireless/intersil/orinoco/hw.c 		firmver = ((unsigned long)sta_id.major << 16) | sta_id.minor;
major             243 drivers/net/wireless/intersil/orinoco/hw.c 				 sta_id.major, sta_id.minor, sta_id.variant);
major             245 drivers/net/wireless/intersil/orinoco/hw.c 		firmver = ((unsigned long)sta_id.major << 16) |
major              87 drivers/net/wireless/rsi/rsi_91x_debugfs.c 		   common->lmac_ver.major,
major             925 drivers/net/wireless/rsi/rsi_91x_hal.c 	common->lmac_ver.major =
major            1046 drivers/net/wireless/rsi/rsi_91x_hal.c 	common->lmac_ver.major = ta_firmware[LMAC_VER_OFFSET_9116];
major             102 drivers/net/wireless/rsi/rsi_91x_main.c 		common->lmac_ver.major, common->lmac_ver.minor,
major             122 drivers/net/wireless/rsi/rsi_main.h 	u16 major;
major             500 drivers/net/wireless/ti/wl1251/boot.c 	wl->boot_attr.major = (tmp & 0x00FF0000) >> 16;
major             509 drivers/net/wireless/ti/wl1251/boot.c 		     wl->boot_attr.radio_type, wl->boot_attr.major,
major             101 drivers/net/wireless/ti/wl1251/wl1251.h 	u32 major;
major            1479 drivers/net/wireless/ti/wl12xx/main.c 	u8 major, minor;
major            1482 drivers/net/wireless/ti/wl12xx/main.c 		major = WL128X_PG_GET_MAJOR(wl->hw_pg_ver);
major            1486 drivers/net/wireless/ti/wl12xx/main.c 		if (major > 2 || (major == 2 && minor >= 1))
major            1489 drivers/net/wireless/ti/wl12xx/main.c 		major = WL127X_PG_GET_MAJOR(wl->hw_pg_ver);
major            1493 drivers/net/wireless/ti/wl12xx/main.c 		if (major == 3 && minor >= 1)
major            1499 drivers/net/wireless/ti/wl12xx/main.c 		     major, minor, supported ? "is" : "is not");
major              18 drivers/nfc/s3fwrn5/firmware.c 	__u8 major;
major             407 drivers/nfc/s3fwrn5/firmware.c 	if (new->major > old->major)
major             138 drivers/nvdimm/label.c 		version = __le16_to_cpu(nsindex[i]->major) * 100
major             669 drivers/nvdimm/label.c 	nsindex->major = __cpu_to_le16(1);
major              62 drivers/nvdimm/label.h 	__le16 major;
major            1462 drivers/nvdimm/namespace_devs.c 			if (__le16_to_cpu(nsindex->major) == 1
major             691 drivers/nvdimm/region_devs.c 	if (nsindex && __le16_to_cpu(nsindex->major) == 1
major             828 drivers/nvme/target/configfs.c 	int major, minor, tertiary = 0;
major             832 drivers/nvme/target/configfs.c 	ret = sscanf(page, "%d.%d.%d\n", &major, &minor, &tertiary);
major             837 drivers/nvme/target/configfs.c 	subsys->ver = NVME_VS(major, minor, tertiary);
major            1518 drivers/parisc/lba_pci.c 		int major, minor;
major            1521 drivers/parisc/lba_pci.c 		major = func_class >> 4, minor = func_class & 0xf;
major            1527 drivers/parisc/lba_pci.c 		       IS_MERCURY(dev) ? "Mercury" : "Quicksilver", major,
major              59 drivers/pci/controller/pci-hyperv.c #define PCI_MAKE_VERSION(major, minor) ((u32)(((major) << 16) | (minor)))
major             799 drivers/pcmcia/cistpl.c 	vers_1->major = *p; p++;
major              16 drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c 	u8 major = ufs_qcom_phy->host_ctrl_rev_major;
major              21 drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c 	if ((major == 0x1) && (minor == 0x002) && (step == 0x0000)) {
major              24 drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c 	} else if ((major == 0x1) && (minor == 0x003) && (step == 0x0000)) {
major             511 drivers/phy/qualcomm/phy-qcom-ufs.c 					  u8 major, u16 minor, u16 step)
major             515 drivers/phy/qualcomm/phy-qcom-ufs.c 	ufs_qcom_phy->host_ctrl_rev_major = major;
major             146 drivers/platform/chrome/cros_usbpd_logger.c 				  minfo->irom.major, minfo->irom.minor,
major             147 drivers/platform/chrome/cros_usbpd_logger.c 				  minfo->irom.build, minfo->fw.major,
major              23 drivers/platform/x86/intel_scu_ipcutil.c static int major;
major             100 drivers/platform/x86/intel_scu_ipcutil.c 	major = register_chrdev(0, "intel_mid_scu", &scu_ipc_fops);
major             101 drivers/platform/x86/intel_scu_ipcutil.c 	if (major < 0)
major             102 drivers/platform/x86/intel_scu_ipcutil.c 		return major;
major             109 drivers/platform/x86/intel_scu_ipcutil.c 	unregister_chrdev(major, "intel_mid_scu");
major             199 drivers/ptp/ptp_clock.c 	int err = 0, index, major = MAJOR(ptp_devt);
major             218 drivers/ptp/ptp_clock.c 	ptp->devid = MKDEV(major, index);
major              46 drivers/s390/block/dasd_genhd.c 	gdp->major = DASD_MAJOR;
major             637 drivers/s390/block/dcssblk.c 	dev_info->gd->major = dcssblk_major;
major             488 drivers/s390/block/scm_blk.c 	bdev->gendisk->major = scm_major;
major             374 drivers/s390/block/xpram.c 		disk->major = XPRAM_MAJOR;
major            1201 drivers/s390/char/con3215.c 	driver->major = TTY_MAJOR;
major             442 drivers/s390/char/fs3270.c 		if (!tty || tty->driver->major != IBM_TTY3270_MAJOR) {
major             555 drivers/s390/char/sclp_tty.c 	driver->major = TTY_MAJOR;
major             754 drivers/s390/char/sclp_vt220.c 	driver->major = SCLP_VT220_MAJOR;
major             241 drivers/s390/char/tape.h void tape_hotplug_event(struct tape_device *, int major, int action);
major            1947 drivers/s390/char/tty3270.c 	driver->major = IBM_TTY3270_MAJOR;
major             867 drivers/s390/char/vmur.c 	int minor, major, rc;
major             887 drivers/s390/char/vmur.c 	major = MAJOR(ur_first_dev_maj_min);
major             898 drivers/s390/char/vmur.c 	rc = cdev_add(urd->char_device, MKDEV(major, minor), 1);
major             239 drivers/sbus/char/oradax.c 	unsigned long dummy, hv_rv, major, minor, minor_requested, max_ccbs;
major             275 drivers/sbus/char/oradax.c 		major = DAX2_MAJOR;
major             281 drivers/sbus/char/oradax.c 		major = DAX1_MAJOR;
major             292 drivers/sbus/char/oradax.c 	dax_dbg("Registering DAX HV api with major %ld minor %ld", major,
major             294 drivers/sbus/char/oradax.c 	if (sun4v_hvapi_register(HV_GRP_DAX, major, &minor)) {
major             300 drivers/sbus/char/oradax.c 			major);
major             302 drivers/sbus/char/oradax.c 		dax_dbg("registered DAX major %ld minor %ld", major, minor);
major            2740 drivers/scsi/advansys.c 	ushort major, minor, letter;
major            2753 drivers/scsi/advansys.c 		major = (boardp->bios_version >> 12) & 0xF;
major            2758 drivers/scsi/advansys.c 				   major, minor,
major            2765 drivers/scsi/advansys.c 		if (major < 3 || (major <= 3 && minor < 1) ||
major            2766 drivers/scsi/advansys.c 		    (major <= 3 && minor <= 1 && letter < ('I' - 'A'))) {
major            4450 drivers/scsi/advansys.c 		ushort bios_version, major, minor;
major            4454 drivers/scsi/advansys.c 		major = (bios_version >> 12) & 0xF;
major            4456 drivers/scsi/advansys.c 		if (major < 3 || (major == 3 && minor == 1)) {
major              30 drivers/scsi/aic94xx/aic94xx_sds.c 	u8   major;          /* 0 */
major              93 drivers/scsi/aic94xx/aic94xx_sds.c 	u8   major;          /* 1 */
major             143 drivers/scsi/aic94xx/aic94xx_sds.c 	if (dir->major != 0) {
major             145 drivers/scsi/aic94xx/aic94xx_sds.c 			   dir->major);
major             229 drivers/scsi/aic94xx/aic94xx_sds.c 	if (bc_struct->major != 1) {
major             231 drivers/scsi/aic94xx/aic94xx_sds.c 			   bc_struct->major);
major            1238 drivers/scsi/aic94xx/aic94xx_seq.c 	header.major = le32_to_cpu(hdr_ptr->major);
major            1267 drivers/scsi/aic94xx/aic94xx_seq.c 		   header.major, header.minor, hdr_ptr->version);
major            1269 drivers/scsi/aic94xx/aic94xx_seq.c 	if (header.major != SAS_RAZOR_SEQUENCER_FW_MAJOR) {
major              24 drivers/scsi/aic94xx/aic94xx_seq.h 	u32	major;
major            1543 drivers/scsi/bfa/bfa_ioc.c 	if (drv_fwhdr->fwver.major != fwhdr_to_cmp->fwver.major)
major            1564 drivers/scsi/bfa/bfa_ioc.c 	if (flash_fwhdr->fwver.major == 0 || flash_fwhdr->fwver.major == 0xFF)
major             329 drivers/scsi/bfa/bfi.h 	uint8_t major;
major             334 drivers/scsi/bfa/bfi.h 	uint8_t major;
major            1197 drivers/scsi/esas2r/esas2r_init.c 			u32 major;
major            1206 drivers/scsi/esas2r/esas2r_init.c 			major = LOBYTE(fw_release);
major            1208 drivers/scsi/esas2r/esas2r_init.c 			a->fw_version += (major << 16) + (minor << 24);
major             196 drivers/scsi/gdth.c static int major;
major            4295 drivers/scsi/gdth.c 	major = register_chrdev(0,"gdth", &gdth_fops);
major            4305 drivers/scsi/gdth.c 	unregister_chrdev(major, "gdth");
major            2232 drivers/scsi/ips.c 	uint8_t major;
major            2239 drivers/scsi/ips.c 	major = 0;
major            2268 drivers/scsi/ips.c 			major = readb(ha->mem_ptr + IPS_REG_FLDP);
major            2305 drivers/scsi/ips.c 			major = inb(ha->io_addr + IPS_REG_FLDP);
major            2358 drivers/scsi/ips.c 			major = buffer[0x1ff + 0xC0];	/* Offset 0x1ff after the header (0xc0) */
major            2366 drivers/scsi/ips.c 	ha->bios_version[0] = hex_asc_upper_hi(major);
major            2368 drivers/scsi/ips.c 	ha->bios_version[2] = hex_asc_upper_lo(major);
major             115 drivers/scsi/megaraid.c static int major;
major            4637 drivers/scsi/megaraid.c 	major = register_chrdev(0, "megadev_legacy", &megadev_fops);
major            4638 drivers/scsi/megaraid.c 	if (!major) {
major            4651 drivers/scsi/megaraid.c 	unregister_chrdev(major, "megadev_legacy");
major            3357 drivers/scsi/sd.c 	gd->major = sd_major((index & 0xf0) >> 4);
major            1514 drivers/scsi/sg.c 	disk->major = SCSI_GENERIC_MAJOR;
major             714 drivers/scsi/sr.c 	disk->major = SCSI_CDROM_MAJOR;
major             254 drivers/scsi/stex.c 	u32 major;
major             284 drivers/scsi/stex.c 	u32 major;
major             501 drivers/scsi/stex.c 	p->drv_ver.major = ST_VER_MAJOR;
major             674 drivers/scsi/stex.c 			ver.major = ST_VER_MAJOR;
major             830 drivers/scsi/ufs/ufs-qcom.c 		if (host->hw_ver.major == 0x1) {
major             923 drivers/scsi/ufs/ufs-qcom.c 	if (host->hw_ver.major == 0x1)
major             942 drivers/scsi/ufs/ufs-qcom.c 	if (host->hw_ver.major == 0x01) {
major             953 drivers/scsi/ufs/ufs-qcom.c 	if (host->hw_ver.major == 0x2) {
major             972 drivers/scsi/ufs/ufs-qcom.c 	if (host->hw_ver.major >= 0x2) {
major            1155 drivers/scsi/ufs/ufs-qcom.c 	ufs_qcom_get_controller_revision(hba, &host->hw_ver.major,
major            1162 drivers/scsi/ufs/ufs-qcom.c 	if (host->hw_ver.major >= 0x02) {
major             143 drivers/scsi/ufs/ufs-qcom.h 				 u8 *major, u16 *minor, u16 *step)
major             147 drivers/scsi/ufs/ufs-qcom.h 	*major = (ver & UFS_HW_VER_MAJOR_MASK) >> UFS_HW_VER_MAJOR_SHFT;
major             190 drivers/scsi/ufs/ufs-qcom.h 	u8 major;
major             244 drivers/scsi/ufs/ufs-qcom.h 	if (host->hw_ver.major <= 0x02)
major              96 drivers/soc/amlogic/meson-gx-socinfo.c 	unsigned int major = socinfo_to_major(socinfo);
major             100 drivers/soc/amlogic/meson-gx-socinfo.c 		if (soc_packages[i].major_id == major &&
major              89 drivers/soc/fsl/qbman/bman_ccsr.c static void bm_get_version(u16 *id, u8 *major, u8 *minor)
major              93 drivers/soc/fsl/qbman/bman_ccsr.c 	*major = (v >> 8) & 0xff;
major             215 drivers/soc/fsl/qbman/bman_ccsr.c 	u8 major, minor;
major             229 drivers/soc/fsl/qbman/bman_ccsr.c 	bm_get_version(&id, &major, &minor);
major             230 drivers/soc/fsl/qbman/bman_ccsr.c 	if (major == 1 && minor == 0) {
major             233 drivers/soc/fsl/qbman/bman_ccsr.c 	} else if (major == 2 && minor == 0) {
major             236 drivers/soc/fsl/qbman/bman_ccsr.c 	} else if (major == 2 && minor == 1) {
major             241 drivers/soc/fsl/qbman/bman_ccsr.c 			id, major, minor);
major             335 drivers/soc/fsl/qbman/qman_ccsr.c static void qm_get_version(u16 *id, u8 *major, u8 *minor)
major             339 drivers/soc/fsl/qbman/qman_ccsr.c 	*major = (v >> 8) & 0xff;
major             759 drivers/soc/fsl/qbman/qman_ccsr.c 	u8 major, minor;
major             773 drivers/soc/fsl/qbman/qman_ccsr.c 	qm_get_version(&id, &major, &minor);
major             774 drivers/soc/fsl/qbman/qman_ccsr.c 	if (major == 1 && minor == 0) {
major             777 drivers/soc/fsl/qbman/qman_ccsr.c 	} else if (major == 1 && minor == 1)
major             779 drivers/soc/fsl/qbman/qman_ccsr.c 	else if	(major == 1 && minor == 2)
major             781 drivers/soc/fsl/qbman/qman_ccsr.c 	else if (major == 2 && minor == 0)
major             783 drivers/soc/fsl/qbman/qman_ccsr.c 	else if (major == 3 && minor == 0)
major             785 drivers/soc/fsl/qbman/qman_ccsr.c 	else if (major == 3 && minor == 1)
major             787 drivers/soc/fsl/qbman/qman_ccsr.c 	else if (major == 3 && minor == 2)
major             411 drivers/soc/fsl/qe/qe.c 	if (ucode->major || ucode->minor || ucode->revision)
major             414 drivers/soc/fsl/qe/qe.c 			ucode->id, ucode->major, ucode->minor, ucode->revision);
major             518 drivers/soc/fsl/qe/qe.c 			firmware->soc.major, firmware->soc.minor);
major              77 drivers/soc/qcom/wcnss_ctrl.c 	u8 major;
major             138 drivers/soc/qcom/wcnss_ctrl.c 			 version->major, version->minor,
major             268 drivers/spi/spi-geni-qcom.c 	unsigned int proto, major, minor, ver;
major             291 drivers/spi/spi-geni-qcom.c 	major = GENI_SE_VERSION_MAJOR(ver);
major             294 drivers/spi/spi-geni-qcom.c 	if (major == 1 && minor == 0)
major             112 drivers/staging/android/vsoc.c 	int major;
major             821 drivers/staging/android/vsoc.c 	vsoc_dev.major = MAJOR(devt);
major             935 drivers/staging/android/vsoc.c 				   MKDEV(vsoc_dev.major, i),
major             972 drivers/staging/android/vsoc.c 					       MKDEV(vsoc_dev.major, i));
major             997 drivers/staging/android/vsoc.c 	if (vsoc_dev.major && vsoc_dev.layout) {
major             998 drivers/staging/android/vsoc.c 		unregister_chrdev_region(MKDEV(vsoc_dev.major, 0),
major            1000 drivers/staging/android/vsoc.c 		vsoc_dev.major = 0;
major            2764 drivers/staging/fwserial/fwserial.c 	fwtty_driver->major		= 0;
major            2789 drivers/staging/fwserial/fwserial.c 		fwloop_driver->major		= 0;
major             656 drivers/staging/gasket/apex_driver.c 	.major = 120,
major             227 drivers/staging/gasket/gasket_core.c 		MKDEV(driver_desc->major, driver_desc->minor +
major            1741 drivers/staging/gasket/gasket_core.c 	ret = register_chrdev_region(MKDEV(driver_desc->major,
major            1781 drivers/staging/gasket/gasket_core.c 		       driver_desc->name, driver_desc->major,
major            1786 drivers/staging/gasket/gasket_core.c 	unregister_chrdev_region(MKDEV(driver_desc->major, driver_desc->minor),
major             343 drivers/staging/gasket/gasket_core.h 	int major, minor;
major             291 drivers/staging/gdm724x/gdm_tty.c 		tty_driver->major = GDM_TTY_MAJOR;
major              55 drivers/staging/greybus/Documentation/firmware/firmware.c 		intf_fw_info.firmware_tag, intf_fw_info.major,
major              63 drivers/staging/greybus/Documentation/firmware/firmware.c 	intf_load.major = 0;
major              84 drivers/staging/greybus/Documentation/firmware/firmware.c 		firmware_tag, intf_load.major, intf_load.minor,
major             116 drivers/staging/greybus/Documentation/firmware/firmware.c 		backend_fw_info.firmware_tag, backend_fw_info.major,
major             382 drivers/staging/greybus/bootrom.c 	request.major = GB_BOOTROM_VERSION_MAJOR;
major             396 drivers/staging/greybus/bootrom.c 	if (response.major > request.major) {
major             399 drivers/staging/greybus/bootrom.c 			response.major, request.major);
major             403 drivers/staging/greybus/bootrom.c 	bootrom->protocol_major = response.major;
major             406 drivers/staging/greybus/bootrom.c 	dev_dbg(&bundle->dev, "%s - %u.%u\n", __func__, response.major,
major             120 drivers/staging/greybus/fw-management.c 	fw_info->major = le16_to_cpu(response.major);
major             223 drivers/staging/greybus/fw-management.c 	fw_mgmt->intf_fw_major = le16_to_cpu(request->major);
major             274 drivers/staging/greybus/fw-management.c 	fw_info->major = 0;
major             279 drivers/staging/greybus/fw-management.c 		fw_info->major = le16_to_cpu(response.major);
major             463 drivers/staging/greybus/fw-management.c 		intf_load.major = fw_mgmt->intf_fw_major;
major              42 drivers/staging/greybus/greybus_firmware.h 	__u16 major;
major              48 drivers/staging/greybus/greybus_firmware.h 	__u16 major;
major              57 drivers/staging/greybus/greybus_firmware.h 	__u16 major;
major             984 drivers/staging/greybus/uart.c 	gb_tty_driver->major = 0;
major             502 drivers/staging/media/hantro/hantro_drv.c 		entity->info.dev.major = VIDEO_MAJOR;
major              26 drivers/staging/most/cdev/cdev.c 	unsigned int major;
major             453 drivers/staging/most/cdev/cdev.c 	c->devno = MKDEV(comp.major, current_minor);
major             524 drivers/staging/most/cdev/cdev.c 	comp.major = MAJOR(comp.devno);
major             871 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	u32 major;
major             874 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	vchiq_mmal_version(dev->instance, &major, &minor);
major             878 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 		 major, minor);
major              98 drivers/staging/vc04_services/bcm2835-camera/mmal-msg.h 	u32 major;
major            1087 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c 	*major_out = rmsg->u.version.major;
major             376 drivers/staging/wlan-ng/hfa384x.h 	u16 major;
major             971 drivers/staging/wlan-ng/hfa384x.h 	u16 major;
major             620 drivers/staging/wlan-ng/prism2fw.c 			le16_to_cpus(&nicid.major);
major            1149 drivers/staging/wlan-ng/prism2fw.c 		 nicid.id, nicid.major, nicid.minor, nicid.variant);
major            1162 drivers/staging/wlan-ng/prism2fw.c 				 s3info[i].info.version.major,
major            1207 drivers/staging/wlan-ng/prism2fw.c 				 s3info[i].info.version.major,
major            1213 drivers/staging/wlan-ng/prism2fw.c 			if (nicid.major != s3info[i].info.version.major)
major             141 drivers/staging/wlan-ng/prism2mgmt.c 	if (HFA384x_FIRMWARE_VERSION(hw->ident_sta_fw.major,
major             180 drivers/staging/wlan-ng/prism2mgmt.c 	if (HFA384x_FIRMWARE_VERSION(hw->ident_sta_fw.major,
major             562 drivers/staging/wlan-ng/prism2mgmt.c 	if (HFA384x_FIRMWARE_VERSION(hw->ident_sta_fw.major,
major             603 drivers/staging/wlan-ng/prism2sta.c 	le16_to_cpus(&hw->ident_nic.major);
major             607 drivers/staging/wlan-ng/prism2sta.c 		    hw->ident_nic.id, hw->ident_nic.major,
major             622 drivers/staging/wlan-ng/prism2sta.c 	le16_to_cpus(&hw->ident_pri_fw.major);
major             626 drivers/staging/wlan-ng/prism2sta.c 		    hw->ident_pri_fw.id, hw->ident_pri_fw.major,
major             648 drivers/staging/wlan-ng/prism2sta.c 	le16_to_cpus(&hw->ident_sta_fw.major);
major             658 drivers/staging/wlan-ng/prism2sta.c 			    hw->ident_sta_fw.id, hw->ident_sta_fw.major,
major             663 drivers/staging/wlan-ng/prism2sta.c 			    hw->ident_sta_fw.id, hw->ident_sta_fw.major,
major             877 drivers/staging/wlan-ng/prism2sta.c 	if (HFA384x_FIRMWARE_VERSION(hw->ident_sta_fw.major,
major             365 drivers/tee/optee/core.c 		pr_info("revision %lu.%lu (%08lx)", res.result.major,
major             368 drivers/tee/optee/core.c 		pr_info("revision %lu.%lu", res.result.major, res.result.minor);
major             380 drivers/tee/optee/core.c 	if (res.result.major == OPTEE_MSG_REVISION_MAJOR &&
major              66 drivers/tee/optee/optee_smc.h 	unsigned long major;
major             101 drivers/tee/optee/optee_smc.h 	unsigned long major;
major             382 drivers/thunderbolt/switch.c 		nvm->major = val >> 16;
major            1306 drivers/thunderbolt/switch.c 		ret = sprintf(buf, "%x.%x\n", sw->nvm->major, sw->nvm->minor);
major              35 drivers/thunderbolt/tb.h 	u8 major;
major            1634 drivers/tty/amiserial.c 	serial_driver->major = TTY_MAJOR;
major            4029 drivers/tty/cyclades.c 	cy_serial_driver->major = CYCLADES_MAJOR;
major            1032 drivers/tty/hvc/hvc_console.c 	drv->major = HVC_MAJOR;
major            1049 drivers/tty/hvc/hvsi.c 	hvsi_driver->major = HVSI_MAJOR;
major             576 drivers/tty/ipwireless/tty.c 	ipw_tty_driver->major = 0;
major            1646 drivers/tty/isicom.c 	isicom_normal->major			= ISICOM_NMAJOR;
major             930 drivers/tty/mips_ejtag_fdc.c 	driver->major = 0; /* Auto-allocate */
major            1042 drivers/tty/moxa.c 	moxaDriver->major = ttymajor;
major            2716 drivers/tty/mxser.c 	mxvar_sdriver->major = ttymajor;
major            3241 drivers/tty/n_gsm.c 	gsm_tty_driver->major		= 0;	/* Dynamic */
major            3261 drivers/tty/n_gsm.c 			gsm_tty_driver->major, gsm_tty_driver->minor_start);
major              91 drivers/tty/n_hdlc.c #define VERSION(major,minor,patch) (((((major)<<8)+(minor))<<8)+(patch))
major            1862 drivers/tty/nozomi.c 	ntty_driver->major = 0;
major             573 drivers/tty/pty.c 	pty_driver->major = PTY_MASTER_MAJOR;
major             589 drivers/tty/pty.c 	pty_slave_driver->major = PTY_SLAVE_MAJOR;
major             915 drivers/tty/pty.c 	ptm_driver->major = UNIX98_PTY_MASTER_MAJOR;
major             931 drivers/tty/pty.c 	pts_driver->major = UNIX98_PTY_SLAVE_MAJOR;
major            1232 drivers/tty/rocket.c 	tmp.tty_major = rocket_driver->major;
major            2393 drivers/tty/rocket.c 	rocket_driver->major = TTY_ROCKET_MAJOR;
major            2414 drivers/tty/rocket.c 	printk(KERN_INFO "RocketPort driver is major %d\n", rocket_driver.major);
major             475 drivers/tty/serial/21285.c 	.major			= SERIAL_21285_MAJOR,
major             695 drivers/tty/serial/8250/8250_core.c 	.major			= TTY_MAJOR,
major             523 drivers/tty/serial/8250/8250_omap.c 	u16 revision, major, minor;
major             533 drivers/tty/serial/8250/8250_omap.c 		major = (mvr & OMAP_UART_LEGACY_MVR_MAJ_MASK) >>
major             540 drivers/tty/serial/8250/8250_omap.c 		major = (mvr & OMAP_UART_MVR_MAJ_MASK) >>
major             548 drivers/tty/serial/8250/8250_omap.c 		major = 0xff;
major             552 drivers/tty/serial/8250/8250_omap.c 	revision = UART_BUILD_REVISION(major, minor);
major             412 drivers/tty/serial/altera_jtaguart.c 	.major		= ALTERA_JTAGUART_MAJOR,
major             547 drivers/tty/serial/altera_uart.c 	.major		= SERIAL_ALTERA_MAJOR,
major             692 drivers/tty/serial/amba-pl010.c 	.major			= SERIAL_AMBA_MAJOR,
major            2504 drivers/tty/serial/amba-pl011.c 	.major			= SERIAL_AMBA_MAJOR,
major             542 drivers/tty/serial/apbuart.c 	.major = SERIAL_APBUART_MAJOR,
major             118 drivers/tty/serial/arc_uart.c 	.major		= 0,
major            2696 drivers/tty/serial/atmel_serial.c 	.major		= SERIAL_ATMEL_MAJOR,
major             802 drivers/tty/serial/bcm63xx_uart.c 	.major		= TTY_MAJOR,
major              70 drivers/tty/serial/clps711x.c 	.major		= UART_CLPS711X_MAJOR,
major            1396 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	.major		= SERIAL_CPM_MAJOR,
major             921 drivers/tty/serial/dz.c 	.major			= TTY_MAJOR,
major            1297 drivers/tty/serial/icom.c 	.major = ICOM_MAJOR,
major            2155 drivers/tty/serial/imx.c 	.major          = SERIAL_IMX_MAJOR,
major            1073 drivers/tty/serial/ip22zilog.c 	.major		= TTY_MAJOR,
major              32 drivers/tty/serial/jsm/jsm_driver.c 	.major		= 0,
major             713 drivers/tty/serial/lantiq.c 	.major =	0,
major             731 drivers/tty/serial/max3100.c 	.major          = MAX3100_MAJOR,
major             283 drivers/tty/serial/max310x.c 	.major		= MAX310X_MAJOR,
major             606 drivers/tty/serial/mcf.c 	.major		= TTY_MAJOR,
major             796 drivers/tty/serial/men_z135_uart.c 	.major = 0,
major            1715 drivers/tty/serial/mpc52xx_uart.c 	.major		= SERIAL_PSC_MAJOR,
major              60 drivers/tty/serial/mux.c 	.major = MUX_MAJOR,
major            1487 drivers/tty/serial/mxs-auart.c 	.major		= 0,
major            1533 drivers/tty/serial/omap-serial.c 	u16 revision, major, minor;
major            1543 drivers/tty/serial/omap-serial.c 		major = (mvr & OMAP_UART_LEGACY_MVR_MAJ_MASK) >>
major            1550 drivers/tty/serial/omap-serial.c 		major = (mvr & OMAP_UART_MVR_MAJ_MASK) >>
major            1559 drivers/tty/serial/omap-serial.c 		major = 0xff;
major            1564 drivers/tty/serial/omap-serial.c 	revision = UART_BUILD_REVISION(major, minor);
major            1728 drivers/tty/serial/pch_uart.c 	.major = 0,
major             106 drivers/tty/serial/pmac_zilog.c 	.major		=	PMACZILOG_MAJOR,
major             770 drivers/tty/serial/pnx8xxx_uart.c 	.major			= SERIAL_PNX8XXX_MAJOR,
major             789 drivers/tty/serial/pxa.c 	.major		= TTY_MAJOR,
major             834 drivers/tty/serial/sa1100.c 	.major			= SERIAL_SA1100_MAJOR,
major            1523 drivers/tty/serial/samsung.c 	.major		= S3C24XX_SERIAL_MAJOR,
major             921 drivers/tty/serial/sb1250-duart.c 	.major		= TTY_MAJOR,
major             971 drivers/tty/serial/sccnxp.c 	s->uart.major		= SCCNXP_MAJOR;
major            2144 drivers/tty/serial/serial_core.c 	dev_t devt = MKDEV(tty_drv->major, tty_drv->minor_start) +
major            2542 drivers/tty/serial/serial_core.c 	normal->major		= drv->major;
major             985 drivers/tty/serial/serial_txx9.c 	.major			= TXX9_TTY_MAJOR,
major            3148 drivers/tty/serial/sh-sci.c 	.major		= SCI_MAJOR,
major            1158 drivers/tty/serial/sirfsoc_uart.c 	.major		= SIRFSOC_UART_MAJOR,
major            1070 drivers/tty/serial/sprd_serial.c 	.major = 0,
major             960 drivers/tty/serial/st-asc.c 	.major		= 0,
major            1339 drivers/tty/serial/stm32-usart.c 	.major		= 0,
major             401 drivers/tty/serial/sunhv.c 	.major			= TTY_MAJOR,
major             846 drivers/tty/serial/sunsab.c 	.major			= TTY_MAJOR,
major            1193 drivers/tty/serial/sunsu.c 	.major			= TTY_MAJOR,
major            1083 drivers/tty/serial/sunzilog.c 	.major		=	TTY_MAJOR,
major             408 drivers/tty/serial/timbuart.c 	.major = TIMBUART_MAJOR,
major             597 drivers/tty/serial/uartlite.c 	.major		= ULITE_MAJOR,
major             203 drivers/tty/serial/ucc_uart.c 	.major  	= SERIAL_QE_MAJOR,
major             849 drivers/tty/serial/vr41xx_siu.c 	.major		= SIU_MAJOR,
major            1443 drivers/tty/serial/xilinx_uartps.c 		cdns_uart_uart_driver.major = CDNS_UART_MAJOR;
major            1259 drivers/tty/serial/zs.c 	.major			= TTY_MAJOR,
major            4303 drivers/tty/synclink.c 	serial_driver->major = ttymajor;
major            4324 drivers/tty/synclink.c 		serial_driver->major);
major            3768 drivers/tty/synclink_gt.c 	serial_driver->major = ttymajor;
major            3787 drivers/tty/synclink_gt.c 	       driver_name, serial_driver->major);
major            3966 drivers/tty/synclinkmp.c 	serial_driver->major = ttymajor;
major            3987 drivers/tty/synclinkmp.c 		serial_driver->major);
major             140 drivers/tty/tty_audit.c 	dev = MKDEV(tty->driver->major, tty->driver->minor_start) + tty->index;
major             227 drivers/tty/tty_audit.c 	dev = MKDEV(tty->driver->major, tty->driver->minor_start) + tty->index;
major             323 drivers/tty/tty_io.c 		dev_t base = MKDEV(p->major, p->minor_start);
major             369 drivers/tty/tty_io.c 				*number = MKDEV(p->major, p->minor_start + index);
major            3110 drivers/tty/tty_io.c 	dev_t devt = MKDEV(driver->major, driver->minor_start) + index;
major            3188 drivers/tty/tty_io.c 		MKDEV(driver->major, driver->minor_start) + index);
major            3319 drivers/tty/tty_io.c 	if (!driver->major) {
major            3323 drivers/tty/tty_io.c 			driver->major = MAJOR(dev);
major            3327 drivers/tty/tty_io.c 		dev = MKDEV(driver->major, driver->minor_start);
major            3381 drivers/tty/tty_io.c 	unregister_chrdev_region(MKDEV(driver->major, driver->minor_start),
major            3393 drivers/tty/tty_io.c 	return MKDEV(tty->driver->major, tty->driver->minor_start) + tty->index;
major            3451 drivers/tty/tty_io.c 		if (drv && (cs[i]->index > 0 || drv->major != TTY_MAJOR))
major             480 drivers/tty/vcc.c 	{ .major = 1, .minor = 0 },
major            3482 drivers/tty/vt/vt.c 	console_driver->major = TTY_MAJOR;
major            1991 drivers/usb/class/cdc-acm.c 	acm_tty_driver->major = ACM_TTY_MAJOR,
major              25 drivers/usb/gadget/function/f_hid.c static int major, minors;
major             825 drivers/usb/gadget/function/f_hid.c 	dev = MKDEV(major, hidg->minor);
major             977 drivers/usb/gadget/function/f_hid.c 	return sprintf(page, "%d:%d\n", major, opts->minor);
major            1079 drivers/usb/gadget/function/f_hid.c 	device_destroy(hidg_class, MKDEV(major, hidg->minor));
major            1155 drivers/usb/gadget/function/f_hid.c 	major = MAJOR(dev);
major            1163 drivers/usb/gadget/function/f_hid.c 	if (major) {
major            1164 drivers/usb/gadget/function/f_hid.c 		unregister_chrdev_region(MKDEV(major, 0), minors);
major            1165 drivers/usb/gadget/function/f_hid.c 		major = minors = 0;
major              53 drivers/usb/gadget/function/f_printer.c static int major, minors;
major            1079 drivers/usb/gadget/function/f_printer.c 	devt = MKDEV(major, dev->minor);
major            1367 drivers/usb/gadget/function/f_printer.c 	device_destroy(usb_gadget_class, MKDEV(major, dev->minor));
major            1484 drivers/usb/gadget/function/f_printer.c 	major = MAJOR(devt);
major            1492 drivers/usb/gadget/function/f_printer.c 	if (major) {
major            1493 drivers/usb/gadget/function/f_printer.c 		unregister_chrdev_region(MKDEV(major, 0), minors);
major            1494 drivers/usb/gadget/function/f_printer.c 		major = minors = 0;
major             169 drivers/usb/misc/legousbtower.c 	__u8 major;
major             890 drivers/usb/misc/legousbtower.c 		 get_version_reply->major,
major            1225 drivers/usb/serial/usb-serial.c 	usb_serial_tty_driver->major = USB_SERIAL_TTY_MAJOR;
major              44 drivers/video/fbdev/hyperv_fb.c #define SYNTHVID_VERSION(major, minor) ((minor) << 16 | (major))
major             763 drivers/virt/vboxguest/vboxguest_core.c 		 req->major, req->minor, req->build, req->revision);
major             168 drivers/virt/vboxguest/vmmdev.h 	u16 major;
major              98 drivers/watchdog/sun4v_wdt.c 	unsigned long major = 1, minor = 1;
major             123 drivers/watchdog/sun4v_wdt.c 	if (sun4v_hvapi_register(HV_GRP_CORE, major, &minor))
major              77 drivers/watchdog/ziirave_wdt.c 	unsigned char major;
major             112 drivers/watchdog/ziirave_wdt.c 	rev->major = ret;
major             449 drivers/watchdog/ziirave_wdt.c 	ret = sprintf(buf, ZIIRAVE_FW_VERSION_FMT, w_priv->firmware_rev.major,
major             472 drivers/watchdog/ziirave_wdt.c 	ret = sprintf(buf, ZIIRAVE_BL_VERSION_FMT, w_priv->bootloader_rev.major,
major             541 drivers/watchdog/ziirave_wdt.c 		 w_priv->firmware_rev.major, w_priv->firmware_rev.minor);
major             682 drivers/watchdog/ziirave_wdt.c 		 w_priv->firmware_rev.major, w_priv->firmware_rev.minor);
major             693 drivers/watchdog/ziirave_wdt.c 		 w_priv->bootloader_rev.major, w_priv->bootloader_rev.minor);
major              88 drivers/xen/sys-hypervisor.c HYPERVISOR_ATTR_RO(major);
major             132 fs/9p/vfs_inode.c 		int major = -1, minor = -1;
major             135 fs/9p/vfs_inode.c 		sscanf(ext, "%c %i %i", &type, &major, &minor);
major             147 fs/9p/vfs_inode.c 		*rdev = MKDEV(major, minor);
major              36 fs/char_dev.c  	unsigned int major;
major              44 fs/char_dev.c  static inline int major_to_index(unsigned major)
major              46 fs/char_dev.c  	return major % CHRDEV_MAJOR_HASH_SIZE;
major              57 fs/char_dev.c  		if (cd->major == offset)
major              58 fs/char_dev.c  			seq_printf(f, "%3d %s\n", cd->major, cd->name);
major              78 fs/char_dev.c  			if (cd->major == i)
major              97 fs/char_dev.c  __register_chrdev_region(unsigned int major, unsigned int baseminor,
major             104 fs/char_dev.c  	if (major >= CHRDEV_MAJOR_MAX) {
major             106 fs/char_dev.c  		       name, major, CHRDEV_MAJOR_MAX-1);
major             122 fs/char_dev.c  	if (major == 0) {
major             129 fs/char_dev.c  		major = ret;
major             133 fs/char_dev.c  	i = major_to_index(major);
major             135 fs/char_dev.c  		if (curr->major < major)
major             138 fs/char_dev.c  		if (curr->major > major)
major             150 fs/char_dev.c  	cd->major = major;
major             172 fs/char_dev.c  __unregister_chrdev_region(unsigned major, unsigned baseminor, int minorct)
major             175 fs/char_dev.c  	int i = major_to_index(major);
major             179 fs/char_dev.c  		if ((*cp)->major == major &&
major             243 fs/char_dev.c  	*dev = MKDEV(cd->major, cd->baseminor);
major             268 fs/char_dev.c  int __register_chrdev(unsigned int major, unsigned int baseminor,
major             276 fs/char_dev.c  	cd = __register_chrdev_region(major, baseminor, count, name);
major             288 fs/char_dev.c  	err = cdev_add(cdev, MKDEV(cd->major, baseminor), count);
major             294 fs/char_dev.c  	return major ? 0 : cd->major;
major             298 fs/char_dev.c  	kfree(__unregister_chrdev_region(cd->major, baseminor, count));
major             335 fs/char_dev.c  void __unregister_chrdev(unsigned int major, unsigned int baseminor,
major             340 fs/char_dev.c  	cd = __unregister_chrdev_region(major, baseminor, count);
major            2616 fs/cifs/cifspdu.h 	__le64 major;
major            1129 fs/cifs/smb1ops.c 		pdev->major = cpu_to_le64(MAJOR(dev));
major            1135 fs/cifs/smb1ops.c 		pdev->major = cpu_to_le64(MAJOR(dev));
major            4456 fs/cifs/smb2ops.c 		pdev->major = cpu_to_le64(MAJOR(dev));
major            4462 fs/cifs/smb2ops.c 		pdev->major = cpu_to_le64(MAJOR(dev));
major            1256 fs/dax.c       	int error, major = 0;
major            1346 fs/dax.c       			major = VM_FAULT_MAJOR;
major            1367 fs/dax.c       			ret = VM_FAULT_NEEDDSYNC | major;
major            1410 fs/dax.c       	return ret | major;
major             420 fs/ecryptfs/keystore.c 	unsigned char major;
major             423 fs/ecryptfs/keystore.c 	major = ((version >> 8) & 0xFF);
major             425 fs/ecryptfs/keystore.c 	if (major != ECRYPTFS_VERSION_MAJOR) {
major             428 fs/ecryptfs/keystore.c 				ECRYPTFS_VERSION_MAJOR, major);
major             318 fs/ext4/dir.c  static inline loff_t hash2pos(struct file *filp, __u32 major, __u32 minor)
major             322 fs/ext4/dir.c  		return major >> 1;
major             324 fs/ext4/dir.c  		return ((__u64)(major >> 1) << 32) | (__u64)minor;
major              26 fs/f2fs/trace.c 			last_io.major, last_io.minor,
major              91 fs/f2fs/trace.c 	int major, minor;
major             101 fs/f2fs/trace.c 	major = MAJOR(inode->i_sb->s_dev);
major             104 fs/f2fs/trace.c 	if (last_io.major == major && last_io.minor == minor &&
major             117 fs/f2fs/trace.c 	last_io.major = major;
major              25 fs/f2fs/trace.h 	int major, minor;
major             330 fs/fuse/cuse.c 	if (error || arg->major != FUSE_KERNEL_VERSION || arg->minor < 11)
major             443 fs/fuse/cuse.c 	ia->in.major = FUSE_KERNEL_VERSION;
major             890 fs/fuse/inode.c 	if (error || arg->major != FUSE_KERNEL_VERSION)
major             979 fs/fuse/inode.c 	ia->in.major = FUSE_KERNEL_VERSION;
major              88 fs/hostfs/hostfs.h extern int do_mknod(const char *file, int mode, unsigned int major,
major             317 fs/hostfs/hostfs_user.c int do_mknod(const char *file, int mode, unsigned int major, unsigned int minor)
major             321 fs/hostfs/hostfs_user.c 	err = mknod(file, mode, os_makedev(major, minor));
major             104 fs/nfs/blocklayout/rpc_pipefs.c 	dev = MKDEV(reply->major, reply->minor);
major             248 fs/nfs/callback_xdr.c 		p = xdr_decode_hyper(p, &args->cbl_fsid.major);
major             992 fs/nfs/client.c 		(unsigned long long) server->fsid.major,
major            1245 fs/nfs/client.c 		 (unsigned long long) server->fsid.major,
major              15 fs/nfs/netns.h 	uint32_t major, minor;
major             299 fs/nfs/nfs2xdr.c 	fattr->fsid.major = be32_to_cpup(p++);
major             398 fs/nfs/nfs3xdr.c 	unsigned int major, minor;
major             400 fs/nfs/nfs3xdr.c 	major = be32_to_cpup(p++);
major             402 fs/nfs/nfs3xdr.c 	*rdev = MKDEV(major, minor);
major             403 fs/nfs/nfs3xdr.c 	if (MAJOR(*rdev) != major || MINOR(*rdev) != minor)
major             649 fs/nfs/nfs3xdr.c 	p = xdr_decode_hyper(p, &fattr->fsid.major);
major            1030 fs/nfs/nfs4client.c 			(unsigned long long) server->fsid.major,
major            7594 fs/nfs/nfs4proc.c 		(unsigned long long)server->fsid.major,
major            7720 fs/nfs/nfs4proc.c 		(unsigned long long)server->fsid.major,
major            1270 fs/nfs/nfs4state.c 			(unsigned long long)server->fsid.major,
major            2052 fs/nfs/nfs4state.c 			(unsigned long long)server->fsid.major,
major            3403 fs/nfs/nfs4xdr.c 	fsid->major = 0;
major            3411 fs/nfs/nfs4xdr.c 		p = xdr_decode_hyper(p, &fsid->major);
major            3417 fs/nfs/nfs4xdr.c 			(unsigned long long)fsid->major,
major            3964 fs/nfs/nfs4xdr.c 	uint32_t major = 0, minor = 0;
major            3977 fs/nfs/nfs4xdr.c 		major = be32_to_cpup(p++);
major            3979 fs/nfs/nfs4xdr.c 		tmp = MKDEV(major, minor);
major            3980 fs/nfs/nfs4xdr.c 		if (MAJOR(tmp) == major && MINOR(tmp) == minor)
major            3985 fs/nfs/nfs4xdr.c 	dprintk("%s: rdev=(0x%x:0x%x)\n", __func__, major, minor);
major             329 fs/nfsd/nfs3proc.c 		rdev = MKDEV(argp->major, argp->minor);
major             330 fs/nfsd/nfs3proc.c 		if (MAJOR(rdev) != argp->major ||
major             527 fs/nfsd/nfs3xdr.c 		args->major = ntohl(*p++);
major              61 fs/nfsd/xdr3.h 	__u32			major, minor;
major             849 fs/nilfs2/sysfs.c 	u32 major = le32_to_cpu(sbp[0]->s_rev_level);
major             852 fs/nilfs2/sysfs.c 	return snprintf(buf, PAGE_SIZE, "%d.%d\n", major, minor);
major             140 fs/ocfs2/stack_user.c 	char	major[OCFS2_CONTROL_MESSAGE_VERNUM_LEN];
major             394 fs/ocfs2/stack_user.c 	long major, minor;
major             413 fs/ocfs2/stack_user.c 	major = simple_strtol(msg->major, &ptr, 16);
major             425 fs/ocfs2/stack_user.c 	if ((major == LONG_MIN) || (major == LONG_MAX) ||
major             426 fs/ocfs2/stack_user.c 	    (major > (u8)-1) || (major < 1))
major             431 fs/ocfs2/stack_user.c 	if ((major != max->pv_major) ||
major             435 fs/ocfs2/stack_user.c 	p->op_proto.pv_major = major;
major              38 fs/proc/consoles.c 			dev = MKDEV(driver->major, driver->minor_start);
major              72 fs/proc/proc_tty.c 	dev_t from = MKDEV(p->major, p->minor_start);
major              42 fs/squashfs/super.c 	short major, short minor, short id)
major              46 fs/squashfs/super.c 	if (major < SQUASHFS_MAJOR) {
major              48 fs/squashfs/super.c 		       "filesystems are unsupported", major, minor);
major              50 fs/squashfs/super.c 	} else if (major > SQUASHFS_MAJOR || minor > SQUASHFS_MINOR) {
major              52 fs/squashfs/super.c 		       "%d.%d filesystem", major, minor);
major              94 fs/unicode/mkutf8data.c static int age_valid(unsigned int major, unsigned int minor,
major              97 fs/unicode/mkutf8data.c 	if (major > UNICODE_MAJ_MAX)
major            1937 fs/unicode/mkutf8data.c 	unsigned int major;
major            1955 fs/unicode/mkutf8data.c 				&major, &minor, &revision);
major            1960 fs/unicode/mkutf8data.c 					major, minor, revision);
major            1961 fs/unicode/mkutf8data.c 			if (!age_valid(major, minor, revision))
major            1965 fs/unicode/mkutf8data.c 		ret = sscanf(line, "# Age=V%d_%d", &major, &minor);
major            1969 fs/unicode/mkutf8data.c 				printf(" Age V%d_%d\n", major, minor);
major            1970 fs/unicode/mkutf8data.c 			if (!age_valid(major, minor, 0))
major            1993 fs/unicode/mkutf8data.c 				&major, &minor, &revision);
major            1996 fs/unicode/mkutf8data.c 				UNICODE_AGE(major, minor, revision);
major            1999 fs/unicode/mkutf8data.c 					major, minor, revision, gen);
major            2000 fs/unicode/mkutf8data.c 			if (!age_valid(major, minor, revision))
major            2004 fs/unicode/mkutf8data.c 		ret = sscanf(line, "# Age=V%d_%d", &major, &minor);
major            2006 fs/unicode/mkutf8data.c 			ages[++gen] = UNICODE_AGE(major, minor, 0);
major            2009 fs/unicode/mkutf8data.c 					major, minor, gen);
major            2010 fs/unicode/mkutf8data.c 			if (!age_valid(major, minor, 0))
major            2015 fs/unicode/mkutf8data.c 			     &first, &last, &major, &minor);
major            2026 fs/unicode/mkutf8data.c 		ret = sscanf(line, "%X ; %d.%d #", &unichar, &major, &minor);
major            2306 fs/unicode/mkutf8data.c 	unsigned int major;
major            2327 fs/unicode/mkutf8data.c 				&major, &minor, &revision);
major            2330 fs/unicode/mkutf8data.c 		if (!utf32valid(unichar) || !age_valid(major, minor, revision))
major            2342 fs/unicode/mkutf8data.c 				&major, &minor, &revision);
major            2345 fs/unicode/mkutf8data.c 		if (!utf32valid(unichar) || !age_valid(major, minor, revision))
major            2349 fs/unicode/mkutf8data.c 		age = UNICODE_AGE(major, minor, revision);
major            2368 fs/unicode/mkutf8data.c 				unichar, buf0, buf1, major, minor, revision);
major             727 include/drm/drm_drv.h 	int major;
major              41 include/linux/agp_backend.h 	u16 major;
major             265 include/linux/audit.h extern void __audit_syscall_entry(int major, unsigned long a0, unsigned long a1,
major             302 include/linux/audit.h static inline void audit_syscall_entry(int major, unsigned long a0,
major             307 include/linux/audit.h 		__audit_syscall_entry(major, a0, a1, a2, a3);
major             525 include/linux/audit.h static inline void audit_syscall_entry(int major, unsigned long a0,
major             183 include/linux/avf/virtchnl.h 	u32 major;
major             189 include/linux/avf/virtchnl.h #define VF_IS_V10(_v) (((_v)->major == 1) && ((_v)->minor == 0))
major             190 include/linux/avf/virtchnl.h #define VF_IS_V11(_ver) (((_ver)->major == 1) && ((_ver)->minor == 1))
major            1503 include/linux/blkdev.h #define MODULE_ALIAS_BLOCKDEV(major,minor) \
major            1504 include/linux/blkdev.h 	MODULE_ALIAS("block-major-" __stringify(major) "-" __stringify(minor))
major            1505 include/linux/blkdev.h #define MODULE_ALIAS_BLOCKDEV_MAJOR(major) \
major            1506 include/linux/blkdev.h 	MODULE_ALIAS("block-major-" __stringify(major) "-*")
major             118 include/linux/bpf-cgroup.h int __cgroup_bpf_check_dev_permission(short dev_type, u32 major, u32 minor,
major             275 include/linux/bpf-cgroup.h #define BPF_CGROUP_RUN_PROG_DEVICE_CGROUP(type, major, minor, access)	      \
major             279 include/linux/bpf-cgroup.h 		__ret = __cgroup_bpf_check_dev_permission(type, major, minor, \
major             398 include/linux/bpf-cgroup.h #define BPF_CGROUP_RUN_PROG_DEVICE_CGROUP(type,major,minor,access) ({ 0; })
major             494 include/linux/cper.h 		u8	major;
major            1873 include/linux/device.h #define MODULE_ALIAS_CHARDEV(major,minor) \
major            1874 include/linux/device.h 	MODULE_ALIAS("char-major-" __stringify(major) "-" __stringify(minor))
major            1875 include/linux/device.h #define MODULE_ALIAS_CHARDEV_MAJOR(major) \
major            1876 include/linux/device.h 	MODULE_ALIAS("char-major-" __stringify(major) "-*")
major              15 include/linux/device_cgroup.h extern int __devcgroup_check_permission(short type, u32 major, u32 minor,
major              18 include/linux/device_cgroup.h static inline int __devcgroup_check_permission(short type, u32 major, u32 minor,
major              24 include/linux/device_cgroup.h static inline int devcgroup_check_permission(short type, u32 major, u32 minor,
major              27 include/linux/device_cgroup.h 	int rc = BPF_CGROUP_RUN_PROG_DEVICE_CGROUP(type, major, minor, access);
major              32 include/linux/device_cgroup.h 	return __devcgroup_check_permission(type, major, minor, access);
major              16 include/linux/fpga/adi-axi-common.h #define ADI_AXI_PCORE_VER(major, minor, patch)	\
major              17 include/linux/fpga/adi-axi-common.h 	(((major) << 16) | ((minor) << 8) | (patch))
major            2673 include/linux/fs.h extern int __register_chrdev(unsigned int major, unsigned int baseminor,
major            2676 include/linux/fs.h extern void __unregister_chrdev(unsigned int major, unsigned int baseminor,
major            2681 include/linux/fs.h static inline int register_chrdev(unsigned int major, const char *name,
major            2684 include/linux/fs.h 	return __register_chrdev(major, 0, 256, name, fops);
major            2687 include/linux/fs.h static inline void unregister_chrdev(unsigned int major, const char *name)
major            2689 include/linux/fs.h 	__unregister_chrdev(major, 0, 256, name);
major             186 include/linux/genhd.h 	int major;			/* major number of driver */
major             250 include/linux/genhd.h 	return MKDEV(disk->major, disk->first_minor);
major              90 include/linux/greybus/greybus_protocols.h 	__u8	major;
major              95 include/linux/greybus/greybus_protocols.h 	__u8	major;
major             104 include/linux/greybus/greybus_protocols.h 	__u8	major;
major             281 include/linux/greybus/greybus_protocols.h 	__le16			major;
major             297 include/linux/greybus/greybus_protocols.h 	__le16			major;
major             308 include/linux/greybus/greybus_protocols.h 	__le16			major;
major             393 include/linux/greybus/greybus_protocols.h 	__u8	major;
major             398 include/linux/greybus/greybus_protocols.h 	__u8	major;
major             978 include/linux/greybus/greybus_protocols.h 	__u8	major;
major             983 include/linux/greybus/greybus_protocols.h 	__u8	major;
major            1423 include/linux/hyperv.h 	u16 major;
major             733 include/linux/ide.h 	u8 major;	/* our major number */
major              77 include/linux/if_tap.h int tap_get_minor(dev_t major, struct tap_dev *tap);
major              78 include/linux/if_tap.h void tap_free_minor(dev_t major, struct tap_dev *tap);
major              82 include/linux/if_tap.h void tap_destroy_cdev(dev_t major, struct cdev *tap_cdev);
major             128 include/linux/ipmi.h 		     unsigned char *major,
major              41 include/linux/kdev_t.h 	unsigned major = MAJOR(dev);
major              43 include/linux/kdev_t.h 	return (minor & 0xff) | (major << 8) | ((minor & ~0xff) << 12);
major              48 include/linux/kdev_t.h 	unsigned major = (dev & 0xfff00) >> 8;
major              50 include/linux/kdev_t.h 	return MKDEV(major, minor);
major             292 include/linux/mISDNif.h 	unsigned char	major;
major              65 include/linux/mfd/kempld.h 	unsigned int major;
major             256 include/linux/mfd/si476x-core.h 		u8 major, minor[2];
major             512 include/linux/mlx4/device.h static inline u64 mlx4_fw_ver(u64 major, u64 minor, u64 subminor)
major             514 include/linux/mlx4/device.h 	return (major << 32) | (minor << 16) | subminor;
major              42 include/linux/mtd/blktrans.h 	int major;
major              38 include/linux/mtd/qinfo.h 	uint8_t	major;
major              24 include/linux/nfs_xdr.h 	uint64_t		major;
major              33 include/linux/nfs_xdr.h 	return a->major == b->major && a->minor == b->minor;
major            1392 include/linux/nvme.h #define NVME_VS(major, minor, tertiary) \
major            1393 include/linux/nvme.h 	(((major) << 16) | ((minor) << 8) | (tertiary))
major            4977 include/linux/platform_data/cros_ec_commands.h 	uint8_t major;
major              12 include/linux/qcom_scm.h #define QCOM_SCM_VERSION(major, minor)	(((major) << 16) | ((minor) & 0xFF))
major             307 include/linux/serial_core.h 	int			 major;
major             310 include/linux/tty_driver.h 	int	major;		/* major device number */
major             313 include/media/media-entity.h 			u32 major;
major             353 include/media/media-entity.h 	u32				major;
major            1003 include/media/media-entity.h 				  u32 major, u32 minor);
major             149 include/net/bluetooth/mgmt.h 	__u8	major;
major             124 include/pcmcia/cistpl.h     u_char	major;
major             276 include/soc/fsl/qe/qe.h 		u8 major;       	/* The SOC revision major */
major             290 include/soc/fsl/qe/qe.h 		u8 major;       	/* The microcode version major */
major              38 include/sound/sof/info.h 	uint16_t major;
major              26 include/trace/events/bcache.h 		__entry->orig_major	= d->disk->major;
major              99 include/uapi/drm/exynos_drm.h 	__u32	major;
major              58 include/uapi/linux/agpgart.h 	__u16 major;
major              25 include/uapi/linux/android/binderfs.h 	__u32 major;
major            3464 include/uapi/linux/bpf.h 	__u32 major;
major             157 include/uapi/linux/cec-funcs.h 	__u16 major;
major             196 include/uapi/linux/cec-funcs.h 			 (digital->channel.major >> 8);
major             197 include/uapi/linux/cec-funcs.h 		*msg++ = digital->channel.major & 0xff;
major             234 include/uapi/linux/cec-funcs.h 		digital->channel.major = ((msg[1] & 3) << 6) | msg[2];
major            1320 include/uapi/linux/cec-funcs.h 			      (ui_cmd->channel_identifier.major >> 8);
major            1321 include/uapi/linux/cec-funcs.h 		msg->msg[4] = ui_cmd->channel_identifier.major & 0xff;
major            1351 include/uapi/linux/cec-funcs.h 		ui_cmd->channel_identifier.major = ((msg->msg[3] & 3) << 6) | msg->msg[4];
major             683 include/uapi/linux/fuse.h 	uint32_t	major;
major             693 include/uapi/linux/fuse.h 	uint32_t	major;
major             709 include/uapi/linux/fuse.h 	uint32_t	major;
major             716 include/uapi/linux/fuse.h 	uint32_t	major;
major             166 include/uapi/linux/media.h 			__u32 major;
major             194 include/uapi/linux/media.h 			__u32 major;
major             198 include/uapi/linux/media.h 			__u32 major;
major             309 include/uapi/linux/media.h 	__u32 major;
major             106 include/uapi/linux/raid/md_p.h 	__u32 major;		/* 1 Device major number		      */
major              72 include/uapi/linux/raid/md_u.h 	int major;
major             126 include/uapi/linux/raid/md_u.h 	int major;
major             137 include/uapi/linux/raid/md_u.h 	int major;
major              44 include/uapi/linux/vtpm_proxy.h 	__u32 major;         /* output */
major             480 include/uapi/linux/wimax/i2400m.h 	__le16 major;
major              42 include/uapi/sound/asound.h #define SNDRV_PROTOCOL_VERSION(major, minor, subminor) (((major)<<16)|((minor)<<8)|(subminor))
major              40 include/uapi/sound/sof/abi.h #define SOF_ABI_VER(major, minor, patch) \
major              41 include/uapi/sound/sof/abi.h 	(((major) << SOF_ABI_MAJOR_SHIFT) | \
major             490 include/xen/interface/io/kbdif.h 			uint32_t major;	/* length of the major axis, pixels */
major             213 include/xen/xen-ops.h bool xen_running_on_version_or_later(unsigned int major, unsigned int minor);
major             211 init/do_mounts_md.c 				dinfo.major = MAJOR(dev);
major             222 init/do_mounts_md.c 				dinfo.major = MAJOR(dev);
major              49 init/initramfs.c 	int ino, minor, major;
major              55 init/initramfs.c static inline int hash(int major, int minor, int ino)
major              57 init/initramfs.c 	unsigned long tmp = ino + minor + (major << 3);
major              62 init/initramfs.c static char __init *find_link(int major, int minor, int ino,
major              66 init/initramfs.c 	for (p = head + hash(major, minor, ino); *p; p = &(*p)->next) {
major              71 init/initramfs.c 		if ((*p)->major != major)
major              80 init/initramfs.c 	q->major = major;
major             147 init/initramfs.c static __initdata unsigned long ino, major, minor, nlink;
major             172 init/initramfs.c 	major = parsed[7];
major             309 init/initramfs.c 		char *old = find_link(major, minor, ino, mode, collected);
major             103 kernel/audit.h 	int		    major;      /* syscall number */
major             138 kernel/auditsc.c 	n = ctx->major;
major             792 kernel/auditsc.c 		if (audit_in_mask(&e->rule, ctx->major) &&
major             817 kernel/auditsc.c 		if (audit_in_mask(&e->rule, ctx->major) &&
major            1458 kernel/auditsc.c 			 context->arch, context->major);
major            1628 kernel/auditsc.c void __audit_syscall_entry(int major, unsigned long a1, unsigned long a2,
major            1651 kernel/auditsc.c 	context->major      = major;
major             764 kernel/bpf/cgroup.c int __cgroup_bpf_check_dev_permission(short dev_type, u32 major, u32 minor,
major             770 kernel/bpf/cgroup.c 		.major = major,
major             968 mm/gup.c       	vm_fault_t ret, major = 0;
major             984 mm/gup.c       	major |= ret & VM_FAULT_MAJOR;
major            1004 mm/gup.c       		if (major)
major            2231 net/bluetooth/mgmt.c 	if ((cp->minor & 0x03) != 0 || (cp->major & 0xe0) != 0) {
major            2237 net/bluetooth/mgmt.c 	hdev->major_class = cp->major;
major            1134 net/bluetooth/rfcomm/tty.c 	rfcomm_tty_driver->major	= RFCOMM_TTY_MAJOR;
major             105 net/rds/ib_cm.c 	u8 major = 0;
major             113 net/rds/ib_cm.c 			major = dp->ricp_v6.dp_protocol_major;
major             125 net/rds/ib_cm.c 		major = dp->ricp_v4.dp_protocol_major;
major             132 net/rds/ib_cm.c 	if (major) {
major             133 net/rds/ib_cm.c 		rds_ib_set_protocol(conn, RDS_PROTOCOL(major, minor));
major             635 net/rds/ib_cm.c 	u8 data_len, major, minor;
major             659 net/rds/ib_cm.c 		major = dp->ricp_v6.dp_protocol_major;
major             664 net/rds/ib_cm.c 		major = dp->ricp_v4.dp_protocol_major;
major             670 net/rds/ib_cm.c 	if (event->param.conn.private_data_len < data_len || major == 0)
major             674 net/rds/ib_cm.c 	if (major == 4 && common) {
major             679 net/rds/ib_cm.c 		   RDS_PROTOCOL(major, minor)) {
major             684 net/rds/ib_cm.c 					   &dp->ricp_v6.dp_saddr, major, minor);
major             687 net/rds/ib_cm.c 					   &dp->ricp_v4.dp_saddr, major, minor);
major              72 samples/binderfs/binderfs_example.c 	       device.major, device.minor, device.name);
major             246 samples/mei/mei-amt-version.c 	uint8_t major;
major             360 samples/mei/mei-amt-version.c 	} else if (resp_hdr->version.major != AMT_MAJOR_VERSION ||
major              33 security/device_cgroup.c 	u32 major, minor;
major              99 security/device_cgroup.c 		if (walk->major != ex->major)
major             127 security/device_cgroup.c 		if (walk->major != ex->major)
major             289 security/device_cgroup.c 			set_majmin(maj, ex->major);
major             314 security/device_cgroup.c 			    u32 major, u32 minor, short access)
major             323 security/device_cgroup.c 		if (ex->major != ~0 && ex->major != major)
major             351 security/device_cgroup.c 				    u32 major, u32 minor, short access)
major             364 security/device_cgroup.c 		if (ex->major != ~0 && major != ~0 && ex->major != major)
major             414 security/device_cgroup.c 							refex->major,
major             430 security/device_cgroup.c 					refex->major, refex->minor,
major             485 security/device_cgroup.c 					ex->major, ex->minor, ex->access);
major             654 security/device_cgroup.c 		ex.major = ~0;
major             664 security/device_cgroup.c 		rc = kstrtou32(temp, 10, &ex.major);
major             804 security/device_cgroup.c int __devcgroup_check_permission(short type, u32 major, u32 minor,
major             815 security/device_cgroup.c 					      type, major, minor, access);
major             818 security/device_cgroup.c 		rc = match_exception(&dev_cgroup->exceptions, type, major,
major              31 security/keys/encrypted-keys/ecryptfs_format.c void ecryptfs_get_versions(int *major, int *minor, int *file_version)
major              33 security/keys/encrypted-keys/ecryptfs_format.c 	*major = ECRYPTFS_VERSION_MAJOR;
major              51 security/keys/encrypted-keys/ecryptfs_format.c 	int major, minor;
major              53 security/keys/encrypted-keys/ecryptfs_format.c 	ecryptfs_get_versions(&major, &minor, NULL);
major              54 security/keys/encrypted-keys/ecryptfs_format.c 	auth_tok->version = (((uint16_t)(major << 8) & 0xFF00)
major              23 security/keys/encrypted-keys/ecryptfs_format.h void ecryptfs_get_versions(int *major, int *minor, int *file_version);
major             220 security/security.c 		struct lsm_info *major;
major             228 security/security.c 		for (major = __start_lsm_info; major < __end_lsm_info;
major             229 security/security.c 		     major++) {
major             230 security/security.c 			if ((major->flags & LSM_FLAG_LEGACY_MAJOR) &&
major             231 security/security.c 			    strcmp(major->name, chosen_major_lsm) != 0) {
major             232 security/security.c 				set_enabled(major, false);
major             234 security/security.c 					   chosen_major_lsm, major->name);
major            1499 security/tomoyo/common.c 		tomoyo_print_number_union(head, &ptr->major);
major             450 security/tomoyo/common.h 			unsigned int major;
major             733 security/tomoyo/common.h 	struct tomoyo_number_union major;
major             201 security/tomoyo/file.c 				 r->param.mkdev.mode, r->param.mkdev.major,
major             325 security/tomoyo/file.c 		tomoyo_compare_number_union(r->param.mkdev.major,
major             326 security/tomoyo/file.c 					    &acl->major) &&
major             421 security/tomoyo/file.c 		tomoyo_same_number_union(&p1->major, &p2->major) &&
major             473 security/tomoyo/file.c 	    !tomoyo_parse_number_union(param, &e.major) ||
major             482 security/tomoyo/file.c 	tomoyo_put_number_union(&e.major);
major             882 security/tomoyo/file.c 		r.param.mkdev.major = MAJOR(dev);
major             192 security/tomoyo/gc.c 			tomoyo_put_number_union(&entry->major);
major              70 sound/core/hwdep.c 	int major = imajor(inode);
major              75 sound/core/hwdep.c 	if (major == snd_major) {
major              79 sound/core/hwdep.c 	} else if (major == SOUND_MAJOR) {
major              20 sound/core/sound.c static int major = CONFIG_SND_MAJOR;
major              29 sound/core/sound.c module_param(major, int, 0444);
major              30 sound/core/sound.c MODULE_PARM_DESC(major, "Major # for sound driver.");
major             274 sound/core/sound.c 	device->devt = MKDEV(major, minor);
major             388 sound/core/sound.c 	snd_major = major;
major             390 sound/core/sound.c 	if (register_chrdev(major, "alsa", &snd_fops)) {
major             391 sound/core/sound.c 		pr_err("ALSA core: unable to register native major device number %d\n", major);
major             395 sound/core/sound.c 		unregister_chrdev(major, "alsa");
major             407 sound/core/sound.c 	unregister_chrdev(major, "alsa");
major             109 sound/isa/es1688/es1688_lib.c 	unsigned short major, minor;
major             136 sound/isa/es1688/es1688_lib.c 	for (i = 1000, major = minor = 0; i; i--) {
major             138 sound/isa/es1688/es1688_lib.c 			if (major == 0) {
major             139 sound/isa/es1688/es1688_lib.c 				major = inb(ES1688P(chip, READ));
major             148 sound/isa/es1688/es1688_lib.c 	snd_printdd("ESS: [0x%lx] found.. major = 0x%x, minor = 0x%x\n", chip->port, major, minor);
major             150 sound/isa/es1688/es1688_lib.c 	chip->version = (major << 8) | minor;
major             114 sound/isa/galaxy/galaxy.c static int dsp_get_version(void __iomem *port, u8 *major, u8 *minor)
major             122 sound/isa/galaxy/galaxy.c 	err = dsp_get_byte(port, major);
major             374 sound/isa/galaxy/galaxy.c 	u8 major;
major             382 sound/isa/galaxy/galaxy.c 	err = dsp_get_version(galaxy->port, &major, &minor);
major             386 sound/isa/galaxy/galaxy.c 	if (major != GALAXY_DSP_MAJOR || minor != GALAXY_DSP_MINOR)
major              94 sound/isa/sb/sb_common.c 	int major, minor;
major             113 sound/isa/sb/sb_common.c 	major = version >> 8;
major             116 sound/isa/sb/sb_common.c 		    chip->port, major, minor);
major             120 sound/isa/sb/sb_common.c 		switch (major) {
major             144 sound/isa/sb/sb_common.c 				   chip->port, major, minor);
major             167 sound/isa/sb/sb_common.c 	chip->version = (major << 8) | minor;
major             772 sound/mips/hal2.c 	unsigned short board, major, minor;
major             789 sound/mips/hal2.c 	major = (rev & H2_REV_MAJOR_CHIP_M) >> 4;
major             793 sound/mips/hal2.c 	       board, major, minor);
major             237 sound/soc/intel/atom/sst-mfld-dsp.h 	u8 major;	/* major number*/
major             243 sound/soc/intel/atom/sst/sst.c 	if (ctx->fw_version.type == 0 && ctx->fw_version.major == 0 &&
major             248 sound/soc/intel/atom/sst/sst.c 			       ctx->fw_version.type, ctx->fw_version.major,
major             234 sound/soc/intel/atom/sst/sst_ipc.c 			init->fw_version.type, init->fw_version.major,
major             241 sound/soc/intel/atom/sst/sst_ipc.c 	sst_drv_ctx->fw_version.major = init->fw_version.major;
major             120 sound/soc/intel/baytrail/sst-baytrail-ipc.c 	u8 major;
major             739 sound/soc/intel/baytrail/sst-baytrail-ipc.c 		 init.fw_version.major, init.fw_version.minor,
major             261 sound/soc/intel/haswell/sst-haswell-ipc.h 	u8 major;
major              72 sound/soc/intel/skylake/skl-sst-utils.c 	u16 major;
major             742 sound/soc/sof/ipc.c 		 "Firmware info: version %d:%d:%d-%s\n",  v->major, v->minor,
major            2640 sound/soc/sof/topology.c 	if (SOF_ABI_VER(v->major, v->minor, v->micro) < SOF_ABI_VER(3, 0, 1)) {
major             145 tools/hv/hv_vss_daemon.c 				major(sb.st_rdev), minor(sb.st_rdev));
major            2454 tools/include/nolibc/nolibc.h dev_t makedev(unsigned int major, unsigned int minor)
major            2456 tools/include/nolibc/nolibc.h 	return ((major & 0xfff) << 8) | (minor & 0xff);
major            3464 tools/include/uapi/linux/bpf.h 	__u32 major;
major              42 tools/include/uapi/sound/asound.h #define SNDRV_PROTOCOL_VERSION(major, minor, subminor) (((major)<<16)|((minor)<<8)|(subminor))
major            1158 tools/perf/builtin-trace.c 			file->dev_maj = major(st.st_rdev);
major             463 tools/perf/util/jitdump.c 	event->mmap2.maj   = major(st.st_dev);
major             555 tools/perf/util/jitdump.c 	event->mmap2.maj   = major(st.st_dev);
major              41 tools/testing/selftests/bpf/progs/dev_cgroup.c 	bpf_trace_printk(fmt, sizeof(fmt), ctx->major, ctx->minor);
major              47 tools/testing/selftests/bpf/progs/dev_cgroup.c 	if (ctx->major != 1 || type != BPF_DEVCG_DEV_CHAR)
major             191 tools/testing/selftests/filesystems/binderfs/binderfs_test.c 		device.major, device.minor, device.name);
major             907 tools/vm/page-types.c 		int major, minor;
major             917 tools/vm/page-types.c 			   &major, &minor,