/arch/m68k/mvme16x/ |
D | config.c | 101 unsigned char rev = *(unsigned char *)MVME162_VERSION_REG; in mvme16x_get_hardware_list() local 104 rev & MVME16x_CONFIG_NO_VMECHIP2 ? "NOT " : ""); in mvme16x_get_hardware_list() 106 rev & MVME16x_CONFIG_NO_SCSICHIP ? "NOT " : ""); in mvme16x_get_hardware_list() 108 rev & MVME16x_CONFIG_NO_ETHERNET ? "NOT " : ""); in mvme16x_get_hardware_list() 156 printk ("\nBRD_ID: %s BUG %x.%x %02x/%02x/%02x\n", id, p->rev>>4, in config_mvme16x() 157 p->rev&0xf, p->yr, p->mth, p->day); in config_mvme16x() 160 unsigned char rev = *(unsigned char *)MVME162_VERSION_REG; in config_mvme16x() local 162 mvme16x_config = rev | MVME16x_CONFIG_GOT_SCCA; in config_mvme16x() 166 rev & MVME16x_CONFIG_GOT_FPU ? "" : "LC"); in config_mvme16x() 168 rev & MVME16x_CONFIG_SPEED_32 ? 32 : 25); in config_mvme16x() [all …]
|
/arch/arm/mach-orion5x/ |
D | mpp.c | 23 u32 rev; in is_5181l() local 25 orion5x_pcie_id(&dev, &rev); in is_5181l() 27 return !!(dev == MV88F5181_DEV_ID && rev >= MV88F5181L_REV_A0); in is_5181l() 33 u32 rev; in is_5182() local 35 orion5x_pcie_id(&dev, &rev); in is_5182() 43 u32 rev; in is_5281() local 45 orion5x_pcie_id(&dev, &rev); in is_5281()
|
D | common.c | 542 u32 dev, rev; in orion5x_find_tclk() local 544 orion5x_pcie_id(&dev, &rev); in orion5x_find_tclk() 569 static void __init orion5x_id(u32 *dev, u32 *rev, char **dev_name) in orion5x_id() argument 571 orion5x_pcie_id(dev, rev); in orion5x_id() 574 if (*rev == MV88F5281_REV_D2) { in orion5x_id() 576 } else if (*rev == MV88F5281_REV_D1) { in orion5x_id() 578 } else if (*rev == MV88F5281_REV_D0) { in orion5x_id() 584 if (*rev == MV88F5182_REV_A2) { in orion5x_id() 590 if (*rev == MV88F5181_REV_B1) { in orion5x_id() 592 } else if (*rev == MV88F5181L_REV_A1) { in orion5x_id() [all …]
|
/arch/x86/kernel/ |
D | microcode_intel.c | 102 unsigned int rev; member 185 rdmsr(MSR_IA32_UCODE_REV, val[0], csig->rev); in collect_cpu_info() 189 csig->sig, csig->pf, csig->rev); in collect_cpu_info() 200 update_match_revision(struct microcode_header_intel *mc_header, int rev) in update_match_revision() argument 202 return (mc_header->rev <= rev) ? 0 : 1; in update_match_revision() 289 get_matching_microcode(struct cpu_signature *cpu_sig, void *mc, int rev) in get_matching_microcode() argument 297 if (!update_match_revision(mc_header, rev)) in get_matching_microcode() 349 if (val[1] != mc_intel->hdr.rev) { in apply_microcode() 351 "0x%x to 0x%x failed\n", cpu_num, uci->cpu_sig.rev, val[1]); in apply_microcode() 356 cpu_num, uci->cpu_sig.rev, val[1], in apply_microcode() [all …]
|
D | microcode_amd.c | 99 rdmsr(MSR_AMD64_PATCH_LEVEL, csig->rev, dummy); in collect_cpu_info_amd() 100 printk(KERN_INFO "microcode: CPU%d: patch_level=0x%x\n", cpu, csig->rev); in collect_cpu_info_amd() 104 static int get_matching_microcode(int cpu, void *mc, int rev) in get_matching_microcode() argument 142 if (mc_header->patch_id <= rev) in get_matching_microcode() 151 u32 rev, dummy; in apply_microcode_amd() local 165 rdmsr(MSR_AMD64_PATCH_LEVEL, rev, dummy); in apply_microcode_amd() 169 if (rev != mc_amd->hdr.patch_id) { in apply_microcode_amd() 176 cpu, rev); in apply_microcode_amd() 178 uci->cpu_sig.rev = rev; in apply_microcode_amd() 274 int new_rev = uci->cpu_sig.rev; in generic_load_microcode() [all …]
|
D | olpc.c | 193 __be32 rev; in platform_detect() local 195 if (ofw("getprop", 4, 1, NULL, "board-revision-int", &rev, 4, in platform_detect() 198 rev = cpu_to_be32(0); in platform_detect() 200 olpc_platform_info.boardrev = be32_to_cpu(rev); in platform_detect()
|
D | early-quirks.c | 161 u32 d, rev; in ati_bugs_contd() local 166 rev = ati_sbx00_rev(num, slot, func); in ati_bugs_contd() 167 if (rev > 0x13) in ati_bugs_contd() 176 printk(KERN_INFO "SB600 revision 0x%x\n", rev); in ati_bugs_contd()
|
/arch/arm/mach-ks8695/ |
D | cpu.c | 48 unsigned long id, rev; in ks8695_processor_info() local 51 rev = __raw_readl(KS8695_MISC_VA + KS8695_RID); in ks8695_processor_info() 53 …printk("KS8695 ID=%04lx SubID=%02lx Revision=%02lx\n", (id & DID_ID), (rev & RID_SUBID), (rev & … in ks8695_processor_info()
|
/arch/blackfin/ |
D | Makefile | 86 rev-$(CONFIG_BF_REV_0_0) := 0.0 87 rev-$(CONFIG_BF_REV_0_1) := 0.1 88 rev-$(CONFIG_BF_REV_0_2) := 0.2 89 rev-$(CONFIG_BF_REV_0_3) := 0.3 90 rev-$(CONFIG_BF_REV_0_4) := 0.4 91 rev-$(CONFIG_BF_REV_0_5) := 0.5 92 rev-$(CONFIG_BF_REV_0_6) := 0.6 93 rev-$(CONFIG_BF_REV_NONE) := none 94 rev-$(CONFIG_BF_REV_ANY) := any 96 KBUILD_CFLAGS += -mcpu=$(cpu-y)-$(rev-y) [all …]
|
/arch/arm/mach-omap2/ |
D | id.c | 82 u8 dev_type, rev; in omap24xx_check_revision() local 87 rev = (idcode >> 28) & 0x0f; in omap24xx_check_revision() 91 idcode, rev, hawkeye, (idcode >> 1) & 0x7ff); in omap24xx_check_revision() 137 u8 rev; in omap34xx_check_revision() local 159 rev = (idcode >> 28) & 0xff; in omap34xx_check_revision() 162 switch (rev) { in omap34xx_check_revision()
|
/arch/powerpc/platforms/85xx/ |
D | sbc8548.c | 89 unsigned int *rev; in sbc8548_hw_rev() local 101 rev = ioremap(res.start,sizeof(unsigned int)); in sbc8548_hw_rev() 102 board_rev = (*rev) >> 28; in sbc8548_hw_rev() 103 iounmap(rev); in sbc8548_hw_rev()
|
/arch/arm/mach-kirkwood/ |
D | rd88f6281-setup.c | 96 u32 dev, rev; in rd88f6281_init() local 106 kirkwood_pcie_id(&dev, &rev); in rd88f6281_init() 107 if (rev == MV88F6281_REV_A0) { in rd88f6281_init()
|
D | common.c | 629 u32 dev, rev; in kirkwood_find_tclk() local 631 kirkwood_pcie_id(&dev, &rev); in kirkwood_find_tclk() 632 if (dev == MV88F6281_DEV_ID && rev == MV88F6281_REV_A0) in kirkwood_find_tclk() 657 u32 dev, rev; in kirkwood_id() local 659 kirkwood_pcie_id(&dev, &rev); in kirkwood_id() 662 if (rev == MV88F6281_REV_Z0) in kirkwood_id() 664 else if (rev == MV88F6281_REV_A0) in kirkwood_id() 669 if (rev == MV88F6192_REV_Z0) in kirkwood_id() 671 else if (rev == MV88F6192_REV_A0) in kirkwood_id() 676 if (rev == MV88F6180_REV_A0) in kirkwood_id()
|
D | common.h | 29 void kirkwood_pcie_id(u32 *dev, u32 *rev);
|
/arch/mips/sgi-ip32/ |
D | crime.c | 28 unsigned int id, rev; in crime_init() local 36 rev = id & CRIME_ID_REV; in crime_init() 39 id, rev, field, (unsigned long) CRIME_BASE); in crime_init()
|
/arch/mips/sgi-ip22/ |
D | ip22-eisa.c | 55 u16 rev; in decode_eisa_sig() local 68 rev = (sig[2] << 8) | sig[3]; in decode_eisa_sig() 69 sprintf(sig_str + 3, "%04X", rev); in decode_eisa_sig()
|
/arch/mips/include/asm/ |
D | cpu.h | 158 #define PRID_REV_ENCODE_44(ver, rev) \ argument 159 ((ver) << 4 | (rev)) 160 #define PRID_REV_ENCODE_332(ver, rev, patch) \ argument 161 ((ver) << 5 | (rev) << 2 | (patch))
|
/arch/alpha/boot/ |
D | bootp.c | 70 unsigned long i, rev; in pal_init() local 103 rev = percpu->pal_revision = percpu->palcode_avail[2]; in pal_init() 105 srm_printk("Ok (rev %lx)\n", rev); in pal_init()
|
D | main.c | 65 unsigned long i, rev; in pal_init() local 98 rev = percpu->pal_revision = percpu->palcode_avail[2]; in pal_init() 100 srm_printk("Ok (rev %lx)\n", rev); in pal_init()
|
D | bootpz.c | 118 unsigned long i, rev; in pal_init() local 151 rev = percpu->pal_revision = percpu->palcode_avail[2]; in pal_init() 153 srm_printk("OK (rev %lx)\n", rev); in pal_init()
|
/arch/powerpc/platforms/ps3/ |
D | setup.c | 60 int ps3_compare_firmware_version(u16 major, u16 minor, u16 rev) in ps3_compare_firmware_version() argument 67 x.rev = rev; in ps3_compare_firmware_version() 204 ps3_firmware_version.rev); in ps3_setup_arch()
|
/arch/x86/include/asm/ |
D | olpc.h | 73 static inline int olpc_board_at_least(uint32_t rev) in olpc_board_at_least() argument 75 return olpc_platform_info.boardrev >= rev; in olpc_board_at_least()
|
D | vmi.h | 198 char rev; member 213 char rev; member
|
/arch/cris/arch-v32/kernel/ |
D | setup.c | 26 unsigned short rev; member 70 if (cpinfo[i].rev == revision) { in show_cpuinfo()
|
/arch/arm/plat-omap/ |
D | gpio.c | 1359 u32 rev; in _omap_gpio_init() local 1363 rev = __raw_readw(gpio_bank[1].base + OMAP1610_GPIO_REVISION); in _omap_gpio_init() 1365 (rev >> 4) & 0x0f, rev & 0x0f); in _omap_gpio_init() 1378 int rev; in _omap_gpio_init() local 1382 rev = __raw_readl(gpio_bank[0].base + OMAP24XX_GPIO_REVISION); in _omap_gpio_init() 1384 (rev >> 4) & 0x0f, rev & 0x0f); in _omap_gpio_init() 1387 int rev; in _omap_gpio_init() local 1391 rev = __raw_readl(gpio_bank[0].base + OMAP24XX_GPIO_REVISION); in _omap_gpio_init() 1393 (rev >> 4) & 0x0f, rev & 0x0f); in _omap_gpio_init() 1398 int rev; in _omap_gpio_init() local [all …]
|