rev                71 arch/alpha/boot/bootp.c 	unsigned long i, rev;
rev               104 arch/alpha/boot/bootp.c 	rev = percpu->pal_revision = percpu->palcode_avail[2];
rev               106 arch/alpha/boot/bootp.c 	srm_printk("Ok (rev %lx)\n", rev);
rev               119 arch/alpha/boot/bootpz.c 	unsigned long i, rev;
rev               152 arch/alpha/boot/bootpz.c 	rev = percpu->pal_revision = percpu->palcode_avail[2];
rev               154 arch/alpha/boot/bootpz.c 	srm_printk("OK (rev %lx)\n", rev);
rev                65 arch/alpha/boot/main.c 	unsigned long i, rev;
rev                98 arch/alpha/boot/main.c 	rev = percpu->pal_revision = percpu->palcode_avail[2];
rev               100 arch/alpha/boot/main.c 	srm_printk("Ok (rev %lx)\n", rev);
rev               166 arch/alpha/include/asm/core_t2.h   unsigned long rev;     long fill_15[3]; /* CMIC Revision */
rev                17 arch/alpha/include/asm/gct.h 	u16 rev;
rev                98 arch/arm/include/uapi/asm/setup.h 	__u32 rev;
rev               148 arch/arm/kernel/atags_compat.c 	tag->u.revision.rev = params->u1.s.system_rev;
rev               117 arch/arm/kernel/atags_parse.c 	system_rev = tag->u.revision.rev;
rev               917 arch/arm/mach-ep93xx/core.c 	int rev = ep93xx_chip_revision();
rev               919 arch/arm/mach-ep93xx/core.c 	switch (rev) {
rev                50 arch/arm/mach-imx/common.h void imx_set_soc_revision(unsigned int rev);
rev                20 arch/arm/mach-imx/cpu-imx25.c 	u32 rev;
rev                27 arch/arm/mach-imx/cpu-imx25.c 	rev = readl(iim_base + MXC_IIMSREV);
rev                30 arch/arm/mach-imx/cpu-imx25.c 	switch (rev) {
rev                20 arch/arm/mach-imx/cpu-imx31.c 	unsigned int rev;
rev                22 arch/arm/mach-imx/cpu-imx31.c 	{ .srev = 0x00, .name = "i.MX31(L)", .rev = IMX_CHIP_REVISION_1_0 },
rev                23 arch/arm/mach-imx/cpu-imx31.c 	{ .srev = 0x10, .name = "i.MX31",    .rev = IMX_CHIP_REVISION_1_1 },
rev                24 arch/arm/mach-imx/cpu-imx31.c 	{ .srev = 0x11, .name = "i.MX31L",   .rev = IMX_CHIP_REVISION_1_1 },
rev                25 arch/arm/mach-imx/cpu-imx31.c 	{ .srev = 0x12, .name = "i.MX31",    .rev = IMX_CHIP_REVISION_1_1 },
rev                26 arch/arm/mach-imx/cpu-imx31.c 	{ .srev = 0x13, .name = "i.MX31L",   .rev = IMX_CHIP_REVISION_1_1 },
rev                27 arch/arm/mach-imx/cpu-imx31.c 	{ .srev = 0x14, .name = "i.MX31",    .rev = IMX_CHIP_REVISION_1_2 },
rev                28 arch/arm/mach-imx/cpu-imx31.c 	{ .srev = 0x15, .name = "i.MX31L",   .rev = IMX_CHIP_REVISION_1_2 },
rev                29 arch/arm/mach-imx/cpu-imx31.c 	{ .srev = 0x28, .name = "i.MX31",    .rev = IMX_CHIP_REVISION_2_0 },
rev                30 arch/arm/mach-imx/cpu-imx31.c 	{ .srev = 0x29, .name = "i.MX31L",   .rev = IMX_CHIP_REVISION_2_0 },
rev                44 arch/arm/mach-imx/cpu-imx31.c 						mx31_cpu_type[i].rev);
rev                45 arch/arm/mach-imx/cpu-imx31.c 			return mx31_cpu_type[i].rev;
rev                17 arch/arm/mach-imx/cpu-imx35.c 	u32 rev;
rev                19 arch/arm/mach-imx/cpu-imx35.c 	rev = imx_readl(MX35_IO_ADDRESS(MX35_IIM_BASE_ADDR + MXC_IIMSREV));
rev                20 arch/arm/mach-imx/cpu-imx35.c 	switch (rev) {
rev                42 arch/arm/mach-imx/cpu-imx5.c 	u32 rev = imx5_read_srev_reg("fsl,imx51-iim");
rev                44 arch/arm/mach-imx/cpu-imx5.c 	switch (rev) {
rev                88 arch/arm/mach-imx/cpu-imx5.c 	u32 rev = imx5_read_srev_reg("fsl,imx53-iim");
rev                90 arch/arm/mach-imx/cpu-imx5.c 	switch (rev) {
rev                21 arch/arm/mach-imx/cpu.c void imx_set_soc_revision(unsigned int rev)
rev                23 arch/arm/mach-imx/cpu.c 	imx_soc_revision = rev;
rev                28 arch/arm/mach-imx/mach-qong.c #define QONG_FPGA_VERSION(major, minor, rev)	\
rev                29 arch/arm/mach-imx/mach-qong.c 	(((major & 0xF) << 12) | ((minor & 0xF) << 8) | (rev & 0xFF))
rev               232 arch/arm/mach-mv78xx0/common.c 	u32 dev, rev;
rev               238 arch/arm/mach-mv78xx0/common.c 	mv78xx0_pcie_id(&dev, &rev);
rev               254 arch/arm/mach-mv78xx0/common.c 	u32 dev, rev;
rev               260 arch/arm/mach-mv78xx0/common.c 	mv78xx0_pcie_id(&dev, &rev);
rev               354 arch/arm/mach-mv78xx0/common.c 	u32 dev, rev;
rev               356 arch/arm/mach-mv78xx0/common.c 	mv78xx0_pcie_id(&dev, &rev);
rev               359 arch/arm/mach-mv78xx0/common.c 		if (rev == MV78X00_REV_Z0)
rev               364 arch/arm/mach-mv78xx0/common.c 		if (rev == MV78100_REV_A0)
rev               366 arch/arm/mach-mv78xx0/common.c 		else if (rev == MV78100_REV_A1)
rev               371 arch/arm/mach-mv78xx0/common.c 		if (rev == MV78100_REV_A0)
rev                34 arch/arm/mach-mv78xx0/common.h void mv78xx0_pcie_id(u32 *dev, u32 *rev);
rev                21 arch/arm/mach-mv78xx0/mpp.c 	u32 dev, rev;
rev                23 arch/arm/mach-mv78xx0/mpp.c 	mv78xx0_pcie_id(&dev, &rev);
rev                25 arch/arm/mach-mv78xx0/mpp.c 	if (dev == MV78100_DEV_ID && rev >= MV78100_REV_A0)
rev                29 arch/arm/mach-mv78xx0/mpp.c 			"(dev %#x rev %#x)\n", dev, rev);
rev                40 arch/arm/mach-mv78xx0/pcie.c void __init mv78xx0_pcie_id(u32 *dev, u32 *rev)
rev                43 arch/arm/mach-mv78xx0/pcie.c 	*rev = orion_pcie_rev(PCIE00_VIRT_BASE);
rev               117 arch/arm/mach-mvebu/board-v7.c 	u32 dev, rev;
rev               124 arch/arm/mach-mvebu/board-v7.c 	if (mvebu_get_soc_id(&dev, &rev) == 0 && rev > MV78XX0_A0_REV)
rev                24 arch/arm/mach-mvebu/common.h int mvebu_system_controller_get_soc_id(u32 *dev, u32 *rev);
rev                48 arch/arm/mach-mvebu/mvebu-soc-id.c int mvebu_get_soc_id(u32 *dev, u32 *rev)
rev                52 arch/arm/mach-mvebu/mvebu-soc-id.c 		*rev = soc_rev;
rev                46 arch/arm/mach-mvebu/mvebu-soc-id.h int mvebu_get_soc_id(u32 *dev, u32 *rev);
rev                48 arch/arm/mach-mvebu/mvebu-soc-id.h static inline int mvebu_get_soc_id(u32 *dev, u32 *rev)
rev               117 arch/arm/mach-mvebu/system-controller.c int mvebu_system_controller_get_soc_id(u32 *dev, u32 *rev)
rev               122 arch/arm/mach-mvebu/system-controller.c 		*rev = (readl(system_controller_base + mvebu_sc->rev_id) >> 8)
rev               132 arch/arm/mach-mvebu/system-controller.c 	u32 dev, rev;
rev               135 arch/arm/mach-mvebu/system-controller.c 	if (mvebu_get_soc_id(&dev, &rev) != 0)
rev               138 arch/arm/mach-mvebu/system-controller.c 	if (rev != ARMADA_375_Z1_REV)
rev               307 arch/arm/mach-mxs/mach-mxs.c 	u32 rev = chipid & HW_DIGCTL_REV_MASK;
rev               311 arch/arm/mach-mxs/mach-mxs.c 		switch (rev) {
rev               326 arch/arm/mach-mxs/mach-mxs.c 		switch (rev) {
rev               341 arch/arm/mach-mxs/mach-mxs.c 	u32 rev = mxs_get_cpu_rev();
rev               343 arch/arm/mach-mxs/mach-mxs.c 	if (rev != MXS_CHIP_REV_UNKNOWN)
rev               344 arch/arm/mach-mxs/mach-mxs.c 		return kasprintf(GFP_KERNEL, "%d.%d", (rev >> 4) & 0xf,
rev               345 arch/arm/mach-mxs/mach-mxs.c 				rev & 0xf);
rev                59 arch/arm/mach-omap1/i2c.c 	pdata->rev = OMAP_I2C_IP_VERSION_1;
rev                85 arch/arm/mach-omap2/board-generic.c 			system_rev = tag->u.revision.rev;
rev               502 arch/arm/mach-omap2/clockdomains3xxx_data.c 	unsigned int rev;
rev               510 arch/arm/mach-omap2/clockdomains3xxx_data.c 	rev = omap_rev();
rev               512 arch/arm/mach-omap2/clockdomains3xxx_data.c 	if (rev == AM35XX_REV_ES1_0 || rev == AM35XX_REV_ES1_1) {
rev               518 arch/arm/mach-omap2/clockdomains3xxx_data.c 		sc = (rev == OMAP3430_REV_ES1_0) ?
rev               152 arch/arm/mach-omap2/id.c 	u8  dev_type, rev;
rev               158 arch/arm/mach-omap2/id.c 	rev = (idcode >> 28) & 0x0f;
rev               163 arch/arm/mach-omap2/id.c 		 idcode, rev, hawkeye, (idcode >> 1) & 0x7ff);
rev               353 arch/arm/mach-omap2/id.c 	u8 rev;
rev               375 arch/arm/mach-omap2/id.c 	rev = (idcode >> 28) & 0xff;
rev               380 arch/arm/mach-omap2/id.c 		switch (rev) {
rev               413 arch/arm/mach-omap2/id.c 		switch (rev) {
rev               428 arch/arm/mach-omap2/id.c 		switch(rev) {
rev               445 arch/arm/mach-omap2/id.c 		switch (rev) {
rev               466 arch/arm/mach-omap2/id.c 		switch (rev) {
rev               484 arch/arm/mach-omap2/id.c 		switch (rev) {
rev               503 arch/arm/mach-omap2/id.c 		switch (rev) {
rev               536 arch/arm/mach-omap2/id.c 	u8 rev;
rev               545 arch/arm/mach-omap2/id.c 	rev = (idcode >> 28) & 0xf;
rev               551 arch/arm/mach-omap2/id.c 	if (!rev && (hawkeye != 0xb94e) && (hawkeye != 0xb975)) {
rev               553 arch/arm/mach-omap2/id.c 		rev = (idcode & 0xf) - 1;
rev               558 arch/arm/mach-omap2/id.c 		switch (rev) {
rev               568 arch/arm/mach-omap2/id.c 		switch (rev) {
rev               581 arch/arm/mach-omap2/id.c 		switch (rev) {
rev               592 arch/arm/mach-omap2/id.c 		switch (rev) {
rev               614 arch/arm/mach-omap2/id.c 	u8 rev;
rev               618 arch/arm/mach-omap2/id.c 	rev = (idcode >> 28) & 0xff;
rev               621 arch/arm/mach-omap2/id.c 		switch (rev) {
rev               632 arch/arm/mach-omap2/id.c 		switch (rev) {
rev               657 arch/arm/mach-omap2/id.c 	u8 rev, package;
rev               664 arch/arm/mach-omap2/id.c 	rev = (idcode >> 28) & 0xff;
rev               667 arch/arm/mach-omap2/id.c 		switch (rev) {
rev               686 arch/arm/mach-omap2/id.c 		switch (rev) {
rev               701 arch/arm/mach-omap2/id.c 		switch (rev) {
rev               718 arch/arm/mach-omap2/id.c 			__func__, idcode, hawkeye, rev);
rev              2841 arch/arm/mach-omap2/omap_hwmod_3xxx_data.c 	unsigned int rev;
rev              2850 arch/arm/mach-omap2/omap_hwmod_3xxx_data.c 	rev = omap_rev();
rev              2857 arch/arm/mach-omap2/omap_hwmod_3xxx_data.c 	if (rev == OMAP3430_REV_ES1_0 || rev == OMAP3430_REV_ES2_0 ||
rev              2858 arch/arm/mach-omap2/omap_hwmod_3xxx_data.c 	    rev == OMAP3430_REV_ES2_1 || rev == OMAP3430_REV_ES3_0 ||
rev              2859 arch/arm/mach-omap2/omap_hwmod_3xxx_data.c 	    rev == OMAP3430_REV_ES3_1 || rev == OMAP3430_REV_ES3_1_2) {
rev              2864 arch/arm/mach-omap2/omap_hwmod_3xxx_data.c 	} else if (rev == AM35XX_REV_ES1_0 || rev == AM35XX_REV_ES1_1) {
rev              2869 arch/arm/mach-omap2/omap_hwmod_3xxx_data.c 	} else if (rev == OMAP3630_REV_ES1_0 || rev == OMAP3630_REV_ES1_1 ||
rev              2870 arch/arm/mach-omap2/omap_hwmod_3xxx_data.c 		   rev == OMAP3630_REV_ES1_2) {
rev              2916 arch/arm/mach-omap2/omap_hwmod_3xxx_data.c 	if (rev == OMAP3430_REV_ES1_0) {
rev              2918 arch/arm/mach-omap2/omap_hwmod_3xxx_data.c 	} else if (rev == OMAP3430_REV_ES2_0 || rev == OMAP3430_REV_ES2_1 ||
rev              2919 arch/arm/mach-omap2/omap_hwmod_3xxx_data.c 		   rev == OMAP3430_REV_ES3_0 || rev == OMAP3430_REV_ES3_1 ||
rev              2920 arch/arm/mach-omap2/omap_hwmod_3xxx_data.c 		   rev == OMAP3430_REV_ES3_1_2) {
rev              2931 arch/arm/mach-omap2/omap_hwmod_3xxx_data.c 	if (rev == OMAP3430_REV_ES1_0 || rev == OMAP3430_REV_ES2_0 ||
rev              2932 arch/arm/mach-omap2/omap_hwmod_3xxx_data.c 	    rev == OMAP3430_REV_ES2_1) {
rev              2934 arch/arm/mach-omap2/omap_hwmod_3xxx_data.c 	} else if (rev == OMAP3430_REV_ES3_0 || rev == OMAP3430_REV_ES3_1 ||
rev              2935 arch/arm/mach-omap2/omap_hwmod_3xxx_data.c 		   rev == OMAP3430_REV_ES3_1_2) {
rev               577 arch/arm/mach-omap2/powerdomains3xxx_data.c 	unsigned int rev;
rev               586 arch/arm/mach-omap2/powerdomains3xxx_data.c 	rev = omap_rev();
rev               588 arch/arm/mach-omap2/powerdomains3xxx_data.c 	if (rev == AM35XX_REV_ES1_0 || rev == AM35XX_REV_ES1_1) {
rev               590 arch/arm/mach-omap2/powerdomains3xxx_data.c 	} else if (rev == TI8148_REV_ES1_0 || rev == TI8148_REV_ES2_0 ||
rev               591 arch/arm/mach-omap2/powerdomains3xxx_data.c 		   rev == TI8148_REV_ES2_1) {
rev               594 arch/arm/mach-omap2/powerdomains3xxx_data.c 	} else if (rev == TI8168_REV_ES1_0 || rev == TI8168_REV_ES1_1
rev               595 arch/arm/mach-omap2/powerdomains3xxx_data.c 			|| rev == TI8168_REV_ES2_0 || rev == TI8168_REV_ES2_1) {
rev               601 arch/arm/mach-omap2/powerdomains3xxx_data.c 		switch (rev) {
rev                42 arch/arm/mach-orion5x/board-dt.c 	u32 dev, rev;
rev                44 arch/arm/mach-orion5x/board-dt.c 	orion5x_id(&dev, &rev, &dev_name);
rev                58 arch/arm/mach-orion5x/board-dt.c 	if (dev == MV88F5281_DEV_ID && rev == MV88F5281_REV_D0) {
rev               210 arch/arm/mach-orion5x/common.c 	u32 rev, dev;
rev               216 arch/arm/mach-orion5x/common.c 	orion5x_pcie_id(&dev, &rev);
rev               262 arch/arm/mach-orion5x/common.c 	u32 dev, rev;
rev               264 arch/arm/mach-orion5x/common.c 	orion5x_pcie_id(&dev, &rev);
rev               287 arch/arm/mach-orion5x/common.c void __init orion5x_id(u32 *dev, u32 *rev, char **dev_name)
rev               289 arch/arm/mach-orion5x/common.c 	orion5x_pcie_id(dev, rev);
rev               292 arch/arm/mach-orion5x/common.c 		if (*rev == MV88F5281_REV_D2) {
rev               294 arch/arm/mach-orion5x/common.c 		} else if (*rev == MV88F5281_REV_D1) {
rev               296 arch/arm/mach-orion5x/common.c 		} else if (*rev == MV88F5281_REV_D0) {
rev               302 arch/arm/mach-orion5x/common.c 		if (*rev == MV88F5182_REV_A2) {
rev               308 arch/arm/mach-orion5x/common.c 		if (*rev == MV88F5181_REV_B1) {
rev               310 arch/arm/mach-orion5x/common.c 		} else if (*rev == MV88F5181L_REV_A1) {
rev               316 arch/arm/mach-orion5x/common.c 		if (*rev == MV88F6183_REV_B0) {
rev               329 arch/arm/mach-orion5x/common.c 	u32 dev, rev;
rev               331 arch/arm/mach-orion5x/common.c 	orion5x_id(&dev, &rev, &dev_name);
rev               346 arch/arm/mach-orion5x/common.c 	if (dev == MV88F5281_DEV_ID && rev == MV88F5281_REV_D0) {
rev               355 arch/arm/mach-orion5x/common.c 	if ((dev == MV88F5181_DEV_ID && rev >= MV88F5181L_REV_A0) ||
rev                35 arch/arm/mach-orion5x/common.h void orion5x_id(u32 *dev, u32 *rev, char **dev_name);
rev                62 arch/arm/mach-orion5x/common.h void orion5x_pcie_id(u32 *dev, u32 *rev);
rev               521 arch/arm/mach-orion5x/dns323-setup.c 	u32 dev, rev, i, reg;
rev               526 arch/arm/mach-orion5x/dns323-setup.c 	orion5x_pcie_id(&dev, &rev);
rev                22 arch/arm/mach-orion5x/mpp.c 	u32 rev;
rev                24 arch/arm/mach-orion5x/mpp.c 	orion5x_pcie_id(&dev, &rev);
rev                36 arch/arm/mach-orion5x/mpp.c 	       "(dev %#x rev %#x)\n", dev, rev);
rev                43 arch/arm/mach-orion5x/pci.c void __init orion5x_pcie_id(u32 *dev, u32 *rev)
rev                46 arch/arm/mach-orion5x/pci.c 	*rev = orion_pcie_rev(PCIE_BASE);
rev               325 arch/arm/mach-s3c64xx/mach-crag6410-module.c 	u8 rev;
rev               334 arch/arm/mach-s3c64xx/mach-crag6410-module.c 	{ .id = 0x01, .rev = 0xff, .name = "1250-EV1 Springbank" },
rev               335 arch/arm/mach-s3c64xx/mach-crag6410-module.c 	{ .id = 0x02, .rev = 0xff, .name = "1251-EV1 Jura" },
rev               336 arch/arm/mach-s3c64xx/mach-crag6410-module.c 	{ .id = 0x03, .rev = 0xff, .name = "1252-EV1 Glenlivet" },
rev               337 arch/arm/mach-s3c64xx/mach-crag6410-module.c 	{ .id = 0x06, .rev = 0xff, .name = "WM8997-6721-CS96-EV1 Lapraoig" },
rev               338 arch/arm/mach-s3c64xx/mach-crag6410-module.c 	{ .id = 0x07, .rev = 0xff, .name = "WM5110-6271 Deanston",
rev               341 arch/arm/mach-s3c64xx/mach-crag6410-module.c 	{ .id = 0x08, .rev = 0xff, .name = "WM8903-6102 Tamdhu" },
rev               342 arch/arm/mach-s3c64xx/mach-crag6410-module.c 	{ .id = 0x09, .rev = 0xff, .name = "WM1811A-6305 Adelphi" },
rev               343 arch/arm/mach-s3c64xx/mach-crag6410-module.c 	{ .id = 0x0a, .rev = 0xff, .name = "WM8996-6272 Blackadder" },
rev               344 arch/arm/mach-s3c64xx/mach-crag6410-module.c 	{ .id = 0x0b, .rev = 0xff, .name = "WM8994-6235 Benromach" },
rev               345 arch/arm/mach-s3c64xx/mach-crag6410-module.c 	{ .id = 0x11, .rev = 0xff, .name = "6249-EV2 Glenfarclas", },
rev               346 arch/arm/mach-s3c64xx/mach-crag6410-module.c 	{ .id = 0x14, .rev = 0xff, .name = "6271-EV1 Lochnagar" },
rev               347 arch/arm/mach-s3c64xx/mach-crag6410-module.c 	{ .id = 0x15, .rev = 0xff, .name = "6320-EV1 Bells",
rev               350 arch/arm/mach-s3c64xx/mach-crag6410-module.c 	{ .id = 0x21, .rev = 0xff, .name = "1275-EV1 Mortlach" },
rev               351 arch/arm/mach-s3c64xx/mach-crag6410-module.c 	{ .id = 0x25, .rev = 0xff, .name = "1274-EV1 Glencadam" },
rev               352 arch/arm/mach-s3c64xx/mach-crag6410-module.c 	{ .id = 0x31, .rev = 0xff, .name = "1253-EV1 Tomatin",
rev               354 arch/arm/mach-s3c64xx/mach-crag6410-module.c 	{ .id = 0x32, .rev = 0xff, .name = "XXXX-EV1 Caol Illa" },
rev               355 arch/arm/mach-s3c64xx/mach-crag6410-module.c 	{ .id = 0x33, .rev = 0xff, .name = "XXXX-EV1 Oban" },
rev               356 arch/arm/mach-s3c64xx/mach-crag6410-module.c 	{ .id = 0x34, .rev = 0xff, .name = "WM0010-6320-CS42 Balblair",
rev               359 arch/arm/mach-s3c64xx/mach-crag6410-module.c 	{ .id = 0x39, .rev = 0xff, .name = "1254-EV1 Dallas Dhu",
rev               361 arch/arm/mach-s3c64xx/mach-crag6410-module.c 	{ .id = 0x3a, .rev = 0xff, .name = "1259-EV1 Tobermory",
rev               363 arch/arm/mach-s3c64xx/mach-crag6410-module.c 	{ .id = 0x3b, .rev = 0xff, .name = "1255-EV1 Kilchoman",
rev               365 arch/arm/mach-s3c64xx/mach-crag6410-module.c 	{ .id = 0x3c, .rev = 0xff, .name = "1273-EV1 Longmorn" },
rev               366 arch/arm/mach-s3c64xx/mach-crag6410-module.c 	{ .id = 0x3d, .rev = 0xff, .name = "1277-EV1 Littlemill",
rev               369 arch/arm/mach-s3c64xx/mach-crag6410-module.c 	{ .id = 0x3e, .rev = 0, .name = "WM5102-6271-EV1-CS127 Amrut",
rev               373 arch/arm/mach-s3c64xx/mach-crag6410-module.c 	{ .id = 0x3e, .rev = -1, .name = "WM5102-6271-EV1-CS127 Amrut",
rev               377 arch/arm/mach-s3c64xx/mach-crag6410-module.c 	{ .id = 0x3f, .rev = -1, .name = "WM2200-6271-CS90-M-REV1",
rev               384 arch/arm/mach-s3c64xx/mach-crag6410-module.c 	int ret, i, j, id, rev;
rev               393 arch/arm/mach-s3c64xx/mach-crag6410-module.c 	rev = ret & 0x3;
rev               395 arch/arm/mach-s3c64xx/mach-crag6410-module.c 		if (id == gf_mods[i].id && (gf_mods[i].rev == 0xff ||
rev               396 arch/arm/mach-s3c64xx/mach-crag6410-module.c 					    rev == gf_mods[i].rev))
rev               405 arch/arm/mach-s3c64xx/mach-crag6410-module.c 			 gf_mods[i].name, rev + 1);
rev               421 arch/arm/mach-s3c64xx/mach-crag6410-module.c 			 id, rev + 1);
rev               609 arch/arm/mm/cache-l2x0.c 	unsigned rev = readl_relaxed(base + L2X0_CACHE_ID) & L2X0_CACHE_ID_RTL_MASK;
rev               613 arch/arm/mm/cache-l2x0.c 	if (rev >= L310_CACHE_ID_RTL_R2P0) {
rev               666 arch/arm/mm/cache-l2x0.c 	if (rev >= L310_CACHE_ID_RTL_R3P0) {
rev                48 arch/arm64/include/asm/cputype.h #define MIDR_CPU_VAR_REV(var, rev) \
rev                49 arch/arm64/include/asm/cputype.h 	(((var)	<< MIDR_VARIANT_SHIFT) | (rev))
rev               534 arch/arm64/kernel/cpu_errata.c #define MIDR_FIXED(rev, revidr_mask) \
rev               535 arch/arm64/kernel/cpu_errata.c 	.fixed_revs = (struct arm64_midr_revidr[]){{ (rev), (revidr_mask) }, {}}
rev               550 arch/arm64/kernel/cpu_errata.c #define ERRATA_MIDR_REV(model, var, rev)	\
rev               551 arch/arm64/kernel/cpu_errata.c 	ERRATA_MIDR_RANGE(model, var, rev, var, rev)
rev               235 arch/ia64/hp/common/sba_iommu.c 	unsigned int	rev;		/* HW revision of chip */
rev              1749 arch/ia64/hp/common/sba_iommu.c 	if (ioc->rev < 0x20)
rev              1793 arch/ia64/hp/common/sba_iommu.c 	ioc->rev = READ_REG(ioc->ioc_hpa + IOC_FCLASS) & 0xFFUL;
rev              1825 arch/ia64/hp/common/sba_iommu.c 		ioc->name, (ioc->rev >> 4) & 0xF, ioc->rev & 0xF,
rev              1876 arch/ia64/hp/common/sba_iommu.c 		ioc->name, ((ioc->rev >> 4) & 0xF), (ioc->rev & 0xF));
rev               333 arch/m68k/fpsp040/fpsp.h 	.set	UNIMP_41_SIZE,52		|  size of rev unimp frame
rev               107 arch/m68k/include/asm/dvma.h #define DMA_HASCOUNT(rev)  ((rev)==dvmaesc1)
rev                50 arch/m68k/include/uapi/asm/bootinfo-vme.h 	__u8	rev, mth, day, yr;
rev                96 arch/m68k/mvme16x/config.c 	unsigned char rev = *(unsigned char *)MVME162_VERSION_REG;
rev                99 arch/m68k/mvme16x/config.c 			rev & MVME16x_CONFIG_NO_VMECHIP2 ? "NOT " : "");
rev               101 arch/m68k/mvme16x/config.c 			rev & MVME16x_CONFIG_NO_SCSICHIP ? "NOT " : "");
rev               103 arch/m68k/mvme16x/config.c 			rev & MVME16x_CONFIG_NO_ETHERNET ? "NOT " : "");
rev               293 arch/m68k/mvme16x/config.c     pr_info("BRD_ID: %s   BUG %x.%x %02x/%02x/%02x\n", id, p->rev >> 4,
rev               294 arch/m68k/mvme16x/config.c 	    p->rev & 0xf, p->yr, p->mth, p->day);
rev               297 arch/m68k/mvme16x/config.c 	unsigned char rev = *(unsigned char *)MVME162_VERSION_REG;
rev               299 arch/m68k/mvme16x/config.c 	mvme16x_config = rev | MVME16x_CONFIG_GOT_SCCA;
rev               303 arch/m68k/mvme16x/config.c 		rev & MVME16x_CONFIG_GOT_FPU ? "" : "LC");
rev               305 arch/m68k/mvme16x/config.c 		rev & MVME16x_CONFIG_SPEED_32 ? 32 : 25);
rev               307 arch/m68k/mvme16x/config.c 		rev & MVME16x_CONFIG_NO_VMECHIP2 ? "NOT " : "");
rev               309 arch/m68k/mvme16x/config.c 		rev & MVME16x_CONFIG_NO_SCSICHIP ? "NOT " : "");
rev               311 arch/m68k/mvme16x/config.c 		rev & MVME16x_CONFIG_NO_ETHERNET ? "NOT " : "");
rev               146 arch/mips/ar7/clock.c 	u8 rev = ar7_chip_rev();
rev               151 arch/mips/ar7/clock.c 	if ((rev >= 0x23) && (rev != 0x57))
rev                59 arch/mips/ath79/setup.c 	u32 rev = 0;
rev                68 arch/mips/ath79/setup.c 		rev = id >> AR71XX_REV_ID_REVISION_SHIFT;
rev                69 arch/mips/ath79/setup.c 		rev &= AR71XX_REV_ID_REVISION_MASK;
rev                91 arch/mips/ath79/setup.c 		rev = id & AR724X_REV_ID_REVISION_MASK;
rev                97 arch/mips/ath79/setup.c 		rev = id & AR724X_REV_ID_REVISION_MASK;
rev               103 arch/mips/ath79/setup.c 		rev = id & AR724X_REV_ID_REVISION_MASK;
rev               108 arch/mips/ath79/setup.c 		rev = id >> AR913X_REV_ID_REVISION_SHIFT;
rev               109 arch/mips/ath79/setup.c 		rev &= AR913X_REV_ID_REVISION_MASK;
rev               126 arch/mips/ath79/setup.c 		rev = id & AR933X_REV_ID_REVISION_MASK;
rev               132 arch/mips/ath79/setup.c 		rev = id & AR933X_REV_ID_REVISION_MASK;
rev               138 arch/mips/ath79/setup.c 		rev = id & AR934X_REV_ID_REVISION_MASK;
rev               144 arch/mips/ath79/setup.c 		rev = id & AR934X_REV_ID_REVISION_MASK;
rev               150 arch/mips/ath79/setup.c 		rev = id & AR934X_REV_ID_REVISION_MASK;
rev               161 arch/mips/ath79/setup.c 		rev = id & QCA953X_REV_ID_REVISION_MASK;
rev               167 arch/mips/ath79/setup.c 		rev = id & QCA955X_REV_ID_REVISION_MASK;
rev               173 arch/mips/ath79/setup.c 		rev = id & QCA955X_REV_ID_REVISION_MASK;
rev               179 arch/mips/ath79/setup.c 		rev = id & QCA956X_REV_ID_REVISION_MASK;
rev               185 arch/mips/ath79/setup.c 		rev = id & QCA956X_REV_ID_REVISION_MASK;
rev               193 arch/mips/ath79/setup.c 		ath79_soc_rev = rev;
rev               197 arch/mips/ath79/setup.c 			chip, ver, rev);
rev               200 arch/mips/ath79/setup.c 			chip, rev);
rev               202 arch/mips/ath79/setup.c 		sprintf(ath79_sys_type, "Atheros AR%s rev %u", chip, rev);
rev                44 arch/mips/fw/arc/init.c 	       pb->ver, pb->rev);
rev                98 arch/mips/fw/arc/tree.c 	       iflags[p->iflags], p->vers, p->rev);
rev                19 arch/mips/generic/board-ocelot.c 	u32 rev;
rev                32 arch/mips/generic/board-ocelot.c 	rev = __raw_readl((void __iomem *)DEVCPU_GCB_CHIP_REGS_CHIP_ID);
rev                34 arch/mips/generic/board-ocelot.c 	if ((rev & CHIP_ID_PART_ID) != OCELOT_PART_ID)
rev                37 arch/mips/generic/board-sead3.c 	uint32_t rev;
rev                39 arch/mips/generic/board-sead3.c 	rev = __raw_readl((void *)MIPS_REVISION);
rev                40 arch/mips/generic/board-sead3.c 	return (rev & MIPS_REVISION_MACHINE) == MIPS_REVISION_MACHINE_SEAD3;
rev                27 arch/mips/include/asm/cdmm.h 	unsigned int		rev;
rev               264 arch/mips/include/asm/cpu.h #define PRID_REV_ENCODE_44(ver, rev)					\
rev               265 arch/mips/include/asm/cpu.h 	((ver) << 4 | (rev))
rev               266 arch/mips/include/asm/cpu.h #define PRID_REV_ENCODE_332(ver, rev, patch)				\
rev               267 arch/mips/include/asm/cpu.h 	((ver) << 5 | (rev) << 2 | (patch))
rev                70 arch/mips/include/asm/ip32/mace.h 	volatile unsigned int rev;
rev                17 arch/mips/include/asm/mach-ath25/ath25_platform.h 	u16 rev;                     /* revision of this struct */
rev               151 arch/mips/include/asm/mips-cm.h GCR_ACCESSOR_RO(32, 0x030, rev)
rev                84 arch/mips/include/asm/sgiarcs.h 	USHORT			rev;	/* node revision */
rev               251 arch/mips/include/asm/sgiarcs.h 	USHORT			rev;		/* ARCS firmware revision */
rev              1832 arch/mips/kernel/cpu-probe.c 		int rev = c->processor_id & PRID_REV_MASK;
rev              1834 arch/mips/kernel/cpu-probe.c 		if (rev >= PRID_REV_BMIPS4380_LO &&
rev              1835 arch/mips/kernel/cpu-probe.c 				rev <= PRID_REV_BMIPS4380_HI) {
rev                57 arch/mips/lantiq/falcon/prom.c 	i->rev = (ltq_r32(FALCON_CHIPID) & REV_MASK) >> REV_SHIFT;
rev                62 arch/mips/lantiq/falcon/prom.c 		i->rev & 0x7, (i->srev & 0x3) + 1);
rev                15 arch/mips/lantiq/prom.h 	unsigned int rev;
rev                44 arch/mips/lantiq/xway/prom.c 	i->rev = (ltq_r32(LTQ_MPS_CHIPID) & REV_MASK) >> REV_SHIFT;
rev                45 arch/mips/lantiq/xway/prom.c 	sprintf(i->rev_type, "1.%d", i->rev);
rev              1024 arch/mips/mm/c-r4k.c 	unsigned int rev = c->processor_id & PRID_REV_MASK;
rev              1038 arch/mips/mm/c-r4k.c 		if (rev <= PRID_REV_ENCODE_332(2, 4, 0))
rev              1040 arch/mips/mm/c-r4k.c 		if (rev == PRID_REV_ENCODE_332(2, 4, 0))
rev              1044 arch/mips/mm/c-r4k.c 		if (rev <= PRID_REV_ENCODE_332(1, 1, 0)) {
rev               133 arch/mips/pci/pci-ip32.c 	printk("MACE PCI rev %d\n", mace->pci.rev);
rev               648 arch/mips/ralink/mt7620.c 	u32 rev;
rev               656 arch/mips/ralink/mt7620.c 	rev = __raw_readl(sysc + SYSC_REG_CHIP_REV);
rev               657 arch/mips/ralink/mt7620.c 	bga = (rev >> CHIP_REV_PKG_SHIFT) & CHIP_REV_PKG_MASK;
rev               687 arch/mips/ralink/mt7620.c 		(rev >> CHIP_REV_VER_SHIFT) & CHIP_REV_VER_MASK,
rev               688 arch/mips/ralink/mt7620.c 		(rev & CHIP_REV_ECO_MASK));
rev               169 arch/mips/ralink/mt7621.c 	u32 rev;
rev               203 arch/mips/ralink/mt7621.c 	rev = __raw_readl(sysc + SYSC_REG_CHIP_REV);
rev               208 arch/mips/ralink/mt7621.c 		(rev >> CHIP_REV_VER_SHIFT) & CHIP_REV_VER_MASK,
rev               209 arch/mips/ralink/mt7621.c 		(rev & CHIP_REV_ECO_MASK));
rev                55 arch/mips/sgi-ip22/ip22-eisa.c 	u16 rev;
rev                68 arch/mips/sgi-ip22/ip22-eisa.c 	rev = (sig[2] << 8) | sig[3];
rev                69 arch/mips/sgi-ip22/ip22-eisa.c 	sprintf(sig_str + 3, "%04X", rev);
rev                28 arch/mips/sgi-ip32/crime.c 	unsigned int id, rev;
rev                36 arch/mips/sgi-ip32/crime.c 	rev = id & CRIME_ID_REV;
rev                39 arch/mips/sgi-ip32/crime.c 	       id, rev, field, (unsigned long) CRIME_BASE);
rev               545 arch/parisc/include/uapi/asm/pdc.h 	unsigned char	rev;
rev               600 arch/parisc/kernel/drivers.c pa_dev_attr(rev, id.hversion_rev, "0x%x\n");
rev              1057 arch/parisc/kernel/drivers.c 	DO(rev);
rev               240 arch/powerpc/include/asm/kvm_book3s.h extern void kvmppc_add_revmap_chain(struct kvm *kvm, struct revmap_entry *rev,
rev               524 arch/powerpc/include/asm/kvm_book3s_64.h 					  struct revmap_entry *rev)
rev               527 arch/powerpc/include/asm/kvm_book3s_64.h 		rev->guest_rpte |= HPTE_GR_MODIFIED;
rev               269 arch/powerpc/include/asm/kvm_host.h 	struct revmap_entry *rev;
rev               349 arch/powerpc/include/asm/pmac_feature.h 	int			rev;
rev                22 arch/powerpc/include/asm/ps3.h 		u16 rev;
rev                27 arch/powerpc/include/asm/ps3.h int ps3_compare_firmware_version(u16 major, u16 minor, u16 rev);
rev                75 arch/powerpc/kvm/book3s_64_mmu_hv.c 	struct revmap_entry *rev;
rev                99 arch/powerpc/kvm/book3s_64_mmu_hv.c 	rev = vmalloc(array_size(npte, sizeof(struct revmap_entry)));
rev               100 arch/powerpc/kvm/book3s_64_mmu_hv.c 	if (!rev) {
rev               111 arch/powerpc/kvm/book3s_64_mmu_hv.c 	info->rev = rev;
rev               181 arch/powerpc/kvm/book3s_64_mmu_hv.c 	vfree(info->rev);
rev               182 arch/powerpc/kvm/book3s_64_mmu_hv.c 	info->rev = NULL;
rev               378 arch/powerpc/kvm/book3s_64_mmu_hv.c 	gr = kvm->arch.hpt.rev[index].guest_rpte;
rev               503 arch/powerpc/kvm/book3s_64_mmu_hv.c 	struct revmap_entry *rev;
rev               539 arch/powerpc/kvm/book3s_64_mmu_hv.c 	rev = &kvm->arch.hpt.rev[index];
rev               545 arch/powerpc/kvm/book3s_64_mmu_hv.c 	hpte[2] = r = rev->guest_rpte;
rev               681 arch/powerpc/kvm/book3s_64_mmu_hv.c 	    rev->guest_rpte != hpte[2])
rev               709 arch/powerpc/kvm/book3s_64_mmu_hv.c 		kvmppc_add_revmap_chain(kvm, rev, rmap, index, 0);
rev               817 arch/powerpc/kvm/book3s_64_mmu_hv.c 	struct revmap_entry *rev = kvm->arch.hpt.rev;
rev               821 arch/powerpc/kvm/book3s_64_mmu_hv.c 	j = rev[i].forw;
rev               827 arch/powerpc/kvm/book3s_64_mmu_hv.c 		h = rev[i].back;
rev               828 arch/powerpc/kvm/book3s_64_mmu_hv.c 		rev[h].forw = j;
rev               829 arch/powerpc/kvm/book3s_64_mmu_hv.c 		rev[j].back = h;
rev               830 arch/powerpc/kvm/book3s_64_mmu_hv.c 		rev[i].forw = rev[i].back = i;
rev               835 arch/powerpc/kvm/book3s_64_mmu_hv.c 	ptel = rev[i].guest_rpte;
rev               847 arch/powerpc/kvm/book3s_64_mmu_hv.c 		if (rcbits & ~rev[i].guest_rpte) {
rev               848 arch/powerpc/kvm/book3s_64_mmu_hv.c 			rev[i].guest_rpte = ptel | rcbits;
rev               849 arch/powerpc/kvm/book3s_64_mmu_hv.c 			note_hpte_modification(kvm, &rev[i]);
rev               930 arch/powerpc/kvm/book3s_64_mmu_hv.c 	struct revmap_entry *rev = kvm->arch.hpt.rev;
rev               951 arch/powerpc/kvm/book3s_64_mmu_hv.c 		j = rev[i].forw;
rev               969 arch/powerpc/kvm/book3s_64_mmu_hv.c 			if (!(rev[i].guest_rpte & HPTE_R_R)) {
rev               970 arch/powerpc/kvm/book3s_64_mmu_hv.c 				rev[i].guest_rpte |= HPTE_R_R;
rev               971 arch/powerpc/kvm/book3s_64_mmu_hv.c 				note_hpte_modification(kvm, &rev[i]);
rev               993 arch/powerpc/kvm/book3s_64_mmu_hv.c 	struct revmap_entry *rev = kvm->arch.hpt.rev;
rev              1011 arch/powerpc/kvm/book3s_64_mmu_hv.c 			j = rev[i].forw;
rev              1050 arch/powerpc/kvm/book3s_64_mmu_hv.c 	struct revmap_entry *rev = kvm->arch.hpt.rev;
rev              1068 arch/powerpc/kvm/book3s_64_mmu_hv.c 		j = rev[i].forw;
rev              1110 arch/powerpc/kvm/book3s_64_mmu_hv.c 			if (!(rev[i].guest_rpte & HPTE_R_C)) {
rev              1111 arch/powerpc/kvm/book3s_64_mmu_hv.c 				rev[i].guest_rpte |= HPTE_R_C;
rev              1112 arch/powerpc/kvm/book3s_64_mmu_hv.c 				note_hpte_modification(kvm, &rev[i]);
rev              1251 arch/powerpc/kvm/book3s_64_mmu_hv.c 	struct revmap_entry *rev;
rev              1281 arch/powerpc/kvm/book3s_64_mmu_hv.c 	rev = &old->rev[idx];
rev              1282 arch/powerpc/kvm/book3s_64_mmu_hv.c 	guest_rpte = rev->guest_rpte;
rev              1385 arch/powerpc/kvm/book3s_64_mmu_hv.c 	new->rev[new_idx].guest_rpte = guest_rpte;
rev              1764 arch/powerpc/kvm/book3s_64_mmu_hv.c 	revp = kvm->arch.hpt.rev + i;
rev              2102 arch/powerpc/kvm/book3s_64_mmu_hv.c 		gr = kvm->arch.hpt.rev[i].guest_rpte;
rev                81 arch/powerpc/kvm/book3s_hv_rm_mmu.c void kvmppc_add_revmap_chain(struct kvm *kvm, struct revmap_entry *rev,
rev                89 arch/powerpc/kvm/book3s_hv_rm_mmu.c 		head = &kvm->arch.hpt.rev[i];
rev                92 arch/powerpc/kvm/book3s_hv_rm_mmu.c 		tail = &kvm->arch.hpt.rev[head->back];
rev                95 arch/powerpc/kvm/book3s_hv_rm_mmu.c 		rev->forw = i;
rev                96 arch/powerpc/kvm/book3s_hv_rm_mmu.c 		rev->back = head->back;
rev               100 arch/powerpc/kvm/book3s_hv_rm_mmu.c 		rev->forw = rev->back = pte_index;
rev               161 arch/powerpc/kvm/book3s_hv_rm_mmu.c 				struct revmap_entry *rev,
rev               172 arch/powerpc/kvm/book3s_hv_rm_mmu.c 	ptel = rev->guest_rpte |= rcbits;
rev               179 arch/powerpc/kvm/book3s_hv_rm_mmu.c 	next = real_vmalloc_addr(&kvm->arch.hpt.rev[rev->forw]);
rev               180 arch/powerpc/kvm/book3s_hv_rm_mmu.c 	prev = real_vmalloc_addr(&kvm->arch.hpt.rev[rev->back]);
rev               181 arch/powerpc/kvm/book3s_hv_rm_mmu.c 	next->back = rev->back;
rev               182 arch/powerpc/kvm/book3s_hv_rm_mmu.c 	prev->forw = rev->forw;
rev               184 arch/powerpc/kvm/book3s_hv_rm_mmu.c 		head = rev->forw;
rev               204 arch/powerpc/kvm/book3s_hv_rm_mmu.c 	struct revmap_entry *rev;
rev               369 arch/powerpc/kvm/book3s_hv_rm_mmu.c 	rev = &kvm->arch.hpt.rev[pte_index];
rev               371 arch/powerpc/kvm/book3s_hv_rm_mmu.c 		rev = real_vmalloc_addr(rev);
rev               372 arch/powerpc/kvm/book3s_hv_rm_mmu.c 	if (rev) {
rev               373 arch/powerpc/kvm/book3s_hv_rm_mmu.c 		rev->guest_rpte = g_ptel;
rev               374 arch/powerpc/kvm/book3s_hv_rm_mmu.c 		note_hpte_modification(kvm, rev);
rev               390 arch/powerpc/kvm/book3s_hv_rm_mmu.c 			kvmppc_add_revmap_chain(kvm, rev, rmap, pte_index,
rev               504 arch/powerpc/kvm/book3s_hv_rm_mmu.c 	struct revmap_entry *rev;
rev               527 arch/powerpc/kvm/book3s_hv_rm_mmu.c 	rev = real_vmalloc_addr(&kvm->arch.hpt.rev[pte_index]);
rev               542 arch/powerpc/kvm/book3s_hv_rm_mmu.c 		remove_revmap_chain(kvm, pte_index, rev, v,
rev               545 arch/powerpc/kvm/book3s_hv_rm_mmu.c 	r = rev->guest_rpte & ~HPTE_GR_RESERVED;
rev               546 arch/powerpc/kvm/book3s_hv_rm_mmu.c 	note_hpte_modification(kvm, rev);
rev               577 arch/powerpc/kvm/book3s_hv_rm_mmu.c 	struct revmap_entry *rev, *revs[4];
rev               640 arch/powerpc/kvm/book3s_hv_rm_mmu.c 			rev = real_vmalloc_addr(&kvm->arch.hpt.rev[pte_index]);
rev               641 arch/powerpc/kvm/book3s_hv_rm_mmu.c 			note_hpte_modification(kvm, rev);
rev               645 arch/powerpc/kvm/book3s_hv_rm_mmu.c 				rcbits = rev->guest_rpte & (HPTE_R_R|HPTE_R_C);
rev               658 arch/powerpc/kvm/book3s_hv_rm_mmu.c 			revs[n] = rev;
rev               673 arch/powerpc/kvm/book3s_hv_rm_mmu.c 			rev = revs[k];
rev               674 arch/powerpc/kvm/book3s_hv_rm_mmu.c 			remove_revmap_chain(kvm, pte_index, rev,
rev               676 arch/powerpc/kvm/book3s_hv_rm_mmu.c 			rcbits = rev->guest_rpte & (HPTE_R_R|HPTE_R_C);
rev               691 arch/powerpc/kvm/book3s_hv_rm_mmu.c 	struct revmap_entry *rev;
rev               720 arch/powerpc/kvm/book3s_hv_rm_mmu.c 	rev = real_vmalloc_addr(&kvm->arch.hpt.rev[pte_index]);
rev               721 arch/powerpc/kvm/book3s_hv_rm_mmu.c 	if (rev) {
rev               722 arch/powerpc/kvm/book3s_hv_rm_mmu.c 		r = (rev->guest_rpte & ~mask) | bits;
rev               723 arch/powerpc/kvm/book3s_hv_rm_mmu.c 		rev->guest_rpte = r;
rev               724 arch/powerpc/kvm/book3s_hv_rm_mmu.c 		note_hpte_modification(kvm, rev);
rev               763 arch/powerpc/kvm/book3s_hv_rm_mmu.c 	struct revmap_entry *rev = NULL;
rev               773 arch/powerpc/kvm/book3s_hv_rm_mmu.c 	rev = real_vmalloc_addr(&kvm->arch.hpt.rev[pte_index]);
rev               787 arch/powerpc/kvm/book3s_hv_rm_mmu.c 			r = rev[i].guest_rpte | (r & (HPTE_R_R | HPTE_R_C));
rev               802 arch/powerpc/kvm/book3s_hv_rm_mmu.c 	struct revmap_entry *rev;
rev               811 arch/powerpc/kvm/book3s_hv_rm_mmu.c 	rev = real_vmalloc_addr(&kvm->arch.hpt.rev[pte_index]);
rev               820 arch/powerpc/kvm/book3s_hv_rm_mmu.c 	gr = rev->guest_rpte;
rev               821 arch/powerpc/kvm/book3s_hv_rm_mmu.c 	if (rev->guest_rpte & HPTE_R_R) {
rev               822 arch/powerpc/kvm/book3s_hv_rm_mmu.c 		rev->guest_rpte &= ~HPTE_R_R;
rev               823 arch/powerpc/kvm/book3s_hv_rm_mmu.c 		note_hpte_modification(kvm, rev);
rev               850 arch/powerpc/kvm/book3s_hv_rm_mmu.c 	struct revmap_entry *rev;
rev               858 arch/powerpc/kvm/book3s_hv_rm_mmu.c 	rev = real_vmalloc_addr(&kvm->arch.hpt.rev[pte_index]);
rev               867 arch/powerpc/kvm/book3s_hv_rm_mmu.c 	gr = rev->guest_rpte;
rev               869 arch/powerpc/kvm/book3s_hv_rm_mmu.c 		rev->guest_rpte &= ~HPTE_R_C;
rev               870 arch/powerpc/kvm/book3s_hv_rm_mmu.c 		note_hpte_modification(kvm, rev);
rev              1216 arch/powerpc/kvm/book3s_hv_rm_mmu.c 	struct revmap_entry *rev;
rev              1247 arch/powerpc/kvm/book3s_hv_rm_mmu.c 		rev = real_vmalloc_addr(&kvm->arch.hpt.rev[index]);
rev              1248 arch/powerpc/kvm/book3s_hv_rm_mmu.c 		gr = rev->guest_rpte;
rev               657 arch/powerpc/lib/sstep.c 		      const void *mem, bool rev)
rev               675 arch/powerpc/lib/sstep.c 			rev = !rev;
rev               676 arch/powerpc/lib/sstep.c 		if (rev)
rev               684 arch/powerpc/lib/sstep.c 		if (rev)
rev               699 arch/powerpc/lib/sstep.c 				reg->d[IS_BE] = !rev ? v : byterev_8(v);
rev               709 arch/powerpc/lib/sstep.c 			reg->w[i] = !rev ? *wp++ : byterev_4(*wp++);
rev               724 arch/powerpc/lib/sstep.c 			reg->h[i] = !rev ? *hp++ : byterev_2(*hp++);
rev               741 arch/powerpc/lib/sstep.c 		       void *mem, bool rev)
rev               758 arch/powerpc/lib/sstep.c 			rev = !rev;
rev               759 arch/powerpc/lib/sstep.c 		if (rev) {
rev               781 arch/powerpc/lib/sstep.c 		if (unlikely(rev)) {
rev               792 arch/powerpc/lib/sstep.c 			*wp++ = !rev ? reg->w[i] : byterev_4(reg->w[i]);
rev               800 arch/powerpc/lib/sstep.c 			*hp++ = !rev ? reg->h[i] : byterev_2(reg->h[i]);
rev                62 arch/powerpc/platforms/85xx/sbc8548.c 	unsigned int *rev;
rev                74 arch/powerpc/platforms/85xx/sbc8548.c 	rev = ioremap(res.start,sizeof(unsigned int));
rev                75 arch/powerpc/platforms/85xx/sbc8548.c 	board_rev = (*rev) >> 28;
rev                76 arch/powerpc/platforms/85xx/sbc8548.c 	iounmap(rev);
rev               309 arch/powerpc/platforms/maple/setup.c 	u32 rev;
rev               334 arch/powerpc/platforms/maple/setup.c 	rev = __raw_readl(mem);
rev               337 arch/powerpc/platforms/maple/setup.c 	if (rev < 0x34 || rev > 0x3f) { /* U3H */
rev               339 arch/powerpc/platforms/maple/setup.c 			__func__, rev);
rev              1582 arch/powerpc/platforms/powermac/feature.c 	if (macio->rev >= 2) {
rev              2678 arch/powerpc/platforms/powermac/feature.c 		macio_chips[i].rev = *revp;
rev              2680 arch/powerpc/platforms/powermac/feature.c 		macio_names[type], macio_chips[i].rev, macio_chips[i].base);
rev               454 arch/powerpc/platforms/powermac/pci.c 	int rev;
rev               466 arch/powerpc/platforms/powermac/pci.c 		rev = in_8(bp->cfg_data);
rev               467 arch/powerpc/platforms/powermac/pci.c 		if (rev != BANDIT_REVID)
rev               469 arch/powerpc/platforms/powermac/pci.c 			       "Unknown revision %d for bandit\n", rev);
rev                46 arch/powerpc/platforms/ps3/setup.c int ps3_compare_firmware_version(u16 major, u16 minor, u16 rev)
rev                53 arch/powerpc/platforms/ps3/setup.c 	x.rev = rev;
rev               195 arch/powerpc/platforms/ps3/setup.c 	       ps3_firmware_version.rev);
rev                21 arch/x86/include/asm/microcode.h 	unsigned int rev;
rev                 9 arch/x86/include/asm/microcode_intel.h 	unsigned int            rev;
rev                58 arch/x86/include/asm/microcode_intel.h 	u32 rev, dummy;
rev                66 arch/x86/include/asm/microcode_intel.h 	native_rdmsr(MSR_IA32_UCODE_REV, dummy, rev);
rev                68 arch/x86/include/asm/microcode_intel.h 	return rev;
rev               160 arch/x86/include/asm/mpspec_def.h 	char  rev;			/* 0x01 */
rev                60 arch/x86/include/asm/olpc.h static inline int olpc_board_at_least(uint32_t rev)
rev                62 arch/x86/include/asm/olpc.h 	return olpc_platform_info.boardrev >= rev;
rev               550 arch/x86/kernel/apic/apic.c #define DEADLINE_MODEL_MATCH_REV(model, rev)	\
rev               551 arch/x86/kernel/apic/apic.c 	{ X86_VENDOR_INTEL, 6, model, X86_FEATURE_ANY, (unsigned long)rev }
rev               613 arch/x86/kernel/apic/apic.c 	u32 rev;
rev               629 arch/x86/kernel/apic/apic.c 		rev = ((u32 (*)(void))(m->driver_data))();
rev               631 arch/x86/kernel/apic/apic.c 		rev = (u32)m->driver_data;
rev               633 arch/x86/kernel/apic/apic.c 	if (boot_cpu_data.microcode >= rev)
rev               638 arch/x86/kernel/apic/apic.c 	       "please update microcode to version: 0x%x (or later)\n", rev);
rev              1263 arch/x86/kernel/apic/x2apic_uv_x.c 		int rev = st ? st->revision : 0;
rev              1265 arch/x86/kernel/apic/x2apic_uv_x.c 		pr_err("UV: BIOS UVsystab version(%x) mismatch, expecting(%x)\n", rev, UV_SYSTAB_VERSION_UV4_LATEST);
rev               395 arch/x86/kernel/cpu/microcode/amd.c 	u32 rev, dummy;
rev               400 arch/x86/kernel/cpu/microcode/amd.c 	native_rdmsr(MSR_AMD64_PATCH_LEVEL, rev, dummy);
rev               401 arch/x86/kernel/cpu/microcode/amd.c 	if (rev != mc->hdr.patch_id)
rev               424 arch/x86/kernel/cpu/microcode/amd.c 	u32 rev, dummy, *new_rev;
rev               443 arch/x86/kernel/cpu/microcode/amd.c 	native_rdmsr(MSR_AMD64_PATCH_LEVEL, rev, dummy);
rev               444 arch/x86/kernel/cpu/microcode/amd.c 	if (rev >= mc->hdr.patch_id)
rev               514 arch/x86/kernel/cpu/microcode/amd.c 	u32 *new_rev, rev, dummy;
rev               524 arch/x86/kernel/cpu/microcode/amd.c 	native_rdmsr(MSR_AMD64_PATCH_LEVEL, rev, dummy);
rev               527 arch/x86/kernel/cpu/microcode/amd.c 	if (*new_rev && rev < mc->hdr.patch_id) {
rev               570 arch/x86/kernel/cpu/microcode/amd.c 	u32 rev, dummy;
rev               574 arch/x86/kernel/cpu/microcode/amd.c 	rdmsr(MSR_AMD64_PATCH_LEVEL, rev, dummy);
rev               576 arch/x86/kernel/cpu/microcode/amd.c 	if (rev < mc->hdr.patch_id) {
rev               654 arch/x86/kernel/cpu/microcode/amd.c 	csig->rev = c->microcode;
rev               661 arch/x86/kernel/cpu/microcode/amd.c 	if (p && (p->patch_id == csig->rev))
rev               664 arch/x86/kernel/cpu/microcode/amd.c 	pr_info("CPU%d: patch_level=0x%08x\n", cpu, csig->rev);
rev               676 arch/x86/kernel/cpu/microcode/amd.c 	u32 rev, dummy;
rev               689 arch/x86/kernel/cpu/microcode/amd.c 	rdmsr(MSR_AMD64_PATCH_LEVEL, rev, dummy);
rev               692 arch/x86/kernel/cpu/microcode/amd.c 	if (rev >= mc_amd->hdr.patch_id) {
rev               703 arch/x86/kernel/cpu/microcode/amd.c 	rev = mc_amd->hdr.patch_id;
rev               706 arch/x86/kernel/cpu/microcode/amd.c 	pr_info("CPU%d: new patch_level=0x%08x\n", cpu, rev);
rev               709 arch/x86/kernel/cpu/microcode/amd.c 	uci->cpu_sig.rev = rev;
rev               710 arch/x86/kernel/cpu/microcode/amd.c 	c->microcode	 = rev;
rev               714 arch/x86/kernel/cpu/microcode/amd.c 		boot_cpu_data.microcode = rev;
rev               657 arch/x86/kernel/cpu/microcode/core.c 	return sprintf(buf, "0x%x\n", uci->cpu_sig.rev);
rev                97 arch/x86/kernel/cpu/microcode/intel.c 	if (mc_hdr->rev <= new_rev)
rev               184 arch/x86/kernel/cpu/microcode/intel.c 			if (mc_hdr->rev <= mc_saved_hdr->rev)
rev               362 arch/x86/kernel/cpu/microcode/intel.c 						 uci->cpu_sig.rev))
rev               371 arch/x86/kernel/cpu/microcode/intel.c 						 phdr->rev))
rev               411 arch/x86/kernel/cpu/microcode/intel.c 	csig.rev = intel_get_microcode_revision();
rev               423 arch/x86/kernel/cpu/microcode/intel.c 	unsigned int sig, pf, rev, total_size, data_size, date;
rev               436 arch/x86/kernel/cpu/microcode/intel.c 	rev	= uci.cpu_sig.rev;
rev               437 arch/x86/kernel/cpu/microcode/intel.c 	pr_debug("CPU: sig=0x%x, pf=0x%x, rev=0x%x\n", sig, pf, rev);
rev               449 arch/x86/kernel/cpu/microcode/intel.c 		rev	= mc_saved_header->rev;
rev               456 arch/x86/kernel/cpu/microcode/intel.c 			 i++, sig, pf, rev, total_size,
rev               522 arch/x86/kernel/cpu/microcode/intel.c 		     uci->cpu_sig.rev,
rev               584 arch/x86/kernel/cpu/microcode/intel.c 	u32 rev;
rev               595 arch/x86/kernel/cpu/microcode/intel.c 	rev = intel_get_microcode_revision();
rev               596 arch/x86/kernel/cpu/microcode/intel.c 	if (rev >= mc->hdr.rev) {
rev               597 arch/x86/kernel/cpu/microcode/intel.c 		uci->cpu_sig.rev = rev;
rev               610 arch/x86/kernel/cpu/microcode/intel.c 	rev = intel_get_microcode_revision();
rev               611 arch/x86/kernel/cpu/microcode/intel.c 	if (rev != mc->hdr.rev)
rev               614 arch/x86/kernel/cpu/microcode/intel.c 	uci->cpu_sig.rev = rev;
rev               733 arch/x86/kernel/cpu/microcode/intel.c 		if (phdr->rev <= uci->cpu_sig.rev)
rev               778 arch/x86/kernel/cpu/microcode/intel.c 	csig->rev = c->microcode;
rev               781 arch/x86/kernel/cpu/microcode/intel.c 	if (csig->sig != prev.sig || csig->pf != prev.pf || csig->rev != prev.rev) {
rev               783 arch/x86/kernel/cpu/microcode/intel.c 			csig->sig, csig->pf, csig->rev);
rev               797 arch/x86/kernel/cpu/microcode/intel.c 	u32 rev;
rev               816 arch/x86/kernel/cpu/microcode/intel.c 	rev = intel_get_microcode_revision();
rev               817 arch/x86/kernel/cpu/microcode/intel.c 	if (rev >= mc->hdr.rev) {
rev               831 arch/x86/kernel/cpu/microcode/intel.c 	rev = intel_get_microcode_revision();
rev               833 arch/x86/kernel/cpu/microcode/intel.c 	if (rev != mc->hdr.rev) {
rev               835 arch/x86/kernel/cpu/microcode/intel.c 		       cpu, mc->hdr.rev);
rev               839 arch/x86/kernel/cpu/microcode/intel.c 	if (rev != prev_rev) {
rev               841 arch/x86/kernel/cpu/microcode/intel.c 			rev,
rev               845 arch/x86/kernel/cpu/microcode/intel.c 		prev_rev = rev;
rev               851 arch/x86/kernel/cpu/microcode/intel.c 	uci->cpu_sig.rev = rev;
rev               852 arch/x86/kernel/cpu/microcode/intel.c 	c->microcode	 = rev;
rev               856 arch/x86/kernel/cpu/microcode/intel.c 		boot_cpu_data.microcode = rev;
rev               866 arch/x86/kernel/cpu/microcode/intel.c 	int new_rev = uci->cpu_sig.rev;
rev               911 arch/x86/kernel/cpu/microcode/intel.c 			new_rev = mc_header.rev;
rev               940 arch/x86/kernel/cpu/microcode/intel.c 		 cpu, new_rev, uci->cpu_sig.rev);
rev               172 arch/x86/kernel/early-quirks.c 	u32 d, rev;
rev               174 arch/x86/kernel/early-quirks.c 	rev = ati_sbx00_rev(num, slot, func);
rev               175 arch/x86/kernel/early-quirks.c 	if (rev >= 0x40)
rev               183 arch/x86/kernel/early-quirks.c 	if (rev >= 0x39)
rev               195 arch/x86/kernel/early-quirks.c 		printk(KERN_INFO "SB600 revision 0x%x\n", rev);
rev               121 arch/x86/kernel/probe_roms.c 		unsigned short offset, vendor, device, list, rev;
rev               143 arch/x86/kernel/probe_roms.c 		    probe_kernel_address(rom + offset + 0xc, rev) == 0 &&
rev               144 arch/x86/kernel/probe_roms.c 		    rev >= 3 && list &&
rev               194 arch/x86/platform/olpc/olpc.c 	const __be32 *rev;
rev               196 arch/x86/platform/olpc/olpc.c 	rev = of_get_property(root, "board-revision-int", &propsize);
rev               200 arch/x86/platform/olpc/olpc.c 	return be32_to_cpu(*rev);
rev               204 arch/x86/platform/olpc/olpc_dt.c 	__be32 rev;
rev               212 arch/x86/platform/olpc/olpc_dt.c 				(char *) &rev, sizeof(rev));
rev               216 arch/x86/platform/olpc/olpc_dt.c 	return be32_to_cpu(rev);
rev               503 drivers/acpi/acpi_processor.c 		.rev = 1,
rev               778 drivers/acpi/apei/apei-base.c 		.rev		= 1,
rev               213 drivers/acpi/bus.c 	in_params[1].integer.value 	= context->rev;
rev               290 drivers/acpi/bus.c 		.rev = 1,
rev                44 drivers/acpi/pci_mcfg.c #define AL_ECAM(table_id, rev, seg, ops) \
rev                45 drivers/acpi/pci_mcfg.c 	{ "AMAZON", table_id, rev, seg, MCFG_BUS_ANY, ops }
rev                84 drivers/acpi/pci_mcfg.c #define THUNDER_PEM_QUIRK(rev, node) \
rev                85 drivers/acpi/pci_mcfg.c 	{ "CAVIUM", "THUNDERX", rev, 4 + (10 * (node)), MCFG_BUS_ANY,	    \
rev                87 drivers/acpi/pci_mcfg.c 	{ "CAVIUM", "THUNDERX", rev, 5 + (10 * (node)), MCFG_BUS_ANY,	    \
rev                89 drivers/acpi/pci_mcfg.c 	{ "CAVIUM", "THUNDERX", rev, 6 + (10 * (node)), MCFG_BUS_ANY,	    \
rev                91 drivers/acpi/pci_mcfg.c 	{ "CAVIUM", "THUNDERX", rev, 7 + (10 * (node)), MCFG_BUS_ANY,	    \
rev                93 drivers/acpi/pci_mcfg.c 	{ "CAVIUM", "THUNDERX", rev, 8 + (10 * (node)), MCFG_BUS_ANY,	    \
rev                95 drivers/acpi/pci_mcfg.c 	{ "CAVIUM", "THUNDERX", rev, 9 + (10 * (node)), MCFG_BUS_ANY,	    \
rev                98 drivers/acpi/pci_mcfg.c #define THUNDER_ECAM_QUIRK(rev, seg)					\
rev                99 drivers/acpi/pci_mcfg.c 	{ "CAVIUM", "THUNDERX", rev, seg, MCFG_BUS_ANY,			\
rev               119 drivers/acpi/pci_mcfg.c #define XGENE_V1_ECAM_MCFG(rev, seg) \
rev               120 drivers/acpi/pci_mcfg.c 	{"APM   ", "XGENE   ", rev, seg, MCFG_BUS_ANY, \
rev               123 drivers/acpi/pci_mcfg.c #define XGENE_V2_ECAM_MCFG(rev, seg) \
rev               124 drivers/acpi/pci_mcfg.c 	{"APM   ", "XGENE   ", rev, seg, MCFG_BUS_ANY, \
rev               181 drivers/acpi/pci_root.c 		.rev = 1,
rev               556 drivers/acpi/pptt.c static int check_acpi_cpu_flag(unsigned int cpu, int rev, u32 flag)
rev               570 drivers/acpi/pptt.c 	if (table->revision >= rev)
rev               616 drivers/acpi/utils.c acpi_evaluate_dsm(acpi_handle handle, const guid_t *guid, u64 rev, u64 func,
rev               631 drivers/acpi/utils.c 	params[1].integer.value = rev;
rev               665 drivers/acpi/utils.c bool acpi_check_dsm(acpi_handle handle, const guid_t *guid, u64 rev, u64 funcs)
rev               674 drivers/acpi/utils.c 	obj = acpi_evaluate_dsm(handle, guid, rev, 0, NULL);
rev               245 drivers/ata/libata-pmp.c 	u32 rev = gscr[SATA_PMP_GSCR_REV];
rev               247 drivers/ata/libata-pmp.c 	if (rev & (1 << 3))
rev               249 drivers/ata/libata-pmp.c 	if (rev & (1 << 2))
rev               251 drivers/ata/libata-pmp.c 	if (rev & (1 << 1))
rev               823 drivers/ata/pata_hpt37x.c 	u8 rev = dev->revision;
rev               843 drivers/ata/pata_hpt37x.c 		if (rev < 3)
rev               846 drivers/ata/pata_hpt37x.c 		if (rev == 6)
rev               849 drivers/ata/pata_hpt37x.c 		switch (rev) {
rev               866 drivers/ata/pata_hpt37x.c 			       rev);
rev               872 drivers/ata/pata_hpt37x.c 		if (rev >= 2)
rev               879 drivers/ata/pata_hpt37x.c 		if (rev > 1)
rev               886 drivers/ata/pata_hpt37x.c 		if (rev > 1)
rev               494 drivers/ata/pata_hpt3x2n.c 	u8 rev = dev->revision;
rev               510 drivers/ata/pata_hpt3x2n.c 		if (rev < 6)
rev               515 drivers/ata/pata_hpt3x2n.c 		if (rev < 2)
rev               520 drivers/ata/pata_hpt3x2n.c 		if (rev < 2)
rev               525 drivers/ata/pata_hpt3x2n.c 		if (rev < 2)
rev               318 drivers/ata/pata_sl82c105.c 	int rev;
rev               325 drivers/ata/pata_sl82c105.c 	rev = sl82c105_bridge_revision(dev);
rev               327 drivers/ata/pata_sl82c105.c 	if (rev == -1)
rev               330 drivers/ata/pata_sl82c105.c 	else if (rev <= 5)
rev               613 drivers/ata/pata_via.c 			u8 rev = isa->revision;
rev               620 drivers/ata/pata_via.c 			if (rev >= config->rev_min && rev <= config->rev_max)
rev              1884 drivers/ata/sata_nv.c 	u8 rev;
rev              1905 drivers/ata/sata_nv.c 		pci_read_config_byte(pdev, 0x8, &rev);
rev              1906 drivers/ata/sata_nv.c 		if (rev <= 0xa2)
rev                43 drivers/bcma/driver_chipcommon.c 			WARN(bus->chipinfo.rev <= 1, "No watchdog available\n");
rev                64 drivers/bcma/driver_chipcommon.c 		else if (cc->core->id.rev < 26)
rev                67 drivers/bcma/driver_chipcommon.c 			nb = (cc->core->id.rev >= 37) ? 32 : 24;
rev               120 drivers/bcma/driver_chipcommon.c 	    bus->chipinfo.rev <= 1) {
rev               160 drivers/bcma/driver_chipcommon.c 	if (cc->core->id.rev == 38 ||
rev               178 drivers/bcma/driver_chipcommon.c 	if (cc->core->id.rev >= 11)
rev               181 drivers/bcma/driver_chipcommon.c 	if (cc->core->id.rev >= 35)
rev               203 drivers/bcma/driver_chipcommon.c 	if (cc->core->id.rev >= 20) {
rev               220 drivers/bcma/driver_chipcommon.c 	if (cc->core->id.rev >= 16) {
rev               351 drivers/bcma/driver_chipcommon.c 	if (cc->core->id.rev < 20)
rev               366 drivers/bcma/driver_chipcommon.c 	if (cc->core->id.rev < 20)
rev               382 drivers/bcma/driver_chipcommon.c 	unsigned int ccrev = cc->core->id.rev;
rev                24 drivers/bcma/driver_chipcommon_nflash.c 	    cc->core->id.rev != 38) {
rev                35 drivers/bcma/driver_chipcommon_nflash.c 	if (cc->core->id.rev == 38 &&
rev               142 drivers/bcma/driver_chipcommon_pmu.c 	if (cc->pmu.rev >= 2)
rev               220 drivers/bcma/driver_chipcommon_pmu.c 		else if (bus->chipinfo.rev > 0)
rev               251 drivers/bcma/driver_chipcommon_pmu.c 		if (bus->chipinfo.rev == 0) {
rev               275 drivers/bcma/driver_chipcommon_pmu.c 	if (cc->core->id.rev >= 35 &&
rev               285 drivers/bcma/driver_chipcommon_pmu.c 	cc->pmu.rev = (pmucap & BCMA_CC_PMU_CAP_REVISION);
rev               287 drivers/bcma/driver_chipcommon_pmu.c 	bcma_debug(bus, "Found rev %u PMU (capabilities 0x%08X)\n", cc->pmu.rev,
rev               293 drivers/bcma/driver_chipcommon_pmu.c 	if (cc->pmu.rev == 1)
rev               341 drivers/bcma/driver_chipcommon_pmu.c 			  bus->chipinfo.id, cc->pmu.rev, BCMA_CC_PMU_ALP_CLOCK);
rev               441 drivers/bcma/driver_chipcommon_pmu.c 			  bus->chipinfo.id, cc->pmu.rev, BCMA_CC_PMU_HT_CLOCK);
rev               456 drivers/bcma/driver_chipcommon_pmu.c 	if (cc->pmu.rev >= 5) {
rev                37 drivers/bcma/driver_mips.c 	       dev->bus->chipinfo.rev == 0 && dev->id.id == BCMA_CORE_MIPS_74K;
rev               205 drivers/bcma/driver_mips.c 	u8 cc_rev = cc->core->id.rev;
rev                70 drivers/bcma/driver_pci.c 	if (pc->core->id.rev >= 10) {
rev               113 drivers/bcma/driver_pci.c 	if (pc->core->id.rev >= 10) {
rev               269 drivers/bcma/driver_pci.c 	if (pc->core->id.rev >= 15 && pc->core->id.rev <= 20) {
rev               275 drivers/bcma/driver_pci.c 	} else if (pc->core->id.rev >= 21 && pc->core->id.rev <= 22) {
rev                72 drivers/bcma/driver_pcie2.c 	u8 core_rev = pcie2->core->id.rev;
rev               109 drivers/bcma/driver_pcie2.c 	u8 core_rev = pcie2->core->id.rev;
rev               147 drivers/bcma/driver_pcie2.c 	u8 core_rev = pcie2->core->id.rev;
rev               179 drivers/bcma/driver_pcie2.c 	if (ci->id == BCMA_CHIP_ID_BCM4360 && ci->rev > 3)
rev                50 drivers/bcma/main.c 	return sprintf(buf, "0x%02X\n", core->id.rev);
rev                52 drivers/bcma/main.c static DEVICE_ATTR_RO(rev);
rev               591 drivers/bcma/main.c 	for (did = adrv->id_table; did->manuf || did->id || did->rev; did++) {
rev               594 drivers/bcma/main.c 		(did->rev == cid->rev || did->rev == BCMA_ANY_REV) &&
rev               637 drivers/bcma/main.c 			      core->id.rev, core->id.class);
rev               306 drivers/bcma/scan.c 	core->id.rev = (cib & SCAN_CIB_REV) >> SCAN_CIB_REV_SHIFT;
rev               344 drivers/bcma/scan.c 	     (match->rev != BCMA_ANY_REV && match->rev != core->id.rev) ||
rev               453 drivers/bcma/scan.c 	chipinfo->rev = (tmp & BCMA_CC_ID_REV) >> BCMA_CC_ID_REV_SHIFT;
rev               459 drivers/bcma/scan.c 		  chip_id, chipinfo->rev, chipinfo->pkg);
rev               518 drivers/bcma/scan.c 			  core->id.manuf, core->id.id, core->id.rev,
rev               486 drivers/bcma/sprom.c 	if (bus->drv_cc.core->id.rev >= 31) {
rev              2491 drivers/block/mtip32xx/mtip32xx.c 	unsigned int rev, slotgroups;
rev              2507 drivers/block/mtip32xx/mtip32xx.c 		rev = (hwdata & HSORG_HWREV) >> 8;
rev              2512 drivers/block/mtip32xx/mtip32xx.c 			 rev,
rev               362 drivers/bluetooth/btbcm.c 	u16 subver, rev, pid, vid;
rev               380 drivers/bluetooth/btbcm.c 	rev = le16_to_cpu(ver->hci_rev);
rev               392 drivers/bluetooth/btbcm.c 	if (((rev & 0xf000) >> 12) > 3)
rev               423 drivers/bluetooth/btbcm.c 		    (subver & 0x1f00) >> 8, (subver & 0x00ff), rev & 0x0fff);
rev                42 drivers/bluetooth/hci_mrvl.c 	u8 id, rev;
rev               215 drivers/bluetooth/hci_mrvl.c 	mrvl->rev = version >> 8;
rev               217 drivers/bluetooth/hci_mrvl.c 	bt_dev_info(hdev, "Controller id = %x, rev = %x", mrvl->id, mrvl->rev);
rev                81 drivers/bus/mips_cdmm.c 	retval = add_uevent_var(env, "CDMM_REV=%u", cdev->rev);
rev               102 drivers/bus/mips_cdmm.c CDMM_ATTR(revision, "%u\n", dev->rev);
rev               501 drivers/bus/mips_cdmm.c 	unsigned int drb, type, size, rev;
rev               518 drivers/bus/mips_cdmm.c 		rev  = (acsr & CDMM_ACSR_DEVREV)  >> CDMM_ACSR_DEVREV_SHIFT;
rev               526 drivers/bus/mips_cdmm.c 			type, rev);
rev               538 drivers/bus/mips_cdmm.c 		dev->rev = rev;
rev                43 drivers/char/tpm/tpm_ppi.c 	     union acpi_object *argv4, u64 rev)
rev                47 drivers/char/tpm/tpm_ppi.c 				       rev, func, argv4, type);
rev                64 drivers/char/tpm/tpm_ppi.c 	u64 rev = TPM_PPI_REVISION_ID_2;
rev                68 drivers/char/tpm/tpm_ppi.c 		rev = TPM_PPI_REVISION_ID_1;
rev                71 drivers/char/tpm/tpm_ppi.c 			   ACPI_TYPE_PACKAGE, NULL, rev);
rev               122 drivers/char/tpm/tpm_ppi.c 	u64 rev = TPM_PPI_REVISION_ID_1;
rev               143 drivers/char/tpm/tpm_ppi.c 		rev = TPM_PPI_REVISION_ID_2;
rev               161 drivers/char/tpm/tpm_ppi.c 			   &argv4, rev);
rev                42 drivers/crypto/ccree/cc_driver.c 	enum cc_hw_rev rev;
rev                67 drivers/crypto/ccree/cc_driver.c 	.name = "703", .rev = CC_HW_REV_713, .cidr_0123 = 0xB105F00DU,
rev                72 drivers/crypto/ccree/cc_driver.c 	.name = "713", .rev = CC_HW_REV_713, .cidr_0123 = 0xB105F00DU,
rev                77 drivers/crypto/ccree/cc_driver.c 	.name = "712", .rev = CC_HW_REV_712, .sig =  0xDCC71200U,
rev                82 drivers/crypto/ccree/cc_driver.c 	.name = "710", .rev = CC_HW_REV_710, .sig =  0xDCC63200U,
rev                87 drivers/crypto/ccree/cc_driver.c 	.name = "630P", .rev = CC_HW_REV_630, .sig = 0xDCC63000U,
rev               286 drivers/crypto/ccree/cc_driver.c 	new_drvdata->hw_rev = hw_rev->rev;
rev               289 drivers/crypto/ccree/cc_driver.c 	if (hw_rev->rev >= CC_HW_REV_712) {
rev               377 drivers/crypto/ccree/cc_driver.c 	if (hw_rev->rev <= CC_HW_REV_712) {
rev              2089 drivers/crypto/omap-sham.c 	u32 rev;
rev              2154 drivers/crypto/omap-sham.c 	rev = omap_sham_read(dd, SHA_REG_REV(dd));
rev              2158 drivers/crypto/omap-sham.c 		(rev & dd->pdata->major_mask) >> dd->pdata->major_shift,
rev              2159 drivers/crypto/omap-sham.c 		(rev & dd->pdata->minor_mask) >> dd->pdata->minor_shift);
rev               570 drivers/dma/ste_dma40.c 	u8				  rev:4;
rev              2328 drivers/dma/ste_dma40.c 	if (d40c->base->rev < 3)
rev              2993 drivers/dma/ste_dma40.c 	if (base->rev != 1)
rev              3119 drivers/dma/ste_dma40.c 	u8 rev;
rev              3173 drivers/dma/ste_dma40.c 	rev = AMBA_REV_BITS(pid);
rev              3174 drivers/dma/ste_dma40.c 	if (rev < 2) {
rev              3175 drivers/dma/ste_dma40.c 		d40_err(&pdev->dev, "hardware revision: %d is not supported", rev);
rev              3195 drivers/dma/ste_dma40.c 		 rev, &res->start, num_phy_chans, num_log_chans);
rev              3204 drivers/dma/ste_dma40.c 	base->rev = rev;
rev              3231 drivers/dma/ste_dma40.c 		if (base->rev >= 3) {
rev                79 drivers/eisa/eisa-bus.c 	u16 rev;
rev               102 drivers/eisa/eisa-bus.c 	rev = (sig[2] << 8) | sig[3];
rev               103 drivers/eisa/eisa-bus.c 	sprintf(sig_str + 3, "%04X", rev);
rev              1385 drivers/extcon/extcon-arizona.c 		switch (arizona->rev) {
rev              1397 drivers/extcon/extcon-arizona.c 		switch (arizona->rev) {
rev                38 drivers/firmware/arm_scmi/base.c 	struct scmi_revision_info *rev = handle->version;
rev                48 drivers/firmware/arm_scmi/base.c 		rev->num_protocols = attr_info->num_protocols;
rev                49 drivers/firmware/arm_scmi/base.c 		rev->num_agents = attr_info->num_agents;
rev                72 drivers/firmware/arm_scmi/base.c 	struct scmi_revision_info *rev = handle->version;
rev                76 drivers/firmware/arm_scmi/base.c 		vendor_id = rev->sub_vendor_id;
rev                77 drivers/firmware/arm_scmi/base.c 		size = ARRAY_SIZE(rev->sub_vendor_id);
rev                80 drivers/firmware/arm_scmi/base.c 		vendor_id = rev->vendor_id;
rev                81 drivers/firmware/arm_scmi/base.c 		size = ARRAY_SIZE(rev->vendor_id);
rev               112 drivers/firmware/arm_scmi/base.c 	struct scmi_revision_info *rev = handle->version;
rev               122 drivers/firmware/arm_scmi/base.c 		rev->impl_ver = le32_to_cpu(*impl_ver);
rev               226 drivers/firmware/arm_scmi/base.c 	struct scmi_revision_info *rev = handle->version;
rev               236 drivers/firmware/arm_scmi/base.c 	rev->major_ver = PROTOCOL_REV_MAJOR(version),
rev               237 drivers/firmware/arm_scmi/base.c 	rev->minor_ver = PROTOCOL_REV_MINOR(version);
rev               247 drivers/firmware/arm_scmi/base.c 		 rev->major_ver, rev->minor_ver, rev->vendor_id,
rev               248 drivers/firmware/arm_scmi/base.c 		 rev->sub_vendor_id, rev->impl_ver);
rev               249 drivers/firmware/arm_scmi/base.c 	dev_dbg(dev, "Found %d protocol(s) %d agent(s)\n", rev->num_protocols,
rev               250 drivers/firmware/arm_scmi/base.c 		rev->num_agents);
rev               252 drivers/firmware/arm_scmi/base.c 	for (id = 0; id < rev->num_agents; id++) {
rev                96 drivers/firmware/pcdp.c 	printk(KERN_INFO "PCDP: v%d at 0x%lx\n", pcdp->rev, efi.hcdp);
rev                99 drivers/firmware/pcdp.c 		if (pcdp->rev < 3)
rev               106 drivers/firmware/pcdp.c 	if (pcdp->rev < 3 && efi_uart_console_only())
rev                98 drivers/firmware/pcdp.h 	u8			rev;		/* PCDP v2.0 is rev 3 */
rev               677 drivers/firmware/qemu_fw_cfg.c 	__le32 rev;
rev               703 drivers/firmware/qemu_fw_cfg.c 	err = fw_cfg_read_blob(FW_CFG_ID, &rev, 0, sizeof(rev));
rev               707 drivers/firmware/qemu_fw_cfg.c 	fw_cfg_rev = le32_to_cpu(rev);
rev                28 drivers/gpio/gpio-adp5588.c #define WA_DELAYED_READOUT_REVID(rev)	((rev) < 4)
rev               936 drivers/gpio/gpio-omap.c 	u32 rev;
rev               941 drivers/gpio/gpio-omap.c 	rev = readw_relaxed(bank->base + bank->regs->revision);
rev               943 drivers/gpio/gpio-omap.c 		(rev >> 4) & 0x0f, rev & 0x0f);
rev               282 drivers/gpu/drm/amd/amdgpu/amdgpu.h 	const u32 rev;
rev               561 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c 	.rev = 0,
rev               665 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 			u8 rev = *(u8 *)(mode_info->atom_context->bios + data_offset +
rev               674 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 			if (rev > 0) {
rev              1402 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c 	.rev = 0,
rev              1411 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c 	.rev = 0,
rev              1420 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c 	.rev = 0,
rev              1429 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c 	.rev = 0,
rev              2079 drivers/gpu/drm/amd/amdgpu/cik.c 	.rev = 0,
rev               454 drivers/gpu/drm/amd/amdgpu/cik_ih.c 	.rev = 0,
rev              1392 drivers/gpu/drm/amd/amdgpu/cik_sdma.c 	.rev = 0,
rev               435 drivers/gpu/drm/amd/amdgpu/cz_ih.c 	.rev = 0,
rev              3618 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	.rev = 0,
rev              3627 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	.rev = 0,
rev              3750 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	.rev = 0,
rev              3759 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	.rev = 0,
rev              3427 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	.rev = 0,
rev              3436 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	.rev = 0,
rev              3506 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	.rev = 0,
rev              3515 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	.rev = 0,
rev              3524 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	.rev = 0,
rev              3533 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	.rev = 0,
rev              3542 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	.rev = 0,
rev               760 drivers/gpu/drm/amd/amdgpu/dce_virtual.c 	.rev = 0,
rev              5488 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	.rev = 0,
rev              3630 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c 	.rev = 0,
rev              5167 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 	.rev = 0,
rev              5176 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 	.rev = 0,
rev              5185 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 	.rev = 0,
rev              5194 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 	.rev = 0,
rev              7189 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 	.rev = 0,
rev              7198 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 	.rev = 0,
rev              6525 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	.rev = 0,
rev              1009 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c 	.rev = 0,
rev              1180 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c 	.rev = 0,
rev              1371 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c 	.rev = 0,
rev              1380 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c 	.rev = 0,
rev              1739 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c 	.rev = 0,
rev              1748 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c 	.rev = 0,
rev              1757 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c 	.rev = 0,
rev              1645 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c 	.rev = 0,
rev               433 drivers/gpu/drm/amd/amdgpu/iceland_ih.c 	.rev = 0,
rev              3352 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 	.rev = 0,
rev               364 drivers/gpu/drm/amd/amdgpu/mes_v10_1.c 	.rev = 0,
rev               485 drivers/gpu/drm/amd/amdgpu/navi10_ih.c 	.rev = 0,
rev               380 drivers/gpu/drm/amd/amdgpu/nv.c 	.rev = 0,
rev              1280 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c 	.rev = 0,
rev              1718 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c 	.rev = 0,
rev              1727 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c 	.rev = 0,
rev              2545 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c 	.rev = 0,
rev              1761 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c 	.rev = 0,
rev              2120 drivers/gpu/drm/amd/amdgpu/si.c 	.rev = 0,
rev               854 drivers/gpu/drm/amd/amdgpu/si_dma.c 	.rev = 0,
rev              8047 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	.rev = 0,
rev               310 drivers/gpu/drm/amd/amdgpu/si_ih.c 	.rev = 0,
rev               664 drivers/gpu/drm/amd/amdgpu/soc15.c 	.rev = 0,
rev               487 drivers/gpu/drm/amd/amdgpu/tonga_ih.c 	.rev = 0,
rev               783 drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c 		.rev = 0,
rev               892 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c 		.rev = 0,
rev              1638 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c 		.rev = 0,
rev              1647 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c 		.rev = 0,
rev              1656 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c 		.rev = 0,
rev              1888 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c 		.rev = 0,
rev               651 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c 		.rev = 0,
rev               978 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c 	.rev = 0,
rev               987 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c 	.rev = 0,
rev               996 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c 	.rev = 0,
rev              1127 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c 	.rev = 0,
rev              2336 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c 		.rev = 0,
rev              2299 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c 		.rev = 0,
rev              1410 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c 		.rev = 0,
rev               723 drivers/gpu/drm/amd/amdgpu/vega10_ih.c 	.rev = 0,
rev              1047 drivers/gpu/drm/amd/amdgpu/vi.c #define CZ_REV_BRISTOL(rev)	 \
rev              1048 drivers/gpu/drm/amd/amdgpu/vi.c 	((rev >= 0xC8 && rev <= 0xCE) || (rev >= 0xE1 && rev <= 0xE6))
rev              1668 drivers/gpu/drm/amd/amdgpu/vi.c 	.rev = 0,
rev              1301 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	.rev = 0,
rev              2472 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c 	union dpcd_rev rev;
rev              2480 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c 	rev.raw  = 0;
rev              2483 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c 	st = core_link_read_dpcd(link, DP_DPCD_REV, &rev.raw,
rev              2484 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c 			sizeof(rev));
rev              2486 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c 	if (st == DC_OK && rev.raw >= DPCD_REV_12) {
rev                40 drivers/gpu/drm/amd/display/include/dal_asic_id.h #define ASIC_REV_IS_BONAIRE_M(rev) \
rev                41 drivers/gpu/drm/amd/display/include/dal_asic_id.h 	((rev >= CI_BONAIRE_M_A0) && (rev < CI_HAWAII_P_A0))
rev                43 drivers/gpu/drm/amd/display/include/dal_asic_id.h #define ASIC_REV_IS_HAWAII_P(rev) \
rev                44 drivers/gpu/drm/amd/display/include/dal_asic_id.h 	(rev >= CI_HAWAII_P_A0)
rev                70 drivers/gpu/drm/amd/display/include/dal_asic_id.h #define ASIC_REV_IS_KALINDI(rev) \
rev                71 drivers/gpu/drm/amd/display/include/dal_asic_id.h 	((rev >= KB_KALINDI_A0) && (rev < KV_UNKNOWN))
rev                73 drivers/gpu/drm/amd/display/include/dal_asic_id.h #define ASIC_REV_IS_BHAVANI(rev) \
rev                74 drivers/gpu/drm/amd/display/include/dal_asic_id.h 	((rev >= BV_KALINDI_A2) && (rev < ML_GODAVARI_A0))
rev                76 drivers/gpu/drm/amd/display/include/dal_asic_id.h #define ASIC_REV_IS_GODAVARI(rev) \
rev                77 drivers/gpu/drm/amd/display/include/dal_asic_id.h 	((rev >= ML_GODAVARI_A0) && (rev < KV_UNKNOWN))
rev               112 drivers/gpu/drm/amd/display/include/dal_asic_id.h #define ASIC_REV_IS_STONEY(rev) \
rev               113 drivers/gpu/drm/amd/display/include/dal_asic_id.h 	((rev >= STONEY_A0) && (rev < CZ_UNKNOWN))
rev               266 drivers/gpu/drm/amd/powerplay/amd_powerplay.c 	.rev = 0,
rev              1797 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c 	.rev = 0,
rev              1806 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c 	.rev = 0,
rev               254 drivers/gpu/drm/bridge/tc358767.c 	u32			rev;
rev              1597 drivers/gpu/drm/bridge/tc358767.c 	ret = regmap_read(tc->regmap, TC_IDREG, &tc->rev);
rev              1603 drivers/gpu/drm/bridge/tc358767.c 	if ((tc->rev != 0x6601) && (tc->rev != 0x6603)) {
rev              1604 drivers/gpu/drm/bridge/tc358767.c 		dev_err(tc->dev, "invalid device ID: 0x%08x\n", tc->rev);
rev              1608 drivers/gpu/drm/bridge/tc358767.c 	tc->assr = (tc->rev == 0x6601); /* Enable ASSR for eDP panels */
rev               574 drivers/gpu/drm/drm_dp_helper.c 	uint8_t rev[2];
rev               615 drivers/gpu/drm/drm_dp_helper.c 	len = drm_dp_dpcd_read(aux, DP_BRANCH_HW_REV, &rev[0], 1);
rev               618 drivers/gpu/drm/drm_dp_helper.c 			   (rev[0] & 0xf0) >> 4, rev[0] & 0xf);
rev               620 drivers/gpu/drm/drm_dp_helper.c 	len = drm_dp_dpcd_read(aux, DP_BRANCH_SW_REV, rev, 2);
rev               622 drivers/gpu/drm/drm_dp_helper.c 		seq_printf(m, "\t\tSW: %d.%d\n", rev[0], rev[1]);
rev              4727 drivers/gpu/drm/drm_edid.c 		      base->rev, base->bytes, base->prod_id, base->ext_count);
rev              5450 drivers/gpu/drm/drm_edid.c 			      block->tag, block->rev, block->num_bytes);
rev               168 drivers/gpu/drm/etnaviv/etnaviv_gpu.c #define etnaviv_is_model_rev(gpu, mod, rev) \
rev               170 drivers/gpu/drm/etnaviv/etnaviv_gpu.c 	 (gpu)->identity.revision == rev)
rev               359 drivers/gpu/drm/i2c/sil164_drv.c 	int rev = sil164_read(client, SIL164_REVISION);
rev               363 drivers/gpu/drm/i2c/sil164_drv.c 			   vendor, device, rev);
rev               368 drivers/gpu/drm/i2c/sil164_drv.c 		    vendor, device, rev);
rev                53 drivers/gpu/drm/i2c/tda998x_drv.c 	u16 rev;
rev              1290 drivers/gpu/drm/i2c/tda998x_drv.c 	if (priv->rev == TDA19988)
rev              1295 drivers/gpu/drm/i2c/tda998x_drv.c 	if (priv->rev == TDA19988)
rev              1378 drivers/gpu/drm/i2c/tda998x_drv.c 	if (mode->clock > ((priv->rev == TDA19988) ? 165000 : 150000))
rev              1619 drivers/gpu/drm/i2c/tda998x_drv.c 	if (priv->rev == TDA19988) {
rev              1848 drivers/gpu/drm/i2c/tda998x_drv.c 	priv->rev = rev_lo | rev_hi << 8;
rev              1851 drivers/gpu/drm/i2c/tda998x_drv.c 	priv->rev &= ~0x30; /* not-hdcp and not-scalar bit */
rev              1853 drivers/gpu/drm/i2c/tda998x_drv.c 	switch (priv->rev) {
rev              1867 drivers/gpu/drm/i2c/tda998x_drv.c 		dev_err(dev, "found unsupported device: %04x\n", priv->rev);
rev              1878 drivers/gpu/drm/i2c/tda998x_drv.c 	if (priv->rev == TDA19989)
rev               173 drivers/gpu/drm/i915/display/intel_lspcon.c 	u8 rev;
rev               176 drivers/gpu/drm/i915/display/intel_lspcon.c 			      &rev) != 1) {
rev               182 drivers/gpu/drm/i915/display/intel_lspcon.c 		      rev >> 4, rev & 0xf);
rev                89 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c 	u8 rev; /* first platform rev using this FW */
rev                96 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c 	.rev = revid_, \
rev               102 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c __uc_fw_auto_select(struct intel_uc_fw *uc_fw, enum intel_platform p, u8 rev)
rev               110 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c 		if (p == fw_blobs[i].p && rev >= fw_blobs[i].rev) {
rev               127 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c 			    fw_blobs[i].rev < fw_blobs[i - 1].rev)
rev               132 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c 			       fw_blobs[i - 1].rev,
rev               134 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c 			       fw_blobs[i].rev);
rev               192 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c 			    enum intel_platform platform, u8 rev)
rev               205 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c 		__uc_fw_auto_select(uc_fw, platform, rev);
rev               231 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h 			    enum intel_platform platform, u8 rev);
rev               101 drivers/gpu/drm/msm/adreno/a4xx_gpu.c 	if (adreno_is_a430(adreno_gpu) && adreno_gpu->rev.patchid < 2)
rev               182 drivers/gpu/drm/msm/adreno/a5xx_power.c 	config |= adreno_gpu->rev.patchid << AGC_LM_CONFIG_GPU_VERSION_SHIFT;
rev               610 drivers/gpu/drm/msm/adreno/a6xx_gmu.c 	chipid = adreno_gpu->rev.core << 24;
rev               611 drivers/gpu/drm/msm/adreno/a6xx_gmu.c 	chipid |= adreno_gpu->rev.major << 16;
rev               612 drivers/gpu/drm/msm/adreno/a6xx_gmu.c 	chipid |= adreno_gpu->rev.minor << 12;
rev               613 drivers/gpu/drm/msm/adreno/a6xx_gmu.c 	chipid |= adreno_gpu->rev.patchid << 8;
rev                19 drivers/gpu/drm/msm/adreno/adreno_device.c 		.rev   = ADRENO_REV(2, 0, 0, 0),
rev                30 drivers/gpu/drm/msm/adreno/adreno_device.c 		.rev   = ADRENO_REV(2, 0, 0, 1),
rev                41 drivers/gpu/drm/msm/adreno/adreno_device.c 		.rev   = ADRENO_REV(2, 2, 0, ANY_ID),
rev                52 drivers/gpu/drm/msm/adreno/adreno_device.c 		.rev   = ADRENO_REV(3, 0, 5, ANY_ID),
rev                63 drivers/gpu/drm/msm/adreno/adreno_device.c 		.rev   = ADRENO_REV(3, 0, 6, 0),
rev                74 drivers/gpu/drm/msm/adreno/adreno_device.c 		.rev   = ADRENO_REV(3, 2, ANY_ID, ANY_ID),
rev                85 drivers/gpu/drm/msm/adreno/adreno_device.c 		.rev   = ADRENO_REV(3, 3, 0, ANY_ID),
rev                96 drivers/gpu/drm/msm/adreno/adreno_device.c 		.rev   = ADRENO_REV(4, 2, 0, ANY_ID),
rev               107 drivers/gpu/drm/msm/adreno/adreno_device.c 		.rev   = ADRENO_REV(4, 3, 0, ANY_ID),
rev               118 drivers/gpu/drm/msm/adreno/adreno_device.c 		.rev = ADRENO_REV(5, 3, 0, 2),
rev               137 drivers/gpu/drm/msm/adreno/adreno_device.c 		.rev = ADRENO_REV(5, 4, 0, 2),
rev               155 drivers/gpu/drm/msm/adreno/adreno_device.c 		.rev = ADRENO_REV(6, 3, 0, ANY_ID),
rev               191 drivers/gpu/drm/msm/adreno/adreno_device.c const struct adreno_info *adreno_info(struct adreno_rev rev)
rev               198 drivers/gpu/drm/msm/adreno/adreno_device.c 		if (_rev_match(info->rev.core, rev.core) &&
rev               199 drivers/gpu/drm/msm/adreno/adreno_device.c 				_rev_match(info->rev.major, rev.major) &&
rev               200 drivers/gpu/drm/msm/adreno/adreno_device.c 				_rev_match(info->rev.minor, rev.minor) &&
rev               201 drivers/gpu/drm/msm/adreno/adreno_device.c 				_rev_match(info->rev.patchid, rev.patchid))
rev               272 drivers/gpu/drm/msm/adreno/adreno_device.c static int find_chipid(struct device *dev, struct adreno_rev *rev)
rev               286 drivers/gpu/drm/msm/adreno/adreno_device.c 			rev->core = r / 100;
rev               288 drivers/gpu/drm/msm/adreno/adreno_device.c 			rev->major = r / 10;
rev               290 drivers/gpu/drm/msm/adreno/adreno_device.c 			rev->minor = r;
rev               291 drivers/gpu/drm/msm/adreno/adreno_device.c 			rev->patchid = patch;
rev               304 drivers/gpu/drm/msm/adreno/adreno_device.c 	rev->core = (chipid >> 24) & 0xff;
rev               305 drivers/gpu/drm/msm/adreno/adreno_device.c 	rev->major = (chipid >> 16) & 0xff;
rev               306 drivers/gpu/drm/msm/adreno/adreno_device.c 	rev->minor = (chipid >> 8) & 0xff;
rev               307 drivers/gpu/drm/msm/adreno/adreno_device.c 	rev->patchid = (chipid & 0xff);
rev               311 drivers/gpu/drm/msm/adreno/adreno_device.c 		rev->core, rev->major, rev->minor, rev->patchid);
rev               325 drivers/gpu/drm/msm/adreno/adreno_device.c 	ret = find_chipid(dev, &config.rev);
rev               332 drivers/gpu/drm/msm/adreno/adreno_device.c 	info = adreno_info(config.rev);
rev               336 drivers/gpu/drm/msm/adreno/adreno_device.c 			config.rev.core, config.rev.major,
rev               337 drivers/gpu/drm/msm/adreno/adreno_device.c 			config.rev.minor, config.rev.patchid);
rev               341 drivers/gpu/drm/msm/adreno/adreno_device.c 	DBG("Found GPU: %u.%u.%u.%u", config.rev.core, config.rev.major,
rev               342 drivers/gpu/drm/msm/adreno/adreno_device.c 		config.rev.minor, config.rev.patchid);
rev               344 drivers/gpu/drm/msm/adreno/adreno_device.c 	priv->is_a2xx = config.rev.core == 2;
rev               174 drivers/gpu/drm/msm/adreno/adreno_gpu.c 		*value = adreno_gpu->rev.patchid |
rev               175 drivers/gpu/drm/msm/adreno/adreno_gpu.c 				(adreno_gpu->rev.minor << 8) |
rev               176 drivers/gpu/drm/msm/adreno/adreno_gpu.c 				(adreno_gpu->rev.major << 16) |
rev               177 drivers/gpu/drm/msm/adreno/adreno_gpu.c 				(adreno_gpu->rev.core << 24);
rev               705 drivers/gpu/drm/msm/adreno/adreno_gpu.c 			adreno_gpu->info->revn, adreno_gpu->rev.core,
rev               706 drivers/gpu/drm/msm/adreno/adreno_gpu.c 			adreno_gpu->rev.major, adreno_gpu->rev.minor,
rev               707 drivers/gpu/drm/msm/adreno/adreno_gpu.c 			adreno_gpu->rev.patchid);
rev               763 drivers/gpu/drm/msm/adreno/adreno_gpu.c 			adreno_gpu->info->revn, adreno_gpu->rev.core,
rev               764 drivers/gpu/drm/msm/adreno/adreno_gpu.c 			adreno_gpu->rev.major, adreno_gpu->rev.minor,
rev               765 drivers/gpu/drm/msm/adreno/adreno_gpu.c 			adreno_gpu->rev.patchid);
rev               905 drivers/gpu/drm/msm/adreno/adreno_gpu.c 	adreno_gpu->info = adreno_info(config->rev);
rev               908 drivers/gpu/drm/msm/adreno/adreno_gpu.c 	adreno_gpu->rev = config->rev;
rev                72 drivers/gpu/drm/msm/adreno/adreno_gpu.h 	struct adreno_rev rev;
rev                83 drivers/gpu/drm/msm/adreno/adreno_gpu.h const struct adreno_info *adreno_info(struct adreno_rev rev);
rev                87 drivers/gpu/drm/msm/adreno/adreno_gpu.h 	struct adreno_rev rev;
rev               131 drivers/gpu/drm/msm/adreno/adreno_gpu.h 	struct adreno_rev rev;
rev               191 drivers/gpu/drm/msm/adreno/adreno_gpu.h 	return adreno_is_a330(gpu) && (gpu->rev.patchid > 0);
rev                24 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h #define DPU_HW_MAJOR(rev)		((rev) >> 28)
rev                25 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h #define DPU_HW_MINOR(rev)		(((rev) >> 16) & 0xFFF)
rev                26 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h #define DPU_HW_STEP(rev)		((rev) & 0xFFFF)
rev                27 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h #define DPU_HW_MAJOR_MINOR(rev)		((rev) >> 16)
rev                43 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h #define IS_MSM8996_TARGET(rev) IS_DPU_MAJOR_MINOR_SAME((rev), DPU_HW_VER_170)
rev                44 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h #define IS_MSM8998_TARGET(rev) IS_DPU_MAJOR_MINOR_SAME((rev), DPU_HW_VER_300)
rev                45 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h #define IS_SDM845_TARGET(rev) IS_DPU_MAJOR_MINOR_SAME((rev), DPU_HW_VER_400)
rev                46 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h #define IS_SDM670_TARGET(rev) IS_DPU_MAJOR_MINOR_SAME((rev), DPU_HW_VER_410)
rev                47 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h #define IS_SDM855_TARGET(rev) IS_DPU_MAJOR_MINOR_SAME((rev), DPU_HW_VER_500)
rev                68 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h #define IS_UBWC_20_SUPPORTED(rev)       ((rev) >= DPU_HW_UBWC_VER_20)
rev                44 drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c 	mdp4_kms->rev = minor;
rev                46 drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c 	if (mdp4_kms->rev > 1) {
rev                58 drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c 	if ((mdp4_kms->rev >= 1) || (clk >= 90000000)) {
rev                76 drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c 	if (mdp4_kms->rev >= 2)
rev                88 drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c 	if (mdp4_kms->rev > 1)
rev               483 drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c 	if (mdp4_kms->rev >= 2) {
rev                24 drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.h 	int rev;
rev               685 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c 	int rev = mdp5_cfg_get_hw_rev(cfg_hnd);
rev               739 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c 	if ((rev >= 3) && (dsi_cnt > 1)) {
rev               122 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c 	int rev = mdp5_cfg_get_hw_rev(mdp5_kms->cfg);
rev               137 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c 	if ((rev > 0) && (format->chroma_sample > CHROMA_FULL)) {
rev               157 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c 		if (rev == 0)
rev               949 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 	u32 rev = 0;
rev               953 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 	rev = (val >> FUSE_RESERVED_CALIB0_FUSE_REV_SHIFT) &
rev               958 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 	if (rev == 0)
rev                95 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c 	int rev;
rev               106 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c 	rev = (version & 0xf0) << 4 | (version & 0x0f);
rev               107 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c 	obj = acpi_evaluate_dsm(handle, &muid, rev, 0x00000010, &argv4);
rev              4758 drivers/gpu/drm/omapdrm/dss/dispc.c 	u32 rev;
rev              4829 drivers/gpu/drm/omapdrm/dss/dispc.c 	rev = dispc_read_reg(dispc, DISPC_REVISION);
rev              4831 drivers/gpu/drm/omapdrm/dss/dispc.c 	       FLD_GET(rev, 7, 4), FLD_GET(rev, 3, 0));
rev              5050 drivers/gpu/drm/omapdrm/dss/dsi.c 	u32 rev;
rev              5061 drivers/gpu/drm/omapdrm/dss/dsi.c 	rev = dsi_read_reg(dsi, DSI_REVISION);
rev              5063 drivers/gpu/drm/omapdrm/dss/dsi.c 	       FLD_GET(rev, 7, 4), FLD_GET(rev, 3, 0));
rev              1362 drivers/gpu/drm/omapdrm/dss/dss.c 	u32 rev;
rev              1387 drivers/gpu/drm/omapdrm/dss/dss.c 	rev = dss_read_reg(dss, DSS_REVISION);
rev              1388 drivers/gpu/drm/omapdrm/dss/dss.c 	pr_info("OMAP DSS rev %d.%d\n", FLD_GET(rev, 7, 4), FLD_GET(rev, 3, 0));
rev               198 drivers/gpu/drm/panfrost/panfrost_gpu.c 	u32 gpu_id, num_js, major, minor, status, rev;
rev               253 drivers/gpu/drm/panfrost/panfrost_gpu.c 	rev = pfdev->features.revision;
rev               267 drivers/gpu/drm/panfrost/panfrost_gpu.c 			if (model->revs[i].revision == rev) {
rev               270 drivers/gpu/drm/panfrost/panfrost_gpu.c 			} else if (model->revs[i].revision == (rev & ~0xf))
rev              1257 drivers/gpu/drm/radeon/r600_dpm.c 			u8 rev = *(u8 *)(mode_info->atom_context->bios + data_offset +
rev              1266 drivers/gpu/drm/radeon/r600_dpm.c 			if (rev > 0) {
rev               136 drivers/gpu/drm/radeon/radeon_combios.c 	int rev, size;
rev               251 drivers/gpu/drm/radeon/radeon_combios.c 			rev = RBIOS8(check_offset);
rev               252 drivers/gpu/drm/radeon/radeon_combios.c 			if (rev > 0) {
rev               263 drivers/gpu/drm/radeon/radeon_combios.c 			rev = RBIOS8(check_offset);
rev               264 drivers/gpu/drm/radeon/radeon_combios.c 			if (rev > 0) {
rev               275 drivers/gpu/drm/radeon/radeon_combios.c 			rev = RBIOS8(check_offset);
rev               276 drivers/gpu/drm/radeon/radeon_combios.c 			if (rev > 0) {
rev               287 drivers/gpu/drm/radeon/radeon_combios.c 			rev = RBIOS8(check_offset);
rev               288 drivers/gpu/drm/radeon/radeon_combios.c 			if (rev == 2) {
rev               740 drivers/gpu/drm/radeon/radeon_combios.c 	int8_t rev;
rev               745 drivers/gpu/drm/radeon/radeon_combios.c 		rev = RBIOS8(pll_info);
rev               755 drivers/gpu/drm/radeon/radeon_combios.c 		if (rev > 9) {
rev               770 drivers/gpu/drm/radeon/radeon_combios.c 		if (rev > 10) {
rev               785 drivers/gpu/drm/radeon/radeon_combios.c 		if (rev > 10) {
rev               868 drivers/gpu/drm/radeon/radeon_combios.c 	uint8_t rev, bg, dac;
rev               881 drivers/gpu/drm/radeon/radeon_combios.c 		rev = RBIOS8(dac_info) & 0x3;
rev               882 drivers/gpu/drm/radeon/radeon_combios.c 		if (rev < 2) {
rev              1019 drivers/gpu/drm/radeon/radeon_combios.c 	uint8_t rev, bg, dac;
rev              1030 drivers/gpu/drm/radeon/radeon_combios.c 		rev = RBIOS8(dac_info + 0x3);
rev              1031 drivers/gpu/drm/radeon/radeon_combios.c 		if (rev > 4) {
rev              1046 drivers/gpu/drm/radeon/radeon_combios.c 		} else if (rev > 1) {
rev              1069 drivers/gpu/drm/radeon/radeon_combios.c 			rev = RBIOS8(dac_info) & 0x3;
rev              1070 drivers/gpu/drm/radeon/radeon_combios.c 			if (rev < 2) {
rev              2284 drivers/gpu/drm/radeon/radeon_combios.c 		uint8_t rev = RBIOS8(ext_tmds_info);
rev              2286 drivers/gpu/drm/radeon/radeon_combios.c 		if (rev >= 3) {
rev              2641 drivers/gpu/drm/radeon/radeon_combios.c 	u8 rev, blocks, tmp;
rev              2669 drivers/gpu/drm/radeon/radeon_combios.c 		rev = RBIOS8(offset);
rev              2671 drivers/gpu/drm/radeon/radeon_combios.c 		if (rev == 0) {
rev              2675 drivers/gpu/drm/radeon/radeon_combios.c 		} else if (rev == 1) {
rev              2679 drivers/gpu/drm/radeon/radeon_combios.c 		} else if (rev == 2) {
rev              2733 drivers/gpu/drm/radeon/radeon_combios.c 			rev = RBIOS8(offset);
rev              2745 drivers/gpu/drm/radeon/radeon_combios.c 			if (rev > 4)
rev              2758 drivers/gpu/drm/radeon/radeon_combios.c 				if (rev < 6) {
rev              2794 drivers/gpu/drm/radeon/radeon_combios.c 			if (rev > 6)
rev              2890 drivers/gpu/drm/radeon/radeon_combios.c 	uint8_t blocks, slave_addr, rev;
rev              2900 drivers/gpu/drm/radeon/radeon_combios.c 		rev = RBIOS8(offset);
rev              2902 drivers/gpu/drm/radeon/radeon_combios.c 			rev = RBIOS8(offset);
rev              2903 drivers/gpu/drm/radeon/radeon_combios.c 			if (rev > 1) {
rev              3266 drivers/gpu/drm/radeon/radeon_combios.c 	uint8_t rev;
rev              3278 drivers/gpu/drm/radeon/radeon_combios.c 		rev = RBIOS8(offset);
rev              3279 drivers/gpu/drm/radeon/radeon_combios.c 		if (rev < 3) {
rev              3292 drivers/gpu/drm/radeon/radeon_combios.c 			rev = RBIOS8(offset - 1);
rev              3293 drivers/gpu/drm/radeon/radeon_combios.c 			if (rev < 1) {
rev                83 drivers/gpu/drm/tilcdc/tilcdc_crtc.c 	if (priv->rev == 1)
rev               118 drivers/gpu/drm/tilcdc/tilcdc_crtc.c 	if (priv->rev == 1)
rev               134 drivers/gpu/drm/tilcdc/tilcdc_crtc.c 	if (priv->rev == 1)
rev               146 drivers/gpu/drm/tilcdc/tilcdc_crtc.c 	if (priv->rev == 1) {
rev               165 drivers/gpu/drm/tilcdc/tilcdc_crtc.c 	if (priv->rev == 1) {
rev               184 drivers/gpu/drm/tilcdc/tilcdc_crtc.c 	if (priv->rev != 2)
rev               262 drivers/gpu/drm/tilcdc/tilcdc_crtc.c 	if (priv->rev == 2)
rev               335 drivers/gpu/drm/tilcdc/tilcdc_crtc.c 	if (priv->rev == 2) {
rev               348 drivers/gpu/drm/tilcdc/tilcdc_crtc.c 	if (priv->rev == 2)
rev               363 drivers/gpu/drm/tilcdc/tilcdc_crtc.c 	if (priv->rev == 2) {
rev               381 drivers/gpu/drm/tilcdc/tilcdc_crtc.c 	if (priv->rev == 2) {
rev               721 drivers/gpu/drm/tilcdc/tilcdc_crtc.c 	if (priv->rev == 1)
rev               723 drivers/gpu/drm/tilcdc/tilcdc_crtc.c 	else if (priv->rev == 2)
rev               921 drivers/gpu/drm/tilcdc/tilcdc_crtc.c 		if (priv->rev == 1)
rev               933 drivers/gpu/drm/tilcdc/tilcdc_crtc.c 		if (priv->rev == 1) {
rev               960 drivers/gpu/drm/tilcdc/tilcdc_crtc.c 		if (priv->rev == 1)
rev               966 drivers/gpu/drm/tilcdc/tilcdc_crtc.c 	if (priv->rev == 2) {
rev               295 drivers/gpu/drm/tilcdc/tilcdc_drv.c 		priv->rev = 1;
rev               299 drivers/gpu/drm/tilcdc/tilcdc_drv.c 		priv->rev = 2;
rev               305 drivers/gpu/drm/tilcdc/tilcdc_drv.c 		priv->rev = 1;
rev               311 drivers/gpu/drm/tilcdc/tilcdc_drv.c 	if (priv->rev == 1) {
rev               422 drivers/gpu/drm/tilcdc/tilcdc_drv.c 	uint8_t  rev;
rev               426 drivers/gpu/drm/tilcdc/tilcdc_drv.c #define REG(rev, save, reg) { #reg, rev, save, reg }
rev               462 drivers/gpu/drm/tilcdc/tilcdc_drv.c 	seq_printf(m, "revision: %d\n", priv->rev);
rev               465 drivers/gpu/drm/tilcdc/tilcdc_drv.c 		if (priv->rev >= registers[i].rev)
rev                45 drivers/gpu/drm/tilcdc/tilcdc_drv.h 	int rev;                 /* IP revision */
rev               160 drivers/gpu/drm/tilcdc/tilcdc_regs.h 	return (priv->rev == 2) ? LCDC_MASKED_STAT_REG : LCDC_STAT_REG;
rev               573 drivers/hwmon/gl518sm.c 	int rev;
rev               585 drivers/hwmon/gl518sm.c 	rev = gl518_read_value(client, GL518_REG_REVISION);
rev               586 drivers/hwmon/gl518sm.c 	if (rev != 0x00 && rev != 0x80)
rev               812 drivers/hwmon/lm87.c 	u8 cid, rev;
rev               822 drivers/hwmon/lm87.c 	rev = lm87_read_value(client, LM87_REG_REVISION);
rev               825 drivers/hwmon/lm87.c 	 && (rev >= 0x01 && rev <= 0x08))
rev               828 drivers/hwmon/lm87.c 	      && (rev & 0xf0) == 0x10)
rev               441 drivers/hwmon/lm95245.c 	int rev, id;
rev               450 drivers/hwmon/lm95245.c 	rev = i2c_smbus_read_byte_data(new_client, LM95245_REG_R_CHIP_ID);
rev               451 drivers/hwmon/lm95245.c 	switch (rev) {
rev               292 drivers/hwmon/smsc47b397.c 	u8 id, rev;
rev               319 drivers/hwmon/smsc47b397.c 	rev = superio_inb(SUPERIO_REG_DEVREV);
rev               326 drivers/hwmon/smsc47b397.c 		name, addr, rev);
rev               442 drivers/hwtracing/coresight/coresight-platform.c 	const union acpi_object *rev, *nr_graphs;
rev               448 drivers/hwtracing/coresight/coresight-platform.c 	rev = &graph->package.elements[0];
rev               451 drivers/hwtracing/coresight/coresight-platform.c 	if (rev->type != ACPI_TYPE_INTEGER ||
rev               456 drivers/hwtracing/coresight/coresight-platform.c 	if (rev->integer.value != 0)
rev              1158 drivers/i2c/busses/i2c-img-scb.c 	u32 rev;
rev              1165 drivers/i2c/busses/i2c-img-scb.c 	rev = img_i2c_readl(i2c, SCB_CORE_REV_REG);
rev              1166 drivers/i2c/busses/i2c-img-scb.c 	if ((rev & 0x00ffffff) < 0x00020200) {
rev              1169 drivers/i2c/busses/i2c-img-scb.c 			 (rev >> 24) & 0xff, (rev >> 16) & 0xff,
rev              1170 drivers/i2c/busses/i2c-img-scb.c 			 (rev >> 8) & 0xff, rev & 0xff);
rev               201 drivers/i2c/busses/i2c-omap.c 	u32			rev;
rev               289 drivers/i2c/busses/i2c-omap.c 	if (omap->rev >= OMAP_I2C_REV_ON_3430_3530)
rev               314 drivers/i2c/busses/i2c-omap.c 	if (omap->rev >= OMAP_I2C_OMAP1_REV_2) {
rev               340 drivers/i2c/busses/i2c-omap.c 		if (omap->rev > OMAP_I2C_REV_ON_3430_3530) {
rev               358 drivers/i2c/busses/i2c-omap.c 	if (omap->rev >= OMAP_I2C_REV_ON_3430_3530) {
rev               472 drivers/i2c/busses/i2c-omap.c 	if (omap->rev <= OMAP_I2C_REV_ON_3430_3530) {
rev               635 drivers/i2c/busses/i2c-omap.c 	if (omap->rev < OMAP_I2C_REV_ON_3630)
rev              1226 drivers/i2c/busses/i2c-omap.c 	.rev = OMAP_I2C_IP_VERSION_1,
rev              1234 drivers/i2c/busses/i2c-omap.c 	.rev = OMAP_I2C_IP_VERSION_1,
rev              1240 drivers/i2c/busses/i2c-omap.c 	.rev = OMAP_I2C_IP_VERSION_1,
rev              1245 drivers/i2c/busses/i2c-omap.c 	.rev = OMAP_I2C_IP_VERSION_2,
rev              1270 drivers/i2c/busses/i2c-omap.c #define OMAP_I2C_SCHEME(rev)		((rev & 0xc000) >> 14)
rev              1272 drivers/i2c/busses/i2c-omap.c #define OMAP_I2C_REV_SCHEME_0_MAJOR(rev) (rev >> 4)
rev              1273 drivers/i2c/busses/i2c-omap.c #define OMAP_I2C_REV_SCHEME_0_MINOR(rev) (rev & 0xf)
rev              1275 drivers/i2c/busses/i2c-omap.c #define OMAP_I2C_REV_SCHEME_1_MAJOR(rev) ((rev & 0x0700) >> 7)
rev              1276 drivers/i2c/busses/i2c-omap.c #define OMAP_I2C_REV_SCHEME_1_MINOR(rev) (rev & 0x1f)
rev              1365 drivers/i2c/busses/i2c-omap.c 	u32 rev;
rev              1421 drivers/i2c/busses/i2c-omap.c 	rev = readw_relaxed(omap->base + 0x04);
rev              1423 drivers/i2c/busses/i2c-omap.c 	omap->scheme = OMAP_I2C_SCHEME(rev);
rev              1427 drivers/i2c/busses/i2c-omap.c 		omap->rev = omap_i2c_read_reg(omap, OMAP_I2C_REV_REG);
rev              1428 drivers/i2c/busses/i2c-omap.c 		minor = OMAP_I2C_REV_SCHEME_0_MAJOR(omap->rev);
rev              1429 drivers/i2c/busses/i2c-omap.c 		major = OMAP_I2C_REV_SCHEME_0_MAJOR(omap->rev);
rev              1435 drivers/i2c/busses/i2c-omap.c 		rev = (rev << 16) |
rev              1437 drivers/i2c/busses/i2c-omap.c 		minor = OMAP_I2C_REV_SCHEME_1_MINOR(rev);
rev              1438 drivers/i2c/busses/i2c-omap.c 		major = OMAP_I2C_REV_SCHEME_1_MAJOR(rev);
rev              1439 drivers/i2c/busses/i2c-omap.c 		omap->rev = rev;
rev              1444 drivers/i2c/busses/i2c-omap.c 	if (omap->rev >= OMAP_I2C_REV_ON_2430 &&
rev              1445 drivers/i2c/busses/i2c-omap.c 			omap->rev < OMAP_I2C_REV_ON_4430_PLUS)
rev              1448 drivers/i2c/busses/i2c-omap.c 	if (omap->rev <= OMAP_I2C_REV_ON_3430_3530)
rev              1466 drivers/i2c/busses/i2c-omap.c 		if (omap->rev < OMAP_I2C_REV_ON_3630)
rev              1478 drivers/i2c/busses/i2c-omap.c 	if (omap->rev < OMAP_I2C_OMAP1_REV_2)
rev              1556 drivers/i2c/busses/i2c-omap.c 	if (omap->rev < OMAP_I2C_OMAP1_REV_2) {
rev                89 drivers/i2c/busses/i2c-via.c 	u8 rev;
rev                97 drivers/i2c/busses/i2c-via.c 	pci_read_config_byte(dev, PM_CFG_REVID, &rev);
rev                99 drivers/i2c/busses/i2c-via.c 	switch (rev) {
rev               538 drivers/ide/alim15x3.c 	u8 rev = dev->revision, idx = id->driver_data;
rev               541 drivers/ide/alim15x3.c 	if (rev <= 0xC4)
rev               544 drivers/ide/alim15x3.c 	if (rev >= 0x20) {
rev               545 drivers/ide/alim15x3.c 		if (rev == 0x20)
rev               548 drivers/ide/alim15x3.c 		if (rev < 0xC2)
rev               550 drivers/ide/alim15x3.c 		else if (rev == 0xC2 || rev == 0xC3)
rev               552 drivers/ide/alim15x3.c 		else if (rev == 0xC4)
rev              1409 drivers/ide/hpt366.c 	u8 rev = dev->revision;
rev              1417 drivers/ide/hpt366.c 		if (rev < 3)
rev              1420 drivers/ide/hpt366.c 			switch (min_t(u8, rev, 6)) {
rev              1430 drivers/ide/hpt366.c 		info = (rev > 1) ? &hpt372n : &hpt372a;
rev              1433 drivers/ide/hpt366.c 		info = (rev > 1) ? &hpt302n : &hpt302;
rev              1437 drivers/ide/hpt366.c 		info = (rev > 1) ? &hpt371n : &hpt371;
rev               458 drivers/ide/siimage.c 	u8 rev = dev->revision, tmp;
rev               460 drivers/ide/siimage.c 	pci_write_config_byte(dev, PCI_CACHE_LINE_SIZE, rev ? 1 : 255);
rev               321 drivers/ide/sl82c105.c 	u8 rev = sl82c105_bridge_revision(dev);
rev               323 drivers/ide/sl82c105.c 	if (rev <= 5) {
rev               329 drivers/ide/sl82c105.c 				 "revision %d, BM-DMA disabled\n", rev);
rev               180 drivers/iio/imu/adis16480.c 	u16 rev;
rev               183 drivers/iio/imu/adis16480.c 	ret = adis_read_reg_16(&adis16480->adis, ADIS16480_REG_FIRM_REV, &rev);
rev               187 drivers/iio/imu/adis16480.c 	len = scnprintf(buf, sizeof(buf), "%x.%x\n", rev >> 8, rev & 0xff);
rev                77 drivers/iio/light/vcnl4000.c 	int rev;
rev               126 drivers/iio/light/vcnl4000.c 	data->rev = ret & 0xf;
rev               156 drivers/iio/light/vcnl4000.c 	data->rev = (ret >> 8) & 0xf;
rev               386 drivers/iio/light/vcnl4000.c 		data->chip_spec->prod, data->rev);
rev               751 drivers/infiniband/hw/i40iw/i40iw_cm.c 	mpa_frame->rev = cm_node->mpa_frame_rev;
rev               936 drivers/infiniband/hw/i40iw/i40iw_cm.c 	if (mpa_frame->rev != IETF_MPA_V1 && mpa_frame->rev != IETF_MPA_V2) {
rev               937 drivers/infiniband/hw/i40iw/i40iw_cm.c 		i40iw_pr_err("unsupported mpa rev = %d\n", mpa_frame->rev);
rev               940 drivers/infiniband/hw/i40iw/i40iw_cm.c 	if (mpa_frame->rev > cm_node->mpa_frame_rev) {
rev               941 drivers/infiniband/hw/i40iw/i40iw_cm.c 		i40iw_pr_err("rev %d\n", mpa_frame->rev);
rev               944 drivers/infiniband/hw/i40iw/i40iw_cm.c 	cm_node->mpa_frame_rev = mpa_frame->rev;
rev               968 drivers/infiniband/hw/i40iw/i40iw_cm.c 	switch (mpa_frame->rev) {
rev                86 drivers/infiniband/hw/i40iw/i40iw_cm.h 	u8 rev;
rev               101 drivers/infiniband/hw/i40iw/i40iw_cm.h 	u8 rev;
rev               362 drivers/infiniband/hw/qib/qib_qsfp.c 	ret = qsfp_read(ppd, QSFP_REV_OFFS, &cp->rev, QSFP_REV_LEN);
rev               366 drivers/infiniband/hw/qib/qib_qsfp.c 		cks += cp->rev[idx];
rev               521 drivers/infiniband/hw/qib/qib_qsfp.c 			   QSFP_REV_LEN, cd.rev);
rev               162 drivers/infiniband/hw/qib/qib_qsfp.h 	u8 rev[QSFP_REV_LEN];
rev                47 drivers/infiniband/sw/siw/iwarp.h static inline void __mpa_rr_set_revision(__be16 *bits, u8 rev)
rev                50 drivers/infiniband/sw/siw/iwarp.h 		(cpu_to_be16(rev) & MPA_RR_MASK_REVISION);
rev                55 drivers/infiniband/sw/siw/iwarp.h 	__be16 rev = mpa_rr_bits & MPA_RR_MASK_REVISION;
rev                57 drivers/infiniband/sw/siw/iwarp.h 	return be16_to_cpu(rev);
rev               242 drivers/input/gameport/lightning.c 	int i, rev, result;
rev               265 drivers/input/gameport/lightning.c 	rev = inb(L4_PORT);
rev               267 drivers/input/gameport/lightning.c 	if (!rev)
rev               275 drivers/input/gameport/lightning.c 		card_no ? "secondary" : "primary", rev >> 4, rev, L4_PORT);
rev               280 drivers/input/gameport/lightning.c 		if (rev > 0x28)		/* on 2.9+ the setcal command works correctly */
rev               530 drivers/input/joystick/sidewinder.c 	char pnp[8], rev[9];
rev               536 drivers/input/joystick/sidewinder.c 		rev[i] = sw_get_bits(buf, 88+8*i, 8, 1);
rev               538 drivers/input/joystick/sidewinder.c 	pnp[7] = rev[8] = 0;
rev               545 drivers/input/joystick/sidewinder.c 		 pnp, rev);
rev                38 drivers/input/keyboard/adp5588-keys.c #define WA_DELAYED_READOUT_REVID(rev)		((rev) < 4)
rev               329 drivers/input/keyboard/cap11xx.c 	unsigned int val, rev;
rev               373 drivers/input/keyboard/cap11xx.c 	error = regmap_read(priv->regmap, CAP11XX_REG_REVISION, &rev);
rev               377 drivers/input/keyboard/cap11xx.c 	dev_info(dev, "CAP11XX detected, revision 0x%02x\n", rev);
rev               434 drivers/input/keyboard/cap11xx.c 	priv->idev->id.version = rev;
rev               232 drivers/input/keyboard/omap4-keypad.c 	int rev;
rev               285 drivers/input/keyboard/omap4-keypad.c 	rev = __raw_readl(keypad_data->base + OMAP4_KBD_REVISION);
rev               286 drivers/input/keyboard/omap4-keypad.c 	rev &= 0x03 << 30;
rev               287 drivers/input/keyboard/omap4-keypad.c 	rev >>= 30;
rev               288 drivers/input/keyboard/omap4-keypad.c 	switch (rev) {
rev               299 drivers/input/keyboard/omap4-keypad.c 			"Keypad reports unsupported revision %d", rev);
rev               312 drivers/input/keyboard/qt2160.c 	int id, ver, rev;
rev               329 drivers/input/keyboard/qt2160.c 	rev = qt2160_read(client, QT2160_CMD_SUBVER);
rev               330 drivers/input/keyboard/qt2160.c 	if (rev < 0) {
rev               336 drivers/input/keyboard/qt2160.c 			ver >> 4, ver & 0xf, rev);
rev               279 drivers/input/misc/cma3000_d0x.c 	int rev;
rev               344 drivers/input/misc/cma3000_d0x.c 	rev = CMA3000_READ(data, CMA3000_REVID, "Revid");
rev               345 drivers/input/misc/cma3000_d0x.c 	if (rev < 0) {
rev               346 drivers/input/misc/cma3000_d0x.c 		error = rev;
rev               350 drivers/input/misc/cma3000_d0x.c 	pr_info("CMA3000 Accelerometer: Revision %x\n", rev);
rev               285 drivers/input/mouse/sentelic.c static int fsp_get_revision(struct psmouse *psmouse, int *rev)
rev               287 drivers/input/mouse/sentelic.c 	if (fsp_reg_read(psmouse, FSP_REG_REVISION, rev))
rev              1015 drivers/input/mouse/sentelic.c 	int ver, rev, sn = 0;
rev              1019 drivers/input/mouse/sentelic.c 	    fsp_get_revision(psmouse, &rev)) {
rev              1029 drivers/input/mouse/sentelic.c 		     ver >> 4, ver & 0x0F, rev, sn, fsp_drv_ver);
rev              1036 drivers/input/mouse/sentelic.c 	priv->rev = rev;
rev                96 drivers/input/mouse/sentelic.h 	unsigned char	rev;		/* hardware revison */
rev              1110 drivers/isdn/hardware/mISDN/hfcmulti.c 	u_long			flags, val, val2 = 0, rev;
rev              1133 drivers/isdn/hardware/mISDN/hfcmulti.c 	rev = HFC_inb(hc, R_CHIP_RV);
rev              1136 drivers/isdn/hardware/mISDN/hfcmulti.c 	       val, rev, (rev == 0 && (hc->ctype != HFC_TYPE_XHFC)) ?
rev              1138 drivers/isdn/hardware/mISDN/hfcmulti.c 	if (hc->ctype != HFC_TYPE_XHFC && rev == 0) {
rev              1147 drivers/isdn/hardware/mISDN/hfcmulti.c 	if (rev > 1) {
rev              1150 drivers/isdn/hardware/mISDN/hfcmulti.c 		       "bridge may not work.\n", rev);
rev               102 drivers/mcb/mcb-internal.h 	unsigned int rev:6;
rev                60 drivers/mcb/mcb-parse.c 	mdev->rev = GDD_REV(reg1);
rev                71 drivers/media/common/b2c2/flexcop-common.h 	flexcop_revision_t rev;
rev                16 drivers/media/common/b2c2/flexcop-misc.c 		fc->rev = FLEXCOP_II;
rev                20 drivers/media/common/b2c2/flexcop-misc.c 		fc->rev = FLEXCOP_IIB;
rev                24 drivers/media/common/b2c2/flexcop-misc.c 		fc->rev = FLEXCOP_III;
rev                71 drivers/media/common/b2c2/flexcop-misc.c 			flexcop_revision_names[fc->rev], suffix);
rev                17 drivers/media/common/b2c2/flexcop-sram.c 	switch (fc->rev) {
rev                37 drivers/media/common/b2c2/flexcop-sram.c 	if (fc->rev != FLEXCOP_III && target == FC_SRAM_DEST_TARGET_FC3_CA) {
rev               753 drivers/media/dvb-frontends/au8522_decoder.c 	state->rev = 0;
rev                65 drivers/media/dvb-frontends/au8522_priv.h 	u32 rev;
rev                36 drivers/media/dvb-frontends/cx24113.c 	u8 rev;
rev               142 drivers/media/dvb-frontends/cx24113.c 	if (state->rev == REV_CX24113) {
rev               223 drivers/media/dvb-frontends/cx24113.c 	if (state->rev == 0x43 && state->vcodiv == VCODIV4)
rev               235 drivers/media/dvb-frontends/cx24113.c 	if (state->rev == REV_CX24113)
rev               283 drivers/media/dvb-frontends/cx24113.c 	if (state->rev == 0x43 && state->vcodiv == VCODIV4)
rev               303 drivers/media/dvb-frontends/cx24113.c 	if (state->rev == REV_CX24113) {
rev               566 drivers/media/dvb-frontends/cx24113.c 	state->rev = rc;
rev               576 drivers/media/dvb-frontends/cx24113.c 		cx_err("unsupported device id: %x\n", state->rev);
rev              2061 drivers/media/dvb-frontends/mb86a20s.c 	u8	rev;
rev              2080 drivers/media/dvb-frontends/mb86a20s.c 	rev = mb86a20s_readreg(state, 0);
rev              2081 drivers/media/dvb-frontends/mb86a20s.c 	if (rev != 0x13) {
rev              2085 drivers/media/dvb-frontends/mb86a20s.c 		       rev);
rev              3445 drivers/media/i2c/adv7842.c 	u16 rev;
rev              3479 drivers/media/i2c/adv7842.c 	rev = adv_smbus_read_byte_data_check(client, 0xea, false) << 8 |
rev              3481 drivers/media/i2c/adv7842.c 	if (rev != 0x2012) {
rev              3482 drivers/media/i2c/adv7842.c 		v4l2_info(sd, "got rev=0x%04x on first read attempt\n", rev);
rev              3483 drivers/media/i2c/adv7842.c 		rev = adv_smbus_read_byte_data_check(client, 0xea, false) << 8 |
rev              3486 drivers/media/i2c/adv7842.c 	if (rev != 0x2012) {
rev              3488 drivers/media/i2c/adv7842.c 			  client->addr << 1, rev);
rev              5959 drivers/media/i2c/cx25840/cx25840-core.c 	state->rev = device_id;
rev                91 drivers/media/i2c/cx25840/cx25840-core.h 	u32 rev;
rev                86 drivers/media/i2c/smiapp/smiapp.h #define SMIAPP_IDENT_FQ(manufacturer, model, rev, fl, _name, _quirk)	\
rev                89 drivers/media/i2c/smiapp/smiapp.h 	  .revision_number_major = rev,					\
rev                94 drivers/media/i2c/smiapp/smiapp.h #define SMIAPP_IDENT_LQ(manufacturer, model, rev, _name, _quirk)	\
rev                97 drivers/media/i2c/smiapp/smiapp.h 	  .revision_number_major = rev,					\
rev               102 drivers/media/i2c/smiapp/smiapp.h #define SMIAPP_IDENT_L(manufacturer, model, rev, _name)			\
rev               105 drivers/media/i2c/smiapp/smiapp.h 	  .revision_number_major = rev,					\
rev               109 drivers/media/i2c/smiapp/smiapp.h #define SMIAPP_IDENT_Q(manufacturer, model, rev, _name, _quirk)		\
rev               112 drivers/media/i2c/smiapp/smiapp.h 	  .revision_number_major = rev,					\
rev               117 drivers/media/i2c/smiapp/smiapp.h #define SMIAPP_IDENT(manufacturer, model, rev, _name)			\
rev               120 drivers/media/i2c/smiapp/smiapp.h 	  .revision_number_major = rev,					\
rev              1241 drivers/media/i2c/tvaudio.c 	int dic, rev;
rev              1246 drivers/media/i2c/tvaudio.c 	rev = chip_read2(chip, 255);
rev              1247 drivers/media/i2c/tvaudio.c 	if (rev < 0)
rev              1252 drivers/media/i2c/tvaudio.c 			dic == 0 ? "" : "A", rev);
rev                91 drivers/media/pci/cobalt/cobalt-cpld.c 	u32 rev = cpld_read(cobalt, 0x30);
rev                93 drivers/media/pci/cobalt/cobalt-cpld.c 	switch (rev) {
rev               100 drivers/media/pci/cobalt/cobalt-cpld.c 		cobalt_info("CPLD revision %u is not supported!\n", rev);
rev              1305 drivers/media/pci/cx18/cx18-av-core.c 	state->rev = cx18_av_read4(cx, CXADEC_CHIP_CTRL) & 0xffff;
rev              1318 drivers/media/pci/cx18/cx18-av-core.c 		 "%s %03x", cx->v4l2_dev.name, (state->rev >> 4));
rev                93 drivers/media/pci/cx18/cx18-av-core.h 	u32 rev;
rev              2428 drivers/media/pci/cx23885/cx23885-cards.c 			cinfo.rev = netup_card_rev;
rev              2430 drivers/media/pci/cx23885/cx23885-cards.c 		switch (cinfo.rev) {
rev              2439 drivers/media/pci/cx23885/cx23885-cards.c 			cinfo.rev, filename);
rev                86 drivers/media/pci/cx23885/netup-eeprom.c 	cinfo->rev =  netup_eeprom_read(i2c_adap, 63);
rev                20 drivers/media/pci/cx23885/netup-eeprom.h 	u8 rev;/* card revision */
rev               122 drivers/media/pci/netup_unidvb/netup_unidvb.h 	enum netup_hw_rev		rev;
rev               157 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 	if (ndev->rev == NETUP_HW_REV_1_4)
rev               385 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 	if (ndev->rev == NETUP_HW_REV_1_3)
rev               433 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 	if (ndev->rev == NETUP_HW_REV_1_3) {
rev               469 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 	if (ndev->rev == NETUP_HW_REV_1_3) {
rev               802 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 		ndev->rev = NETUP_HW_REV_1_3;
rev               804 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 		ndev->rev = NETUP_HW_REV_1_4;
rev               808 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 		__func__, pci_dev->device, ndev->rev);
rev               698 drivers/media/pci/pt3/pt3.c 	u8 rev;
rev               704 drivers/media/pci/pt3/pt3.c 	if (pci_read_config_byte(pdev, PCI_REVISION_ID, &rev) || rev != 1)
rev               201 drivers/memory/pl172.c 	static const char *rev = "?";
rev               207 drivers/memory/pl172.c 			rev = pl172_revisions[amba_rev(adev)];
rev               210 drivers/memory/pl172.c 			rev = pl175_revisions[amba_rev(adev)];
rev               213 drivers/memory/pl172.c 			rev = pl176_revisions[amba_rev(adev)];
rev               216 drivers/memory/pl172.c 	dev_info(dev, "ARM PL%x revision %s\n", amba_part(adev), rev);
rev              1178 drivers/mfd/arizona-core.c 			  &arizona->rev);
rev              1183 drivers/mfd/arizona-core.c 	arizona->rev &= ARIZONA_DEVICE_REVISION_MASK;
rev              1197 drivers/mfd/arizona-core.c 			arizona->rev &= 0x7;
rev              1301 drivers/mfd/arizona-core.c 	dev_info(dev, "%s revision %c\n", type_name, arizona->rev + 'A');
rev               230 drivers/mfd/arizona-irq.c 		switch (arizona->rev) {
rev               318 drivers/mfd/cs47l85-tables.c 	switch (madera->rev) {
rev               278 drivers/mfd/lochnagar-i2c.c 	unsigned int devid, rev;
rev               334 drivers/mfd/lochnagar-i2c.c 	rev = val & LOCHNAGAR_REV_ID_MASK;
rev               361 drivers/mfd/lochnagar-i2c.c 		 config->name, devid, rev + 1, firmwareid);
rev                62 drivers/mfd/lp873x.c 	lp873->rev = otpid & LP873X_OTP_REV_OTP_ID;
rev                69 drivers/mfd/lp87565.c 	lp87565->rev = otpid & LP87565_OTP_REV_OTP_ID;
rev               643 drivers/mfd/madera-core.c 			  &madera->rev);
rev               648 drivers/mfd/madera-core.c 	madera->rev &= MADERA_HW_REVISION_MASK;
rev               651 drivers/mfd/madera-core.c 		 madera->rev);
rev              1149 drivers/mfd/menelaus.c 	int			rev = 0;
rev              1170 drivers/mfd/menelaus.c 	rev = menelaus_read_reg(MENELAUS_REV);
rev              1171 drivers/mfd/menelaus.c 	if (rev < 0) {
rev              1200 drivers/mfd/menelaus.c 	pr_info("Menelaus rev %d.%d\n", rev >> 4, rev & 0x0f);
rev                63 drivers/mfd/motorola-cpcap.c 	u16 vendor, rev;
rev                70 drivers/mfd/motorola-cpcap.c 	ret = cpcap_get_revision(&cpcap->spi->dev, cpcap->regmap, &rev);
rev                76 drivers/mfd/motorola-cpcap.c 		 CPCAP_REVISION_MAJOR(rev), CPCAP_REVISION_MINOR(rev),
rev                77 drivers/mfd/motorola-cpcap.c 		 rev);
rev                79 drivers/mfd/motorola-cpcap.c 	if (rev < CPCAP_REVISION_2_1) {
rev               522 drivers/mfd/qcom-pm8xxx.c 	u32 rev;
rev               547 drivers/mfd/qcom-pm8xxx.c 	rev = val;
rev               557 drivers/mfd/qcom-pm8xxx.c 	rev |= val << BITS_PER_BYTE;
rev                82 drivers/mfd/sm501.c 	unsigned int			 rev;
rev               532 drivers/mfd/sm501.c 		if (sm->rev >= 0xC0) {
rev               649 drivers/mfd/sm501.c 		if (sm->rev >= 0xC0) {
rev              1336 drivers/mfd/sm501.c 	sm->rev = devid & SM501_DEVICEID_REVMASK;
rev                37 drivers/mfd/smsc-ece1099.c 	int devid, rev, venid_l, venid_h;
rev                56 drivers/mfd/smsc-ece1099.c 	regmap_read(smsc->regmap, SMSC_DEV_REV, &rev);
rev                61 drivers/mfd/smsc-ece1099.c 		devid, rev, (venid_h << 8) | venid_l);
rev               327 drivers/mfd/tps65218.c 	tps->rev = chipid & TPS65218_CHIPID_REV_MASK;
rev               161 drivers/mfd/tqmx86.c 	u8 board_id, rev, i2c_det, i2c_ien, io_ext_int_val;
rev               192 drivers/mfd/tqmx86.c 	rev = ioread8(io_base + TQMX86_REG_BOARD_REV);
rev               196 drivers/mfd/tqmx86.c 		 board_name, board_id, rev >> 4, rev & 0xf);
rev               706 drivers/mfd/twl6040.c 	twl6040->rev = twl6040_reg_read(twl6040, TWL6040_REG_ASICREV);
rev               707 drivers/mfd/twl6040.c 	if (twl6040->rev < 0) {
rev               709 drivers/mfd/twl6040.c 			twl6040->rev);
rev               710 drivers/mfd/twl6040.c 		ret = twl6040->rev;
rev                83 drivers/mfd/wm5102-tables.c 	switch (arizona->rev) {
rev               262 drivers/mfd/wm5110-tables.c 	switch (arizona->rev) {
rev              1865 drivers/mfd/wm5110-tables.c 	switch (arizona->rev) {
rev              1632 drivers/mfd/wm831x-core.c 	int rev, wm831x_num;
rev              1662 drivers/mfd/wm831x-core.c 	rev = (ret & WM831X_PARENT_REV_MASK) >> WM831X_PARENT_REV_SHIFT;
rev              1683 drivers/mfd/wm831x-core.c 		if (rev > 0) {
rev              1688 drivers/mfd/wm831x-core.c 		dev_info(wm831x->dev, "WM8310 revision %c\n", 'A' + rev);
rev              1695 drivers/mfd/wm831x-core.c 		if (rev > 0) {
rev              1700 drivers/mfd/wm831x-core.c 		dev_info(wm831x->dev, "WM8311 revision %c\n", 'A' + rev);
rev              1707 drivers/mfd/wm831x-core.c 		if (rev > 0) {
rev              1712 drivers/mfd/wm831x-core.c 		dev_info(wm831x->dev, "WM8312 revision %c\n", 'A' + rev);
rev              1718 drivers/mfd/wm831x-core.c 		dev_info(wm831x->dev, "WM8320 revision %c\n", 'A' + rev);
rev              1724 drivers/mfd/wm831x-core.c 		dev_info(wm831x->dev, "WM8321 revision %c\n", 'A' + rev);
rev              1730 drivers/mfd/wm831x-core.c 		dev_info(wm831x->dev, "WM8325 revision %c\n", 'A' + rev);
rev              1736 drivers/mfd/wm831x-core.c 		dev_info(wm831x->dev, "WM8326 revision %c\n", 'A' + rev);
rev                30 drivers/mfd/wm8997-tables.c 	switch (arizona->rev) {
rev              1556 drivers/mmc/core/core.c 	    (arg == MMC_TRIM_ARG && card->ext_csd.rev >= 6)) {
rev               391 drivers/mmc/core/mmc.c 	card->ext_csd.rev = ext_csd[EXT_CSD_REV];
rev               400 drivers/mmc/core/mmc.c 	if (card->ext_csd.rev >= 2) {
rev               421 drivers/mmc/core/mmc.c 	if (card->ext_csd.rev >= 3) {
rev               472 drivers/mmc/core/mmc.c 	if (card->ext_csd.rev >= 4) {
rev               521 drivers/mmc/core/mmc.c 	if (card->ext_csd.rev >= 5) {
rev               584 drivers/mmc/core/mmc.c 	if (card->ext_csd.rev >= 6) {
rev               621 drivers/mmc/core/mmc.c 	if (card->ext_csd.rev >= 7) {
rev               636 drivers/mmc/core/mmc.c 	if (card->ext_csd.rev >= 8) {
rev               711 drivers/mmc/core/mmc.c 		(card->ext_csd.rev ==
rev               780 drivers/mmc/core/mmc.c MMC_DEV_ATTR(rev, "0x%x\n", card->ext_csd.rev);
rev               801 drivers/mmc/core/mmc.c 	if (card->ext_csd.rev < 7) {
rev              1686 drivers/mmc/core/mmc.c 	if (card->ext_csd.rev >= 3) {
rev              1729 drivers/mmc/core/mmc.c 	if (card->ext_csd.rev >= 6) {
rev              1889 drivers/mmc/core/mmc.c 	return (card && card->ext_csd.rev >= 3);
rev               152 drivers/mmc/core/quirks.h 	u64 rev = cid_rev_card(card);
rev               167 drivers/mmc/core/quirks.h 		     f->ext_csd_rev == card->ext_csd.rev) &&
rev               168 drivers/mmc/core/quirks.h 		    rev >= f->rev_start && rev <= f->rev_end) {
rev               142 drivers/mtd/devices/bcm47xxsflash.c 	if (b47s->bcma_cc->core->id.rev < 20) {
rev               322 drivers/mtd/devices/bcm47xxsflash.c 	if (b47s->bcma_cc->core->id.rev == 54)
rev               618 drivers/mtd/nand/raw/mpc5121_nfc.c 	int rev, len;
rev               624 drivers/mtd/nand/raw/mpc5121_nfc.c 	rev = (mfspr(SPRN_SVR) >> 4) & 0xF;
rev               625 drivers/mtd/nand/raw/mpc5121_nfc.c 	if ((rev != 2) && (rev != 3)) {
rev               626 drivers/mtd/nand/raw/mpc5121_nfc.c 		dev_err(dev, "SoC revision %u is not supported!\n", rev);
rev               948 drivers/net/can/ifi_canfd/ifi_canfd.c 	u32 id, rev;
rev               962 drivers/net/can/ifi_canfd/ifi_canfd.c 	rev = readl(addr + IFI_CANFD_VER) & IFI_CANFD_VER_REV_MASK;
rev               963 drivers/net/can/ifi_canfd/ifi_canfd.c 	if (rev < IFI_CANFD_VER_REV_MIN_SUPPORTED) {
rev               965 drivers/net/can/ifi_canfd/ifi_canfd.c 			rev, IFI_CANFD_VER_REV_MIN_SUPPORTED);
rev              1062 drivers/net/dsa/bcm_sf2.c 	u32 reg, rev;
rev              1194 drivers/net/dsa/bcm_sf2.c 	rev = reg_readl(priv, REG_SWITCH_REVISION);
rev              1195 drivers/net/dsa/bcm_sf2.c 	priv->hw_params.top_rev = (rev >> SWITCH_TOP_REV_SHIFT) &
rev              1197 drivers/net/dsa/bcm_sf2.c 	priv->hw_params.core_rev = (rev & SF2_REV_MASK);
rev              1199 drivers/net/dsa/bcm_sf2.c 	rev = reg_readl(priv, REG_PHY_REVISION);
rev              1200 drivers/net/dsa/bcm_sf2.c 	priv->hw_params.gphy_rev = rev & PHY_REVISION_MASK;
rev              4826 drivers/net/dsa/mv88e6xxx/chip.c 	unsigned int prod_num, rev;
rev              4837 drivers/net/dsa/mv88e6xxx/chip.c 	rev = id & MV88E6XXX_PORT_SWITCH_ID_REV_MASK;
rev              4851 drivers/net/dsa/mv88e6xxx/chip.c 		 chip->info->prod_num, chip->info->name, rev);
rev               408 drivers/net/dsa/vitesse-vsc73xx-core.c 	u32 rev;
rev               445 drivers/net/dsa/vitesse-vsc73xx-core.c 	rev = (val >> VSC73XX_CHIPID_REV_SHIFT) &
rev               447 drivers/net/dsa/vitesse-vsc73xx-core.c 	dev_info(vsc->dev, "VSC%04X (rev: %d) switch found\n", id, rev);
rev                67 drivers/net/ethernet/altera/altera_tse_ethtool.c 	u32 rev = ioread32(&priv->mac_dev->megacore_revision);
rev                72 drivers/net/ethernet/altera/altera_tse_ethtool.c 		 rev & 0xFFFF, (rev & 0xFFFF0000) >> 16);
rev               290 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c 		char rev[XGBE_SFP_BASE_VENDOR_REV_LEN + 1];
rev              1239 drivers/net/ethernet/apple/bmac.c 	int j, rev, ret;
rev              1288 drivers/net/ethernet/apple/bmac.c 	rev = addr[0] == 0 && addr[1] == 0xA0;
rev              1290 drivers/net/ethernet/apple/bmac.c 		dev->dev_addr[j] = rev ? bitrev8(addr[j]): addr[j];
rev               115 drivers/net/ethernet/apple/mace.c 	int j, rev, rc = -EBUSY;
rev               168 drivers/net/ethernet/apple/mace.c 	rev = addr[0] == 0 && addr[1] == 0xA0;
rev               170 drivers/net/ethernet/apple/mace.c 		dev->dev_addr[j] = rev ? bitrev8(addr[j]): addr[j];
rev                41 drivers/net/ethernet/atheros/alx/hw.c static inline bool alx_is_rev_a(u8 rev)
rev                43 drivers/net/ethernet/atheros/alx/hw.c 	return rev == ALX_REV_A0 || rev == ALX_REV_A1;
rev               335 drivers/net/ethernet/atheros/alx/hw.c static void alx_reset_osc(struct alx_hw *hw, u8 rev)
rev               349 drivers/net/ethernet/atheros/alx/hw.c 	if (rev >= ALX_REV_B0) {
rev               366 drivers/net/ethernet/atheros/alx/hw.c 		if (alx_is_rev_a(rev))
rev               405 drivers/net/ethernet/atheros/alx/hw.c 	u8 rev;
rev               409 drivers/net/ethernet/atheros/alx/hw.c 	rev = alx_hw_revision(hw);
rev               410 drivers/net/ethernet/atheros/alx/hw.c 	a_cr = alx_is_rev_a(rev) && alx_hw_with_cr(hw);
rev               463 drivers/net/ethernet/atheros/alx/hw.c 	alx_reset_osc(hw, rev);
rev               474 drivers/net/ethernet/atheros/alx/hw.c 	if (alx_is_rev_a(rev))
rev               562 drivers/net/ethernet/atheros/alx/hw.c 	u8 rev = alx_hw_revision(hw);
rev               587 drivers/net/ethernet/atheros/alx/hw.c 	if (alx_is_rev_a(rev) && alx_hw_with_cr(hw)) {
rev               647 drivers/net/ethernet/atheros/alx/hw.c 	u8 rev = alx_hw_revision(hw);
rev               668 drivers/net/ethernet/atheros/alx/hw.c 	if (alx_is_rev_a(rev) && alx_hw_with_cr(hw))
rev              1036 drivers/net/ethernet/atheros/alx/main.c 	int rev = alx_hw_revision(hw);
rev              1038 drivers/net/ethernet/atheros/alx/main.c 	if (rev > ALX_REV_C0)
rev              1041 drivers/net/ethernet/atheros/alx/main.c 	hw->max_dma_chnl = rev >= ALX_REV_B0 ? 4 : 2;
rev              2553 drivers/net/ethernet/broadcom/bcmsysport.c 	priv->rev = topctrl_readl(priv, REV_CNTL) & REV_MASK;
rev              2558 drivers/net/ethernet/broadcom/bcmsysport.c 		 (priv->rev >> 8) & 0xff, priv->rev & 0xff,
rev               769 drivers/net/ethernet/broadcom/bcmsysport.h 	u16			rev;
rev               277 drivers/net/ethernet/broadcom/bgmac-bcma.c 	if (!bgmac_is_bcm4707_family(core) && core->id.rev > 2)
rev               285 drivers/net/ethernet/broadcom/bgmac-bcma.c 	if (core->id.rev >= 4) {
rev              16257 drivers/net/ethernet/broadcom/tg3.c 			u32	rev;
rev              16279 drivers/net/ethernet/broadcom/tg3.c 			if (pci_id->rev != PCI_ANY_ID) {
rev              16280 drivers/net/ethernet/broadcom/tg3.c 				if (bridge->revision > pci_id->rev)
rev               841 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c 			     oct->fw_info.ver.rev);
rev              3487 drivers/net/ethernet/cavium/liquidio/lio_main.c 		octeon_dev->fw_info.ver.rev = micro;
rev              3736 drivers/net/ethernet/cavium/liquidio/lio_main.c 					     octeon_dev->fw_info.ver.rev);
rev               295 drivers/net/ethernet/cavium/liquidio/octeon_device.h 		u8  rev;
rev               299 drivers/net/ethernet/cavium/liquidio/octeon_device.h #define OCT_FW_VER(maj, min, rev) \
rev               300 drivers/net/ethernet/cavium/liquidio/octeon_device.h 	(((u32)(maj) << 16) | ((u32)(min) << 8) | ((u32)(rev)))
rev               717 drivers/net/ethernet/cavium/liquidio/octeon_device.h 	u16 rev = (oct->rev_id & 0xC) >> 2;
rev               719 drivers/net/ethernet/cavium/liquidio/octeon_device.h 	return (rev == 0) ? 1 : rev;
rev               398 drivers/net/ethernet/chelsio/cxgb3/common.h 	unsigned int rev;	/* chip revision */
rev               660 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 	if (adap->params.rev > 0 && !(adap->flags & USING_MSI))
rev               742 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 	if (val && adap->params.rev == 0)
rev              1102 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 	char rev = 0;
rev              1104 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 	switch(adapter->params.rev) {
rev              1107 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 		rev = 'b';
rev              1110 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 		rev = 'c';
rev              1113 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 	return rev;
rev              1122 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 	char rev;
rev              1124 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 	rev = t3rev2char(adap);
rev              1125 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 	if (!rev)
rev              1128 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 	snprintf(buf, sizeof(buf), TPSRAM_NAME, rev);
rev              1185 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 	if (adapter->params.rev > 0) {
rev              1290 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 	if (adap->params.rev >= T3_REV_C && !(adap->flags & TP_PARITY_INIT) &&
rev              1371 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 		     adapter->params.rev == 0 ?
rev              1750 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 	regs->version = 3 | (ap->params.rev << 10) | (is_pcie(ap) << 31);
rev              2230 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 				if (adapter->params.rev == 0 &&
rev              2475 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 		t.version = 3 | (adapter->params.rev << 10);
rev              2567 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 	if (adapter->params.rev == 0 && offload_running(adapter))
rev              2739 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 	if (p->rev == T3_REV_B2)
rev              3093 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 	if (adap->params.rev > 0 && adap->flags & USING_MSIX) {
rev              3165 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 			    is_offload(adap) ? "R" : "", adap->params.rev, buf,
rev              1330 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 	switch (adapter->params.rev) {
rev               233 drivers/net/ethernet/chelsio/cxgb3/mc5.c 		     adap->params.rev == 0 ? V_RDLAT(0xd) | V_SRCHLAT(0x11) :
rev              2846 drivers/net/ethernet/chelsio/cxgb3/sge.c 	if (adap->params.rev > 0)
rev              2969 drivers/net/ethernet/chelsio/cxgb3/sge.c 	lock = adap->params.rev > 0 ?
rev              2978 drivers/net/ethernet/chelsio/cxgb3/sge.c 	if (adap->params.rev < 4) {
rev              3322 drivers/net/ethernet/chelsio/cxgb3/sge.c 	if (adap->params.rev > 0) {
rev              3333 drivers/net/ethernet/chelsio/cxgb3/sge.c 		     adap->params.rev < T3_REV_C ? 1000 : 500);
rev              3360 drivers/net/ethernet/chelsio/cxgb3/sge.c 		q->polling = adap->params.rev > 0;
rev               748 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	if (adapter->params.rev == 0 && !vpd.port0_data[0]) {
rev               986 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	if (adapter->params.rev == T3_REV_A)
rev              1276 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	if (link_ok != lc->link_ok && adapter->params.rev > 0 &&
rev              1308 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	if (adapter->params.rev > 0 && uses_xaui(adapter))
rev              1607 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 				  adapter->params.rev < T3_REV_C ?
rev              1825 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 		if (adapter->params.rev > 0)
rev              2014 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 		     adapter->params.rev >= T3_REV_C ? 0x2bfffff : 0x3bfffff);
rev              2016 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	if (adapter->params.rev > 0) {
rev              2508 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 		if (adapter->params.rev > 0)
rev              2610 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	if (adap->params.rev > 0) {
rev              2687 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 			 adap->params.rev > 0 ? F_ENABLEESND :
rev              2700 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	if (adap->params.rev > 0) {
rev              2709 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	if (adap->params.rev == T3_REV_C)
rev              2758 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	t3_write_reg(adap, A_TP_MSL, adap->params.rev > 0 ? 0 : 2 SECONDS);
rev              3340 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	fst_trn_rx = adap->params.rev == 0 ? fst_trn_tx :
rev              3348 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	if (adap->params.rev == 0)
rev              3378 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	if (adapter->params.rev > 0)
rev              3415 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	if (adapter->params.rev == T3_REV_C)
rev              3551 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	if (adapter->params.rev == 0 && uses_xaui(adapter)) {
rev              3572 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	if (adapter->params.rev == 0 || !uses_xaui(adapter))
rev              3594 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	    adapter->params.rev < T3_REV_B2 && is_pcie(adapter);
rev              3666 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	adapter->params.rev = t3_read_reg(adapter, A_PL_REV);
rev              3707 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 		    adapter->params.rev > 0 ? 12 : 6;
rev              3716 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 		adapter->params.mc5.nfilters = adapter->params.rev > 0 ?
rev               112 drivers/net/ethernet/chelsio/cxgb3/xgmac.c 		if (adap->params.rev == 0) {
rev               141 drivers/net/ethernet/chelsio/cxgb3/xgmac.c 	if ((val & F_PCS_RESET_) && adap->params.rev) {
rev               201 drivers/net/ethernet/chelsio/cxgb3/xgmac.c 	if ((val & F_PCS_RESET_) && adap->params.rev) {
rev               364 drivers/net/ethernet/chelsio/cxgb3/xgmac.c 	if (adap->params.rev >= T3_REV_B2 &&
rev               371 drivers/net/ethernet/chelsio/cxgb3/xgmac.c 		reg = adap->params.rev == T3_REV_B2 ?
rev               413 drivers/net/ethernet/chelsio/cxgb3/xgmac.c 	ipg = (adap->params.rev == T3_REV_C) ? 0 : 1;
rev               418 drivers/net/ethernet/chelsio/cxgb3/xgmac.c 	if (adap->params.rev > 0) {
rev               419 drivers/net/ethernet/chelsio/cxgb3/xgmac.c 		divisor = (adap->params.rev == T3_REV_C) ? 64 : 8;
rev               477 drivers/net/ethernet/chelsio/cxgb3/xgmac.c 			     adap->params.rev == T3_REV_C ?
rev               481 drivers/net/ethernet/chelsio/cxgb3/xgmac.c 				 adap->params.rev == T3_REV_C ? 0 : 1 << idx);
rev               622 drivers/net/ethernet/chelsio/cxgb3/xgmac.c 	if (mac->adapter->params.rev == T3_REV_B2)
rev               921 drivers/net/ethernet/freescale/gianfar.c 	unsigned int rev = svr & 0xffff;
rev               924 drivers/net/ethernet/freescale/gianfar.c 	if ((pvr == 0x80850010 && mod == 0x80b0 && rev >= 0x0020) ||
rev               934 drivers/net/ethernet/freescale/gianfar.c 	if (pvr == 0x80850010 && mod == 0x80b0 && rev < 0x0020)
rev                50 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.h 	   rev	    : 4;
rev                47 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h 	u8 rev[3];
rev               300 drivers/net/ethernet/hp/hp100.c         unsigned short rev;
rev               316 drivers/net/ethernet/hp/hp100.c         rev = (sig[2] << 8) | sig[3];
rev               317 drivers/net/ethernet/hp/hp100.c         sprintf(str + 3, "%04X", rev);
rev               384 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	const struct mlxsw_fw_rev *rev = &mlxsw_sp->bus_info->fw_rev;
rev               405 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	if (rev->major != req_rev->major) {
rev               407 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 		     rev->major, req_rev->major);
rev               410 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	if (MLXSW_SP_FWREV_MINOR_TO_BRANCH(rev->minor) ==
rev               412 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	    (rev->minor > req_rev->minor ||
rev               413 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	     (rev->minor == req_rev->minor &&
rev               414 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	      rev->subminor >= req_rev->subminor)))
rev               418 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 		 rev->major, rev->minor, rev->subminor);
rev               438 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	if (rev->minor >= req_rev->can_reset_minor)
rev              2009 drivers/net/ethernet/qlogic/qed/qed_debug.c 			     fw_info.ver.num.minor, fw_info.ver.num.rev,
rev              2692 drivers/net/ethernet/qlogic/qed/qed_hsi.h 	u8 rev;
rev              1175 drivers/net/ethernet/sgi/ioc3-eth.c 	u32 vendor, model, rev;
rev              1305 drivers/net/ethernet/sgi/ioc3-eth.c 	rev    = sw_physid2 & 0xf;
rev              1307 drivers/net/ethernet/sgi/ioc3-eth.c 		    ip->mii.phy_id, vendor, model, rev);
rev               810 drivers/net/ethernet/smsc/smc91c92_cs.c     int i, rev, j = 0;
rev               873 drivers/net/ethernet/smsc/smc91c92_cs.c     rev = check_sig(link);
rev               875 drivers/net/ethernet/smsc/smc91c92_cs.c     if (rev > 0)
rev               876 drivers/net/ethernet/smsc/smc91c92_cs.c 	switch (rev >> 4) {
rev               878 drivers/net/ethernet/smsc/smc91c92_cs.c 	case 4: name = ((rev & 15) >= 6) ? "96" : "94"; break;
rev               886 drivers/net/ethernet/smsc/smc91c92_cs.c     if (rev > 0) {
rev               892 drivers/net/ethernet/smsc/smc91c92_cs.c 	mcr = ((rev >> 4) > 3) ? inw(ioaddr + MEMCFG) : 0x0200;
rev               899 drivers/net/ethernet/smsc/smc91c92_cs.c 	if ((rev >> 4) >= 7)
rev               924 drivers/net/ethernet/smsc/smc91c92_cs.c 		name, (rev & 0x0f), dev->base_addr, dev->irq, dev->dev_addr);
rev               926 drivers/net/ethernet/smsc/smc91c92_cs.c     if (rev > 0) {
rev                23 drivers/net/ethernet/ti/cpsw_ale.c #define ALE_VERSION_MAJOR(rev, mask) (((rev) >> 8) & (mask))
rev                24 drivers/net/ethernet/ti/cpsw_ale.c #define ALE_VERSION_MINOR(rev)	(rev & 0xff)
rev               789 drivers/net/ethernet/ti/cpsw_ale.c 	u32 rev, ale_entries;
rev               798 drivers/net/ethernet/ti/cpsw_ale.c 	rev = readl_relaxed(ale->params.ale_regs + ALE_IDVER);
rev               802 drivers/net/ethernet/ti/cpsw_ale.c 		(ALE_VERSION_MAJOR(rev, ale->params.major_ver_mask) << 8) |
rev               803 drivers/net/ethernet/ti/cpsw_ale.c 		 ALE_VERSION_MINOR(rev);
rev               805 drivers/net/ethernet/ti/cpsw_ale.c 		 ALE_VERSION_MAJOR(rev, ale->params.major_ver_mask),
rev               806 drivers/net/ethernet/ti/cpsw_ale.c 		 ALE_VERSION_MINOR(rev));
rev               163 drivers/net/ethernet/ti/tlan.c 			    int irq, int rev, const struct pci_device_id *ent);
rev               463 drivers/net/ethernet/ti/tlan.c static int tlan_probe1(struct pci_dev *pdev, long ioaddr, int irq, int rev,
rev               419 drivers/net/fddi/skfp/pcmplc.c 	int	rev ;	/* Revision of PLC-x */
rev               431 drivers/net/fddi/skfp/pcmplc.c 	rev = inpw(PLC(p,PL_STATUS_A)) & PLC_REV_MASK ;
rev               432 drivers/net/fddi/skfp/pcmplc.c 	if (rev != PLC_REVISION_A)
rev               504 drivers/net/hippi/rrunner.c 	u32 sram_size, rev;
rev               509 drivers/net/hippi/rrunner.c 	rev = readl(&regs->FwRev);
rev               510 drivers/net/hippi/rrunner.c 	rrpriv->fw_rev = rev;
rev               511 drivers/net/hippi/rrunner.c 	if (rev > 0x00020024)
rev               512 drivers/net/hippi/rrunner.c 		printk("  Firmware revision: %i.%i.%i\n", (rev >> 16),
rev               513 drivers/net/hippi/rrunner.c 		       ((rev >> 8) & 0xff), (rev & 0xff));
rev               514 drivers/net/hippi/rrunner.c 	else if (rev >= 0x00020000) {
rev               516 drivers/net/hippi/rrunner.c 		       "later is recommended)\n", (rev >> 16),
rev               517 drivers/net/hippi/rrunner.c 		       ((rev >> 8) & 0xff), (rev & 0xff));
rev               521 drivers/net/hippi/rrunner.c 		       (rev >> 16), ((rev >> 8) & 0xff), (rev & 0xff));
rev                32 drivers/net/hyperv/hyperv_net.h 	u8 rev;
rev               560 drivers/net/hyperv/rndis_filter.c 		cap->hdr.rev = NDIS_RECEIVE_SCALE_CAPABILITIES_REVISION_2;
rev               795 drivers/net/hyperv/rndis_filter.c 	rssp->hdr.rev = NDIS_RECEIVE_SCALE_PARAMETERS_REVISION_2;
rev               130 drivers/net/phy/bcm-cygnus.c 	u8 count, rev;
rev               133 drivers/net/phy/bcm-cygnus.c 	rev = phydev->phy_id & ~phydev->drv->phy_id_mask;
rev               136 drivers/net/phy/bcm-cygnus.c 		     phydev_name(phydev), phydev->drv->name, rev);
rev               145 drivers/net/phy/bcm-cygnus.c 	switch (rev) {
rev               139 drivers/net/phy/bcm7xxx.c 	u8 rev = PHY_BRCM_7XXX_REV(phydev->dev_flags);
rev               147 drivers/net/phy/bcm7xxx.c 	if (rev == 0)
rev               148 drivers/net/phy/bcm7xxx.c 		rev = phydev->phy_id & ~phydev->drv->phy_id_mask;
rev               151 drivers/net/phy/bcm7xxx.c 		     phydev_name(phydev), phydev->drv->name, rev, patch);
rev               160 drivers/net/phy/bcm7xxx.c 	switch (rev) {
rev               368 drivers/net/phy/bcm7xxx.c 	u8 rev = phydev->phy_id & ~phydev->drv->phy_id_mask;
rev               372 drivers/net/phy/bcm7xxx.c 		     phydev_name(phydev), phydev->drv->name, rev);
rev               382 drivers/net/phy/bcm7xxx.c 	if (rev == 0x01) {
rev               139 drivers/net/phy/vitesse.c 	u16 rev;
rev               157 drivers/net/phy/vitesse.c 	rev = phy_read(phydev, MII_PHYSID2);
rev               158 drivers/net/phy/vitesse.c 	rev &= 0x0f;
rev               161 drivers/net/phy/vitesse.c 	if (rev == 0) {
rev               181 drivers/net/phy/vitesse.c 	if (rev == 0) {
rev               232 drivers/net/sungem_phy.c 	int rev;
rev               234 drivers/net/sungem_phy.c 	rev = sungem_phy_read(phy, MII_PHYSID2) & 0x000f;
rev               235 drivers/net/sungem_phy.c 	if (rev == 0 || rev == 3) {
rev               576 drivers/net/sungem_phy.c 	u16 rev;
rev               579 drivers/net/sungem_phy.c 	rev = sungem_phy_read(phy, MII_PHYSID2) & 0x000f;
rev               580 drivers/net/sungem_phy.c 	if (rev == 0) {
rev               208 drivers/net/usb/aqc111.c 		 aqc111_data->fw_ver.rev);
rev               678 drivers/net/usb/aqc111.c 			1, 1, &aqc111_data->fw_ver.rev);
rev               171 drivers/net/usb/aqc111.h 		u8 rev;
rev              1670 drivers/net/wireless/ath/ath10k/wmi-tlv.h 	u8 rev;
rev                99 drivers/net/wireless/ath/ath9k/htc.h 	u16 rev;
rev               791 drivers/net/wireless/broadcom/b43/b43.h 	u16 rev;
rev               112 drivers/net/wireless/broadcom/b43/bus.c 	dev->chip_rev = core->bus->chipinfo.rev;
rev               118 drivers/net/wireless/broadcom/b43/bus.c 	dev->core_rev = core->id.rev;
rev                89 drivers/net/wireless/broadcom/b43/lo.c 		    && phy->rev > 6)
rev               144 drivers/net/wireless/broadcom/b43/lo.c 		if (phy->rev >= 2 && phy->radio_rev == 8) {
rev               198 drivers/net/wireless/broadcom/b43/lo.c 			if ((phy->rev >= 2) &&
rev               398 drivers/net/wireless/broadcom/b43/lo.c 	if (phy->rev >= 2) {
rev               413 drivers/net/wireless/broadcom/b43/lo.c 			if ((phy->rev >= 7) &&
rev               465 drivers/net/wireless/broadcom/b43/lo.c 	if (phy->rev >= 2)
rev               477 drivers/net/wireless/broadcom/b43/lo.c 	if (phy->type == B43_PHYTYPE_G && phy->rev >= 3) {
rev               494 drivers/net/wireless/broadcom/b43/lo.c 	if (phy->rev >= 2) {
rev               507 drivers/net/wireless/broadcom/b43/lo.c 		if (phy->rev >= 3)
rev               511 drivers/net/wireless/broadcom/b43/lo.c 		if (phy->rev >= 2)
rev               533 drivers/net/wireless/broadcom/b43/lo.c 	if (phy->rev >= 2) {
rev              2299 drivers/net/wireless/broadcom/b43/main.c 	const u8 rev = ctx->dev->dev->core_rev;
rev              2305 drivers/net/wireless/broadcom/b43/main.c 	switch (rev) {
rev              2374 drivers/net/wireless/broadcom/b43/main.c 	if ((rev >= 5) && (rev <= 10))
rev              2376 drivers/net/wireless/broadcom/b43/main.c 	else if (rev >= 11)
rev              2393 drivers/net/wireless/broadcom/b43/main.c 		if (rev == 13)
rev              2395 drivers/net/wireless/broadcom/b43/main.c 		else if (rev >= 5 && rev <= 10)
rev              2399 drivers/net/wireless/broadcom/b43/main.c 		if (rev == 30)
rev              2401 drivers/net/wireless/broadcom/b43/main.c 		else if (rev == 28 || rev == 25)
rev              2403 drivers/net/wireless/broadcom/b43/main.c 		else if (rev == 24)
rev              2405 drivers/net/wireless/broadcom/b43/main.c 		else if (rev == 23)
rev              2407 drivers/net/wireless/broadcom/b43/main.c 		else if (rev >= 16 && rev <= 18)
rev              2409 drivers/net/wireless/broadcom/b43/main.c 		else if (rev >= 11 && rev <= 12)
rev              2413 drivers/net/wireless/broadcom/b43/main.c 		if (rev >= 16 && rev <= 18)
rev              2415 drivers/net/wireless/broadcom/b43/main.c 		else if (rev == 15)
rev              2417 drivers/net/wireless/broadcom/b43/main.c 		else if (rev == 14)
rev              2419 drivers/net/wireless/broadcom/b43/main.c 		else if (rev == 13)
rev              2423 drivers/net/wireless/broadcom/b43/main.c 		if (rev == 29)
rev              2425 drivers/net/wireless/broadcom/b43/main.c 		else if (rev == 26)
rev              2429 drivers/net/wireless/broadcom/b43/main.c 		if (rev == 24)
rev              2433 drivers/net/wireless/broadcom/b43/main.c 		if (rev == 33)
rev              2437 drivers/net/wireless/broadcom/b43/main.c 		if (rev == 42)
rev              2439 drivers/net/wireless/broadcom/b43/main.c 		else if (rev == 40)
rev              2453 drivers/net/wireless/broadcom/b43/main.c 		if (rev == 13)
rev              2455 drivers/net/wireless/broadcom/b43/main.c 		else if (rev >= 5 && rev <= 10)
rev              2459 drivers/net/wireless/broadcom/b43/main.c 		if (rev == 30)
rev              2461 drivers/net/wireless/broadcom/b43/main.c 		else if (rev == 28 || rev == 25)
rev              2463 drivers/net/wireless/broadcom/b43/main.c 		else if (rev == 24)
rev              2465 drivers/net/wireless/broadcom/b43/main.c 		else if (rev == 23)
rev              2467 drivers/net/wireless/broadcom/b43/main.c 		else if (rev >= 16 && rev <= 18)
rev              2469 drivers/net/wireless/broadcom/b43/main.c 		else if (rev >= 11 && rev <= 12)
rev              2473 drivers/net/wireless/broadcom/b43/main.c 		if (rev >= 16 && rev <= 18)
rev              2475 drivers/net/wireless/broadcom/b43/main.c 		else if (rev == 15)
rev              2477 drivers/net/wireless/broadcom/b43/main.c 		else if (rev == 14)
rev              2479 drivers/net/wireless/broadcom/b43/main.c 		else if (rev == 13)
rev              2483 drivers/net/wireless/broadcom/b43/main.c 		if (rev == 29)
rev              2485 drivers/net/wireless/broadcom/b43/main.c 		else if (rev == 26)
rev              2489 drivers/net/wireless/broadcom/b43/main.c 		if (rev == 24)
rev              2493 drivers/net/wireless/broadcom/b43/main.c 		if (rev == 33)
rev              2497 drivers/net/wireless/broadcom/b43/main.c 		if (rev == 42)
rev              2499 drivers/net/wireless/broadcom/b43/main.c 		else if (rev == 40)
rev              2516 drivers/net/wireless/broadcom/b43/main.c 	       "is required for your device (wl-core rev %u)\n", rev);
rev              2522 drivers/net/wireless/broadcom/b43/main.c 	       "is required for your device (wl-core rev %u)\n", rev);
rev              2528 drivers/net/wireless/broadcom/b43/main.c 	       "is required for your device (wl-core rev %u)\n", rev);
rev              2685 drivers/net/wireless/broadcom/b43/main.c 	dev->fw.rev = fwrev;
rev              2687 drivers/net/wireless/broadcom/b43/main.c 	if (dev->fw.rev >= 598)
rev              2689 drivers/net/wireless/broadcom/b43/main.c 	else if (dev->fw.rev >= 410)
rev              2705 drivers/net/wireless/broadcom/b43/main.c 			dev->fw.rev, dev->fw.patch);
rev              2729 drivers/net/wireless/broadcom/b43/main.c 			dev->fw.rev, dev->fw.patch);
rev              3915 drivers/net/wireless/broadcom/b43/main.c 	if (!(phy->type == B43_PHYTYPE_N && phy->rev >= 3))
rev              4641 drivers/net/wireless/broadcom/b43/main.c 	phy->rev = phy_rev;
rev              4858 drivers/net/wireless/broadcom/b43/main.c 		if (phy->rev == 1)
rev              4914 drivers/net/wireless/broadcom/b43/main.c 	b43_shm_write16(dev, B43_SHM_SHARED, B43_SHM_SH_PHYVER, phy->rev);
rev              5624 drivers/net/wireless/broadcom/b43/main.c 	    (core->id.rev == 0x17 || core->id.rev == 0x18)) {
rev               235 drivers/net/wireless/broadcom/b43/phy_common.h 	u8 rev;
rev               305 drivers/net/wireless/broadcom/b43/phy_g.c 	if (phy->rev <= 1) {
rev               311 drivers/net/wireless/broadcom/b43/phy_g.c 	if (phy->rev <= 1)
rev               335 drivers/net/wireless/broadcom/b43/phy_g.c 	if (phy->rev <= 1) {
rev               341 drivers/net/wireless/broadcom/b43/phy_g.c 	if (phy->rev <= 1)
rev               420 drivers/net/wireless/broadcom/b43/phy_g.c 	if (phy->rev != 1) {	/* Not in specs, but needed to prevent PPC machine check */
rev               437 drivers/net/wireless/broadcom/b43/phy_g.c 	if (phy->rev >= 6) {
rev               478 drivers/net/wireless/broadcom/b43/phy_g.c 		if (phy->rev != 1) {	/* Not in specs, but needed to prevent PPC machine check */
rev               489 drivers/net/wireless/broadcom/b43/phy_g.c 		if (phy->rev == 0) {
rev               494 drivers/net/wireless/broadcom/b43/phy_g.c 		if (phy->rev != 1) {	/* Not in specs, but needed to prevent PPC machine check */
rev               525 drivers/net/wireless/broadcom/b43/phy_g.c 	if (phy->rev >= 6) {
rev               531 drivers/net/wireless/broadcom/b43/phy_g.c 	if (phy->rev != 1) {	/* Not in specs, but needed to prevent PPC machine check */
rev               545 drivers/net/wireless/broadcom/b43/phy_g.c 	if (phy->rev >= 6) {
rev               584 drivers/net/wireless/broadcom/b43/phy_g.c 	if (phy->rev >= 3) {
rev               595 drivers/net/wireless/broadcom/b43/phy_g.c 		switch (phy->rev) {
rev               613 drivers/net/wireless/broadcom/b43/phy_g.c 	if (phy->rev >= 2) {
rev               625 drivers/net/wireless/broadcom/b43/phy_g.c 	if (phy->rev >= 2) {
rev               634 drivers/net/wireless/broadcom/b43/phy_g.c 	if (phy->rev >= 2) {
rev               663 drivers/net/wireless/broadcom/b43/phy_g.c 	if (phy->rev >= 3) {
rev               669 drivers/net/wireless/broadcom/b43/phy_g.c 	if (phy->rev >= 2) {
rev               688 drivers/net/wireless/broadcom/b43/phy_g.c 	if (phy->rev >= 3) {
rev               836 drivers/net/wireless/broadcom/b43/phy_g.c 		if (phy->rev != 1) {
rev               892 drivers/net/wireless/broadcom/b43/phy_g.c 		if (phy->rev < 2) {
rev               911 drivers/net/wireless/broadcom/b43/phy_g.c 		if (phy->rev == 2) {
rev               914 drivers/net/wireless/broadcom/b43/phy_g.c 		} else if (phy->rev >= 3) {
rev               938 drivers/net/wireless/broadcom/b43/phy_g.c 		if (phy->rev < 2) {
rev               940 drivers/net/wireless/broadcom/b43/phy_g.c 		} else if (phy->rev == 2) {
rev               962 drivers/net/wireless/broadcom/b43/phy_g.c 		if (phy->rev >= 3) {
rev               972 drivers/net/wireless/broadcom/b43/phy_g.c 		if (phy->rev >= 2) {
rev               976 drivers/net/wireless/broadcom/b43/phy_g.c 		if (phy->rev == 2) {
rev               979 drivers/net/wireless/broadcom/b43/phy_g.c 		} else if (phy->rev >= 6) {
rev              1000 drivers/net/wireless/broadcom/b43/phy_g.c 		if (phy->rev != 1) {
rev              1041 drivers/net/wireless/broadcom/b43/phy_g.c 		if (phy->rev >= 2) {
rev              1049 drivers/net/wireless/broadcom/b43/phy_g.c 		if (phy->rev == 2) {
rev              1052 drivers/net/wireless/broadcom/b43/phy_g.c 		} else if (phy->rev >= 3) {
rev              1139 drivers/net/wireless/broadcom/b43/phy_g.c 		if ((phy->rev < 7) ||
rev              1179 drivers/net/wireless/broadcom/b43/phy_g.c 		if ((phy->rev < 7) ||
rev              1271 drivers/net/wireless/broadcom/b43/phy_g.c 	} else if (phy->gmode || phy->rev >= 2) {
rev              1288 drivers/net/wireless/broadcom/b43/phy_g.c 			if (phy->rev >= 3)
rev              1322 drivers/net/wireless/broadcom/b43/phy_g.c 	if (phy->gmode || phy->rev >= 2) {
rev              1329 drivers/net/wireless/broadcom/b43/phy_g.c 	if (phy->gmode || phy->rev >= 2) {
rev              1348 drivers/net/wireless/broadcom/b43/phy_g.c 		if (phy->gmode || phy->rev >= 2) {
rev              1356 drivers/net/wireless/broadcom/b43/phy_g.c 		if (phy->gmode || phy->rev >= 2) {
rev              1364 drivers/net/wireless/broadcom/b43/phy_g.c 		if (phy->gmode || phy->rev >= 2) {
rev              1374 drivers/net/wireless/broadcom/b43/phy_g.c 		if (phy->gmode || phy->rev >= 2) {
rev              1396 drivers/net/wireless/broadcom/b43/phy_g.c 			if (phy->gmode || phy->rev >= 2) {
rev              1405 drivers/net/wireless/broadcom/b43/phy_g.c 			if (phy->gmode || phy->rev >= 2) {
rev              1414 drivers/net/wireless/broadcom/b43/phy_g.c 			if (phy->gmode || phy->rev >= 2) {
rev              1425 drivers/net/wireless/broadcom/b43/phy_g.c 			if (phy->gmode || phy->rev >= 2) {
rev              1502 drivers/net/wireless/broadcom/b43/phy_g.c 	if (phy->gmode || phy->rev >= 2) {
rev              1710 drivers/net/wireless/broadcom/b43/phy_g.c 	if (phy->rev != 1) {	/* Not in specs, but needed to prevent PPC machine check */
rev              1735 drivers/net/wireless/broadcom/b43/phy_g.c 	if (phy->rev != 1) {	/* Not in specs, but needed to prevent PPC machine check */
rev              1751 drivers/net/wireless/broadcom/b43/phy_g.c 	if (phy->rev != 1) {	/* Not in specs, but needed to prevent PPC machine check */
rev              1765 drivers/net/wireless/broadcom/b43/phy_g.c 	if (phy->rev >= 3)
rev              1778 drivers/net/wireless/broadcom/b43/phy_g.c 		if (phy->rev >= 7) {
rev              1817 drivers/net/wireless/broadcom/b43/phy_g.c 	if (phy->rev != 1) {	/* Not in specs, but needed to prevent PPC machine check */
rev              1898 drivers/net/wireless/broadcom/b43/phy_g.c 	B43_WARN_ON(phy->rev < 6);
rev              1984 drivers/net/wireless/broadcom/b43/phy_g.c 	if (phy->rev >= 6) {
rev              2003 drivers/net/wireless/broadcom/b43/phy_g.c 	if (phy->rev == 1)
rev              2008 drivers/net/wireless/broadcom/b43/phy_g.c 	if (phy->rev >= 2 || phy->gmode)
rev              2011 drivers/net/wireless/broadcom/b43/phy_g.c 	if (phy->rev >= 2) {
rev              2015 drivers/net/wireless/broadcom/b43/phy_g.c 	if (phy->rev == 2) {
rev              2019 drivers/net/wireless/broadcom/b43/phy_g.c 	if (phy->rev > 5) {
rev              2023 drivers/net/wireless/broadcom/b43/phy_g.c 	if (phy->gmode || phy->rev >= 2) {
rev              2034 drivers/net/wireless/broadcom/b43/phy_g.c 	if ((phy->rev <= 2 && phy->gmode) || phy->rev >= 2)
rev              2058 drivers/net/wireless/broadcom/b43/phy_g.c 	if (phy->rev >= 6) {
rev              2065 drivers/net/wireless/broadcom/b43/phy_g.c 	if (phy->rev < 2)
rev              2069 drivers/net/wireless/broadcom/b43/phy_g.c 	if (phy->gmode || phy->rev >= 2) {
rev              2083 drivers/net/wireless/broadcom/b43/phy_g.c 	} else if (phy->gmode || phy->rev >= 2) {
rev              2291 drivers/net/wireless/broadcom/b43/phy_g.c 	if (!((phy->type == B43_PHYTYPE_G) && (phy->rev > 0)))
rev              2533 drivers/net/wireless/broadcom/b43/phy_g.c 	if (phy->rev == 1) {
rev              2592 drivers/net/wireless/broadcom/b43/phy_g.c 	return (dev->phy.rev >= 6);
rev              2690 drivers/net/wireless/broadcom/b43/phy_g.c 	if (phy->rev >= 2) {
rev              2694 drivers/net/wireless/broadcom/b43/phy_g.c 		if (phy->rev == 2)
rev              2699 drivers/net/wireless/broadcom/b43/phy_g.c 	if (phy->rev >= 6)
rev              2713 drivers/net/wireless/broadcom/b43/phy_g.c 	if ((phy->rev == 0) || (!phy->gmode))
rev              3006 drivers/net/wireless/broadcom/b43/phy_g.c 		   phy->rev == 1) {
rev                61 drivers/net/wireless/broadcom/b43/phy_g.h 	(((phy)->rev >= 2) &&			\
rev                66 drivers/net/wireless/broadcom/b43/phy_g.h 	(((phy)->rev > 1) || ((phy)->gmode))
rev               101 drivers/net/wireless/broadcom/b43/phy_lcn.c 	if (dev->phy.rev == 1) {
rev               121 drivers/net/wireless/broadcom/b43/phy_lcn.c 	if (dev->phy.rev == 1) {
rev               285 drivers/net/wireless/broadcom/b43/phy_lcn.c 	if (dev->phy.rev == 1) {
rev               163 drivers/net/wireless/broadcom/b43/phy_lp.c 	B43_WARN_ON(dev->phy.rev >= 2);
rev               186 drivers/net/wireless/broadcom/b43/phy_lp.c 	if (dev->phy.rev < 2)
rev               193 drivers/net/wireless/broadcom/b43/phy_lp.c 	if (dev->phy.rev < 2)
rev               233 drivers/net/wireless/broadcom/b43/phy_lp.c 		if (dev->phy.rev == 0) {
rev               253 drivers/net/wireless/broadcom/b43/phy_lp.c 	if (dev->phy.rev == 1 &&
rev               273 drivers/net/wireless/broadcom/b43/phy_lp.c 		   (dev->phy.rev == 0 && (sprom->boardflags_lo & B43_BFL_FEM))) {
rev               282 drivers/net/wireless/broadcom/b43/phy_lp.c 	} else if (dev->phy.rev == 1 ||
rev               302 drivers/net/wireless/broadcom/b43/phy_lp.c 	if (dev->phy.rev == 1 && (sprom->boardflags_hi & B43_BFH_PAREF)) {
rev               330 drivers/net/wireless/broadcom/b43/phy_lp.c 	if (dev->phy.rev == 1) {
rev               489 drivers/net/wireless/broadcom/b43/phy_lp.c 	if (dev->phy.rev >= 2)
rev               534 drivers/net/wireless/broadcom/b43/phy_lp.c 	if (dev->phy.rev > 0) {
rev               601 drivers/net/wireless/broadcom/b43/phy_lp.c 	if (dev->phy.rev == 2) {
rev               696 drivers/net/wireless/broadcom/b43/phy_lp.c 	if (dev->phy.rev == 1) //FIXME check channel 14!
rev               796 drivers/net/wireless/broadcom/b43/phy_lp.c 	if (dev->phy.rev >= 2) {
rev               812 drivers/net/wireless/broadcom/b43/phy_lp.c 	if (dev->phy.rev >= 2) {
rev               825 drivers/net/wireless/broadcom/b43/phy_lp.c 	if (dev->phy.rev < 2)
rev               836 drivers/net/wireless/broadcom/b43/phy_lp.c 	if (dev->phy.rev < 2)
rev               851 drivers/net/wireless/broadcom/b43/phy_lp.c 	if (dev->phy.rev < 2) {
rev               890 drivers/net/wireless/broadcom/b43/phy_lp.c 	if (dev->phy.rev < 2) {
rev               952 drivers/net/wireless/broadcom/b43/phy_lp.c 	if (dev->phy.rev < 2)
rev              1160 drivers/net/wireless/broadcom/b43/phy_lp.c 	if (dev->phy.rev >= 2) {
rev              1332 drivers/net/wireless/broadcom/b43/phy_lp.c 	if (dev->phy.rev >= 2) {
rev              1344 drivers/net/wireless/broadcom/b43/phy_lp.c 	if (dev->phy.rev >= 2)
rev              1379 drivers/net/wireless/broadcom/b43/phy_lp.c 	if (dev->phy.rev >= 2) {
rev              1397 drivers/net/wireless/broadcom/b43/phy_lp.c 	if (dev->phy.rev >= 2) {
rev              1403 drivers/net/wireless/broadcom/b43/phy_lp.c 	if (dev->phy.rev >= 2) {
rev              1422 drivers/net/wireless/broadcom/b43/phy_lp.c 		if (dev->phy.rev >= 2) {
rev              1436 drivers/net/wireless/broadcom/b43/phy_lp.c 		if (dev->phy.rev >= 2)
rev              1449 drivers/net/wireless/broadcom/b43/phy_lp.c 	if (dev->phy.rev < 2) { //SPEC FIXME Isn't this rev0/1-specific?
rev              1451 drivers/net/wireless/broadcom/b43/phy_lp.c 		if ((dev->phy.rev == 1) && (lpphy->rc_cap))
rev              1484 drivers/net/wireless/broadcom/b43/phy_lp.c 		if (dev->phy.rev >= 2)
rev              1493 drivers/net/wireless/broadcom/b43/phy_lp.c 	if (dev->phy.rev < 2) {
rev              1514 drivers/net/wireless/broadcom/b43/phy_lp.c 	if (dev->phy.rev < 2) {
rev              1585 drivers/net/wireless/broadcom/b43/phy_lp.c 	if (dev->phy.rev < 2) {
rev              1598 drivers/net/wireless/broadcom/b43/phy_lp.c 	if (dev->phy.rev < 2) {
rev              1857 drivers/net/wireless/broadcom/b43/phy_lp.c 	} else if (dev->phy.rev >= 2) {
rev              1946 drivers/net/wireless/broadcom/b43/phy_lp.c 	if (dev->phy.rev >= 2)
rev              1952 drivers/net/wireless/broadcom/b43/phy_lp.c 	if ((dev->phy.rev == 0) && (saved_pctl_mode != B43_LPPHY_TXPCTL_OFF))
rev              1954 drivers/net/wireless/broadcom/b43/phy_lp.c 	if ((dev->phy.rev >= 2) && full_cal) {
rev              1958 drivers/net/wireless/broadcom/b43/phy_lp.c 	if (dev->phy.rev >= 2)
rev              1978 drivers/net/wireless/broadcom/b43/phy_lp.c 	if (dev->phy.rev < 2) {
rev               164 drivers/net/wireless/broadcom/b43/phy_n.c 	if (phy->rev >= 19 || phy->rev < 3) {
rev               204 drivers/net/wireless/broadcom/b43/phy_n.c 	B43_WARN_ON(phy->rev < 7);
rev               250 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev >= 3) {
rev               393 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev >= 7) {
rev               399 drivers/net/wireless/broadcom/b43/phy_n.c 	B43_WARN_ON(dev->phy.rev < 3);
rev               637 drivers/net/wireless/broadcom/b43/phy_n.c 	u8 end = (dev->phy.rev >= 3) ? 0x1F : 0x0F;
rev              1134 drivers/net/wireless/broadcom/b43/phy_n.c 	B43_WARN_ON(dev->phy.rev < 3);
rev              1176 drivers/net/wireless/broadcom/b43/phy_n.c 			if (dev->phy.rev >= 5) {
rev              1305 drivers/net/wireless/broadcom/b43/phy_n.c 	if (phy->rev != 3)
rev              1413 drivers/net/wireless/broadcom/b43/phy_n.c 	B43_WARN_ON(dev->phy.rev >= 3);
rev              1585 drivers/net/wireless/broadcom/b43/phy_n.c 	if (phy->rev >= 7) {
rev              1595 drivers/net/wireless/broadcom/b43/phy_n.c 			if (phy->rev >= 19)
rev              1807 drivers/net/wireless/broadcom/b43/phy_n.c 					if (dev->phy.rev < 7) {
rev              1902 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev >= 19)
rev              1904 drivers/net/wireless/broadcom/b43/phy_n.c 	else if (dev->phy.rev >= 3)
rev              1950 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev >= 3) {
rev              1976 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev < 2) {
rev              1985 drivers/net/wireless/broadcom/b43/phy_n.c 		if (dev->phy.rev < 2) {
rev              2001 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev < 2)
rev              2004 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev >= 3) {
rev              2080 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev >= 7) {
rev              2102 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev >= 7) {
rev              2148 drivers/net/wireless/broadcom/b43/phy_n.c 			if (dev->phy.rev >= 7)
rev              2182 drivers/net/wireless/broadcom/b43/phy_n.c 		if (dev->phy.rev >= 7)
rev              2255 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev >= 7) {
rev              2460 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev >= 19) {
rev              2462 drivers/net/wireless/broadcom/b43/phy_n.c 	} else if (dev->phy.rev >= 3) {
rev              2484 drivers/net/wireless/broadcom/b43/phy_n.c 	switch (phy->rev) {
rev              2506 drivers/net/wireless/broadcom/b43/phy_n.c 	if (ghz5 && dev->phy.rev >= 5)
rev              2662 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev == 2) {
rev              2686 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev >= 19)
rev              2688 drivers/net/wireless/broadcom/b43/phy_n.c 	else if (dev->phy.rev >= 7)
rev              2690 drivers/net/wireless/broadcom/b43/phy_n.c 	else if (dev->phy.rev >= 3)
rev              2734 drivers/net/wireless/broadcom/b43/phy_n.c 	if (phy->rev == 7) {
rev              2754 drivers/net/wireless/broadcom/b43/phy_n.c 	if (phy->rev >= 16) {
rev              2757 drivers/net/wireless/broadcom/b43/phy_n.c 	} else if (phy->rev <= 8) {
rev              2762 drivers/net/wireless/broadcom/b43/phy_n.c 	if (phy->rev >= 16)
rev              2764 drivers/net/wireless/broadcom/b43/phy_n.c 	else if (phy->rev >= 8)
rev              2799 drivers/net/wireless/broadcom/b43/phy_n.c 			if (phy->rev == 8 && b43_is_40mhz(dev)) {
rev              2811 drivers/net/wireless/broadcom/b43/phy_n.c 			if (phy->rev == 9) {
rev              3239 drivers/net/wireless/broadcom/b43/phy_n.c 		if (!(dev->phy.rev >= 4 &&
rev              3251 drivers/net/wireless/broadcom/b43/phy_n.c 		if (dev->phy.rev >= 6) {
rev              3257 drivers/net/wireless/broadcom/b43/phy_n.c 		} else if (dev->phy.rev == 5) {
rev              3323 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev == 4 &&
rev              3345 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev >= 6 && sprom->boardflags2_lo & B43_BFL2_SINGLEANT_CCK)
rev              3378 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev < 3) {
rev              3383 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev < 2) {
rev              3402 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev < 2) {
rev              3406 drivers/net/wireless/broadcom/b43/phy_n.c 	} else if (dev->phy.rev == 2) {
rev              3411 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev < 2)
rev              3423 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev < 3) {
rev              3431 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev == 2)
rev              3454 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev >= 7)
rev              3456 drivers/net/wireless/broadcom/b43/phy_n.c 	else if (dev->phy.rev >= 3)
rev              3536 drivers/net/wireless/broadcom/b43/phy_n.c 	if (phy->rev >= 7 && nphy->lpf_bw_overrode_for_sample_play) {
rev              3537 drivers/net/wireless/broadcom/b43/phy_n.c 		if (phy->rev >= 19)
rev              3558 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev >= 3) {
rev              3564 drivers/net/wireless/broadcom/b43/phy_n.c 		if (phy->rev >= 19) {
rev              3566 drivers/net/wireless/broadcom/b43/phy_n.c 		} else if (phy->rev >= 7) {
rev              3612 drivers/net/wireless/broadcom/b43/phy_n.c 		if (dev->phy.rev >= 3 &&
rev              3633 drivers/net/wireless/broadcom/b43/phy_n.c 		if (dev->phy.rev >= 3)
rev              3637 drivers/net/wireless/broadcom/b43/phy_n.c 		if (dev->phy.rev >= 3) {
rev              3644 drivers/net/wireless/broadcom/b43/phy_n.c 		if (dev->phy.rev == 2)
rev              3647 drivers/net/wireless/broadcom/b43/phy_n.c 		else if (dev->phy.rev < 2)
rev              3651 drivers/net/wireless/broadcom/b43/phy_n.c 		if (dev->phy.rev < 2 && b43_is_40mhz(dev))
rev              3663 drivers/net/wireless/broadcom/b43/phy_n.c 		if (dev->phy.rev >= 3) {
rev              3671 drivers/net/wireless/broadcom/b43/phy_n.c 			if (phy->rev >= 19) {
rev              3673 drivers/net/wireless/broadcom/b43/phy_n.c 			} else if (phy->rev >= 7) {
rev              3684 drivers/net/wireless/broadcom/b43/phy_n.c 				if (phy->rev > 1)
rev              3692 drivers/net/wireless/broadcom/b43/phy_n.c 		if (dev->phy.rev >= 3) {
rev              3699 drivers/net/wireless/broadcom/b43/phy_n.c 				if (dev->phy.rev > 1)
rev              3706 drivers/net/wireless/broadcom/b43/phy_n.c 		if (phy->rev >= 7) {
rev              3710 drivers/net/wireless/broadcom/b43/phy_n.c 		if (dev->phy.rev >= 3) {
rev              3717 drivers/net/wireless/broadcom/b43/phy_n.c 		if (dev->phy.rev == 2)
rev              3719 drivers/net/wireless/broadcom/b43/phy_n.c 		else if (dev->phy.rev < 2)
rev              3722 drivers/net/wireless/broadcom/b43/phy_n.c 		if (dev->phy.rev < 2 && b43_is_40mhz(dev))
rev              3752 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev >= 7) {
rev              3754 drivers/net/wireless/broadcom/b43/phy_n.c 	} else if (dev->phy.rev >= 3) {
rev              3778 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev < 7 &&
rev              3796 drivers/net/wireless/broadcom/b43/phy_n.c 		if (dev->phy.rev >= 3)
rev              3801 drivers/net/wireless/broadcom/b43/phy_n.c 		if (dev->phy.rev >= 7)
rev              3807 drivers/net/wireless/broadcom/b43/phy_n.c 		if (dev->phy.rev >= 3) {
rev              3854 drivers/net/wireless/broadcom/b43/phy_n.c 	if (phy->rev >= 19) {
rev              3856 drivers/net/wireless/broadcom/b43/phy_n.c 	} else if (phy->rev >= 7) {
rev              3862 drivers/net/wireless/broadcom/b43/phy_n.c 				if (phy->rev != 5)
rev              3864 drivers/net/wireless/broadcom/b43/phy_n.c 				if (phy->rev != 7)
rev              3872 drivers/net/wireless/broadcom/b43/phy_n.c 				if (phy->rev != 5)
rev              3903 drivers/net/wireless/broadcom/b43/phy_n.c 				if (phy->rev != 5)
rev              3906 drivers/net/wireless/broadcom/b43/phy_n.c 				if (phy->rev >= 5)
rev              3945 drivers/net/wireless/broadcom/b43/phy_n.c 	if (phy->rev >= 19)
rev              3947 drivers/net/wireless/broadcom/b43/phy_n.c 	else if (phy->rev >= 7)
rev              3949 drivers/net/wireless/broadcom/b43/phy_n.c 	else if (phy->rev >= 3)
rev              3960 drivers/net/wireless/broadcom/b43/phy_n.c 	if (phy->rev >= 19)
rev              3962 drivers/net/wireless/broadcom/b43/phy_n.c 	else if (phy->rev >= 7)
rev              3964 drivers/net/wireless/broadcom/b43/phy_n.c 	else if (phy->rev >= 3)
rev              3967 drivers/net/wireless/broadcom/b43/phy_n.c 	if (phy->rev >= 19) {
rev              3970 drivers/net/wireless/broadcom/b43/phy_n.c 	} else if (phy->rev >= 3) {
rev              4010 drivers/net/wireless/broadcom/b43/phy_n.c 			if (b43_is_40mhz(dev) && dev->phy.rev >= 5) {
rev              4071 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev >= 3)
rev              4137 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev >= 3) {
rev              4140 drivers/net/wireless/broadcom/b43/phy_n.c 		if (dev->phy.rev >= 7) {
rev              4168 drivers/net/wireless/broadcom/b43/phy_n.c 	if (phy->rev >= 19) {
rev              4170 drivers/net/wireless/broadcom/b43/phy_n.c 	} else if (phy->rev >= 7) {
rev              4178 drivers/net/wireless/broadcom/b43/phy_n.c 		if (dev->phy.rev > 1)
rev              4202 drivers/net/wireless/broadcom/b43/phy_n.c 			if (dev->phy.rev < 3 && (i <= (31 - idle[c] + 1)))
rev              4234 drivers/net/wireless/broadcom/b43/phy_n.c 	if (phy->rev < 3)
rev              4241 drivers/net/wireless/broadcom/b43/phy_n.c 	if (phy->rev >= 19) {
rev              4243 drivers/net/wireless/broadcom/b43/phy_n.c 	} else if (phy->rev >= 7) {
rev              4252 drivers/net/wireless/broadcom/b43/phy_n.c 		if (phy->rev >= 19) {
rev              4255 drivers/net/wireless/broadcom/b43/phy_n.c 		} else if (phy->rev >= 7) {
rev              4288 drivers/net/wireless/broadcom/b43/phy_n.c 		if (dev->phy.rev >= 7) {
rev              4290 drivers/net/wireless/broadcom/b43/phy_n.c 		} else if (dev->phy.rev >= 3) {
rev              4319 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev < 3 || dev->phy.rev >= 7)
rev              4553 drivers/net/wireless/broadcom/b43/phy_n.c 			if (dev->phy.rev >= 3) {
rev              4561 drivers/net/wireless/broadcom/b43/phy_n.c 			if (dev->phy.rev >= 3) {
rev              4598 drivers/net/wireless/broadcom/b43/phy_n.c 	B43_WARN_ON(dev->phy.rev < 3);
rev              4683 drivers/net/wireless/broadcom/b43/phy_n.c 		if (dev->phy.rev >= 3) {
rev              4690 drivers/net/wireless/broadcom/b43/phy_n.c 			if (dev->phy.rev < 3) {
rev              4703 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev >= 3) {
rev              4737 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev >= 19) {
rev              4739 drivers/net/wireless/broadcom/b43/phy_n.c 	} else if (dev->phy.rev >= 7) {
rev              4834 drivers/net/wireless/broadcom/b43/phy_n.c 	if (phy->rev >= 19) {
rev              4836 drivers/net/wireless/broadcom/b43/phy_n.c 	} else if (phy->rev >= 7) {
rev              4838 drivers/net/wireless/broadcom/b43/phy_n.c 	} else if (phy->rev >= 3) {
rev              4879 drivers/net/wireless/broadcom/b43/phy_n.c 					(dev->phy.rev < 5) ? 0x11 : 0x01);
rev              4914 drivers/net/wireless/broadcom/b43/phy_n.c 		if (dev->phy.rev < 2) {
rev              4982 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev == 16)
rev              4986 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev == 17) {
rev              5024 drivers/net/wireless/broadcom/b43/phy_n.c 			if (dev->phy.rev >= 7) {
rev              5030 drivers/net/wireless/broadcom/b43/phy_n.c 			} else if (dev->phy.rev >= 3) {
rev              5057 drivers/net/wireless/broadcom/b43/phy_n.c 			if (dev->phy.rev >= 7) {
rev              5063 drivers/net/wireless/broadcom/b43/phy_n.c 			} else if (dev->phy.rev >= 3) {
rev              5085 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev >= 3) {
rev              5119 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev >= 3) {
rev              5160 drivers/net/wireless/broadcom/b43/phy_n.c 		if (phy->rev >= 19)
rev              5163 drivers/net/wireless/broadcom/b43/phy_n.c 		else if (phy->rev >= 7)
rev              5168 drivers/net/wireless/broadcom/b43/phy_n.c 			if (phy->rev >= 19) {
rev              5171 drivers/net/wireless/broadcom/b43/phy_n.c 			} else if (phy->rev >= 8) {
rev              5174 drivers/net/wireless/broadcom/b43/phy_n.c 			} else if (phy->rev == 7) {
rev              5238 drivers/net/wireless/broadcom/b43/phy_n.c 	if (phy->rev >= 19) {
rev              5240 drivers/net/wireless/broadcom/b43/phy_n.c 	} else if (phy->rev >= 7) {
rev              5257 drivers/net/wireless/broadcom/b43/phy_n.c 	} else if (phy->rev >= 3) {
rev              5310 drivers/net/wireless/broadcom/b43/phy_n.c 		if (dev->phy.rev >= 3)
rev              5320 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev < 2)
rev              5332 drivers/net/wireless/broadcom/b43/phy_n.c 	if (phy->rev >= 19) {
rev              5334 drivers/net/wireless/broadcom/b43/phy_n.c 	} else if (phy->rev >= 7) {
rev              5351 drivers/net/wireless/broadcom/b43/phy_n.c 	} else if (phy->rev >= 3) {
rev              5394 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev >= 4) {
rev              5411 drivers/net/wireless/broadcom/b43/phy_n.c 	phy6or5x = dev->phy.rev >= 6 ||
rev              5412 drivers/net/wireless/broadcom/b43/phy_n.c 		(dev->phy.rev == 5 && nphy->ipa2g_on &&
rev              5428 drivers/net/wireless/broadcom/b43/phy_n.c 	if (phy->rev >= 19) {
rev              5430 drivers/net/wireless/broadcom/b43/phy_n.c 	} else if (phy->rev >= 7) {
rev              5451 drivers/net/wireless/broadcom/b43/phy_n.c 			if (dev->phy.rev < 3)
rev              5457 drivers/net/wireless/broadcom/b43/phy_n.c 				if (dev->phy.rev < 3)
rev              5461 drivers/net/wireless/broadcom/b43/phy_n.c 				if (dev->phy.rev >= 3) {
rev              5474 drivers/net/wireless/broadcom/b43/phy_n.c 			if (dev->phy.rev >= 3)
rev              5479 drivers/net/wireless/broadcom/b43/phy_n.c 			if (dev->phy.rev >= 3)
rev              5496 drivers/net/wireless/broadcom/b43/phy_n.c 				if (dev->phy.rev >= 3)
rev              5501 drivers/net/wireless/broadcom/b43/phy_n.c 				if (dev->phy.rev >= 3)
rev              5547 drivers/net/wireless/broadcom/b43/phy_n.c 		last = (dev->phy.rev < 3) ? 6 : 7;
rev              5552 drivers/net/wireless/broadcom/b43/phy_n.c 			if (dev->phy.rev < 3) {
rev              5567 drivers/net/wireless/broadcom/b43/phy_n.c 			if (dev->phy.rev < 3)
rev              5578 drivers/net/wireless/broadcom/b43/phy_n.c 			if (dev->phy.rev < 3)
rev              5591 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev < 2 && (!mphase || nphy->mphase_cal_phase_id == last))
rev              5594 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev >= 4)
rev              5666 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev < 2)
rev              5828 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev >= 7)
rev              5831 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev >= 3)
rev              5859 drivers/net/wireless/broadcom/b43/phy_n.c 		if (dev->phy.rev >= 3) {
rev              5864 drivers/net/wireless/broadcom/b43/phy_n.c 		if (dev->phy.rev >= 3) {
rev              5978 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev >= 7)
rev              5981 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev >= 3) {
rev              6037 drivers/net/wireless/broadcom/b43/phy_n.c 	if ((dev->phy.rev >= 3) &&
rev              6056 drivers/net/wireless/broadcom/b43/phy_n.c 		phy->rev >= 7 ||
rev              6057 drivers/net/wireless/broadcom/b43/phy_n.c 		(phy->rev >= 5 &&
rev              6065 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev >= 3) {
rev              6068 drivers/net/wireless/broadcom/b43/phy_n.c 		if (phy->rev >= 7) {
rev              6074 drivers/net/wireless/broadcom/b43/phy_n.c 		if (phy->rev >= 19) {
rev              6085 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev < 6) {
rev              6092 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev >= 3)
rev              6096 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev <= 2) {
rev              6097 drivers/net/wireless/broadcom/b43/phy_n.c 		tmp = (dev->phy.rev == 2) ? 0x3B : 0x40;
rev              6115 drivers/net/wireless/broadcom/b43/phy_n.c 	if (phy->rev < 8)
rev              6120 drivers/net/wireless/broadcom/b43/phy_n.c 	if (phy->rev < 2) {
rev              6133 drivers/net/wireless/broadcom/b43/phy_n.c 	} else if (phy->rev >= 5) {
rev              6148 drivers/net/wireless/broadcom/b43/phy_n.c 	if (phy->rev < 7) {
rev              6173 drivers/net/wireless/broadcom/b43/phy_n.c 	if (phy->rev >= 3) {
rev              6203 drivers/net/wireless/broadcom/b43/phy_n.c 				if (phy->rev >= 3) {
rev              6225 drivers/net/wireless/broadcom/b43/phy_n.c 	if (phy->rev >= 3 && phy->rev <= 6)
rev              6228 drivers/net/wireless/broadcom/b43/phy_n.c 	if (phy->rev >= 3)
rev              6313 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev < 3)
rev              6318 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev >= 3 &&
rev              6324 drivers/net/wireless/broadcom/b43/phy_n.c 		} else if (phy->rev >= 19) {
rev              6326 drivers/net/wireless/broadcom/b43/phy_n.c 		} else if (phy->rev >= 18) {
rev              6328 drivers/net/wireless/broadcom/b43/phy_n.c 		} else if (phy->rev >= 17) {
rev              6330 drivers/net/wireless/broadcom/b43/phy_n.c 		} else if (phy->rev >= 16) {
rev              6332 drivers/net/wireless/broadcom/b43/phy_n.c 		} else if (phy->rev >= 7) {
rev              6355 drivers/net/wireless/broadcom/b43/phy_n.c 		if (dev->phy.rev == 3 || dev->phy.rev == 4)
rev              6371 drivers/net/wireless/broadcom/b43/phy_n.c 	if (phy->rev >= 3)
rev              6389 drivers/net/wireless/broadcom/b43/phy_n.c 	if (phy->rev >= 19) {
rev              6392 drivers/net/wireless/broadcom/b43/phy_n.c 	} else if (phy->rev >= 7) {
rev              6397 drivers/net/wireless/broadcom/b43/phy_n.c 	} else if (phy->rev >= 3) {
rev              6421 drivers/net/wireless/broadcom/b43/phy_n.c 		if (phy->rev >= 7)
rev              6425 drivers/net/wireless/broadcom/b43/phy_n.c 		if (phy->rev >= 7)
rev              6429 drivers/net/wireless/broadcom/b43/phy_n.c 	if (phy->rev >= 19) {
rev              6431 drivers/net/wireless/broadcom/b43/phy_n.c 	} else if (phy->rev >= 7) {
rev              6443 drivers/net/wireless/broadcom/b43/phy_n.c 	} else if (phy->rev >= 3) {
rev              6483 drivers/net/wireless/broadcom/b43/phy_n.c 	nphy->hang_avoid = (phy->rev == 3 || phy->rev == 4);
rev              6484 drivers/net/wireless/broadcom/b43/phy_n.c 	nphy->spur_avoid = (phy->rev >= 3) ?
rev              6498 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev >= 3 ||
rev              6504 drivers/net/wireless/broadcom/b43/phy_n.c 		if (dev->phy.rev >= 2 &&
rev              6522 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev >= 3) {
rev              6572 drivers/net/wireless/broadcom/b43/phy_n.c 	B43_WARN_ON(dev->phy.rev < 7 && reg == 1);
rev              6574 drivers/net/wireless/broadcom/b43/phy_n.c 	if (dev->phy.rev >= 7)
rev              6586 drivers/net/wireless/broadcom/b43/phy_n.c 	B43_WARN_ON(dev->phy.rev < 7 && reg == 1);
rev              6602 drivers/net/wireless/broadcom/b43/phy_n.c 		if (phy->rev >= 19) {
rev              6604 drivers/net/wireless/broadcom/b43/phy_n.c 		} else if (phy->rev >= 8) {
rev              6607 drivers/net/wireless/broadcom/b43/phy_n.c 		} else if (phy->rev >= 7) {
rev              6609 drivers/net/wireless/broadcom/b43/phy_n.c 		} else if (phy->rev >= 3) {
rev              6630 drivers/net/wireless/broadcom/b43/phy_n.c 		if (phy->rev >= 19) {
rev              6632 drivers/net/wireless/broadcom/b43/phy_n.c 		} else if (phy->rev >= 7) {
rev              6636 drivers/net/wireless/broadcom/b43/phy_n.c 		} else if (phy->rev >= 3) {
rev              6653 drivers/net/wireless/broadcom/b43/phy_n.c 	if (phy->rev >= 19) {
rev              6655 drivers/net/wireless/broadcom/b43/phy_n.c 	} else if (phy->rev >= 3) {
rev               134 drivers/net/wireless/broadcom/b43/pio.c 	q->rev = dev->dev->core_rev;
rev               140 drivers/net/wireless/broadcom/b43/pio.c 	if (q->rev >= 8) {
rev               168 drivers/net/wireless/broadcom/b43/pio.c 	q->rev = dev->dev->core_rev;
rev               473 drivers/net/wireless/broadcom/b43/pio.c 	if (q->rev >= 8)
rev               622 drivers/net/wireless/broadcom/b43/pio.c 	if (q->rev >= 8) {
rev               656 drivers/net/wireless/broadcom/b43/pio.c 	if (q->rev >= 8) {
rev               704 drivers/net/wireless/broadcom/b43/pio.c 	if (q->rev >= 8) {
rev               754 drivers/net/wireless/broadcom/b43/pio.c 	if (q->rev >= 8)
rev               779 drivers/net/wireless/broadcom/b43/pio.c 	if (q->rev >= 8) {
rev               792 drivers/net/wireless/broadcom/b43/pio.c 	if (q->rev >= 8) {
rev                96 drivers/net/wireless/broadcom/b43/pio.h 	u8 rev;
rev               105 drivers/net/wireless/broadcom/b43/pio.h 	u8 rev;
rev               145 drivers/net/wireless/broadcom/b43/ppr.c 		if (phy->type == B43_PHYTYPE_N && phy->rev >= 3)
rev               151 drivers/net/wireless/broadcom/b43/ppr.c 		if (phy->type == B43_PHYTYPE_N && phy->rev >= 3)
rev               169 drivers/net/wireless/broadcom/b43/ppr.c 		if (phy->type == B43_PHYTYPE_N && phy->rev >= 3)
rev               175 drivers/net/wireless/broadcom/b43/ppr.c 		if (phy->type == B43_PHYTYPE_N && phy->rev >= 3)
rev              10170 drivers/net/wireless/broadcom/b43/radio_2056.c 	switch (dev->phy.rev) {
rev              10261 drivers/net/wireless/broadcom/b43/radio_2056.c 	switch (phy->rev) {
rev               530 drivers/net/wireless/broadcom/b43/radio_2057.c 	switch (phy->rev) {
rev               584 drivers/net/wireless/broadcom/b43/radio_2057.c 	switch (phy->rev) {
rev               324 drivers/net/wireless/broadcom/b43/radio_2059.c 	switch (phy->rev) {
rev              2259 drivers/net/wireless/broadcom/b43/tables_lpphy.c 	B43_WARN_ON(dev->phy.rev >= 2);
rev              2275 drivers/net/wireless/broadcom/b43/tables_lpphy.c 	if (dev->phy.rev == 0) {
rev              2296 drivers/net/wireless/broadcom/b43/tables_lpphy.c 	B43_WARN_ON(dev->phy.rev < 2);
rev              2347 drivers/net/wireless/broadcom/b43/tables_lpphy.c 	B43_WARN_ON(dev->phy.rev >= 2);
rev              2363 drivers/net/wireless/broadcom/b43/tables_lpphy.c 	B43_WARN_ON(dev->phy.rev < 2);
rev              2368 drivers/net/wireless/broadcom/b43/tables_lpphy.c 	if (dev->phy.rev >= 3) {
rev              2388 drivers/net/wireless/broadcom/b43/tables_lpphy.c 	if (dev->phy.rev >= 2)
rev              2407 drivers/net/wireless/broadcom/b43/tables_lpphy.c 	switch (dev->phy.rev) {
rev              3626 drivers/net/wireless/broadcom/b43/tables_nphy.c 	if (dev->phy.rev >= 16)
rev              3628 drivers/net/wireless/broadcom/b43/tables_nphy.c 	else if (dev->phy.rev >= 7)
rev              3630 drivers/net/wireless/broadcom/b43/tables_nphy.c 	else if (dev->phy.rev >= 3)
rev              3642 drivers/net/wireless/broadcom/b43/tables_nphy.c 		switch (phy->rev) {
rev              3670 drivers/net/wireless/broadcom/b43/tables_nphy.c 		switch (phy->rev) {
rev              3691 drivers/net/wireless/broadcom/b43/tables_nphy.c 	if (dev->phy.rev < 3)
rev              3699 drivers/net/wireless/broadcom/b43/tables_nphy.c 		switch (phy->rev) {
rev              3715 drivers/net/wireless/broadcom/b43/tables_nphy.c 		switch (phy->rev) {
rev              3737 drivers/net/wireless/broadcom/b43/tables_nphy.c 		switch (phy->rev) {
rev              3752 drivers/net/wireless/broadcom/b43/tables_nphy.c 		switch (phy->rev) {
rev              3772 drivers/net/wireless/broadcom/b43/tables_nphy.c 	if (!ghz5 && dev->phy.rev >= 6 && dev->phy.radio_rev == 11)
rev              3775 drivers/net/wireless/broadcom/b43/tables_nphy.c 	B43_WARN_ON(dev->phy.rev < 3);
rev              3776 drivers/net/wireless/broadcom/b43/tables_nphy.c 	if (dev->phy.rev >= 6)
rev              3778 drivers/net/wireless/broadcom/b43/tables_nphy.c 	else if (dev->phy.rev == 5)
rev              3780 drivers/net/wireless/broadcom/b43/tables_nphy.c 	else if (dev->phy.rev == 4)
rev              3793 drivers/net/wireless/broadcom/b43/tables_nphy.c 		if (phy->rev >= 6) {
rev              3799 drivers/net/wireless/broadcom/b43/tables_nphy.c 		} else if (phy->rev == 5) {
rev              3807 drivers/net/wireless/broadcom/b43/tables_nphy.c 		if (phy->rev >= 5 && ext_lna) {
rev              3815 drivers/net/wireless/broadcom/b43/tables_nphy.c 		if (phy->rev >= 6) {
rev              3818 drivers/net/wireless/broadcom/b43/tables_nphy.c 		} else if (phy->rev == 4 && ext_lna) {
rev                26 drivers/net/wireless/broadcom/b43/wa.c 	if (phy->rev <= 2)
rev                34 drivers/net/wireless/broadcom/b43/wa.c 	if (phy->rev <= 3)
rev                36 drivers/net/wireless/broadcom/b43/wa.c 	else if (phy->rev == 5) {
rev                40 drivers/net/wireless/broadcom/b43/wa.c 	if (phy->rev >= 3)
rev                87 drivers/net/wireless/broadcom/b43/wa.c 	if (phy->rev == 1)
rev               117 drivers/net/wireless/broadcom/b43/wa.c 	if (phy->rev >= 6) {
rev               159 drivers/net/wireless/broadcom/b43/wa.c 	if (phy->rev == 1) {
rev               161 drivers/net/wireless/broadcom/b43/wa.c 	} else if (phy->rev == 2) {
rev               192 drivers/net/wireless/broadcom/b43/wa.c 	if (dev->phy.rev == 1) {
rev               215 drivers/net/wireless/broadcom/b43/wa.c 	if (phy->rev == 1) {
rev               241 drivers/net/wireless/broadcom/b43/wa.c 	if (phy->rev == 1) {
rev               253 drivers/net/wireless/broadcom/b43/wa.c 	if (phy->rev == 1) {
rev               260 drivers/net/wireless/broadcom/b43/wa.c 		if (phy->rev >= 6) {
rev               267 drivers/net/wireless/broadcom/b43/wa.c 	if (phy->rev == 1) {
rev               282 drivers/net/wireless/broadcom/b43/wa.c 	if (phy->rev >= 6) {
rev               308 drivers/net/wireless/broadcom/b43/wa.c 		if (phy->rev < 2) {
rev               315 drivers/net/wireless/broadcom/b43/wa.c 			    (phy->rev >= 7)) {
rev               337 drivers/net/wireless/broadcom/b43/wa.c 		switch (phy->rev) {
rev               797 drivers/net/wireless/broadcom/b43/xmit.c 		if (dev->fw.rev >= 508)
rev               375 drivers/net/wireless/broadcom/b43/xmit.h 	return (dev->fw.rev >= 351);
rev               410 drivers/net/wireless/broadcom/b43legacy/b43legacy.h 	u8 rev;
rev               652 drivers/net/wireless/broadcom/b43legacy/b43legacy.h 	u16 rev;
rev              1566 drivers/net/wireless/broadcom/b43legacy/main.c 	const u8 rev = dev->dev->id.revision;
rev              1571 drivers/net/wireless/broadcom/b43legacy/main.c 		if (rev == 2)
rev              1573 drivers/net/wireless/broadcom/b43legacy/main.c 		else if (rev == 4)
rev              1582 drivers/net/wireless/broadcom/b43legacy/main.c 		if (rev < 5)
rev              1594 drivers/net/wireless/broadcom/b43legacy/main.c 			if ((rev >= 5) && (rev <= 10))
rev              1596 drivers/net/wireless/broadcom/b43legacy/main.c 			else if (rev == 2 || rev == 4)
rev              1612 drivers/net/wireless/broadcom/b43legacy/main.c 			if ((rev >= 5) && (rev <= 10))
rev              1614 drivers/net/wireless/broadcom/b43legacy/main.c 			else if (rev >= 11)
rev              1616 drivers/net/wireless/broadcom/b43legacy/main.c 			else if (rev == 2 || rev == 4)
rev              1644 drivers/net/wireless/broadcom/b43legacy/main.c 	       "core rev %u\n", dev->phy.type, rev);
rev              1761 drivers/net/wireless/broadcom/b43legacy/main.c 	dev->fw.rev = fwrev;
rev              1765 drivers/net/wireless/broadcom/b43legacy/main.c 			dev->fw.rev, dev->fw.patch);
rev              2262 drivers/net/wireless/broadcom/b43legacy/main.c 	if (phy->type != B43legacy_PHYTYPE_G || phy->rev < 2)
rev              3071 drivers/net/wireless/broadcom/b43legacy/main.c 	phy->rev = phy_rev;
rev              3296 drivers/net/wireless/broadcom/b43legacy/main.c 		if (phy->rev == 1)
rev              3302 drivers/net/wireless/broadcom/b43legacy/main.c 		if (phy->rev >= 2 && phy->radio_ver == 0x2050)
rev               123 drivers/net/wireless/broadcom/b43legacy/phy.c 	if (phy->type == B43legacy_PHYTYPE_G && phy->rev == 1) {
rev               164 drivers/net/wireless/broadcom/b43legacy/phy.c 	    phy->rev >= 2 &&
rev               198 drivers/net/wireless/broadcom/b43legacy/phy.c 	if (phy->rev == 1)
rev               206 drivers/net/wireless/broadcom/b43legacy/phy.c 	if (phy->rev == 1) {
rev               236 drivers/net/wireless/broadcom/b43legacy/phy.c 	if (phy->rev == 1)
rev               260 drivers/net/wireless/broadcom/b43legacy/phy.c 	if (phy->rev == 1) {
rev               274 drivers/net/wireless/broadcom/b43legacy/phy.c 	if (phy->rev > 2) {
rev               285 drivers/net/wireless/broadcom/b43legacy/phy.c 	if (phy->rev == 1) {
rev               301 drivers/net/wireless/broadcom/b43legacy/phy.c 	if (phy->rev >= 6) {
rev               315 drivers/net/wireless/broadcom/b43legacy/phy.c 	if (phy->rev == 1) {
rev               336 drivers/net/wireless/broadcom/b43legacy/phy.c 		if (phy->rev == 2) {
rev               339 drivers/net/wireless/broadcom/b43legacy/phy.c 		} else if (phy->rev > 2) {
rev               354 drivers/net/wireless/broadcom/b43legacy/phy.c 	if (phy->rev <= 2)
rev               358 drivers/net/wireless/broadcom/b43legacy/phy.c 	else if ((phy->rev >= 7) && (b43legacy_phy_read(dev, 0x0449) & 0x0200))
rev               367 drivers/net/wireless/broadcom/b43legacy/phy.c 	if (phy->rev == 2)
rev               371 drivers/net/wireless/broadcom/b43legacy/phy.c 	else if ((phy->rev > 2) && (phy->rev <= 8))
rev               376 drivers/net/wireless/broadcom/b43legacy/phy.c 	if (phy->rev == 1) {
rev               800 drivers/net/wireless/broadcom/b43legacy/phy.c 	if (phy->rev != 1) {
rev               831 drivers/net/wireless/broadcom/b43legacy/phy.c 	if (phy->rev != 1) {
rev               860 drivers/net/wireless/broadcom/b43legacy/phy.c 	if (phy->rev != 1) {
rev               883 drivers/net/wireless/broadcom/b43legacy/phy.c 	if (phy->rev >= 3)
rev               900 drivers/net/wireless/broadcom/b43legacy/phy.c 		if (phy->rev >= 7) {
rev               952 drivers/net/wireless/broadcom/b43legacy/phy.c 	if (phy->rev != 1) {
rev               988 drivers/net/wireless/broadcom/b43legacy/phy.c 	if (phy->rev == 1)
rev               992 drivers/net/wireless/broadcom/b43legacy/phy.c 	if (phy->rev >= 2 && phy->gmode)
rev               995 drivers/net/wireless/broadcom/b43legacy/phy.c 	if (phy->rev >= 2) {
rev               999 drivers/net/wireless/broadcom/b43legacy/phy.c 	if (phy->rev == 2) {
rev              1003 drivers/net/wireless/broadcom/b43legacy/phy.c 	if (phy->rev > 5) {
rev              1021 drivers/net/wireless/broadcom/b43legacy/phy.c 		if (phy->rev >= 2)
rev              1030 drivers/net/wireless/broadcom/b43legacy/phy.c 	if (phy->rev >= 2 && phy->gmode)
rev              1050 drivers/net/wireless/broadcom/b43legacy/phy.c 		if (phy->rev >= 6)
rev              1059 drivers/net/wireless/broadcom/b43legacy/phy.c 		if (phy->rev < 2)
rev              1078 drivers/net/wireless/broadcom/b43legacy/phy.c 	} else if (phy->gmode || phy->rev >= 2) {
rev              2040 drivers/net/wireless/broadcom/b43legacy/phy.c 		switch (phy->rev) {
rev              2122 drivers/net/wireless/broadcom/b43legacy/phy.c 			if (phy->rev >= 2) {
rev              2130 drivers/net/wireless/broadcom/b43legacy/phy.c 				if (phy->rev == 2)
rev              2137 drivers/net/wireless/broadcom/b43legacy/phy.c 			} else if (phy->rev >= 6)
rev              2140 drivers/net/wireless/broadcom/b43legacy/phy.c 			if (phy->rev < 3)
rev              2149 drivers/net/wireless/broadcom/b43legacy/phy.c 				if (phy->rev == 3) {
rev               166 drivers/net/wireless/broadcom/b43legacy/phy.h 	(((phy)->rev > 1) || ((phy)->gmode))
rev               142 drivers/net/wireless/broadcom/b43legacy/radio.c 	if (phy->rev <= 1) {
rev               178 drivers/net/wireless/broadcom/b43legacy/radio.c 	if (phy->rev <= 1) {
rev               274 drivers/net/wireless/broadcom/b43legacy/radio.c 	if (!((phy->type == B43legacy_PHYTYPE_G) && (phy->rev > 0)))
rev               399 drivers/net/wireless/broadcom/b43legacy/radio.c 	if (phy->rev >= 6) {
rev               505 drivers/net/wireless/broadcom/b43legacy/radio.c 	if (phy->rev >= 6) {
rev               525 drivers/net/wireless/broadcom/b43legacy/radio.c 	if (phy->rev >= 6) {
rev               562 drivers/net/wireless/broadcom/b43legacy/radio.c 		tmp &= (phy->rev >= 5) ? 0x007F : 0x000F;
rev               648 drivers/net/wireless/broadcom/b43legacy/radio.c 		if (phy->rev >= 3) {
rev               660 drivers/net/wireless/broadcom/b43legacy/radio.c 			switch (phy->rev) {
rev               689 drivers/net/wireless/broadcom/b43legacy/radio.c 		if (phy->rev >= 2) {
rev               721 drivers/net/wireless/broadcom/b43legacy/radio.c 		if (phy->rev >= 2) {
rev               754 drivers/net/wireless/broadcom/b43legacy/radio.c 		if (phy->rev >= 3) {
rev               761 drivers/net/wireless/broadcom/b43legacy/radio.c 		if (phy->rev >= 2) {
rev               787 drivers/net/wireless/broadcom/b43legacy/radio.c 		if (phy->rev >= 3) {
rev               984 drivers/net/wireless/broadcom/b43legacy/radio.c 		if (phy->rev != 1) {
rev              1057 drivers/net/wireless/broadcom/b43legacy/radio.c 		if (phy->rev < 2)
rev              1076 drivers/net/wireless/broadcom/b43legacy/radio.c 		if (phy->rev == 2) {
rev              1079 drivers/net/wireless/broadcom/b43legacy/radio.c 		} else if (phy->rev >= 3) {
rev              1110 drivers/net/wireless/broadcom/b43legacy/radio.c 		if (phy->rev < 2)
rev              1112 drivers/net/wireless/broadcom/b43legacy/radio.c 		else if (phy->rev == 2) {
rev              1160 drivers/net/wireless/broadcom/b43legacy/radio.c 		if (phy->rev >= 3) {
rev              1189 drivers/net/wireless/broadcom/b43legacy/radio.c 		if (phy->rev >= 2)
rev              1196 drivers/net/wireless/broadcom/b43legacy/radio.c 		if (phy->rev == 2) {
rev              1203 drivers/net/wireless/broadcom/b43legacy/radio.c 		} else if (phy->rev >= 6) {
rev              1227 drivers/net/wireless/broadcom/b43legacy/radio.c 		if (phy->rev != 1) {
rev              1277 drivers/net/wireless/broadcom/b43legacy/radio.c 		if (phy->rev >= 2) {
rev              1285 drivers/net/wireless/broadcom/b43legacy/radio.c 		if (phy->rev == 2) {
rev              1288 drivers/net/wireless/broadcom/b43legacy/radio.c 		} else if (phy->rev >= 3) {
rev              1329 drivers/net/wireless/broadcom/b43legacy/radio.c 	    (phy->rev == 0) || (!phy->gmode))
rev              1393 drivers/net/wireless/broadcom/b43legacy/radio.c 		if (phy->rev < 7 || !(dev->dev->bus->sprom.boardflags_lo
rev              1446 drivers/net/wireless/broadcom/b43legacy/radio.c 		if (phy->rev >= 7 && dev->dev->bus->sprom.boardflags_lo
rev              1522 drivers/net/wireless/broadcom/b43legacy/radio.c 			if (phy->rev > 1) { /* loopback gain enabled */
rev              1525 drivers/net/wireless/broadcom/b43legacy/radio.c 				if (phy->rev >= 3)
rev              1536 drivers/net/wireless/broadcom/b43legacy/radio.c 			if (phy->rev < 7 ||
rev              1700 drivers/net/wireless/broadcom/b43legacy/radio.c 			if (phy->rev > 1) {
rev               234 drivers/net/wireless/broadcom/b43legacy/xmit.h 	return (dev->fw.rev >= 351);
rev              6941 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	ccreq->rev = cpu_to_le32(country_codes->table[found_index].rev);
rev               244 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c 	core->rev = SBCOREREV(regdata);
rev               457 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c char *brcmf_chip_name(u32 id, u32 rev, char *buf, uint len)
rev               462 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c 	snprintf(buf, len, fmt, id, rev);
rev               496 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c 			  idx++, core->pub.id, core->pub.rev, core->pub.base,
rev               566 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c 	if (WARN_ON(sr->pub.rev < 4))
rev               576 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c 	if ((sr->pub.rev <= 7) || (sr->pub.rev == 12)) {
rev               586 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c 		if (sr->pub.rev >= 23) {
rev               857 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c 	u8 nmp, nsp, nmw, nsw, rev;
rev               887 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c 		rev = (val & DMP_COMP_REVISION) >> DMP_COMP_REVISION_S;
rev               905 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c 		core->rev = rev;
rev              1048 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c 		  cc->pub.rev, pub->pmurev, pub->pmucaps);
rev              1147 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c 	if (cc->rev >= 35 &&
rev                49 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.h 	u16 rev;
rev               430 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c 			    ((device_pd->rev == chiprev) ||
rev               431 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c 			     (device_pd->rev == -1))) {
rev               686 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h 	__le32 rev;
rev               600 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c 	if (core->rev <= 13) {
rev               695 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c 	if (core->rev <= 13)
rev              3455 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 	if (core->rev < 12)
rev              3504 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 	if (core->rev < 12) {
rev              3856 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 	u32 val, rev;
rev              3870 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 		rev = (val & CID_REV_MASK) >> CID_REV_SHIFT;
rev              3871 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 		if (rev >= 2) {
rev               451 drivers/net/wireless/broadcom/brcm80211/brcmsmac/aiutils.c 	sii->pub.ccrev = cc->id.rev;
rev               482 drivers/net/wireless/broadcom/brcm80211/brcmsmac/aiutils.c 	sih->chiprev = pbus->chipinfo.rev;
rev                88 drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.c 		   bus->chipinfo.id, bus->chipinfo.rev, bus->chipinfo.pkg,
rev                89 drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.c 		   core->id.rev, bus->boardinfo.type, bus->boardinfo.vendor,
rev               556 drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c 	u8 rev = core->id.rev;
rev               627 drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c 	    && ((rev > 0) && (rev <= 2)))
rev               630 drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c 		 ((rev == 0) || (rev == 1)))
rev              1228 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c 		 pdev->id.manuf, pdev->id.id, pdev->id.rev, pdev->id.class,
rev              4465 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	wlc_hw->corerev = core->id.rev;
rev              7916 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		u16 rev;
rev              7919 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		rev = brcms_b_read_shm(wlc->hw, M_BOM_REV_MAJOR);
rev              7921 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		wlc->ucode_rev = (rev << NBITS(u16)) | patch;
rev              7923 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 			 sizeof(wlc->wiphy->fw_version), "%u.%u", rev, patch);
rev              4079 drivers/net/wireless/marvell/mwl8k.c 	__u8 rev;
rev               463 drivers/net/wireless/mediatek/mt76/mt76.h 	u32 rev;
rev               586 drivers/net/wireless/mediatek/mt76/mt76.h 	return dev->rev >> 16;
rev               591 drivers/net/wireless/mediatek/mt76/mt76.h 	return dev->rev & 0xffff;
rev                43 drivers/net/wireless/mediatek/mt76/mt7603/pci.c 	mdev->rev = (mt76_rr(dev, MT_HW_CHIPID) << 16) |
rev                45 drivers/net/wireless/mediatek/mt76/mt7603/pci.c 	dev_info(mdev->dev, "ASIC revision: %04x\n", mdev->rev);
rev                36 drivers/net/wireless/mediatek/mt76/mt7603/soc.c 	mdev->rev = (mt76_rr(dev, MT_HW_CHIPID) << 16) |
rev                38 drivers/net/wireless/mediatek/mt76/mt7603/soc.c 	dev_info(mdev->dev, "ASIC revision: %04x\n", mdev->rev);
rev               112 drivers/net/wireless/mediatek/mt76/mt7615/pci.c 	mdev->rev = (mt76_rr(dev, MT_HW_CHIPID) << 16) |
rev               114 drivers/net/wireless/mediatek/mt76/mt7615/pci.c 	dev_dbg(mdev->dev, "ASIC revision: %04x\n", mdev->rev);
rev               196 drivers/net/wireless/mediatek/mt76/mt76x0/pci.c 	mdev->rev = mt76_rr(dev, MT_ASIC_VERSION);
rev               197 drivers/net/wireless/mediatek/mt76/mt76x0/pci.c 	dev_info(mdev->dev, "ASIC revision: %08x\n", mdev->rev);
rev               259 drivers/net/wireless/mediatek/mt76/mt76x0/usb.c 	mdev->rev = mt76_rr(dev, MT_ASIC_VERSION);
rev               262 drivers/net/wireless/mediatek/mt76/mt76x0/usb.c 		 mdev->rev, mac_rev);
rev                61 drivers/net/wireless/mediatek/mt76/mt76x2/pci.c 	mdev->rev = mt76_rr(dev, MT_ASIC_VERSION);
rev                62 drivers/net/wireless/mediatek/mt76/mt76x2/pci.c 	dev_info(mdev->dev, "ASIC revision: %08x\n", mdev->rev);
rev                60 drivers/net/wireless/mediatek/mt76/mt76x2/usb.c 	mdev->rev = mt76_rr(dev, MT_ASIC_VERSION);
rev                61 drivers/net/wireless/mediatek/mt76/mt76x2/usb.c 	dev_info(mdev->dev, "ASIC revision: %08x\n", mdev->rev);
rev              10195 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	u32 rev;
rev              10203 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rev = rt2x00_get_field32(reg, MAC_CSR0_REVISION);
rev              10225 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 			   rt, rev);
rev              10232 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_rt(rt2x00dev, rt, rev);
rev               168 drivers/net/wireless/ralink/rt2x00/rt2x00.h 	u16 rev;
rev              1091 drivers/net/wireless/ralink/rt2x00/rt2x00.h 				   const u16 rt, const u16 rf, const u16 rev)
rev              1095 drivers/net/wireless/ralink/rt2x00/rt2x00.h 	rt2x00dev->chip.rev = rev;
rev              1099 drivers/net/wireless/ralink/rt2x00/rt2x00.h 		    rt2x00dev->chip.rev);
rev              1103 drivers/net/wireless/ralink/rt2x00/rt2x00.h 				 const u16 rt, const u16 rev)
rev              1106 drivers/net/wireless/ralink/rt2x00/rt2x00.h 	rt2x00dev->chip.rev = rev;
rev              1109 drivers/net/wireless/ralink/rt2x00/rt2x00.h 		    rt2x00dev->chip.rt, rt2x00dev->chip.rev);
rev              1132 drivers/net/wireless/ralink/rt2x00/rt2x00.h 	return rt2x00dev->chip.rev;
rev              1136 drivers/net/wireless/ralink/rt2x00/rt2x00.h 				 const u16 rt, const u16 rev)
rev              1138 drivers/net/wireless/ralink/rt2x00/rt2x00.h 	return (rt2x00_rt(rt2x00dev, rt) && rt2x00_rev(rt2x00dev) == rev);
rev              1142 drivers/net/wireless/ralink/rt2x00/rt2x00.h 				    const u16 rt, const u16 rev)
rev              1144 drivers/net/wireless/ralink/rt2x00/rt2x00.h 	return (rt2x00_rt(rt2x00dev, rt) && rt2x00_rev(rt2x00dev) < rev);
rev              1148 drivers/net/wireless/ralink/rt2x00/rt2x00.h 				     const u16 rt, const u16 rev)
rev              1150 drivers/net/wireless/ralink/rt2x00/rt2x00.h 	return (rt2x00_rt(rt2x00dev, rt) && rt2x00_rev(rt2x00dev) >= rev);
rev               169 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c 	dump_hdr->chip_rev = cpu_to_le16(rt2x00dev->chip.rev);
rev               611 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c 	data += sprintf(data, "revision:\t%04x\n", intf->rt2x00dev->chip.rev);
rev               137 drivers/net/wireless/ti/wl1251/acx.c 	struct acx_revision *rev;
rev               142 drivers/net/wireless/ti/wl1251/acx.c 	rev = kzalloc(sizeof(*rev), GFP_KERNEL);
rev               143 drivers/net/wireless/ti/wl1251/acx.c 	if (!rev)
rev               146 drivers/net/wireless/ti/wl1251/acx.c 	ret = wl1251_cmd_interrogate(wl, ACX_FW_REV, rev, sizeof(*rev));
rev               153 drivers/net/wireless/ti/wl1251/acx.c 	strncpy(buf, rev->fw_version, min(len, sizeof(rev->fw_version)));
rev               160 drivers/net/wireless/ti/wl1251/acx.c 	buf[min(len, sizeof(rev->fw_version)) - 1] = '\0';
rev               163 drivers/net/wireless/ti/wl1251/acx.c 	kfree(rev);
rev                31 drivers/nfc/pn533/pn533.c 	u8 rev;
rev              2390 drivers/nfc/pn533/pn533.c 	fv->rev = resp->data[2];
rev              2573 drivers/nfc/pn533/pn533.c 		fw_ver.ic, fw_ver.ver, fw_ver.rev);
rev               758 drivers/nubus/nubus.c 	board->rev = nubus_get_rom(&rp, 1, bytelanes);
rev                57 drivers/parisc/eisa_enumerator.c 	int rev;
rev                60 drivers/parisc/eisa_enumerator.c 	rev = id & 0xff;
rev                72 drivers/parisc/eisa_enumerator.c 	sprintf(s, "%s%02X%02X", vendor, device, rev);
rev              1277 drivers/parport/parport_pc.c 	int origval, id, rev, oldid, oldrev, x_id, x_rev, x_oldid, x_oldrev;
rev              1304 drivers/parport/parport_pc.c 	rev = inb(io + 1);
rev              1310 drivers/parport/parport_pc.c 	    x_oldid == oldid && x_rev == rev)
rev               163 drivers/pci/controller/pci-hyperv.c 	u8	rev;
rev               675 drivers/pci/controller/pci-hyperv.c 		memcpy(val, ((u8 *)&hpdev->desc.rev) + where -
rev               294 drivers/pci/hotplug/cpqphp.h 	u8 rev;
rev              1029 drivers/pci/hotplug/cpqphp_core.c 	ctrl->rev = pdev->revision;
rev              1031 drivers/pci/hotplug/cpqphp_core.c 		PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn), ctrl->rev);
rev               264 drivers/pci/hotplug/cpqphp_ctrl.c 				if (ctrl->rev < 4) {
rev                31 drivers/pci/hotplug/ibmphp_core.c #define get_ctrl_revision(sl, rev) ibmphp_hpc_readslot(sl, READ_REVLEVEL, rev)
rev               305 drivers/pci/quirks.c 	u8 rev;
rev               306 drivers/pci/quirks.c 	pci_read_config_byte(dev, 0x08, &rev);
rev               307 drivers/pci/quirks.c 	if (rev == 0x13) {
rev              2456 drivers/pci/quirks.c 	u32 rev;
rev              2458 drivers/pci/quirks.c 	pci_read_config_dword(dev, 0xf4, &rev);
rev              2461 drivers/pci/quirks.c 	if (rev == 0x05719000) {
rev               345 drivers/pci/switch/switchtec.c 	int rev = ioread8(&stdev->mmio_sys_info->component_revision);
rev               347 drivers/pci/switch/switchtec.c 	return sprintf(buf, "%d\n", rev);
rev               374 drivers/perf/arm-cci.c 	int rev;
rev               375 drivers/perf/arm-cci.c 	rev = readl_relaxed(cci_pmu->ctrl_base + CCI_PID2) & CCI_PID2_REV_MASK;
rev               376 drivers/perf/arm-cci.c 	rev >>= CCI_PID2_REV_SHIFT;
rev               378 drivers/perf/arm-cci.c 	if (rev < CCI400_R1_PX)
rev              1408 drivers/pinctrl/intel/pinctrl-intel.c 			u32 rev;
rev              1410 drivers/pinctrl/intel/pinctrl-intel.c 			rev = (readl(regs + REVID) & REVID_MASK) >> REVID_SHIFT;
rev              1411 drivers/pinctrl/intel/pinctrl-intel.c 			if (rev >= 0x94) {
rev               175 drivers/power/supply/max14656_charger_detector.c 	uint8_t rev;
rev               186 drivers/power/supply/max14656_charger_detector.c 	rev = val & DEVICE_REV_MASK;
rev               206 drivers/power/supply/max14656_charger_detector.c 	dev_info(&client->dev, "detected revision %d\n", rev);
rev               152 drivers/regulator/tps65218-regulator.c 	if (rid == TPS65218_DCDC_3 && tps->rev == TPS65218_REV_2_1)
rev              1237 drivers/s390/virtio/virtio_ccw.c 	struct virtio_rev_info *rev;
rev              1244 drivers/s390/virtio/virtio_ccw.c 	rev = ccw_device_dma_zalloc(vcdev->cdev, sizeof(*rev));
rev              1245 drivers/s390/virtio/virtio_ccw.c 	if (!rev) {
rev              1253 drivers/s390/virtio/virtio_ccw.c 	ccw->count = sizeof(*rev);
rev              1254 drivers/s390/virtio/virtio_ccw.c 	ccw->cda = (__u32)(unsigned long)rev;
rev              1258 drivers/s390/virtio/virtio_ccw.c 		rev->revision = vcdev->revision;
rev              1260 drivers/s390/virtio/virtio_ccw.c 		rev->length = 0;
rev              1277 drivers/s390/virtio/virtio_ccw.c 	ccw_device_dma_free(vcdev->cdev, rev, sizeof(*rev));
rev               364 drivers/scsi/53c700.c 		hostdata->rev = (NCR_700_readb(host, CTEST8_REG)>>4) & 0x0f;
rev               366 drivers/scsi/53c700.c 		hostdata->rev = (NCR_700_readb(host, CTEST7_REG)>>4) & 0x0f;
rev               375 drivers/scsi/53c700.c 	       hostdata->rev, hostdata->differential ?
rev               240 drivers/scsi/53c700.h 	__u8	rev;
rev              1314 drivers/scsi/aha152x.c 	unsigned char rev, dmacntrl0;
rev              1329 drivers/scsi/aha152x.c 	rev = GETPORT(REV);
rev              1331 drivers/scsi/aha152x.c 	if ((rev == 0xFF) && (dmacntrl0 == 0xFF))
rev               932 drivers/scsi/aic7xxx/aic79xx_pci.c 	u_int rev;
rev               935 drivers/scsi/aic7xxx/aic79xx_pci.c 	rev = ahd_pci_read_config(pci, PCIR_REVID, /*bytes*/1);
rev               936 drivers/scsi/aic7xxx/aic79xx_pci.c 	if (rev < ID_AIC7902_PCI_REV_A4) {
rev               938 drivers/scsi/aic7xxx/aic79xx_pci.c 		       ahd_name(ahd), rev);
rev               943 drivers/scsi/aic7xxx/aic79xx_pci.c 	if (rev < ID_AIC7902_PCI_REV_B0) {
rev              2049 drivers/scsi/aic7xxx/aic7xxx_pci.c 	uint8_t rev;
rev              2056 drivers/scsi/aic7xxx/aic7xxx_pci.c 	rev = ahc_pci_read_config(pci, PCIR_REVID, /*bytes*/1);
rev              2057 drivers/scsi/aic7xxx/aic7xxx_pci.c 	if (rev >= 1)
rev              2067 drivers/scsi/aic7xxx/aic7xxx_pci.c 	uint8_t rev;
rev              2074 drivers/scsi/aic7xxx/aic7xxx_pci.c 	rev = ahc_pci_read_config(pci, PCIR_REVID, /*bytes*/1);
rev              2075 drivers/scsi/aic7xxx/aic7xxx_pci.c 	if (rev >= 1)
rev              2172 drivers/scsi/aic7xxx/aic7xxx_pci.c 	uint8_t rev;
rev              2179 drivers/scsi/aic7xxx/aic7xxx_pci.c 	rev = ahc_pci_read_config(pci, PCIR_REVID, /*bytes*/1);
rev              2180 drivers/scsi/aic7xxx/aic7xxx_pci.c 	if (rev >= 1) {
rev              2244 drivers/scsi/aic7xxx/aic7xxx_pci.c 	uint8_t rev;
rev              2251 drivers/scsi/aic7xxx/aic7xxx_pci.c 	rev = ahc_pci_read_config(pci, PCIR_REVID, /*bytes*/1);
rev              2252 drivers/scsi/aic7xxx/aic7xxx_pci.c 	if (rev == 0)
rev              2275 drivers/scsi/aic7xxx/aic7xxx_pci.c 	uint8_t rev;
rev              2282 drivers/scsi/aic7xxx/aic7xxx_pci.c 	rev = ahc_pci_read_config(pci, PCIR_REVID, /*bytes*/1);
rev              2283 drivers/scsi/aic7xxx/aic7xxx_pci.c 	if (rev >= 4) {
rev               385 drivers/scsi/aic94xx/aic94xx_sds.c 	__le32   rev;		  /* 2 */
rev              1049 drivers/scsi/aic94xx/aic94xx_sds.c 	if (le32_to_cpu(flash_dir->rev) != 2) {
rev              1051 drivers/scsi/aic94xx/aic94xx_sds.c 			   le32_to_cpu(flash_dir->rev));
rev              2714 drivers/scsi/arm/fas216.c 	int family, rev;
rev              2768 drivers/scsi/arm/fas216.c 	rev     = fas216_readb(info, REG_ID);
rev              2769 drivers/scsi/arm/fas216.c 	family  = rev >> 3;
rev              2770 drivers/scsi/arm/fas216.c 	rev    &= 7;
rev              2774 drivers/scsi/arm/fas216.c 		if (rev == 4)
rev              2779 drivers/scsi/arm/fas216.c 		switch (rev) {
rev              2790 drivers/scsi/arm/fas216.c 	printk("family %x rev %x\n", family, rev);
rev               409 drivers/scsi/ch.c 					ch->dt[elem]->rev);
rev               575 drivers/scsi/dpt_i2o.c 				seq_printf(m," Rev: %-8.8s\n", d->pScsi_dev->rev);
rev               157 drivers/scsi/esp_scsi.c 		if (esp->rev == FASHME)
rev               204 drivers/scsi/esp_scsi.c 	if (esp->rev == ESP236) {
rev               251 drivers/scsi/esp_scsi.c 	if (esp->rev == FAST)
rev               259 drivers/scsi/esp_scsi.c 	if (esp->rev == FAST) {
rev               263 drivers/scsi/esp_scsi.c 			esp->rev = FAS236;
rev               265 drivers/scsi/esp_scsi.c 			esp->rev = FASHME; /* Version is usually '5'. */
rev               267 drivers/scsi/esp_scsi.c 			esp->rev = FAS100A;
rev               272 drivers/scsi/esp_scsi.c 	if (esp->rev == FAS236) {
rev               281 drivers/scsi/esp_scsi.c 			esp->rev = PCSCSI;
rev               289 drivers/scsi/esp_scsi.c 	switch (esp->rev) {
rev               313 drivers/scsi/esp_scsi.c 		if (esp->rev == FASHME) {
rev               328 drivers/scsi/esp_scsi.c 		if (esp->rev == FASHME) {
rev               494 drivers/scsi/esp_scsi.c 	if (esp->rev > ESP100A) {
rev               521 drivers/scsi/esp_scsi.c 	if (esp->rev == FASHME) {
rev               689 drivers/scsi/esp_scsi.c 	if (esp->rev == FASHME)
rev               795 drivers/scsi/esp_scsi.c 		if (esp->rev == FASHME && esp_need_to_nego_wide(tp)) {
rev               819 drivers/scsi/esp_scsi.c 	if (ent->tag[0] && esp->rev == ESP100) {
rev               856 drivers/scsi/esp_scsi.c 	if (esp->rev == FASHME)
rev              1004 drivers/scsi/esp_scsi.c 	switch (esp->rev) {
rev              1151 drivers/scsi/esp_scsi.c 	if (esp->rev == FASHME) {
rev              1176 drivers/scsi/esp_scsi.c 		if (esp->rev == ESP100) {
rev              1194 drivers/scsi/esp_scsi.c 	if (esp->rev == FASHME)
rev              1297 drivers/scsi/esp_scsi.c 		if (esp->rev <= ESP236) {
rev              1334 drivers/scsi/esp_scsi.c 		if (esp->rev == FASHME)
rev              1336 drivers/scsi/esp_scsi.c 		if (esp->rev == PCSCSI && (esp->config2 & ESP_CONFIG2_FENAB))
rev              1381 drivers/scsi/esp_scsi.c 		if (esp->rev == ESP100) {
rev              1426 drivers/scsi/esp_scsi.c 		if (esp->rev >= FAS236) {
rev              1428 drivers/scsi/esp_scsi.c 			if (esp->rev >= FAS100A)
rev              1432 drivers/scsi/esp_scsi.c 				if (esp->rev == FASHME)
rev              1518 drivers/scsi/esp_scsi.c 		if (stp && esp->rev >= FAS236) {
rev              1550 drivers/scsi/esp_scsi.c 	if (esp->rev != FASHME)
rev              1749 drivers/scsi/esp_scsi.c 		if (esp->rev == ESP100)
rev              1908 drivers/scsi/esp_scsi.c 		if (esp->rev == FASHME) {
rev              1943 drivers/scsi/esp_scsi.c 		if (esp->rev == FASHME) {
rev              1962 drivers/scsi/esp_scsi.c 			if (esp->rev == FASHME) {
rev              1968 drivers/scsi/esp_scsi.c 				if (esp->rev == ESP100)
rev              1978 drivers/scsi/esp_scsi.c 			if (esp->rev == FASHME)
rev              1989 drivers/scsi/esp_scsi.c 			if (esp->rev == FASHME)
rev              2138 drivers/scsi/esp_scsi.c 	if (esp->rev == FASHME) {
rev              2230 drivers/scsi/esp_scsi.c 			esp->rev = ESP100;
rev              2246 drivers/scsi/esp_scsi.c 		esp->rev = ESP100A;
rev              2256 drivers/scsi/esp_scsi.c 			esp->rev = FAST;
rev              2259 drivers/scsi/esp_scsi.c 			esp->rev = ESP236;
rev              2409 drivers/scsi/esp_scsi.c 		   esp->host->unique_id, esp_chip_names[esp->rev],
rev               473 drivers/scsi/esp_scsi.h 	enum esp_rev		rev;
rev              3952 drivers/scsi/hpsa.c 	this_device->rev = inq_buff[2];
rev              4042 drivers/scsi/hpsa.c 			if (!device->rev)
rev                75 drivers/scsi/hpsa.h 	unsigned char rev;		/* byte 2 of inquiry data */
rev                86 drivers/scsi/iscsi_boot_sysfs.c iscsi_boot_rd_attr(tgt_chap_rev_name, rev-chap-name,
rev                88 drivers/scsi/iscsi_boot_sysfs.c iscsi_boot_rd_attr(tgt_chap_rev_secret, rev-chap-name-secret,
rev               207 drivers/scsi/lpfc/lpfc.h 	} rev;
rev               843 drivers/scsi/lpfc/lpfc_attr.c 	lpfc_jedec_to_ascii(vp->rev.biuRev, hdw);
rev               845 drivers/scsi/lpfc/lpfc_attr.c 			 vp->rev.smRev, vp->rev.smFwRev);
rev              2171 drivers/scsi/lpfc/lpfc_ct.c 	incr = vp->rev.biuRev;
rev              3303 drivers/scsi/lpfc/lpfc_ct.c 	uint32_t b1, b2, b3, b4, i, rev;
rev              3309 drivers/scsi/lpfc/lpfc_ct.c 		snprintf(fwrevision, FW_REV_STR_SIZE, "%s", vp->rev.opFwName);
rev              3310 drivers/scsi/lpfc/lpfc_ct.c 	else if (vp->rev.rBit) {
rev              3312 drivers/scsi/lpfc/lpfc_ct.c 			rev = vp->rev.sli2FwRev;
rev              3314 drivers/scsi/lpfc/lpfc_ct.c 			rev = vp->rev.sli1FwRev;
rev              3316 drivers/scsi/lpfc/lpfc_ct.c 		b1 = (rev & 0x0000f000) >> 12;
rev              3317 drivers/scsi/lpfc/lpfc_ct.c 		b2 = (rev & 0x00000f00) >> 8;
rev              3318 drivers/scsi/lpfc/lpfc_ct.c 		b3 = (rev & 0x000000c0) >> 6;
rev              3319 drivers/scsi/lpfc/lpfc_ct.c 		b4 = (rev & 0x00000030) >> 4;
rev              3338 drivers/scsi/lpfc/lpfc_ct.c 		b4 = (rev & 0x0000000f);
rev              3341 drivers/scsi/lpfc/lpfc_ct.c 			fwname = vp->rev.sli2FwName;
rev              3343 drivers/scsi/lpfc/lpfc_ct.c 			fwname = vp->rev.sli1FwName;
rev              3371 drivers/scsi/lpfc/lpfc_ct.c 		rev = vp->rev.smFwRev;
rev              3373 drivers/scsi/lpfc/lpfc_ct.c 		b1 = (rev & 0xff000000) >> 24;
rev              3374 drivers/scsi/lpfc/lpfc_ct.c 		b2 = (rev & 0x00f00000) >> 20;
rev              3375 drivers/scsi/lpfc/lpfc_ct.c 		b3 = (rev & 0x000f0000) >> 16;
rev              3376 drivers/scsi/lpfc/lpfc_ct.c 		c  = (rev & 0x0000ff00) >> 8;
rev              3377 drivers/scsi/lpfc/lpfc_ct.c 		b4 = (rev & 0x000000ff);
rev              2421 drivers/scsi/lpfc/lpfc_els.c 		if (phba->vpd.rev.feaLevelHigh >= 0x02) {
rev              4895 drivers/scsi/lpfc/lpfc_els.c 		    (vpd->rev.feaLevelHigh >= 0x02)) {
rev              3812 drivers/scsi/lpfc/lpfc_hbadisc.c 		((le32_to_cpu(vport_info->rev) & VPORT_INFO_REV_MASK)
rev              3818 drivers/scsi/lpfc/lpfc_hbadisc.c 			le32_to_cpu(vport_info->rev) & VPORT_INFO_REV_MASK);
rev              3058 drivers/scsi/lpfc/lpfc_hw.h 	uint32_t		rev;
rev              3069 drivers/scsi/lpfc/lpfc_hw.h 	uint32_t rev:4;  /* Revision */
rev              3077 drivers/scsi/lpfc/lpfc_hw.h 	uint32_t rev:4;  /* Revision */
rev               196 drivers/scsi/lpfc/lpfc_init.c 		vp->rev.rBit = 0;
rev               210 drivers/scsi/lpfc/lpfc_init.c 	vp->rev.rBit = 1;
rev               212 drivers/scsi/lpfc/lpfc_init.c 	vp->rev.sli1FwRev = mb->un.varRdRev.sli1FwRev;
rev               213 drivers/scsi/lpfc/lpfc_init.c 	memcpy(vp->rev.sli1FwName, (char*) mb->un.varRdRev.sli1FwName, 16);
rev               214 drivers/scsi/lpfc/lpfc_init.c 	vp->rev.sli2FwRev = mb->un.varRdRev.sli2FwRev;
rev               215 drivers/scsi/lpfc/lpfc_init.c 	memcpy(vp->rev.sli2FwName, (char *) mb->un.varRdRev.sli2FwName, 16);
rev               216 drivers/scsi/lpfc/lpfc_init.c 	vp->rev.biuRev = mb->un.varRdRev.biuRev;
rev               217 drivers/scsi/lpfc/lpfc_init.c 	vp->rev.smRev = mb->un.varRdRev.smRev;
rev               218 drivers/scsi/lpfc/lpfc_init.c 	vp->rev.smFwRev = mb->un.varRdRev.un.smFwRev;
rev               219 drivers/scsi/lpfc/lpfc_init.c 	vp->rev.endecRev = mb->un.varRdRev.endecRev;
rev               220 drivers/scsi/lpfc/lpfc_init.c 	vp->rev.fcphHigh = mb->un.varRdRev.fcphHigh;
rev               221 drivers/scsi/lpfc/lpfc_init.c 	vp->rev.fcphLow = mb->un.varRdRev.fcphLow;
rev               222 drivers/scsi/lpfc/lpfc_init.c 	vp->rev.feaLevelHigh = mb->un.varRdRev.feaLevelHigh;
rev               223 drivers/scsi/lpfc/lpfc_init.c 	vp->rev.feaLevelLow = mb->un.varRdRev.feaLevelLow;
rev               224 drivers/scsi/lpfc/lpfc_init.c 	vp->rev.postKernRev = mb->un.varRdRev.postKernRev;
rev               225 drivers/scsi/lpfc/lpfc_init.c 	vp->rev.opFwRev = mb->un.varRdRev.opFwRev;
rev               231 drivers/scsi/lpfc/lpfc_init.c 	if (vp->rev.feaLevelHigh < 9)
rev               329 drivers/scsi/lpfc/lpfc_init.c 			prg->ver, prg->rev, prg->lev);
rev               332 drivers/scsi/lpfc/lpfc_init.c 			prg->ver, prg->rev, prg->lev,
rev              2325 drivers/scsi/lpfc/lpfc_init.c 		if (vp->rev.biuRev >= 1 && vp->rev.biuRev <= 3)
rev              2336 drivers/scsi/lpfc/lpfc_init.c 		if (FC_JEDEC_ID(vp->rev.biuRev) == CENTAUR_2G_JEDEC_ID)
rev               530 drivers/scsi/lpfc/lpfc_mbox.c 	if (vpd->rev.feaLevelHigh >= 0x02){
rev              4215 drivers/scsi/lpfc/lpfc_sli.c 	    (FC_JEDEC_ID(phba->vpd.rev.biuRev) != HELIOS_JEDEC_ID &&
rev              4216 drivers/scsi/lpfc/lpfc_sli.c 	     FC_JEDEC_ID(phba->vpd.rev.biuRev) != THOR_JEDEC_ID))
rev              7277 drivers/scsi/lpfc/lpfc_sli.c 	phba->vpd.rev.biuRev = mqe->un.read_rev.first_hw_rev;
rev              7278 drivers/scsi/lpfc/lpfc_sli.c 	phba->vpd.rev.smRev = mqe->un.read_rev.second_hw_rev;
rev              7286 drivers/scsi/lpfc/lpfc_sli.c 	    (phba->vpd.rev.biuRev == LPFC_G7_ASIC_1) &&
rev              7287 drivers/scsi/lpfc/lpfc_sli.c 	    (phba->vpd.rev.smRev == 0) &&
rev              7291 drivers/scsi/lpfc/lpfc_sli.c 	phba->vpd.rev.endecRev = mqe->un.read_rev.third_hw_rev;
rev              7292 drivers/scsi/lpfc/lpfc_sli.c 	phba->vpd.rev.fcphHigh = bf_get(lpfc_mbx_rd_rev_fcph_high,
rev              7294 drivers/scsi/lpfc/lpfc_sli.c 	phba->vpd.rev.fcphLow = bf_get(lpfc_mbx_rd_rev_fcph_low,
rev              7296 drivers/scsi/lpfc/lpfc_sli.c 	phba->vpd.rev.feaLevelHigh = bf_get(lpfc_mbx_rd_rev_ftr_lvl_high,
rev              7298 drivers/scsi/lpfc/lpfc_sli.c 	phba->vpd.rev.feaLevelLow = bf_get(lpfc_mbx_rd_rev_ftr_lvl_low,
rev              7300 drivers/scsi/lpfc/lpfc_sli.c 	phba->vpd.rev.sli1FwRev = mqe->un.read_rev.fw_id_rev;
rev              7301 drivers/scsi/lpfc/lpfc_sli.c 	memcpy(phba->vpd.rev.sli1FwName, mqe->un.read_rev.fw_name, 16);
rev              7302 drivers/scsi/lpfc/lpfc_sli.c 	phba->vpd.rev.sli2FwRev = mqe->un.read_rev.ulp_fw_id_rev;
rev              7303 drivers/scsi/lpfc/lpfc_sli.c 	memcpy(phba->vpd.rev.sli2FwName, mqe->un.read_rev.ulp_fw_name, 16);
rev              7304 drivers/scsi/lpfc/lpfc_sli.c 	phba->vpd.rev.opFwRev = mqe->un.read_rev.fw_id_rev;
rev              7305 drivers/scsi/lpfc/lpfc_sli.c 	memcpy(phba->vpd.rev.opFwName, mqe->un.read_rev.fw_name, 16);
rev              7311 drivers/scsi/lpfc/lpfc_sli.c 			phba->vpd.rev.opFwName,
rev              7312 drivers/scsi/lpfc/lpfc_sli.c 			phba->vpd.rev.fcphHigh, phba->vpd.rev.fcphLow,
rev              7313 drivers/scsi/lpfc/lpfc_sli.c 			phba->vpd.rev.feaLevelHigh, phba->vpd.rev.feaLevelLow);
rev               208 drivers/scsi/scsi_proc.c 		if (sdev->rev[i] >= 0x20)
rev               209 drivers/scsi/scsi_proc.c 			seq_putc(s, sdev->rev[i]);
rev               229 drivers/scsi/scsi_scan.c 	sdev->rev = scsi_null_device_strs;
rev               797 drivers/scsi/scsi_scan.c 	sdev->rev = (char *) (sdev->inquiry + 32);
rev               869 drivers/scsi/scsi_scan.c 			sdev->vendor, sdev->model, sdev->rev,
rev               646 drivers/scsi/scsi_sysfs.c sdev_rd_attr (rev, "%.4s\n");
rev              2509 drivers/scsi/sg.c 			   scsidp->vendor, scsidp->model, scsidp->rev);
rev               282 drivers/scsi/st.c 	char *rev;
rev               300 drivers/scsi/st.c 		    !strncmp(rp->rev, SDp->rev, strlen(rp->rev))) {
rev               282 drivers/scsi/sun_esp.c 		if (esp->rev != ESP100) {
rev               394 drivers/scsi/sun_esp.c 	if (esp->rev == FASHME) {
rev                71 drivers/scsi/vmw_pvscsi.c 	u8				rev;
rev               995 drivers/scsi/vmw_pvscsi.c 		"%u/%u/%u pages, cmd_per_lun=%u", adapter->rev,
rev              1366 drivers/scsi/vmw_pvscsi.c 	adapter->rev = pdev->revision;
rev              1440 drivers/scsi/vmw_pvscsi.c 	adapter->rev = adapter_temp.rev;
rev              1525 drivers/scsi/vmw_pvscsi.c 		 adapter->rev, host->host_no);
rev               126 drivers/sfi/sfi_core.c 		header->len, header->rev, header->oem_id,
rev                42 drivers/soc/gemini/soc-gemini.c 	u32 rev;
rev                53 drivers/soc/gemini/soc-gemini.c 	ret = regmap_read(map, GLOBAL_WORD_ID, &rev);
rev                67 drivers/soc/gemini/soc-gemini.c 		rev >> 8, rev & 0xff, val);
rev                45 drivers/soc/imx/soc-imx8.c 	u32 rev = 0;
rev                56 drivers/soc/imx/soc-imx8.c 		rev = REV_B1;
rev                66 drivers/soc/imx/soc-imx8.c 	return rev;
rev                93 drivers/soc/imx/soc-imx8.c 	u32 rev;
rev               102 drivers/soc/imx/soc-imx8.c 	rev = readl_relaxed(anatop_base + ANADIG_DIGPROG_IMX8MM);
rev               109 drivers/soc/imx/soc-imx8.c 	return rev;
rev                38 drivers/soc/tegra/fuse/speedo-tegra114.c 	enum tegra_revision rev = sku_info->revision;
rev                65 drivers/soc/tegra/fuse/speedo-tegra114.c 	if (rev == TEGRA_REVISION_A01) {
rev                30 drivers/soc/tegra/fuse/speedo-tegra20.c #define SPEEDO_ID_SELECT_0(rev)		((rev) <= 2)
rev                72 drivers/soc/tegra/fuse/tegra-apbmisc.c 	int rev;
rev                80 drivers/soc/tegra/fuse/tegra-apbmisc.c 		rev = TEGRA_REVISION_A01;
rev                83 drivers/soc/tegra/fuse/tegra-apbmisc.c 		rev = TEGRA_REVISION_A02;
rev                88 drivers/soc/tegra/fuse/tegra-apbmisc.c 			rev = TEGRA_REVISION_A03p;
rev                90 drivers/soc/tegra/fuse/tegra-apbmisc.c 			rev = TEGRA_REVISION_A03;
rev                93 drivers/soc/tegra/fuse/tegra-apbmisc.c 		rev = TEGRA_REVISION_A04;
rev                96 drivers/soc/tegra/fuse/tegra-apbmisc.c 		rev = TEGRA_REVISION_UNKNOWN;
rev                99 drivers/soc/tegra/fuse/tegra-apbmisc.c 	tegra_sku_info.revision = rev;
rev                53 drivers/soc/ux500/ux500-soc-id.c 	unsigned int rev = dbx500_id.revision;
rev                57 drivers/soc/ux500/ux500-soc-id.c 	if (rev == 0x01)
rev                59 drivers/soc/ux500/ux500-soc-id.c 	else if (rev >= 0xA0)
rev                60 drivers/soc/ux500/ux500-soc-id.c 		pr_cont("v%d.%d" , (rev >> 4) - 0xA + 1, rev & 0xf);
rev               138 drivers/soc/ux500/ux500-soc-id.c 	unsigned int rev = dbx500_id.revision;
rev               140 drivers/soc/ux500/ux500-soc-id.c 	if (rev == 0x01)
rev               142 drivers/soc/ux500/ux500-soc-id.c 	else if (rev >= 0xA0)
rev               144 drivers/soc/ux500/ux500-soc-id.c 				 (rev >> 4) - 0xA + 1, rev & 0xf);
rev               344 drivers/ssb/driver_chipcommon_pmu.c 		if (cc->pmu.rev == 2) {
rev               525 drivers/ssb/driver_chipcommon_pmu.c 	cc->pmu.rev = (pmucap & SSB_CHIPCO_PMU_CAP_REVISION);
rev               528 drivers/ssb/driver_chipcommon_pmu.c 		cc->pmu.rev, pmucap);
rev               530 drivers/ssb/driver_chipcommon_pmu.c 	if (cc->pmu.rev == 1)
rev               483 drivers/ssb/driver_pcicore.c 	u8 rev = pc->dev->id.revision;
rev               485 drivers/ssb/driver_pcicore.c 	if (rev == 0 || rev == 1) {
rev               491 drivers/ssb/driver_pcicore.c 	if (rev == 1) {
rev               498 drivers/ssb/driver_pcicore.c 	if (rev == 0) {
rev               507 drivers/ssb/driver_pcicore.c 	} else if (rev == 3 || rev == 4 || rev == 5) {
rev               511 drivers/ssb/driver_pcicore.c 	} else if (rev == 7) {
rev               515 drivers/ssb/driver_pcicore.c 	if (rev >= 6) {
rev               969 drivers/ssb/main.c 	u32 rev = ssb_read32(dev, SSB_IDLOW) & SSB_IDLOW_SSBREV;
rev               972 drivers/ssb/main.c 	switch (rev) {
rev               985 drivers/ssb/main.c 		WARN(1, KERN_INFO "ssb: Backplane Revision 0x%.8X\n", rev);
rev               276 drivers/ssb/scan.c 	u32 idhi, cc, rev, tmp;
rev               292 drivers/ssb/scan.c 	rev = (idhi & SSB_IDHIGH_RCLO);
rev               293 drivers/ssb/scan.c 	rev |= (idhi & SSB_IDHIGH_RCHI) >> SSB_IDHIGH_RCHI_SHIFT;
rev               304 drivers/ssb/scan.c 		if (rev >= 4) {
rev              1610 drivers/staging/iio/addac/adt7316.c 	u8 rev;
rev              1613 drivers/staging/iio/addac/adt7316.c 	ret = chip->bus.read(chip->bus.client, ADT7316_DEVICE_REV, &rev);
rev              1617 drivers/staging/iio/addac/adt7316.c 	return sprintf(buf, "%d\n", rev);
rev               785 drivers/staging/isdn/avm/b1.c 	char rev[32];
rev               788 drivers/staging/isdn/avm/b1.c 		strlcpy(rev, p + 2, 32);
rev               789 drivers/staging/isdn/avm/b1.c 		if ((p = strchr(rev, '$')) != NULL && p > rev)
rev               792 drivers/staging/isdn/avm/b1.c 		strcpy(rev, "1.0");
rev               794 drivers/staging/isdn/avm/b1.c 	printk(KERN_INFO "b1: revision %s\n", rev);
rev               962 drivers/staging/isdn/avm/b1dma.c 	char rev[32];
rev               965 drivers/staging/isdn/avm/b1dma.c 		strlcpy(rev, p + 2, sizeof(rev));
rev               966 drivers/staging/isdn/avm/b1dma.c 		if ((p = strchr(rev, '$')) != NULL && p > rev)
rev               969 drivers/staging/isdn/avm/b1dma.c 		strcpy(rev, "1.0");
rev               971 drivers/staging/isdn/avm/b1dma.c 	printk(KERN_INFO "b1dma: revision %s\n", rev);
rev               203 drivers/staging/isdn/avm/b1isa.c 	char rev[32];
rev               207 drivers/staging/isdn/avm/b1isa.c 		strlcpy(rev, p + 2, 32);
rev               208 drivers/staging/isdn/avm/b1isa.c 		if ((p = strchr(rev, '$')) != NULL && p > rev)
rev               211 drivers/staging/isdn/avm/b1isa.c 		strcpy(rev, "1.0");
rev               224 drivers/staging/isdn/avm/b1isa.c 	strlcpy(capi_driver_b1isa.revision, rev, 32);
rev               226 drivers/staging/isdn/avm/b1isa.c 	printk(KERN_INFO "b1isa: revision %s\n", rev);
rev               382 drivers/staging/isdn/avm/b1pci.c 	char rev[32];
rev               386 drivers/staging/isdn/avm/b1pci.c 		strlcpy(rev, p + 2, 32);
rev               387 drivers/staging/isdn/avm/b1pci.c 		if ((p = strchr(rev, '$')) != NULL && p > rev)
rev               390 drivers/staging/isdn/avm/b1pci.c 		strcpy(rev, "1.0");
rev               395 drivers/staging/isdn/avm/b1pci.c 		strlcpy(capi_driver_b1pci.revision, rev, 32);
rev               398 drivers/staging/isdn/avm/b1pci.c 		strlcpy(capi_driver_b1pciv4.revision, rev, 32);
rev               401 drivers/staging/isdn/avm/b1pci.c 		printk(KERN_INFO "b1pci: revision %s\n", rev);
rev               202 drivers/staging/isdn/avm/b1pcmcia.c 	char rev[32];
rev               205 drivers/staging/isdn/avm/b1pcmcia.c 		strlcpy(rev, p + 2, 32);
rev               206 drivers/staging/isdn/avm/b1pcmcia.c 		if ((p = strchr(rev, '$')) != NULL && p > rev)
rev               209 drivers/staging/isdn/avm/b1pcmcia.c 		strcpy(rev, "1.0");
rev               211 drivers/staging/isdn/avm/b1pcmcia.c 	strlcpy(capi_driver_b1pcmcia.revision, rev, 32);
rev               213 drivers/staging/isdn/avm/b1pcmcia.c 	printk(KERN_INFO "b1pci: revision %s\n", rev);
rev              1288 drivers/staging/isdn/avm/c4.c 	char rev[32];
rev              1292 drivers/staging/isdn/avm/c4.c 		strlcpy(rev, p + 2, 32);
rev              1293 drivers/staging/isdn/avm/c4.c 		if ((p = strchr(rev, '$')) != NULL && p > rev)
rev              1296 drivers/staging/isdn/avm/c4.c 		strcpy(rev, "1.0");
rev              1300 drivers/staging/isdn/avm/c4.c 		strlcpy(capi_driver_c2.revision, rev, 32);
rev              1302 drivers/staging/isdn/avm/c4.c 		strlcpy(capi_driver_c4.revision, rev, 32);
rev              1304 drivers/staging/isdn/avm/c4.c 		printk(KERN_INFO "c4: revision %s\n", rev);
rev               551 drivers/staging/isdn/avm/t1isa.c 	char rev[32];
rev               556 drivers/staging/isdn/avm/t1isa.c 		strlcpy(rev, p + 2, 32);
rev               557 drivers/staging/isdn/avm/t1isa.c 		if ((p = strchr(rev, '$')) != NULL && p > rev)
rev               560 drivers/staging/isdn/avm/t1isa.c 		strcpy(rev, "1.0");
rev               573 drivers/staging/isdn/avm/t1isa.c 	strlcpy(capi_driver_t1isa.revision, rev, 32);
rev               575 drivers/staging/isdn/avm/t1isa.c 	printk(KERN_INFO "t1isa: revision %s\n", rev);
rev               233 drivers/staging/isdn/avm/t1pci.c 	char rev[32];
rev               237 drivers/staging/isdn/avm/t1pci.c 		strlcpy(rev, p + 2, 32);
rev               238 drivers/staging/isdn/avm/t1pci.c 		if ((p = strchr(rev, '$')) != NULL && p > rev)
rev               241 drivers/staging/isdn/avm/t1pci.c 		strcpy(rev, "1.0");
rev               245 drivers/staging/isdn/avm/t1pci.c 		strlcpy(capi_driver_t1pci.revision, rev, 32);
rev               247 drivers/staging/isdn/avm/t1pci.c 		printk(KERN_INFO "t1pci: revision %s\n", rev);
rev               182 drivers/target/target_core_pscsi.c 		 "%." __stringify(INQUIRY_REVISION_LEN) "s", sdev->rev);
rev               818 drivers/target/target_core_pscsi.c 			__stringify(INQUIRY_REVISION_LEN) "s\n", sd->rev);
rev               352 drivers/target/target_core_stat.c CONFIGFS_ATTR_RO(target_stat_lu_, rev);
rev               176 drivers/thermal/intel/int340x_thermal/int3400_thermal.c 		.rev = 1,
rev               874 drivers/tty/serial/8250/8250_port.c 	unsigned int id1, id2, id3, rev;
rev               905 drivers/tty/serial/8250/8250_port.c 	rev = serial_icr_read(up, UART_REV);
rev               907 drivers/tty/serial/8250/8250_port.c 	DEBUG_AUTOCONF("950id=%02x:%02x:%02x:%02x ", id1, id2, id3, rev);
rev               918 drivers/tty/serial/8250/8250_port.c 		if (id3 == 0x52 && rev == 0x01)
rev               131 drivers/tty/serial/jsm/jsm.h 	u8		rev;		/* PCI revision ID */
rev               114 drivers/tty/serial/jsm/jsm_driver.c 	brd->rev = pdev->revision;
rev               241 drivers/tty/serial/jsm/jsm_driver.c 			adapter_count, brd->rev, brd->irq);
rev                92 drivers/tty/serial/sunsu.c 	unsigned short		rev;
rev               819 drivers/tty/serial/sunsu.c 	    up->rev == 0x5201)
rev               258 drivers/usb/chipidea/ci.h 	enum ci_revision		rev;
rev               145 drivers/usb/chipidea/core.c 	enum ci_revision rev = CI_REVISION_UNKNOWN;
rev               148 drivers/usb/chipidea/core.c 		rev = hw_read_id_reg(ci, ID_ID, REVISION)
rev               150 drivers/usb/chipidea/core.c 		rev += CI_REVISION_20;
rev               152 drivers/usb/chipidea/core.c 		rev = CI_REVISION_1X;
rev               155 drivers/usb/chipidea/core.c 	return rev;
rev               272 drivers/usb/chipidea/core.c 	ci->rev = ci_get_revision(ci);
rev               276 drivers/usb/chipidea/core.c 		ci->rev, ci->hw_bank.lpm, ci->hw_bank.cap, ci->hw_bank.op);
rev               564 drivers/usb/chipidea/udc.c 			if (ci->rev == CI_REVISION_24)
rev               117 drivers/usb/host/bcma-hcd.c 		if (dev->id.rev >= 5) {
rev               186 drivers/usb/host/bcma-hcd.c 	if (core->id.rev < 5)
rev               360 drivers/usb/host/bcma-hcd.c 	    && chipinfo->rev == 0)
rev               142 drivers/usb/host/max3421-hcd.c 	u8 rev;				/* chip revision */
rev               569 drivers/usb/host/max3421-hcd.c 		if (max3421_hcd->rev == 0x12) {
rev              1408 drivers/usb/host/max3421-hcd.c 		max3421_hcd->rev = spi_rd8(hcd, MAX3421_REG_REVISION);
rev              1409 drivers/usb/host/max3421-hcd.c 		if (max3421_hcd->rev == 0x12 || max3421_hcd->rev == 0x13)
rev              1411 drivers/usb/host/max3421-hcd.c 		dev_err(&spi->dev, "bad rev 0x%02x", max3421_hcd->rev);
rev              1415 drivers/usb/host/max3421-hcd.c 		 max3421_hcd->rev, spi->max_speed_hz, spi->bits_per_word,
rev               125 drivers/usb/host/pci-quirks.c 	u8 rev;
rev               150 drivers/usb/host/pci-quirks.c 	u8 rev = 0;
rev               156 drivers/usb/host/pci-quirks.c 		rev = pinfo->smbus_dev->revision;
rev               157 drivers/usb/host/pci-quirks.c 		if (rev >= 0x10 && rev <= 0x1f)
rev               159 drivers/usb/host/pci-quirks.c 		else if (rev >= 0x30 && rev <= 0x3f)
rev               161 drivers/usb/host/pci-quirks.c 		else if (rev >= 0x40 && rev <= 0x4f)
rev               168 drivers/usb/host/pci-quirks.c 			rev = pinfo->smbus_dev->revision;
rev               169 drivers/usb/host/pci-quirks.c 			if (rev >= 0x11 && rev <= 0x14)
rev               171 drivers/usb/host/pci-quirks.c 			else if (rev >= 0x15 && rev <= 0x18)
rev               173 drivers/usb/host/pci-quirks.c 			else if (rev >= 0x39 && rev <= 0x3a)
rev               179 drivers/usb/host/pci-quirks.c 				rev = pinfo->smbus_dev->revision;
rev               187 drivers/usb/host/pci-quirks.c 	pinfo->sb_type.rev = rev;
rev               227 drivers/usb/host/pci-quirks.c 		info.need_pll_quirk = info.sb_type.rev <= 0x3B;
rev               301 drivers/usb/host/pci-quirks.c 	u8 rev;
rev               304 drivers/usb/host/pci-quirks.c 	rev = amd_chipset.sb_type.rev;
rev               308 drivers/usb/host/pci-quirks.c 			 rev >= 0x3a && rev <= 0x3b);
rev               373 drivers/usb/host/pci-quirks.c 			amd_chipset.sb_type.rev <= 0x3b) {
rev               334 drivers/usb/musb/am35x.c 	u32 rev;
rev               339 drivers/usb/musb/am35x.c 	rev = musb_readl(reg_base, USB_REVISION_REG);
rev               340 drivers/usb/musb/am35x.c 	if (!rev)
rev               358 drivers/usb/musb/da8xx.c 	u32 rev;
rev               370 drivers/usb/musb/da8xx.c 	rev = musb_readl(reg_base, DA8XX_USB_REVISION_REG);
rev               371 drivers/usb/musb/da8xx.c 	if (!rev)
rev               401 drivers/usb/musb/da8xx.c 	pr_debug("DA8xx OTG revision %08x, control %02x\n", rev,
rev               433 drivers/usb/musb/musb_dsps.c 	u32 rev, val;
rev               450 drivers/usb/musb/musb_dsps.c 	rev = musb_readl(reg_base, wrp->revision);
rev               451 drivers/usb/musb/musb_dsps.c 	if (!rev)
rev                48 drivers/usb/musb/tusb6010.c 	u8		rev;
rev                50 drivers/usb/musb/tusb6010.c 	rev = musb_readl(tbase, TUSB_DMA_CTRL_REV) & 0xff;
rev                51 drivers/usb/musb/tusb6010.c 	if (TUSB_REV_MAJOR(rev) == 3) {
rev                55 drivers/usb/musb/tusb6010.c 			rev |= 1;
rev                58 drivers/usb/musb/tusb6010.c 	return rev;
rev                64 drivers/usb/musb/tusb6010.c 	u8		rev;
rev                66 drivers/usb/musb/tusb6010.c 	rev = musb->tusb_revision;
rev                84 drivers/usb/musb/tusb6010.c 		TUSB_REV_MAJOR(rev), TUSB_REV_MINOR(rev));
rev               850 drivers/usb/phy/phy-ab8500-usb.c 	int rev;
rev               853 drivers/usb/phy/phy-ab8500-usb.c 	rev = abx500_get_chip_id(&pdev->dev);
rev               856 drivers/usb/phy/phy-ab8500-usb.c 		dev_err(&pdev->dev, "Unsupported AB8500 chip rev=%d\n", rev);
rev               939 drivers/usb/phy/phy-ab8500-usb.c 	dev_info(&pdev->dev, "revision 0x%2x driver initialized\n", rev);
rev                92 drivers/usb/phy/phy-omap-otg.c 	u32 rev;
rev               128 drivers/usb/phy/phy-omap-otg.c 	rev = readl(otg_dev->base);
rev               132 drivers/usb/phy/phy-omap-otg.c 		 (rev >> 4) & 0xf, rev & 0xf, config->extcon, otg_dev->id,
rev                32 drivers/usb/storage/sierra_ms.c 	__u8 rev;
rev                87 drivers/usb/storage/sierra_ms.c 	dev_dbg(dev, "SWIMS: SWoC Rev: %02d\n", swocInfo->rev);
rev               118 drivers/usb/storage/sierra_ms.c 			swocInfo->rev,
rev              1232 drivers/usb/typec/class.c 	u16 rev = port->cap->revision;
rev              1234 drivers/usb/typec/class.c 	return sprintf(buf, "%d.%d\n", (rev >> 8) & 0xff, (rev >> 4) & 0xf);
rev              1582 drivers/usb/typec/tcpm/tcpm.c 	unsigned int rev = pd_header_rev_le(msg->header);
rev              1605 drivers/usb/typec/tcpm/tcpm.c 		if (rev == PD_REV10)
rev              1608 drivers/usb/typec/tcpm/tcpm.c 		if (rev < PD_MAX_REV)
rev              1609 drivers/usb/typec/tcpm/tcpm.c 			port->negotiated_rev = rev;
rev              1638 drivers/usb/typec/tcpm/tcpm.c 		if (rev == PD_REV10) {
rev              1643 drivers/usb/typec/tcpm/tcpm.c 		if (rev < PD_MAX_REV)
rev              1644 drivers/usb/typec/tcpm/tcpm.c 			port->negotiated_rev = rev;
rev               441 drivers/video/fbdev/aty/atyfb_base.c 	u8 rev;
rev               463 drivers/video/fbdev/aty/atyfb_base.c 	rev = (chip_id & CFG_CHIP_REV) >> 24;
rev               478 drivers/video/fbdev/aty/atyfb_base.c 		switch (rev & 0x07) {
rev               480 drivers/video/fbdev/aty/atyfb_base.c 			switch (rev & 0xc0) {
rev               518 drivers/video/fbdev/aty/atyfb_base.c 		switch (rev & 0x07) {
rev               540 drivers/video/fbdev/aty/atyfb_base.c 	PRINTKI("%s [0x%04x rev 0x%02x]\n", name, type, rev);
rev               318 drivers/video/fbdev/aty/radeonfb.h 	u8			rev;
rev               843 drivers/video/fbdev/broadsheetfb.c 	u16 rev, prc;
rev               846 drivers/video/fbdev/broadsheetfb.c 	rev = broadsheet_read_reg(par, BS_REG_REV);
rev               848 drivers/video/fbdev/broadsheetfb.c 	dev_info(dev, "Broadsheet Rev 0x%x, Product Code 0x%x\n", rev, prc);
rev               852 drivers/video/fbdev/broadsheetfb.c 	if (rev != 0x0100)
rev               107 drivers/video/fbdev/cg14.c 	u8 rev;	/* Revision & Impl */
rev               673 drivers/video/fbdev/cg6.c 	u32 rev, conf, mode;
rev               685 drivers/video/fbdev/cg6.c 	rev = (sbus_readl(par->fhc) >> CG6_FHC_REV_SHIFT) & CG6_FHC_REV_MASK;
rev               686 drivers/video/fbdev/cg6.c 	if (rev < 5) {
rev               691 drivers/video/fbdev/cg6.c 		if (rev < 2)
rev               495 drivers/video/fbdev/core/fbmon.c 			  int ver, int rev, const struct fb_monspecs *specs)
rev               522 drivers/video/fbdev/core/fbmon.c 			if (ver < 1 || (ver == 1 && rev < 3))
rev               554 drivers/video/fbdev/core/fbmon.c 			  int ver, int rev, const struct fb_monspecs *specs)
rev               559 drivers/video/fbdev/core/fbmon.c 		num += get_std_timing(block, &mode[num], ver, rev, specs);
rev               621 drivers/video/fbdev/core/fbmon.c 	int ver, rev;
rev               634 drivers/video/fbdev/core/fbmon.c 	rev = edid[EDID_STRUCT_REVISION];
rev               658 drivers/video/fbdev/core/fbmon.c 		num += get_std_timing(block, &mode[num], ver, rev, specs);
rev               664 drivers/video/fbdev/core/fbmon.c 					      ver, rev, specs);
rev               109 drivers/video/fbdev/leo.c 	u32	rev;
rev              1415 drivers/video/fbdev/matrox/matroxfb_base.c 	unsigned short vendor, device, rev, svid, sid;
rev              2041 drivers/video/fbdev/matrox/matroxfb_base.c 		if ((b->vendor != pdev->vendor) || (b->device != pdev->device) || (b->rev < pdev->revision)) continue;
rev               623 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c 	unsigned long ver, rev;
rev               642 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c 	rev = inreg(pio, GC_REVISION);
rev               643 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c 	if ((ver == 0x303) && (rev & 0xffffff00) == 0x20050100) {
rev               645 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c 			 (int)rev & 0xff);
rev               650 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c 		dev_info(par->dev, "? GDC, CID/Rev.: 0x%lx/0x%lx \n", ver, rev);
rev               925 drivers/video/fbdev/omap/hwa742.c 	u8 rev, conf;
rev               960 drivers/video/fbdev/omap/hwa742.c 	rev = hwa742_read_reg(HWA742_REV_CODE_REG);
rev               961 drivers/video/fbdev/omap/hwa742.c 	if ((rev & 0xfc) != 0x80) {
rev               962 drivers/video/fbdev/omap/hwa742.c 		dev_err(fbdev->dev, "HWA742: invalid revision %02x\n", rev);
rev              1008 drivers/video/fbdev/omap/hwa742.c 			"initialized (CNF pins %x)\n", rev & 0x03, conf & 0x07);
rev              4044 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	u32 rev;
rev              4098 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	rev = dispc_read_reg(DISPC_REVISION);
rev              4100 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	       FLD_GET(rev, 7, 4), FLD_GET(rev, 3, 0));
rev              5260 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 	u32 rev;
rev              5412 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 	rev = dsi_read_reg(dsidev, DSI_REVISION);
rev              5414 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 	       FLD_GET(rev, 7, 4), FLD_GET(rev, 3, 0));
rev              1071 drivers/video/fbdev/omap2/omapfb/dss/dss.c 	u32 rev;
rev              1133 drivers/video/fbdev/omap2/omapfb/dss/dss.c 	rev = dss_read_reg(DSS_REVISION);
rev              1135 drivers/video/fbdev/omap2/omapfb/dss/dss.c 			FLD_GET(rev, 7, 4), FLD_GET(rev, 3, 0));
rev               771 drivers/video/fbdev/pvr2fb.c 	unsigned long modememused, rev;
rev               820 drivers/video/fbdev/pvr2fb.c 	rev = fb_readl(par->mmio_base + 0x04);
rev               823 drivers/video/fbdev/pvr2fb.c 		fb_info->fix.id, (rev >> 4) & 0x0f, rev & 0x0f,
rev                32 drivers/video/fbdev/s3fb.c 	int chip, rev, mclk_freq;
rev              1183 drivers/video/fbdev/s3fb.c 	par->rev = vga_rcrt(par->state.vgabase, 0x2f);
rev              1420 drivers/video/fbdev/sis/init.c    unsigned short flag = 0, rev = 0, nolcd = 0;
rev              1436 drivers/video/fbdev/sis/init.c    rev = SiS_GetReg(SiS_Pr->SiS_Part4Port,0x01);
rev              1441 drivers/video/fbdev/sis/init.c       if(rev >= 0xC0) {
rev              1443 drivers/video/fbdev/sis/init.c       } else if(rev >= 0xB0) {
rev              1453 drivers/video/fbdev/sis/init.c       if(rev >= 0xE0) {
rev              1457 drivers/video/fbdev/sis/init.c       } else if(rev >= 0xD0) {
rev               664 drivers/w1/masters/omap_hdq.c 	u8 rev;
rev               697 drivers/w1/masters/omap_hdq.c 	rev = hdq_reg_in(hdq_data, OMAP_HDQ_REVISION);
rev               699 drivers/w1/masters/omap_hdq.c 		(rev >> 4) + '0', (rev & 0x0f) + '0', "Interrupt");
rev               104 drivers/watchdog/ziirave_wdt.c 				struct ziirave_wdt_rev *rev, u8 command)
rev               112 drivers/watchdog/ziirave_wdt.c 	rev->major = ret;
rev               118 drivers/watchdog/ziirave_wdt.c 	rev->minor = ret;
rev               434 fs/binfmt_flat.c 	int i, rev, relocs;
rev               452 fs/binfmt_flat.c 	rev       = ntohl(hdr->rev);
rev               471 fs/binfmt_flat.c 	if (rev != FLAT_VERSION && rev != OLD_FLAT_VERSION) {
rev               473 fs/binfmt_flat.c 		       rev, FLAT_VERSION, OLD_FLAT_VERSION);
rev               479 fs/binfmt_flat.c 	if (rev == OLD_FLAT_VERSION && id != 0) {
rev               490 fs/binfmt_flat.c 	if (rev == OLD_FLAT_VERSION &&
rev               495 fs/binfmt_flat.c 	if (rev != FLAT_VERSION) {
rev               497 fs/binfmt_flat.c 		       rev, FLAT_VERSION);
rev               797 fs/binfmt_flat.c 	if (rev > OLD_FLAT_VERSION) {
rev              1916 fs/btrfs/ctree.h 						int rev)
rev              1920 fs/btrfs/ctree.h 	flags |= (u64)rev << BTRFS_BACKREF_REV_SHIFT;
rev               153 fs/unicode/utf8-core.c 			      unsigned int *min, unsigned int *rev)
rev               168 fs/unicode/utf8-core.c 	    match_int(&args[2], rev))
rev               180 fs/unicode/utf8-core.c 		unsigned int maj, min, rev;
rev               182 fs/unicode/utf8-core.c 		if (utf8_parse_version(version, &maj, &min, &rev) < 0)
rev               185 fs/unicode/utf8-core.c 		if (!utf8version_is_supported(maj, min, rev))
rev               188 fs/unicode/utf8-core.c 		unicode_version = UNICODE_AGE(maj, min, rev);
rev                18 fs/unicode/utf8-norm.c int utf8version_is_supported(u8 maj, u8 min, u8 rev)
rev                21 fs/unicode/utf8-norm.c 	unsigned int sb_utf8version = UNICODE_AGE(maj, min, rev);
rev                25 fs/unicode/utf8n.h extern int utf8version_is_supported(u8 maj, u8 min, u8 rev);
rev                51 include/acpi/acpi_bus.h bool acpi_check_dsm(acpi_handle handle, const guid_t *guid, u64 rev, u64 funcs);
rev                53 include/acpi/acpi_bus.h 			u64 rev, u64 func, union acpi_object *argv4);
rev                56 include/acpi/acpi_bus.h acpi_evaluate_dsm_typed(acpi_handle handle, const guid_t *guid, u64 rev,
rev                62 include/acpi/acpi_bus.h 	obj = acpi_evaluate_dsm(handle, guid, rev, func, argv4);
rev                56 include/drm/drm_displayid.h 	u8 rev;
rev                64 include/drm/drm_displayid.h 	u8 rev;
rev               483 include/linux/acpi.h 	int rev;
rev               822 include/linux/acpi.h 						   int rev, int func,
rev                96 include/linux/amba/bus.h #define AMBA_LINUX_ID(conf, rev, part) \
rev                97 include/linux/amba/bus.h 	(((conf) & 0xff) << 24 | ((rev) & 0xf) << 20 | \
rev                29 include/linux/bcma/bcma.h 	u8 rev;
rev               579 include/linux/bcma/bcma_driver_chipcommon.h 	u8 rev;			/* PMU revision */
rev                22 include/linux/flat.h 	__be32	rev;          /* version (as above) */
rev                73 include/linux/mcb.h 	int rev;
rev               124 include/linux/mfd/arizona/core.h 	unsigned int rev;
rev               265 include/linux/mfd/lp873x.h 	u8 rev;
rev               265 include/linux/mfd/lp87565.h 	u8 rev;
rev               173 include/linux/mfd/madera/core.h 	unsigned int rev;
rev               262 include/linux/mfd/tps65218.h 	u8 rev;
rev               143 include/linux/mfd/twl.h #define TWL_SIL_TYPE(rev)		((rev) & 0x00FFFFFF)
rev               144 include/linux/mfd/twl.h #define TWL_SIL_REV(rev)		((rev) >> 24)
rev               223 include/linux/mfd/twl6040.h 	int rev;
rev               253 include/linux/mfd/twl6040.h 	return twl6040->rev;
rev                46 include/linux/mmc/card.h 	u8			rev;
rev               416 include/linux/mod_devicetable.h 	__u8	rev;
rev               420 include/linux/mod_devicetable.h 	{ .manuf = _manuf, .id = _id, .rev = _rev, .class = _class, }
rev                57 include/linux/nubus.h 	unsigned char rev;
rev               115 include/linux/platform_data/brcmfmac.h 	s32	rev;
rev               151 include/linux/platform_data/brcmfmac.h 	unsigned int		rev;
rev                34 include/linux/platform_data/i2c-omap.h 	u32		rev;
rev                98 include/linux/sfi.h 	u8	rev;
rev               583 include/linux/ssb/ssb_driver_chipcommon.h 	u8 rev;			/* PMU revision */
rev                89 include/linux/usb/pd.h #define PD_HEADER(type, pwr, data, rev, id, cnt, ext_hdr)		\
rev                93 include/linux/usb/pd.h 	 (rev << PD_HEADER_REV_SHIFT) |					\
rev                98 include/linux/usb/pd.h #define PD_HEADER_LE(type, pwr, data, rev, id, cnt) \
rev                99 include/linux/usb/pd.h 	cpu_to_le16(PD_HEADER((type), (pwr), (data), (rev), (id), (cnt), (0)))
rev               140 include/scsi/scsi_device.h 	const char * rev;		/* ... "nullnullnullnull" before scan */
rev              1493 net/ipv4/netfilter/arp_tables.c 		struct xt_get_revision rev;
rev              1495 net/ipv4/netfilter/arp_tables.c 		if (*len != sizeof(rev)) {
rev              1499 net/ipv4/netfilter/arp_tables.c 		if (copy_from_user(&rev, user, sizeof(rev)) != 0) {
rev              1503 net/ipv4/netfilter/arp_tables.c 		rev.name[sizeof(rev.name)-1] = 0;
rev              1505 net/ipv4/netfilter/arp_tables.c 		try_then_request_module(xt_find_revision(NFPROTO_ARP, rev.name,
rev              1506 net/ipv4/netfilter/arp_tables.c 							 rev.revision, 1, &ret),
rev              1507 net/ipv4/netfilter/arp_tables.c 					"arpt_%s", rev.name);
rev              1705 net/ipv4/netfilter/ip_tables.c 		struct xt_get_revision rev;
rev              1708 net/ipv4/netfilter/ip_tables.c 		if (*len != sizeof(rev)) {
rev              1712 net/ipv4/netfilter/ip_tables.c 		if (copy_from_user(&rev, user, sizeof(rev)) != 0) {
rev              1716 net/ipv4/netfilter/ip_tables.c 		rev.name[sizeof(rev.name)-1] = 0;
rev              1723 net/ipv4/netfilter/ip_tables.c 		try_then_request_module(xt_find_revision(AF_INET, rev.name,
rev              1724 net/ipv4/netfilter/ip_tables.c 							 rev.revision,
rev              1726 net/ipv4/netfilter/ip_tables.c 					"ipt_%s", rev.name);
rev              1714 net/ipv6/netfilter/ip6_tables.c 		struct xt_get_revision rev;
rev              1717 net/ipv6/netfilter/ip6_tables.c 		if (*len != sizeof(rev)) {
rev              1721 net/ipv6/netfilter/ip6_tables.c 		if (copy_from_user(&rev, user, sizeof(rev)) != 0) {
rev              1725 net/ipv6/netfilter/ip6_tables.c 		rev.name[sizeof(rev.name)-1] = 0;
rev              1732 net/ipv6/netfilter/ip6_tables.c 		try_then_request_module(xt_find_revision(AF_INET6, rev.name,
rev              1733 net/ipv6/netfilter/ip6_tables.c 							 rev.revision,
rev              1735 net/ipv6/netfilter/ip6_tables.c 					"ip6t_%s", rev.name);
rev               572 net/netfilter/nft_compat.c 		      int rev, int target)
rev               589 net/netfilter/nft_compat.c 	    nla_put_be32(skb, NFTA_COMPAT_REV, htonl(rev)) ||
rev               611 net/netfilter/nft_compat.c 	u32 rev;
rev               620 net/netfilter/nft_compat.c 	rev = ntohl(nla_get_be32(tb[NFTA_COMPAT_REV]));
rev               649 net/netfilter/nft_compat.c 						 rev, target, &ret),
rev               711 net/netfilter/nft_compat.c 	u32 rev, family;
rev               720 net/netfilter/nft_compat.c 	rev = ntohl(nla_get_be32(tb[NFTA_MATCH_REV]));
rev               723 net/netfilter/nft_compat.c 	match = xt_request_find_match(family, mt_name, rev);
rev               790 net/netfilter/nft_compat.c 	u32 rev, family;
rev               799 net/netfilter/nft_compat.c 	rev = ntohl(nla_get_be32(tb[NFTA_TARGET_REV]));
rev               807 net/netfilter/nft_compat.c 	target = xt_request_find_target(family, tg_name, rev);
rev               275 net/netfilter/x_tables.c 			  u8 __user *prev, u8 rev)
rev               281 net/netfilter/x_tables.c 	if (put_user(rev, prev))
rev               593 net/sched/sch_cake.c 	bool rev = !skb->_nfct;
rev               601 net/sched/sch_cake.c 	keys->addrs.v4addrs.src = rev ? tuple.dst.u3.ip : tuple.src.u3.ip;
rev               602 net/sched/sch_cake.c 	keys->addrs.v4addrs.dst = rev ? tuple.src.u3.ip : tuple.dst.u3.ip;
rev               605 net/sched/sch_cake.c 		keys->ports.src = rev ? tuple.dst.u.all : tuple.src.u.all;
rev               606 net/sched/sch_cake.c 		keys->ports.dst = rev ? tuple.src.u.all : tuple.dst.u.all;
rev               132 scripts/mod/devicetable-offsets.c 	DEVID_FIELD(bcma_device_id, rev);
rev               853 scripts/mod/file2alias.c 	DEF_FIELD(symval, bcma_device_id, rev);
rev               859 scripts/mod/file2alias.c 	ADD(alias, "rev", rev != BCMA_ANY_REV, rev);
rev               523 security/apparmor/apparmorfs.c 	struct aa_revision *rev = file->private_data;
rev               525 security/apparmor/apparmorfs.c 	if (rev) {
rev               526 security/apparmor/apparmorfs.c 		aa_put_ns(rev->ns);
rev               527 security/apparmor/apparmorfs.c 		kfree(rev);
rev               536 security/apparmor/apparmorfs.c 	struct aa_revision *rev = file->private_data;
rev               541 security/apparmor/apparmorfs.c 	mutex_lock_nested(&rev->ns->lock, rev->ns->level);
rev               542 security/apparmor/apparmorfs.c 	last_read = rev->last_read;
rev               543 security/apparmor/apparmorfs.c 	if (last_read == rev->ns->revision) {
rev               544 security/apparmor/apparmorfs.c 		mutex_unlock(&rev->ns->lock);
rev               547 security/apparmor/apparmorfs.c 		if (wait_event_interruptible(rev->ns->wait,
rev               549 security/apparmor/apparmorfs.c 					     READ_ONCE(rev->ns->revision)))
rev               551 security/apparmor/apparmorfs.c 		mutex_lock_nested(&rev->ns->lock, rev->ns->level);
rev               554 security/apparmor/apparmorfs.c 	avail = sprintf(buffer, "%ld\n", rev->ns->revision);
rev               556 security/apparmor/apparmorfs.c 		rev->last_read = rev->ns->revision;
rev               559 security/apparmor/apparmorfs.c 	mutex_unlock(&rev->ns->lock);
rev               566 security/apparmor/apparmorfs.c 	struct aa_revision *rev = kzalloc(sizeof(*rev), GFP_KERNEL);
rev               568 security/apparmor/apparmorfs.c 	if (!rev)
rev               571 security/apparmor/apparmorfs.c 	rev->ns = aa_get_ns(inode->i_private);
rev               572 security/apparmor/apparmorfs.c 	if (!rev->ns)
rev               573 security/apparmor/apparmorfs.c 		rev->ns = aa_get_current_ns();
rev               574 security/apparmor/apparmorfs.c 	file->private_data = rev;
rev               581 security/apparmor/apparmorfs.c 	struct aa_revision *rev = file->private_data;
rev               584 security/apparmor/apparmorfs.c 	if (rev) {
rev               585 security/apparmor/apparmorfs.c 		mutex_lock_nested(&rev->ns->lock, rev->ns->level);
rev               586 security/apparmor/apparmorfs.c 		poll_wait(file, &rev->ns->wait, pt);
rev               587 security/apparmor/apparmorfs.c 		if (rev->last_read < rev->ns->revision)
rev               589 security/apparmor/apparmorfs.c 		mutex_unlock(&rev->ns->lock);
rev               425 security/apparmor/domain.c 					long rev = READ_ONCE(ns->revision);
rev               434 security/apparmor/domain.c 					if (rev !=
rev                77 sound/aoa/soundbus/i2sbus/pcm.c 	struct codec_info_item *cii, *rev;
rev               208 sound/aoa/soundbus/i2sbus/pcm.c 				list_for_each_entry_reverse(rev,
rev               210 sound/aoa/soundbus/i2sbus/pcm.c 					if (found_this && rev->codec->close) {
rev               211 sound/aoa/soundbus/i2sbus/pcm.c 						rev->codec->close(rev,
rev               214 sound/aoa/soundbus/i2sbus/pcm.c 					if (rev == cii)
rev               356 sound/isa/gus/gus_main.c 	unsigned char val, rev;
rev               363 sound/isa/gus/gus_main.c 	rev = inb(GUSP(gus, BOARDVERSION));
rev               365 sound/isa/gus/gus_main.c 	snd_printdd("GF1 [0x%lx] init - val = 0x%x, rev = 0x%x\n", gus->gf1.port, val, rev);
rev               368 sound/isa/gus/gus_main.c 	if ((val != 255 && (val & 0x06)) || (rev >= 5 && rev != 255)) {
rev               369 sound/isa/gus/gus_main.c 		if (rev >= 5 && rev <= 9) {
rev               371 sound/isa/gus/gus_main.c 			if (rev == 5)
rev               374 sound/isa/gus/gus_main.c 			card->longname[29] = rev == 5 ? '5' : '7';
rev               376 sound/isa/gus/gus_main.c 		if (rev >= 10 && rev != 255) {
rev               377 sound/isa/gus/gus_main.c 			if (rev >= 10 && rev <= 11) {
rev               381 sound/isa/gus/gus_main.c 			} else if (rev == 0x30) {
rev               385 sound/isa/gus/gus_main.c 			} else if (rev == 0x50) {
rev               390 sound/isa/gus/gus_main.c 				snd_printk(KERN_ERR "unknown GF1 revision number at 0x%lx - 0x%x (0x%x)\n", gus->gf1.port, rev, val);
rev               210 sound/isa/msnd/msnd_pinnacle.c 	char *xv, *rev = NULL;
rev               255 sound/isa/msnd/msnd_pinnacle.c 		rev = "I";
rev               259 sound/isa/msnd/msnd_pinnacle.c 		rev = "F";
rev               263 sound/isa/msnd/msnd_pinnacle.c 		rev = "G";
rev               267 sound/isa/msnd/msnd_pinnacle.c 		rev = "H";
rev               271 sound/isa/msnd/msnd_pinnacle.c 		rev = "E";
rev               275 sound/isa/msnd/msnd_pinnacle.c 		rev = "C";
rev               279 sound/isa/msnd/msnd_pinnacle.c 		rev = "D";
rev               283 sound/isa/msnd/msnd_pinnacle.c 		rev = "A-B (Fiji) or A-E (Pinnacle)";
rev               291 sound/isa/msnd/msnd_pinnacle.c 	       rev, xv,
rev              1251 sound/isa/wss/wss_lib.c 	int i, id, rev, regnum;
rev              1279 sound/isa/wss/wss_lib.c 		rev = snd_wss_in(chip, CS4231_VERSION) & 0xe7;
rev              1280 sound/isa/wss/wss_lib.c 		snd_printdd("CS4231: VERSION (I25) = 0x%x\n", rev);
rev              1281 sound/isa/wss/wss_lib.c 		if (rev == 0x80) {
rev              1288 sound/isa/wss/wss_lib.c 		} else if (rev == 0xa0) {
rev              1290 sound/isa/wss/wss_lib.c 		} else if (rev == 0xa2) {
rev              1292 sound/isa/wss/wss_lib.c 		} else if (rev == 0xb2) {
rev              1294 sound/isa/wss/wss_lib.c 		} else if (rev == 0x83) {
rev              1296 sound/isa/wss/wss_lib.c 		} else if (rev == 0x03) {
rev              1300 sound/isa/wss/wss_lib.c 				   "unknown CS chip with version 0x%x\n", rev);
rev              1355 sound/isa/wss/wss_lib.c 			rev = snd_cs4236_ext_in(chip, CS4236_VERSION);
rev              1358 sound/isa/wss/wss_lib.c 			snd_cs4236_ext_out(chip, CS4236_VERSION, rev);
rev              1359 sound/isa/wss/wss_lib.c 			snd_printdd("CS4231: ext version; rev = 0x%x, id = 0x%x\n", rev, id);
rev               773 sound/mips/hal2.c 	unsigned short rev;
rev               784 sound/mips/hal2.c 	rev = hal2_read(&hal2->ctl_regs->rev);
rev               785 sound/mips/hal2.c 	if (rev & H2_REV_AUDIO_PRESENT)
rev               788 sound/mips/hal2.c 	board = (rev & H2_REV_BOARD_M) >> 12;
rev               789 sound/mips/hal2.c 	major = (rev & H2_REV_MAJOR_CHIP_M) >> 4;
rev               790 sound/mips/hal2.c 	minor = (rev & H2_REV_MINOR_CHIP_M);
rev               192 sound/mips/hal2.h 	u32 rev;		/* 0x20 Revision Register */
rev               342 sound/pci/au88x0/au88x0.c 	chip->rev = pci->revision;
rev               344 sound/pci/au88x0/au88x0.c 	if ((chip->rev) != 0xfe && (chip->rev) != 0xfa) {
rev               347 sound/pci/au88x0/au88x0.c 		       chip->rev);
rev                77 sound/pci/au88x0/au88x0.h 	(x->rev == 0xfe && x->device == PCI_DEVICE_ID_AUREAL_VORTEX_2) || \
rev                78 sound/pci/au88x0/au88x0.h 	(x->rev == 0xfe && x->device == PCI_DEVICE_ID_AUREAL_ADVANTAGE))
rev               182 sound/pci/au88x0/au88x0.h 	u8 rev;
rev               388 sound/pci/ens1370.c 	unsigned int rev;	/* chip revision */
rev              1581 sound/pci/ens1370.c 	unsigned char rev;		/* revision */
rev              1590 sound/pci/ens1370.c 		    ensoniq->rev == list->rev)
rev              1598 sound/pci/ens1370.c 	{ .vid = PCI_VENDOR_ID_ENSONIQ, .did = PCI_DEVICE_ID_ENSONIQ_CT5880, .rev = CT5880REV_CT5880_C },
rev              1599 sound/pci/ens1370.c 	{ .vid = PCI_VENDOR_ID_ENSONIQ, .did = PCI_DEVICE_ID_ENSONIQ_CT5880, .rev = CT5880REV_CT5880_D },
rev              1600 sound/pci/ens1370.c 	{ .vid = PCI_VENDOR_ID_ENSONIQ, .did = PCI_DEVICE_ID_ENSONIQ_CT5880, .rev = CT5880REV_CT5880_E },
rev              1601 sound/pci/ens1370.c 	{ .vid = PCI_VENDOR_ID_ENSONIQ, .did = PCI_DEVICE_ID_ENSONIQ_ES1371, .rev = ES1371REV_CT5880_A },
rev              1602 sound/pci/ens1370.c 	{ .vid = PCI_VENDOR_ID_ENSONIQ, .did = PCI_DEVICE_ID_ENSONIQ_ES1371, .rev = ES1371REV_ES1373_8 },
rev              1943 sound/pci/ens1370.c 	{ .vid = PCI_VENDOR_ID_ENSONIQ, .did = PCI_DEVICE_ID_ENSONIQ_CT5880, .rev = CT5880REV_CT5880_C },
rev              1944 sound/pci/ens1370.c 	{ .vid = PCI_VENDOR_ID_ENSONIQ, .did = PCI_DEVICE_ID_ENSONIQ_CT5880, .rev = CT5880REV_CT5880_D },
rev              1945 sound/pci/ens1370.c 	{ .vid = PCI_VENDOR_ID_ENSONIQ, .did = PCI_DEVICE_ID_ENSONIQ_CT5880, .rev = CT5880REV_CT5880_E },
rev              1946 sound/pci/ens1370.c 	{ .vid = PCI_VENDOR_ID_ENSONIQ, .did = PCI_DEVICE_ID_ENSONIQ_ES1371, .rev = ES1371REV_CT5880_A },
rev              1947 sound/pci/ens1370.c 	{ .vid = PCI_VENDOR_ID_ENSONIQ, .did = PCI_DEVICE_ID_ENSONIQ_ES1371, .rev = ES1371REV_ES1373_8 },
rev              2106 sound/pci/ens1370.c 	ensoniq->rev = pci->revision;
rev               190 sound/pci/rme32.c 	u8 rev;			/* card revision number */
rev               224 sound/pci/rme32.c #define RME32_PRO_WITH_8414(rme32) ((rme32)->pci->device == PCI_DEVICE_ID_RME_DIGI32_PRO && (rme32)->rev == RME32_PRO_REVISION_WITH_8414)
rev              1363 sound/pci/rme32.c 	pci_read_config_byte(pci, 8, &rme32->rev);
rev              1950 sound/pci/rme32.c 		card->shortname, rme32->rev, rme32->port, rme32->irq);
rev               226 sound/pci/rme96.c 	u8 rev; /* card revision number */
rev               266 sound/pci/rme96.c #define	RME96_DAC_IS_1852(rme96) (RME96_HAS_ANALOG_OUT(rme96) && (rme96)->rev >= 4)
rev               267 sound/pci/rme96.c #define	RME96_DAC_IS_1855(rme96) (((rme96)->pci->device == PCI_DEVICE_ID_RME_DIGI96_8_PAD_OR_PST && (rme96)->rev < 4) || \
rev               268 sound/pci/rme96.c 			          ((rme96)->pci->device == PCI_DEVICE_ID_RME_DIGI96_8_PRO && (rme96)->rev == 2))
rev               769 sound/pci/rme96.c 		if (rme96->rev < 4) {
rev               776 sound/pci/rme96.c 		if (rme96->rev < 4) {
rev               854 sound/pci/rme96.c 		     rme96->rev > 4))
rev               868 sound/pci/rme96.c 		if (rme96->rev < 4) {
rev              1638 sound/pci/rme96.c 	pci_read_config_byte(pci, 8, &rme96->rev);	
rev              1914 sound/pci/rme96.c 		if (rme96->rev > 4) {
rev              1947 sound/pci/rme96.c 		if (rme96->rev > 4) {
rev              1984 sound/pci/rme96.c 		if (rme96->rev > 4) {
rev              1997 sound/pci/rme96.c 	if (rme96->pci->device == PCI_DEVICE_ID_RME_DIGI96_8_PAD_OR_PST && rme96->rev > 4) {
rev              2447 sound/pci/rme9652/rme9652.c 	unsigned short rev;
rev              2452 sound/pci/rme9652/rme9652.c 	pci_read_config_word(rme9652->pci, PCI_CLASS_REVISION, &rev);
rev              2454 sound/pci/rme9652/rme9652.c 	switch (rev & 0xff) {
rev              2508 sound/pci/rme9652/rme9652.c 	switch (rev) {
rev               275 sound/pci/ymfpci/ymfpci.h 	unsigned char rev;	/* PCI revision */
rev               100 sound/pci/ymfpci/ymfpci_main.c 	if (chip->device_id == PCI_DEVICE_ID_YAMAHA_744 && chip->rev < 2) {
rev              2370 sound/pci/ymfpci/ymfpci_main.c 	chip->rev = pci->revision;
rev              2183 sound/soc/codecs/arizona.c 		if (fll->arizona->rev < 3 || sync)
rev              1395 sound/soc/codecs/cs47l15.c 	cs47l15->core.adsp[0].rev = 2;
rev              1688 sound/soc/codecs/cs47l35.c 		cs47l35->core.adsp[i].rev = 1;
rev              2636 sound/soc/codecs/cs47l85.c 		cs47l85->core.adsp[i].rev = 1;
rev              2539 sound/soc/codecs/cs47l90.c 		cs47l90->core.adsp[i].rev = 2;
rev              1947 sound/soc/codecs/cs47l92.c 	cs47l92->core.adsp[0].rev = 2;
rev              2259 sound/soc/codecs/da7219.c 	unsigned int rev;
rev              2271 sound/soc/codecs/da7219.c 	ret = regmap_read(da7219->regmap, DA7219_CHIP_REVISION, &rev);
rev              2277 sound/soc/codecs/da7219.c 	switch (rev & DA7219_CHIP_MINOR_MASK) {
rev              2547 sound/soc/codecs/madera.c 			if (madera->rev < 3)
rev              3449 sound/soc/codecs/madera.c 		switch (fll->madera->rev) {
rev              3506 sound/soc/codecs/madera.c 		switch (fll->madera->rev) {
rev              3637 sound/soc/codecs/madera.c 		switch (fll->madera->rev) {
rev              3929 sound/soc/codecs/madera.c 		switch (fll->madera->rev) {
rev              1577 sound/soc/codecs/sgtl5000.c 	int ret, reg, rev;
rev              1636 sound/soc/codecs/sgtl5000.c 	rev = (reg & SGTL5000_REVID_MASK) >> SGTL5000_REVID_SHIFT;
rev              1637 sound/soc/codecs/sgtl5000.c 	dev_info(&client->dev, "sgtl5000 revision 0x%x\n", rev);
rev              1638 sound/soc/codecs/sgtl5000.c 	sgtl5000->revision = rev;
rev               198 sound/soc/codecs/wm1250-ev1.c 	int id, board, rev, ret;
rev               209 sound/soc/codecs/wm1250-ev1.c 	rev = board & 0x3;
rev               216 sound/soc/codecs/wm1250-ev1.c 	dev_info(&i2c->dev, "revision %d\n", rev + 1);
rev                96 sound/soc/codecs/wm2200.c 	int rev;
rev              2303 sound/soc/codecs/wm2200.c 	wm2200->rev = reg & WM2200_DEVICE_REVISION_MASK;
rev              2305 sound/soc/codecs/wm2200.c 	dev_info(&i2c->dev, "revision %c\n", wm2200->rev + 'A');
rev              2307 sound/soc/codecs/wm2200.c 	switch (wm2200->rev) {
rev                59 sound/soc/codecs/wm5100.c 	int rev;
rev              2507 sound/soc/codecs/wm5100.c 	wm5100->rev = reg & WM5100_DEVICE_REVISION_MASK;
rev              2509 sound/soc/codecs/wm5100.c 	dev_info(&i2c->dev, "revision %c\n", wm5100->rev + 'A');
rev              2517 sound/soc/codecs/wm5100.c 	switch (wm5100->rev) {
rev               589 sound/soc/codecs/wm5102.c 	switch (arizona->rev) {
rev               167 sound/soc/codecs/wm5110.c 	switch (arizona->rev) {
rev               369 sound/soc/codecs/wm5110.c 	switch (priv->arizona->rev) {
rev               569 sound/soc/codecs/wm5110.c 	switch (arizona->rev) {
rev                90 sound/soc/codecs/wm8997.c 	switch (arizona->rev) {
rev              2497 sound/soc/codecs/wm_adsp.c 	switch (be32_to_cpu(hdr->rev) & 0xff) {
rev              2502 sound/soc/codecs/wm_adsp.c 			 file, be32_to_cpu(hdr->rev) & 0xff);
rev              3275 sound/soc/codecs/wm_adsp.c 	switch (dsp->rev) {
rev                60 sound/soc/codecs/wm_adsp.h 	int rev;
rev                34 sound/soc/codecs/wmfw.h 	__le16 rev;
rev               157 sound/soc/codecs/wmfw.h 		__be32 rev;
rev               690 tools/perf/util/session.c 	int rev = (b >> 4) | ((b & 0xf) << 4);
rev               691 tools/perf/util/session.c 	rev = ((rev & 0xcc) >> 2) | ((rev & 0x33) << 2);
rev               692 tools/perf/util/session.c 	rev = ((rev & 0xaa) >> 1) | ((rev & 0x55) << 1);
rev               693 tools/perf/util/session.c 	return (u8) rev;
rev               414 tools/testing/nvdimm/test/iomap.c 		u64 rev, u64 func, union acpi_object *argv4)
rev               422 tools/testing/nvdimm/test/iomap.c 		obj = ops->evaluate_dsm(handle, guid, rev, func, argv4);
rev               426 tools/testing/nvdimm/test/iomap.c 		return acpi_evaluate_dsm(handle, guid, rev, func, argv4);
rev              2671 tools/testing/nvdimm/test/nfit.c 		const guid_t *guid, u64 rev, u64 func, union acpi_object *argv4)
rev               190 virt/kvm/arm/vgic/vgic-its.c static int vgic_its_set_abi(struct vgic_its *its, u32 rev)
rev               194 virt/kvm/arm/vgic/vgic-its.c 	its->abi_rev = rev;
rev               504 virt/kvm/arm/vgic/vgic-its.c 	u32 rev = GITS_IIDR_REV(val);
rev               506 virt/kvm/arm/vgic/vgic-its.c 	if (rev >= NR_ITS_ABIS)
rev               508 virt/kvm/arm/vgic/vgic-its.c 	return vgic_its_set_abi(its, rev);