/linux/drivers/gpu/drm/amd/display/include/ |
A D | dal_asic_id.h | 47 ((rev >= SI_TAHITI_P_A0) && (rev < SI_PITCAIRN_PM_A0)) 50 ((rev >= SI_PITCAIRN_PM_A0) && (rev < SI_CAPEVERDE_M_A0)) 53 ((rev >= SI_CAPEVERDE_M_A0) && (rev < SI_OLAND_M_A0)) 56 ((rev >= SI_OLAND_M_A0) && (rev < SI_HAINAN_V_A0)) 59 ((rev >= SI_HAINAN_V_A0) && (rev < SI_UNKNOWN)) 69 ((rev >= CI_BONAIRE_M_A0) && (rev < CI_HAWAII_P_A0)) 72 (rev >= CI_HAWAII_P_A0) 99 ((rev >= KB_KALINDI_A0) && (rev < KV_UNKNOWN)) 102 ((rev >= BV_KALINDI_A2) && (rev < ML_GODAVARI_A0)) 105 ((rev >= ML_GODAVARI_A0) && (rev < KV_UNKNOWN)) [all …]
|
/linux/drivers/gpu/drm/msm/adreno/ |
A D | adreno_device.c | 25 .rev = ADRENO_REV(2, 0, 0, 0), 366 if (adreno_cmp_rev(info->rev, rev)) in adreno_info() 451 rev->core = r / 100; in find_chipid() 453 rev->major = r / 10; in find_chipid() 455 rev->minor = r; in find_chipid() 456 rev->patchid = patch; in find_chipid() 476 rev->core, rev->major, rev->minor, rev->patchid); in find_chipid() 501 config.rev.core, config.rev.major, in adreno_bind() 502 config.rev.minor, config.rev.patchid); in adreno_bind() 506 DBG("Found GPU: %u.%u.%u.%u", config.rev.core, config.rev.major, in adreno_bind() [all …]
|
/linux/arch/arm/mach-s3c/ |
A D | mach-crag6410-module.c | 325 u8 rev; member 335 { .id = 0x02, .rev = 0xff, .name = "1251-EV1 Jura" }, 347 { .id = 0x15, .rev = 0xff, .name = "6320-EV1 Bells", 352 { .id = 0x31, .rev = 0xff, .name = "1253-EV1 Tomatin", 355 { .id = 0x33, .rev = 0xff, .name = "XXXX-EV1 Oban" }, 383 int ret, i, j, id, rev; in wlf_gf_module_probe() local 392 rev = ret & 0x3; in wlf_gf_module_probe() 394 if (id == gf_mods[i].id && (gf_mods[i].rev == 0xff || in wlf_gf_module_probe() 395 rev == gf_mods[i].rev)) in wlf_gf_module_probe() 404 gf_mods[i].name, rev + 1); in wlf_gf_module_probe() [all …]
|
/linux/arch/mips/ath79/ |
A D | setup.c | 58 u32 rev = 0; in ath79_detect_sys_type() local 68 rev &= AR71XX_REV_ID_REVISION_MASK; in ath79_detect_sys_type() 90 rev = id & AR724X_REV_ID_REVISION_MASK; in ath79_detect_sys_type() 96 rev = id & AR724X_REV_ID_REVISION_MASK; in ath79_detect_sys_type() 102 rev = id & AR724X_REV_ID_REVISION_MASK; in ath79_detect_sys_type() 108 rev &= AR913X_REV_ID_REVISION_MASK; in ath79_detect_sys_type() 125 rev = id & AR933X_REV_ID_REVISION_MASK; in ath79_detect_sys_type() 131 rev = id & AR933X_REV_ID_REVISION_MASK; in ath79_detect_sys_type() 191 ath79_soc_rev = rev; in ath79_detect_sys_type() 195 chip, ver, rev); in ath79_detect_sys_type() [all …]
|
/linux/arch/x86/kernel/cpu/microcode/ |
A D | intel.c | 137 if (mc_hdr->rev <= mc_saved_hdr->rev) in save_microcode_patch() 393 rev = uci.cpu_sig.rev; in show_saved_mc() 406 rev = mc_saved_header->rev; in show_saved_mc() 560 if (rev >= mc->hdr.rev) { in apply_microcode_early() 561 uci->cpu_sig.rev = rev; in apply_microcode_early() 575 if (rev != mc->hdr.rev) in apply_microcode_early() 578 uci->cpu_sig.rev = rev; in apply_microcode_early() 697 if (phdr->rev <= uci->cpu_sig.rev) in find_patch() 782 if (rev >= mc->hdr.rev) { in apply_microcode_intel() 798 if (rev != mc->hdr.rev) { in apply_microcode_intel() [all …]
|
A D | amd.c | 394 u32 rev, dummy; in __apply_microcode_amd() local 400 if (rev != mc->hdr.patch_id) in __apply_microcode_amd() 423 u32 rev, dummy, *new_rev; in apply_microcode_early_amd() local 443 if (rev >= mc->hdr.patch_id) in apply_microcode_early_amd() 519 u32 *new_rev, rev, dummy; in load_ucode_amd_ap() local 575 u32 rev, dummy __always_unused; in reload_ucode_amd() local 581 if (rev < mc->hdr.patch_id) { in reload_ucode_amd() 659 csig->rev = c->microcode; in collect_cpu_info_amd() 708 rev = mc_amd->hdr.patch_id; in apply_microcode_amd() 714 uci->cpu_sig.rev = rev; in apply_microcode_amd() [all …]
|
/linux/arch/arm/mach-imx/ |
A D | cpu-imx31.c | 21 unsigned int rev; member 23 { .srev = 0x00, .name = "i.MX31(L)", .rev = IMX_CHIP_REVISION_1_0 }, 24 { .srev = 0x10, .name = "i.MX31", .rev = IMX_CHIP_REVISION_1_1 }, 25 { .srev = 0x11, .name = "i.MX31L", .rev = IMX_CHIP_REVISION_1_1 }, 26 { .srev = 0x12, .name = "i.MX31", .rev = IMX_CHIP_REVISION_1_1 }, 27 { .srev = 0x13, .name = "i.MX31L", .rev = IMX_CHIP_REVISION_1_1 }, 28 { .srev = 0x14, .name = "i.MX31", .rev = IMX_CHIP_REVISION_1_2 }, 29 { .srev = 0x15, .name = "i.MX31L", .rev = IMX_CHIP_REVISION_1_2 }, 30 { .srev = 0x28, .name = "i.MX31", .rev = IMX_CHIP_REVISION_2_0 }, 51 mx31_cpu_type[i].rev); in mx31_read_cpu_rev() [all …]
|
/linux/arch/arm/mach-omap2/ |
A D | id.c | 353 u8 rev; in omap3xxx_check_revision() local 380 switch (rev) { in omap3xxx_check_revision() 412 switch (rev) { in omap3xxx_check_revision() 426 switch(rev) { in omap3xxx_check_revision() 442 switch (rev) { in omap3xxx_check_revision() 462 switch (rev) { in omap3xxx_check_revision() 479 switch (rev) { in omap3xxx_check_revision() 497 switch (rev) { in omap3xxx_check_revision() 528 u8 rev; in omap4xxx_check_revision() local 550 switch (rev) { in omap4xxx_check_revision() [all …]
|
/linux/arch/arm/mach-orion5x/ |
A D | common.c | 210 u32 rev, dev; in orion5x_init_early() local 216 orion5x_pcie_id(&dev, &rev); in orion5x_init_early() 262 u32 dev, rev; in orion5x_find_tclk() local 264 orion5x_pcie_id(&dev, &rev); in orion5x_find_tclk() 289 orion5x_pcie_id(dev, rev); in orion5x_id() 292 if (*rev == MV88F5281_REV_D2) { in orion5x_id() 302 if (*rev == MV88F5182_REV_A2) { in orion5x_id() 308 if (*rev == MV88F5181_REV_B1) { in orion5x_id() 316 if (*rev == MV88F6183_REV_B0) { in orion5x_id() 329 u32 dev, rev; in orion5x_init() local [all …]
|
/linux/drivers/firmware/arm_scmi/ |
A D | base.c | 80 rev->num_agents = attr_info->num_agents; in scmi_base_attributes_get() 108 vendor_id = rev->sub_vendor_id; in scmi_base_vendor_id_get() 109 size = ARRAY_SIZE(rev->sub_vendor_id); in scmi_base_vendor_id_get() 112 vendor_id = rev->vendor_id; in scmi_base_vendor_id_get() 113 size = ARRAY_SIZE(rev->vendor_id); in scmi_base_vendor_id_get() 154 rev->impl_ver = le32_to_cpu(*impl_ver); in scmi_base_implementation_version_get() 360 ph->set_priv(ph, rev); in scmi_base_protocol_init() 371 rev->major_ver, rev->minor_ver, rev->vendor_id, in scmi_base_protocol_init() 372 rev->sub_vendor_id, rev->impl_ver); in scmi_base_protocol_init() 374 rev->num_agents); in scmi_base_protocol_init() [all …]
|
/linux/drivers/gpu/drm/msm/disp/dpu1/ |
A D | dpu_hw_catalog.h | 24 #define DPU_HW_MAJOR(rev) ((rev) >> 28) argument 25 #define DPU_HW_MINOR(rev) (((rev) >> 16) & 0xFFF) argument 26 #define DPU_HW_STEP(rev) ((rev) & 0xFFFF) argument 27 #define DPU_HW_MAJOR_MINOR(rev) ((rev) >> 16) argument 46 #define IS_MSM8996_TARGET(rev) IS_DPU_MAJOR_MINOR_SAME((rev), DPU_HW_VER_170) argument 47 #define IS_MSM8998_TARGET(rev) IS_DPU_MAJOR_MINOR_SAME((rev), DPU_HW_VER_300) argument 48 #define IS_SDM845_TARGET(rev) IS_DPU_MAJOR_MINOR_SAME((rev), DPU_HW_VER_400) argument 49 #define IS_SDM670_TARGET(rev) IS_DPU_MAJOR_MINOR_SAME((rev), DPU_HW_VER_410) argument 50 #define IS_SDM855_TARGET(rev) IS_DPU_MAJOR_MINOR_SAME((rev), DPU_HW_VER_500) argument 51 #define IS_SC7180_TARGET(rev) IS_DPU_MAJOR_MINOR_SAME((rev), DPU_HW_VER_620) argument [all …]
|
/linux/tools/testing/selftests/drivers/net/mlxsw/ |
A D | mlxsw_lib.sh | 27 local rev=$1; shift 29 local rev2=${rev%+} 31 if [[ $rev2 != $rev ]]; then 40 local rev=$1; shift 44 if ! mlxsw_on_spectrum "$rev"; then 45 log_test_skip $src:$caller "(Spectrum-$rev only)" 54 local rev 56 for rev in "$@"; do 57 if __mlxsw_only_on_spectrum "$rev" "$caller" "$src"; then
|
/linux/arch/powerpc/kvm/ |
A D | book3s_hv_rm_mmu.c | 88 rev->forw = i; in kvmppc_add_revmap_chain() 93 rev->forw = rev->back = pte_index; in kvmppc_add_revmap_chain() 172 next = real_vmalloc_addr(&kvm->arch.hpt.rev[rev->forw]); in remove_revmap_chain() 173 prev = real_vmalloc_addr(&kvm->arch.hpt.rev[rev->back]); in remove_revmap_chain() 361 rev = &kvm->arch.hpt.rev[pte_index]; in kvmppc_do_h_enter() 363 rev = real_vmalloc_addr(rev); in kvmppc_do_h_enter() 364 if (rev) { in kvmppc_do_h_enter() 520 rev = real_vmalloc_addr(&kvm->arch.hpt.rev[pte_index]); in kvmppc_do_h_remove() 714 rev = real_vmalloc_addr(&kvm->arch.hpt.rev[pte_index]); in kvmppc_h_protect() 715 if (rev) { in kvmppc_h_protect() [all …]
|
/linux/drivers/acpi/ |
A D | pci_mcfg.c | 44 #define AL_ECAM(table_id, rev, seg, ops) \ argument 45 { "AMAZON", table_id, rev, seg, MCFG_BUS_ANY, ops } 84 #define THUNDER_PEM_QUIRK(rev, node) \ argument 85 { "CAVIUM", "THUNDERX", rev, 4 + (10 * (node)), MCFG_BUS_ANY, \ 98 #define THUNDER_ECAM_QUIRK(rev, seg) \ argument 99 { "CAVIUM", "THUNDERX", rev, seg, MCFG_BUS_ANY, \ 126 #define XGENE_V1_ECAM_MCFG(rev, seg) \ argument 127 {"APM ", "XGENE ", rev, seg, MCFG_BUS_ANY, \ 130 #define XGENE_V2_ECAM_MCFG(rev, seg) \ argument 131 {"APM ", "XGENE ", rev, seg, MCFG_BUS_ANY, \ [all …]
|
/linux/sound/soc/codecs/ |
A D | tfa989x.c | 52 unsigned int rev; member 57 const struct tfa989x_rev *rev; member 112 if (tfa989x->rev->rev == TFA9897_REVISION) in tfa989x_probe() 200 .rev = TFA9895_REVISION, 223 .rev = TFA9897_REVISION, 280 const struct tfa989x_rev *rev; in tfa989x_i2c_probe() local 287 if (!rev) { in tfa989x_i2c_probe() 296 tfa989x->rev = rev; in tfa989x_i2c_probe() 331 if (val != rev->rev) { in tfa989x_i2c_probe() 333 rev->rev, val); in tfa989x_i2c_probe() [all …]
|
/linux/drivers/net/wireless/broadcom/b43/ |
A D | wa.c | 26 if (phy->rev <= 2) in b43_wa_initgains() 34 if (phy->rev <= 3) in b43_wa_initgains() 40 if (phy->rev >= 3) in b43_wa_initgains() 87 if (phy->rev == 1) in b43_wa_nft() 117 if (phy->rev >= 6) { in b43_wa_nst() 159 if (phy->rev == 1) { in b43_wa_crs_ed() 215 if (phy->rev == 1) { in b43_wa_altagc() 241 if (phy->rev == 1) { in b43_wa_altagc() 253 if (phy->rev == 1) { in b43_wa_altagc() 267 if (phy->rev == 1) { in b43_wa_altagc() [all …]
|
A D | phy_n.c | 164 if (phy->rev >= 19 || phy->rev < 3) { in b43_nphy_rf_ctl_override_rev7() 1305 if (phy->rev != 3) in b43_radio_2056_rcal() 4235 if (phy->rev < 3) in b43_nphy_tx_gain_table_upload() 4320 if (dev->phy.rev < 3 || dev->phy.rev >= 7) in b43_nphy_tx_lpf_bw() 6012 phy->rev >= 7 || in b43_phy_initn() 6013 (phy->rev >= 5 && in b43_phy_initn() 6071 if (phy->rev < 8) in b43_phy_initn() 6183 if (phy->rev >= 3 && phy->rev <= 6) in b43_phy_initn() 6186 if (phy->rev >= 3) in b43_phy_initn() 6313 if (dev->phy.rev == 3 || dev->phy.rev == 4) in b43_nphy_channel_setup() [all …]
|
/linux/drivers/soc/ux500/ |
A D | ux500-soc-id.c | 53 unsigned int rev = dbx500_id.revision; in ux500_print_soc_info() local 57 if (rev == 0x01) in ux500_print_soc_info() 59 else if (rev >= 0xA0) in ux500_print_soc_info() 60 pr_cont("v%d.%d" , (rev >> 4) - 0xA + 1, rev & 0xf); in ux500_print_soc_info() 138 unsigned int rev = dbx500_id.revision; in ux500_get_revision() local 140 if (rev == 0x01) in ux500_get_revision() 142 else if (rev >= 0xA0) in ux500_get_revision() 144 (rev >> 4) - 0xA + 1, rev & 0xf); in ux500_get_revision()
|
/linux/arch/mips/ralink/ |
A D | mt7621.c | 59 static void soc_dev_init(struct ralink_soc_info *soc_info, u32 rev) in soc_dev_init() argument 71 if (((rev >> CHIP_REV_VER_SHIFT) & CHIP_REV_VER_MASK) == 1 && in soc_dev_init() 72 (rev & CHIP_REV_ECO_MASK) == 1) in soc_dev_init() 92 u32 rev; in prom_soc_init() local 126 rev = __raw_readl(sysc + SYSC_REG_CHIP_REV); in prom_soc_init() 131 (rev >> CHIP_REV_VER_SHIFT) & CHIP_REV_VER_MASK, in prom_soc_init() 132 (rev & CHIP_REV_ECO_MASK)); in prom_soc_init() 136 soc_dev_init(soc_info, rev); in prom_soc_init()
|
/linux/arch/arm64/lib/ |
A D | crc32.S | 27 CPU_BE( rev x3, x3 ) 28 CPU_BE( rev x4, x4 ) 29 CPU_BE( rev x5, x5 ) 30 CPU_BE( rev x6, x6 ) 58 CPU_BE( rev x3, x3 ) 59 CPU_BE( rev x4, x4 ) 60 CPU_BE( rev x5, x5 ) 61 CPU_BE( rev x6, x6 ) 71 CPU_BE( rev x3, x3 ) 75 CPU_BE( rev w3, w3 )
|
/linux/drivers/i2c/busses/ |
A D | i2c-omap.c | 201 u32 rev; member 1226 .rev = OMAP_I2C_IP_VERSION_1, 1234 .rev = OMAP_I2C_IP_VERSION_1, 1270 #define OMAP_I2C_SCHEME(rev) ((rev & 0xc000) >> 14) argument 1272 #define OMAP_I2C_REV_SCHEME_0_MAJOR(rev) (rev >> 4) argument 1273 #define OMAP_I2C_REV_SCHEME_0_MINOR(rev) (rev & 0xf) argument 1275 #define OMAP_I2C_REV_SCHEME_1_MAJOR(rev) ((rev & 0x0700) >> 7) argument 1276 #define OMAP_I2C_REV_SCHEME_1_MINOR(rev) (rev & 0x1f) argument 1364 u32 rev; in omap_i2c_probe() local 1430 rev = (rev << 16) | in omap_i2c_probe() [all …]
|
/linux/arch/arm/include/debug/ |
A D | samsung.S | 14 ARM_BE8(rev \rd, \rd) 20 ARM_BE8(rev \rd, \rd) 29 ARM_BE8(rev \rd, \rd) 39 ARM_BE8(rev \rd, \rd) 53 ARM_BE8(rev \rd, \rd) 65 ARM_BE8(rev \rd, \rd) 77 ARM_BE8(rev \rd, \rd) 89 ARM_BE8(rev \rd, \rd)
|
/linux/arch/arm/mach-mv78xx0/ |
A D | common.c | 232 u32 dev, rev; in mv78xx0_ge10_init() local 238 mv78xx0_pcie_id(&dev, &rev); in mv78xx0_ge10_init() 254 u32 dev, rev; in mv78xx0_ge11_init() local 260 mv78xx0_pcie_id(&dev, &rev); in mv78xx0_ge11_init() 354 u32 dev, rev; in mv78xx0_id() local 356 mv78xx0_pcie_id(&dev, &rev); in mv78xx0_id() 359 if (rev == MV78X00_REV_Z0) in mv78xx0_id() 364 if (rev == MV78100_REV_A0) in mv78xx0_id() 366 else if (rev == MV78100_REV_A1) in mv78xx0_id() 371 if (rev == MV78100_REV_A0) in mv78xx0_id()
|
/linux/arch/m68k/mvme16x/ |
A D | config.c | 95 unsigned char rev = *(unsigned char *)MVME162_VERSION_REG; in mvme16x_get_hardware_list() local 98 rev & MVME16x_CONFIG_NO_VMECHIP2 ? "NOT " : ""); in mvme16x_get_hardware_list() 100 rev & MVME16x_CONFIG_NO_SCSICHIP ? "NOT " : ""); in mvme16x_get_hardware_list() 102 rev & MVME16x_CONFIG_NO_ETHERNET ? "NOT " : ""); in mvme16x_get_hardware_list() 292 p->rev & 0xf, p->yr, p->mth, p->day); in config_mvme16x() 297 mvme16x_config = rev | MVME16x_CONFIG_GOT_SCCA; in config_mvme16x() 301 rev & MVME16x_CONFIG_GOT_FPU ? "" : "LC"); in config_mvme16x() 303 rev & MVME16x_CONFIG_SPEED_32 ? 32 : 25); in config_mvme16x() 305 rev & MVME16x_CONFIG_NO_VMECHIP2 ? "NOT " : ""); in config_mvme16x() 307 rev & MVME16x_CONFIG_NO_SCSICHIP ? "NOT " : ""); in config_mvme16x() [all …]
|
/linux/drivers/media/i2c/ccs/ |
A D | ccs.h | 138 #define CCS_IDENT_FQ(manufacturer, model, rev, fl, _name, _quirk) \ argument 141 .revision_number_major = rev, \ 146 #define CCS_IDENT_LQ(manufacturer, model, rev, _name, _quirk) \ argument 149 .revision_number_major = rev, \ 154 #define CCS_IDENT_L(manufacturer, model, rev, _name) \ argument 157 .revision_number_major = rev, \ 161 #define CCS_IDENT_Q(manufacturer, model, rev, _name, _quirk) \ argument 164 .revision_number_major = rev, \ 169 #define CCS_IDENT(manufacturer, model, rev, _name) \ argument 172 .revision_number_major = rev, \
|