ver 145 arch/arc/include/asm/arcregs.h pad1:12, ver:8; ver 147 arch/arc/include/asm/arcregs.h unsigned int ver:8, pad1:12, be:1, atomic:1, unalign:1, ver 162 arch/arc/include/asm/arcregs.h unsigned int pad:8, x1616:8, dsp:4, cycles:2, type:2, ver:8; ver 164 arch/arc/include/asm/arcregs.h unsigned int ver:8, type:2, cycles:2, dsp:4, x1616:8, pad:8; ver 170 arch/arc/include/asm/arcregs.h unsigned int base:16, pad:5, sz:3, ver:8; ver 172 arch/arc/include/asm/arcregs.h unsigned int ver:8, sz:3, pad:5, base:16; ver 178 arch/arc/include/asm/arcregs.h unsigned int pad:8, sz11:4, sz01:4, sz10:4, sz00:4, ver:8; ver 180 arch/arc/include/asm/arcregs.h unsigned int ver:8, sz00:4, sz10:4, sz01:4, sz11:4, pad:8; ver 186 arch/arc/include/asm/arcregs.h unsigned int res:21, sz:3, ver:8; ver 188 arch/arc/include/asm/arcregs.h unsigned int ver:8, sz:3, res:21; ver 194 arch/arc/include/asm/arcregs.h unsigned int pad2:12, cyc:3, pad1:1, sz1:4, sz0:4, ver:8; ver 196 arch/arc/include/asm/arcregs.h unsigned int ver:8, sz0:4, sz1:4, pad1:1, cyc:3, pad2:12; ver 203 arch/arc/include/asm/arcregs.h unsigned int fast:1, ver:8; ver 205 arch/arc/include/asm/arcregs.h unsigned int ver:8, fast:1; ver 211 arch/arc/include/asm/arcregs.h unsigned int pad2:15, dp:1, pad1:7, sp:1, ver:8; ver 213 arch/arc/include/asm/arcregs.h unsigned int ver:8, sp:1, pad1:7, dp:1, pad2:15; ver 219 arch/arc/include/asm/arcregs.h unsigned int pad:21, min:1, num:2, ver:8; ver 221 arch/arc/include/asm/arcregs.h unsigned int ver:8, num:2, min:1, pad:21; ver 229 arch/arc/include/asm/arcregs.h unsigned int pad2:19, fam:1, pad:2, ent:2, ver:8; ver 231 arch/arc/include/asm/arcregs.h unsigned int ver:8, ent:2, pad:2, fam:1, pad2:19; ver 237 arch/arc/include/asm/arcregs.h unsigned int pad:6, fbe:2, tqe:2, ts:4, ft:1, rse:2, pte:3, bce:3, ver:8; ver 239 arch/arc/include/asm/arcregs.h unsigned int ver:8, bce:3, pte:3, rse:2, ft:1, ts:4, tqe:2, fbe:2, pad:6; ver 246 arch/arc/include/asm/arcregs.h unsigned int pad3:5, mmu:3, pad2:4, ic:3, dc:3, pad1:6, ver:8; ver 248 arch/arc/include/asm/arcregs.h unsigned int ver:8, pad1:6, dc:3, ic:3, pad2:4, mmu:3, pad3:5; ver 263 arch/arc/include/asm/arcregs.h unsigned int pad:16, entries:8, ver:8; ver 265 arch/arc/include/asm/arcregs.h unsigned int ver:8, entries:8, pad:16; ver 271 arch/arc/include/asm/arcregs.h unsigned int info:24, ver:8; ver 273 arch/arc/include/asm/arcregs.h unsigned int ver:8, info:24; ver 283 arch/arc/include/asm/arcregs.h unsigned int ver:4, pg_sz_k:8, s_pg_sz_m:8, pad:10, sasid:1, pae:1; ver 292 arch/arc/include/asm/arcregs.h unsigned int ver, full, num_cache, num_pred, ret_stk; ver 17 arch/arc/kernel/intc-arcv2.c unsigned int pad:3, firq:1, prio:4, exts:8, irqs:8, ver:8; ver 19 arch/arc/kernel/intc-arcv2.c unsigned int ver:8, irqs:8, exts:8, prio:4, firq:1, pad:3; ver 38 arch/arc/kernel/mcip.c if (gfrc.ver < 0x3) ver 163 arch/arc/kernel/mcip.c mp.ver, mp.num_cores, ver 73 arch/arc/kernel/setup.c if (iccm.ver) { ver 79 arch/arc/kernel/setup.c if (dccm.ver) { ver 92 arch/arc/kernel/setup.c if (iccm.ver) { ver 102 arch/arc/kernel/setup.c if (dccm.ver) { ver 201 arch/arc/kernel/setup.c cpu->extn.fpu_sp = sp.ver ? 1 : 0; ver 202 arch/arc/kernel/setup.c cpu->extn.fpu_dp = dp.ver ? 1 : 0; ver 205 arch/arc/kernel/setup.c cpu->bpu.ver = bpu.ver; ver 220 arch/arc/kernel/setup.c cpu->bpu.ver = bpu.ver; ver 236 arch/arc/kernel/setup.c if (ap.ver) { ver 242 arch/arc/kernel/setup.c cpu->extn.smart = bcr.ver ? 1 : 0; ver 245 arch/arc/kernel/setup.c cpu->extn.rtt = bcr.ver ? 1 : 0; ver 251 arch/arc/kernel/setup.c if (!isa.ver) /* ISA BCR absent, use Kconfig info */ ver 262 arch/arc/kernel/setup.c if (unlikely(cpu->core.family < 0x34 || cpu->mmu.ver < 3)) ver 294 arch/arc/kernel/setup.c if (cpu->extn_mpy.ver) { ver 312 arch/arc/kernel/setup.c IS_AVAIL1(cpu->extn_mpy.ver, mpy_opt), ver 315 arch/arc/kernel/setup.c if (cpu->bpu.ver) { ver 326 arch/arc/kernel/setup.c if (lpb.ver) { ver 378 arch/arc/kernel/setup.c if (erp.ver) { ver 90 arch/arc/mm/cache.c unsigned int pad:7, c:1, num_entries:8, num_cores:8, ver:8; ver 92 arch/arc/mm/cache.c unsigned int ver:8, num_cores:8, num_entries:8, c:1, pad:7; ver 106 arch/arc/mm/cache.c if (sbcr.ver) { ver 148 arch/arc/mm/cache.c unsigned int pad:12, line_len:4, sz:4, config:4, ver:8; ver 150 arch/arc/mm/cache.c unsigned int ver:8, config:4, sz:4, line_len:4, pad:12; ver 157 arch/arc/mm/cache.c if (!ibcr.ver) ver 160 arch/arc/mm/cache.c if (ibcr.ver <= 3) { ver 163 arch/arc/mm/cache.c } else if (ibcr.ver >= 4) { ver 176 arch/arc/mm/cache.c if (!dbcr.ver) ver 179 arch/arc/mm/cache.c if (dbcr.ver <= 3) { ver 184 arch/arc/mm/cache.c } else if (dbcr.ver >= 4) { ver 732 arch/arc/mm/tlb.c unsigned int ver:8, ways:4, sets:4, u_itlb:8, u_dtlb:8; ver 734 arch/arc/mm/tlb.c unsigned int u_dtlb:8, u_itlb:8, sets:4, ways:4, ver:8; ver 740 arch/arc/mm/tlb.c unsigned int ver:8, ways:4, sets:4, res:3, sasid:1, pg_sz:4, ver 744 arch/arc/mm/tlb.c ways:4, ver:8; ver 750 arch/arc/mm/tlb.c unsigned int ver:8, sasid:1, sz1:4, sz0:4, res:2, pae:1, ver 755 arch/arc/mm/tlb.c pae:1, res:2, sz0:4, sz1:4, sasid:1, ver:8; ver 760 arch/arc/mm/tlb.c mmu->ver = (tmp >> 24); ver 763 arch/arc/mm/tlb.c if (mmu->ver <= 2) { ver 805 arch/arc/mm/tlb.c p_mmu->ver, p_mmu->pg_sz_k, super_pg, ver 846 arch/arc/mm/tlb.c if (is_isa_arcompact() && mmu->ver == CONFIG_ARC_MMU_VER) ver 848 arch/arc/mm/tlb.c else if (is_isa_arcv2() && mmu->ver >= CONFIG_ARC_MMU_VER) ver 853 arch/arc/mm/tlb.c mmu->ver, CONFIG_ARC_MMU_VER); ver 619 arch/arm/mach-pxa/balloon3.c uint16_t ver; ver 625 arch/arm/mach-pxa/balloon3.c ver = __raw_readw(BALLOON3_FPGA_VER); ver 626 arch/arm/mach-pxa/balloon3.c if (ver < 0x4f08) ver 628 arch/arm/mach-pxa/balloon3.c "NAND support might be broken in this version!", ver); ver 986 arch/ia64/kernel/iosapic.c iosapic_check_gsi_range (unsigned int gsi_base, unsigned int ver) ver 992 arch/ia64/kernel/iosapic.c gsi_end = gsi_base + ((ver >> 16) & 0xff); ver 1031 arch/ia64/kernel/iosapic.c unsigned int isa_irq, ver; ver 1047 arch/ia64/kernel/iosapic.c ver = iosapic_version(addr); ver 1048 arch/ia64/kernel/iosapic.c if ((err = iosapic_check_gsi_range(gsi_base, ver))) { ver 1059 arch/ia64/kernel/iosapic.c num_rte = ((ver >> 16) & 0xff) + 1; ver 227 arch/m68k/emu/nfeth.c long ver; ver 234 arch/m68k/emu/nfeth.c ver = nf_call(nfEtherID + GET_VERSION); ver 235 arch/m68k/emu/nfeth.c pr_info("API %lu\n", ver); ver 263 arch/m68k/include/asm/traps.h unsigned ver : 4; /* stack frame version # */ ver 913 arch/m68k/kernel/traps.c fp->un.fmtb.baddr, fp->un.fmtb.dibuf, fp->un.fmtb.ver); ver 60 arch/mips/ath79/setup.c u32 ver = 1; ver 154 arch/mips/ath79/setup.c ver = 2; ver 192 arch/mips/ath79/setup.c if (ver == 1) ver 197 arch/mips/ath79/setup.c chip, ver, rev); ver 44 arch/mips/fw/arc/init.c pb->ver, pb->rev); ver 264 arch/mips/include/asm/cpu.h #define PRID_REV_ENCODE_44(ver, rev) \ ver 265 arch/mips/include/asm/cpu.h ((ver) << 4 | (rev)) ver 266 arch/mips/include/asm/cpu.h #define PRID_REV_ENCODE_332(ver, rev, patch) \ ver 267 arch/mips/include/asm/cpu.h ((ver) << 5 | (rev) << 2 | (patch)) ver 250 arch/mips/include/asm/sgiarcs.h USHORT ver; /* ARCS firmware version */ ver 255 arch/s390/include/asm/ap.h unsigned char ver[2]; ver 351 arch/sh/boards/mach-highlander/setup.c u16 ver = __raw_readw(PA_VERREG); ver 361 arch/sh/boards/mach-highlander/setup.c (ver >> 12) & 0xf, (ver >> 8) & 0xf, ver 362 arch/sh/boards/mach-highlander/setup.c (ver >> 4) & 0xf, ver & 0xf); ver 271 arch/sh/boards/mach-r2d/setup.c u16 ver = __raw_readw(PA_VERREG); ver 276 arch/sh/boards/mach-r2d/setup.c (ver >> 4) & 0xf, ver & 0xf); ver 74 arch/sh/boards/mach-sdk7780/setup.c u16 ver = __raw_readw(FPGA_FPVERR); ver 80 arch/sh/boards/mach-sdk7780/setup.c (ver >> 12) & 0xf, (ver >> 8) & 0xf, ver 81 arch/sh/boards/mach-sdk7780/setup.c (ver >> 4) & 0xf, ver & 0xf, ver 42 arch/sparc/include/asm/head_64.h rdpr %ver, %tmp1; \ ver 51 arch/sparc/include/asm/head_64.h rdpr %ver, %tmp1; \ ver 60 arch/sparc/include/asm/head_64.h rdpr %ver, %tmp1; \ ver 71 arch/sparc/include/asm/head_64.h rdpr %ver, %tmp1; \ ver 434 arch/sparc/include/asm/vio.h struct vio_version ver; ver 447 arch/sparc/include/asm/vio.h u32 have = (u32)vio->ver.major << 16 | vio->ver.minor; ver 456 arch/sparc/include/asm/vio.h u32 have = (u32)vio->ver.major << 16 | vio->ver.minor; ver 465 arch/sparc/include/asm/vio.h u32 have = (u32)vio->ver.major << 16 | vio->ver.minor; ver 696 arch/sparc/kernel/chmc.c unsigned long ver; ver 703 arch/sparc/kernel/chmc.c __asm__ ("rdpr %%ver, %0" : "=r" (ver)); ver 704 arch/sparc/kernel/chmc.c if ((ver >> 32UL) == __JALAPENO_ID || ver 705 arch/sparc/kernel/chmc.c (ver >> 32UL) == __SERRANO_ID) ver 829 arch/sparc/kernel/chmc.c unsigned long ver; ver 835 arch/sparc/kernel/chmc.c __asm__ __volatile__("rdpr %%ver, %0" : "=r" (ver)); ver 836 arch/sparc/kernel/chmc.c if ((ver >> 32UL) == __JALAPENO_ID || ver 837 arch/sparc/kernel/chmc.c (ver >> 32UL) == __SERRANO_ID) { ver 54 arch/sparc/kernel/cpu.c #define CPU(ver, _name) \ ver 55 arch/sparc/kernel/cpu.c { .psr_vers = ver, .name = _name } ver 57 arch/sparc/kernel/cpu.c #define CPU_PMU(ver, _name, _pmu_name) \ ver 58 arch/sparc/kernel/cpu.c { .psr_vers = ver, .name = _name, .pmu_name = _pmu_name } ver 60 arch/sparc/kernel/cpu.c #define FPU(ver, _name) \ ver 61 arch/sparc/kernel/cpu.c { .fp_vers = ver, .name = _name } ver 543 arch/sparc/kernel/cpu.c unsigned long ver; ver 546 arch/sparc/kernel/cpu.c __asm__ __volatile__("rdpr %%ver, %0" : "=r" (ver)); ver 548 arch/sparc/kernel/cpu.c manuf = ((ver >> 48) & 0xffff); ver 549 arch/sparc/kernel/cpu.c impl = ((ver >> 32) & 0xffff); ver 72 arch/sparc/kernel/ds.c struct ds_version ver; ver 1072 arch/sparc/kernel/ds.c req.ver.major = 1; ver 1073 arch/sparc/kernel/ds.c req.ver.minor = 0; ver 323 arch/sparc/kernel/irq_64.c unsigned long ver; ver 325 arch/sparc/kernel/irq_64.c __asm__ ("rdpr %%ver, %0" : "=r" (ver)); ver 326 arch/sparc/kernel/irq_64.c if ((ver >> 32UL) == __JALAPENO_ID || ver 327 arch/sparc/kernel/irq_64.c (ver >> 32UL) == __SERRANO_ID) { ver 148 arch/sparc/kernel/ldc.c struct ldc_version ver; ver 370 arch/sparc/kernel/ldc.c struct ldc_version *ver; ver 373 arch/sparc/kernel/ldc.c ver = &ver_arr[0]; ver 376 arch/sparc/kernel/ldc.c ver->major, ver->minor); ver 379 arch/sparc/kernel/ldc.c ver, sizeof(*ver), &new_tail); ver 393 arch/sparc/kernel/ldc.c struct ldc_version ver; ver 396 arch/sparc/kernel/ldc.c ver.major = major; ver 397 arch/sparc/kernel/ldc.c ver.minor = minor; ver 400 arch/sparc/kernel/ldc.c &ver, sizeof(ver), &new_tail); ver 403 arch/sparc/kernel/ldc.c ver.major, ver.minor); ver 583 arch/sparc/kernel/ldc.c memset(&lp->ver, 0, sizeof(lp->ver)); ver 592 arch/sparc/kernel/ldc.c struct ldc_version ver = *vp; ver 593 arch/sparc/kernel/ldc.c if (ver.minor > vap->minor) ver 594 arch/sparc/kernel/ldc.c ver.minor = vap->minor; ver 595 arch/sparc/kernel/ldc.c err = send_version_ack(lp, &ver); ver 597 arch/sparc/kernel/ldc.c lp->ver = ver; ver 613 arch/sparc/kernel/ldc.c if (lp->ver.major != vp->major || ver 614 arch/sparc/kernel/ldc.c lp->ver.minor != vp->minor) ver 617 arch/sparc/kernel/ldc.c lp->ver = *vp; ver 174 arch/sparc/kernel/setup_64.c unsigned long ver; ver 182 arch/sparc/kernel/setup_64.c __asm__ ("rdpr %%ver, %0" : "=r" (ver)); ver 183 arch/sparc/kernel/setup_64.c is_jbus = ((ver >> 32UL) == __JALAPENO_ID || ver 184 arch/sparc/kernel/setup_64.c (ver >> 32UL) == __SERRANO_ID); ver 574 arch/sparc/kernel/setup_64.c unsigned long impl, ver; ver 576 arch/sparc/kernel/setup_64.c __asm__ __volatile__("rdpr %%ver, %0" : "=r" (ver)); ver 577 arch/sparc/kernel/setup_64.c impl = ((ver >> 32) & 0xffff); ver 489 arch/sparc/kernel/smp_64.c u64 *mondo, pstate, ver, busy_mask; ver 499 arch/sparc/kernel/smp_64.c __asm__ ("rdpr %%ver, %0" : "=r" (ver)); ver 500 arch/sparc/kernel/smp_64.c is_jbus = ((ver >> 32) == __JALAPENO_ID || ver 501 arch/sparc/kernel/smp_64.c (ver >> 32) == __SERRANO_ID); ver 624 arch/sparc/kernel/time_64.c unsigned long ver, manuf, impl; ver 627 arch/sparc/kernel/time_64.c : "=&r" (ver)); ver 628 arch/sparc/kernel/time_64.c manuf = ((ver >> 48) & 0xffff); ver 629 arch/sparc/kernel/time_64.c impl = ((ver >> 32) & 0xffff); ver 856 arch/sparc/kernel/traps_64.c unsigned long largest_size, smallest_linesize, order, ver; ver 921 arch/sparc/kernel/traps_64.c __asm__ ("rdpr %%ver, %0" : "=r" (ver)); ver 922 arch/sparc/kernel/traps_64.c if ((ver >> 32) == __JALAPENO_ID || ver 923 arch/sparc/kernel/traps_64.c (ver >> 32) == __SERRANO_ID) { ver 926 arch/sparc/kernel/traps_64.c } else if ((ver >> 32) == 0x003e0015) { ver 128 arch/sparc/kernel/viohs.c memset(&vio->ver, 0, sizeof(vio->ver)); ver 266 arch/sparc/kernel/viohs.c memset(&vio->ver, 0, sizeof(vio->ver)); ver 288 arch/sparc/kernel/viohs.c struct vio_version ver = { ver 292 arch/sparc/kernel/viohs.c if (ver.minor > vap->minor) ver 293 arch/sparc/kernel/viohs.c ver.minor = vap->minor; ver 294 arch/sparc/kernel/viohs.c pkt->minor = ver.minor; ver 301 arch/sparc/kernel/viohs.c vio->ver = ver; ver 318 arch/sparc/kernel/viohs.c if (vio->ver.major != pkt->major || ver 319 arch/sparc/kernel/viohs.c vio->ver.minor != pkt->minor) { ver 325 arch/sparc/kernel/viohs.c vio->ver.major = pkt->major; ver 326 arch/sparc/kernel/viohs.c vio->ver.minor = pkt->minor; ver 1566 arch/sparc/mm/init_64.c unsigned long ver; ver 1568 arch/sparc/mm/init_64.c __asm__ ("rdpr %%ver, %0" : "=r" (ver)); ver 1569 arch/sparc/mm/init_64.c if ((ver >> 32UL) == __JALAPENO_ID || ver 1570 arch/sparc/mm/init_64.c (ver >> 32UL) == __SERRANO_ID) ver 2436 arch/sparc/mm/init_64.c unsigned long impl, ver; ver 2441 arch/sparc/mm/init_64.c __asm__ __volatile__("rdpr %%ver, %0" : "=r" (ver)); ver 2442 arch/sparc/mm/init_64.c impl = ((ver >> 32) & 0xffff); ver 467 arch/x86/include/asm/apic.h unsigned int ver = GET_APIC_VERSION(apic_read(APIC_LVR)); ver 469 arch/x86/include/asm/apic.h if (APIC_XAPIC(ver) || boot_cpu_has(X86_FEATURE_EXTD_APICID)) ver 159 arch/x86/kernel/acpi/boot.c unsigned int ver = 0; ver 173 arch/x86/kernel/acpi/boot.c ver = boot_cpu_apic_version; ver 175 arch/x86/kernel/acpi/boot.c cpu = generic_processor_info(id, ver); ver 1068 arch/x86/kernel/apic/vector.c unsigned int i, v, ver, maxlvt; ver 1077 arch/x86/kernel/apic/vector.c ver = GET_APIC_VERSION(v); ver 1084 arch/x86/kernel/apic/vector.c if (APIC_INTEGRATED(ver)) { ver 1085 arch/x86/kernel/apic/vector.c if (!APIC_XAPIC(ver)) { ver 1098 arch/x86/kernel/apic/vector.c if (!APIC_INTEGRATED(ver) || maxlvt == 3) { ver 1120 arch/x86/kernel/apic/vector.c if (APIC_INTEGRATED(ver)) { ver 34 drivers/acpi/acpi_extlog.c u32 ver; /* Header Version */ ver 5067 drivers/android/binder.c struct binder_version __user *ver = ubuf; ver 5074 drivers/android/binder.c &ver->protocol_version)) { ver 1202 drivers/ata/sata_dwc_460ex.c char *ver = (char *)&versionr; ver 1240 drivers/ata/sata_dwc_460ex.c idr, ver[0], ver[1], ver[2]); ver 342 drivers/atm/solos-pci.c int ver, rate_up, rate_down, err; ver 351 drivers/atm/solos-pci.c err = kstrtoint(str, 10, &ver); ver 356 drivers/atm/solos-pci.c if (ver < 1) { ver 358 drivers/atm/solos-pci.c ver); ver 292 drivers/block/paride/epat.c { int ver; ver 298 drivers/block/paride/epat.c ver = RR(0xb); ver 302 drivers/block/paride/epat.c pi->device,EPAT_VERSION,ver,pi->port); ver 111 drivers/block/sunvdc.c return port->vio.ver.major == major && port->vio.ver.minor >= minor; ver 899 drivers/block/sunvdc.c port->vio.ver.major, port->vio.ver.minor); ver 963 drivers/block/sx8.c struct carm_fw_ver *ver = (struct carm_fw_ver *) ver 966 drivers/block/sx8.c host->fw_ver = le32_to_cpu(ver->version); ver 967 drivers/block/sx8.c host->flags |= (ver->features & FL_FW_VER_MASK); ver 365 drivers/bluetooth/btbcm.c struct hci_rp_read_local_version *ver; ver 379 drivers/bluetooth/btbcm.c ver = (struct hci_rp_read_local_version *)skb->data; ver 380 drivers/bluetooth/btbcm.c rev = le16_to_cpu(ver->hci_rev); ver 381 drivers/bluetooth/btbcm.c subver = le16_to_cpu(ver->lmp_subver); ver 207 drivers/bluetooth/btintel.c void btintel_version_info(struct hci_dev *hdev, struct intel_version *ver) ver 211 drivers/bluetooth/btintel.c switch (ver->fw_variant) { ver 223 drivers/bluetooth/btintel.c variant, ver->fw_revision >> 4, ver->fw_revision & 0x0f, ver 224 drivers/bluetooth/btintel.c ver->fw_build_num, ver->fw_build_ww, ver 225 drivers/bluetooth/btintel.c 2000 + ver->fw_build_yy); ver 338 drivers/bluetooth/btintel.c int btintel_read_version(struct hci_dev *hdev, struct intel_version *ver) ver 349 drivers/bluetooth/btintel.c if (skb->len != sizeof(*ver)) { ver 355 drivers/bluetooth/btintel.c memcpy(ver, skb->data, sizeof(*ver)); ver 75 drivers/bluetooth/btintel.h void btintel_version_info(struct hci_dev *hdev, struct intel_version *ver); ver 81 drivers/bluetooth/btintel.h int btintel_read_version(struct hci_dev *hdev, struct intel_version *ver); ver 127 drivers/bluetooth/btintel.h struct intel_version *ver) ver 154 drivers/bluetooth/btintel.h struct intel_version *ver) ver 21 drivers/bluetooth/btqca.c struct rome_version *ver; ver 37 drivers/bluetooth/btqca.c if (skb->len != sizeof(*edl) + sizeof(*ver)) { ver 58 drivers/bluetooth/btqca.c ver = (struct rome_version *)(edl->data); ver 60 drivers/bluetooth/btqca.c BT_DBG("%s: Product:0x%08x", hdev->name, le32_to_cpu(ver->product_id)); ver 61 drivers/bluetooth/btqca.c BT_DBG("%s: Patch :0x%08x", hdev->name, le16_to_cpu(ver->patch_ver)); ver 62 drivers/bluetooth/btqca.c BT_DBG("%s: ROM :0x%08x", hdev->name, le16_to_cpu(ver->rome_ver)); ver 63 drivers/bluetooth/btqca.c BT_DBG("%s: SOC :0x%08x", hdev->name, le32_to_cpu(ver->soc_id)); ver 69 drivers/bluetooth/btqca.c *soc_version = (le32_to_cpu(ver->soc_id) << 16) | ver 70 drivers/bluetooth/btqca.c (le16_to_cpu(ver->rome_ver) & 0x0000ffff); ver 1663 drivers/bluetooth/btusb.c struct intel_version *ver) ver 1671 drivers/bluetooth/btusb.c ver->hw_platform, ver->hw_variant, ver->hw_revision, ver 1672 drivers/bluetooth/btusb.c ver->fw_variant, ver->fw_revision, ver->fw_build_num, ver 1673 drivers/bluetooth/btusb.c ver->fw_build_ww, ver->fw_build_yy); ver 1690 drivers/bluetooth/btusb.c ver->hw_platform, ver->hw_variant); ver 1823 drivers/bluetooth/btusb.c struct intel_version ver; ver 1849 drivers/bluetooth/btusb.c err = btintel_read_version(hdev, &ver); ver 1854 drivers/bluetooth/btusb.c ver.hw_platform, ver.hw_variant, ver.hw_revision, ver 1855 drivers/bluetooth/btusb.c ver.fw_variant, ver.fw_revision, ver.fw_build_num, ver 1856 drivers/bluetooth/btusb.c ver.fw_build_ww, ver.fw_build_yy, ver.fw_patch_num); ver 1862 drivers/bluetooth/btusb.c if (ver.fw_patch_num) { ver 1864 drivers/bluetooth/btusb.c "patch num: %02x", ver.fw_patch_num); ver 1874 drivers/bluetooth/btusb.c fw = btusb_setup_intel_get_fw(hdev, &ver); ver 2130 drivers/bluetooth/btusb.c static bool btusb_setup_intel_new_get_fw_name(struct intel_version *ver, ver 2135 drivers/bluetooth/btusb.c switch (ver->hw_variant) { ver 2139 drivers/bluetooth/btusb.c le16_to_cpu(ver->hw_variant), ver 2148 drivers/bluetooth/btusb.c le16_to_cpu(ver->hw_variant), ver 2149 drivers/bluetooth/btusb.c le16_to_cpu(ver->hw_revision), ver 2150 drivers/bluetooth/btusb.c le16_to_cpu(ver->fw_revision), ver 2162 drivers/bluetooth/btusb.c struct intel_version ver; ver 2185 drivers/bluetooth/btusb.c err = btintel_read_version(hdev, &ver); ver 2192 drivers/bluetooth/btusb.c if (ver.hw_platform != 0x37) { ver 2194 drivers/bluetooth/btusb.c ver.hw_platform); ver 2204 drivers/bluetooth/btusb.c switch (ver.hw_variant) { ver 2214 drivers/bluetooth/btusb.c ver.hw_variant); ver 2218 drivers/bluetooth/btusb.c btintel_version_info(hdev, &ver); ver 2233 drivers/bluetooth/btusb.c if (ver.fw_variant == 0x23) { ver 2242 drivers/bluetooth/btusb.c if (ver.fw_variant != 0x06) { ver 2244 drivers/bluetooth/btusb.c ver.fw_variant); ver 2294 drivers/bluetooth/btusb.c err = btusb_setup_intel_new_get_fw_name(&ver, ¶ms, fwname, ver 2312 drivers/bluetooth/btusb.c err = btusb_setup_intel_new_get_fw_name(&ver, ¶ms, fwname, ver 3281 drivers/bluetooth/btusb.c struct qca_version *ver, ver 3291 drivers/bluetooth/btusb.c ver_rom = le32_to_cpu(ver->rom_version); ver 3292 drivers/bluetooth/btusb.c ver_patch = le32_to_cpu(ver->patch_version); ver 3328 drivers/bluetooth/btusb.c struct qca_version *ver, ver 3336 drivers/bluetooth/btusb.c le32_to_cpu(ver->rom_version)); ver 3357 drivers/bluetooth/btusb.c struct qca_version ver; ver 3359 drivers/bluetooth/btusb.c if (btusb_qca_send_vendor_req(udev, QCA_GET_TARGET_VERSION, &ver, ver 3360 drivers/bluetooth/btusb.c sizeof(ver)) < 0) ver 3363 drivers/bluetooth/btusb.c return !(le32_to_cpu(ver.rom_version) & ~0xffffU); ver 3371 drivers/bluetooth/btusb.c struct qca_version ver; ver 3376 drivers/bluetooth/btusb.c err = btusb_qca_send_vendor_req(udev, QCA_GET_TARGET_VERSION, &ver, ver 3377 drivers/bluetooth/btusb.c sizeof(ver)); ver 3381 drivers/bluetooth/btusb.c ver_rom = le32_to_cpu(ver.rom_version); ver 3401 drivers/bluetooth/btusb.c err = btusb_setup_qca_load_rampatch(hdev, &ver, info); ver 3407 drivers/bluetooth/btusb.c err = btusb_setup_qca_load_nvm(hdev, &ver, info); ver 155 drivers/bluetooth/hci_ag6xx.c struct intel_version ver; ver 169 drivers/bluetooth/hci_ag6xx.c err = btintel_read_version(hdev, &ver); ver 173 drivers/bluetooth/hci_ag6xx.c btintel_version_info(hdev, &ver); ver 178 drivers/bluetooth/hci_ag6xx.c if (ver.hw_platform != 0x37) { ver 180 drivers/bluetooth/hci_ag6xx.c ver.hw_platform); ver 187 drivers/bluetooth/hci_ag6xx.c if (ver.hw_variant != 0x0a) { ver 189 drivers/bluetooth/hci_ag6xx.c ver.hw_variant); ver 194 drivers/bluetooth/hci_ag6xx.c ver.hw_platform, ver.hw_variant); ver 221 drivers/bluetooth/hci_ag6xx.c if (ver.fw_patch_num) { ver 223 drivers/bluetooth/hci_ag6xx.c ver.fw_patch_num); ver 230 drivers/bluetooth/hci_ag6xx.c ver.hw_platform, ver.hw_variant, ver.hw_revision, ver 231 drivers/bluetooth/hci_ag6xx.c ver.fw_variant, ver.fw_revision, ver.fw_build_num, ver 232 drivers/bluetooth/hci_ag6xx.c ver.fw_build_ww, ver.fw_build_yy); ver 534 drivers/bluetooth/hci_intel.c struct intel_version ver; ver 587 drivers/bluetooth/hci_intel.c err = btintel_read_version(hdev, &ver); ver 594 drivers/bluetooth/hci_intel.c if (ver.hw_platform != 0x37) { ver 596 drivers/bluetooth/hci_intel.c ver.hw_platform); ver 606 drivers/bluetooth/hci_intel.c switch (ver.hw_variant) { ver 613 drivers/bluetooth/hci_intel.c ver.hw_variant); ver 617 drivers/bluetooth/hci_intel.c btintel_version_info(hdev, &ver); ver 632 drivers/bluetooth/hci_intel.c if (ver.fw_variant == 0x23) { ver 641 drivers/bluetooth/hci_intel.c if (ver.fw_variant != 0x06) { ver 643 drivers/bluetooth/hci_intel.c ver.fw_variant); ver 692 drivers/bluetooth/hci_intel.c switch (ver.hw_variant) { ver 696 drivers/bluetooth/hci_intel.c le16_to_cpu(ver.hw_variant), ver 701 drivers/bluetooth/hci_intel.c le16_to_cpu(ver.hw_variant), ver 702 drivers/bluetooth/hci_intel.c le16_to_cpu(ver.hw_revision), ver 703 drivers/bluetooth/hci_intel.c le16_to_cpu(ver.fw_revision)); ver 707 drivers/bluetooth/hci_intel.c ver.hw_variant); ver 721 drivers/bluetooth/hci_intel.c switch (ver.hw_variant) { ver 725 drivers/bluetooth/hci_intel.c le16_to_cpu(ver.hw_variant), ver 730 drivers/bluetooth/hci_intel.c le16_to_cpu(ver.hw_variant), ver 731 drivers/bluetooth/hci_intel.c le16_to_cpu(ver.hw_revision), ver 732 drivers/bluetooth/hci_intel.c le16_to_cpu(ver.fw_revision)); ver 736 drivers/bluetooth/hci_intel.c ver.hw_variant); ver 393 drivers/bluetooth/hci_ldisc.c struct hci_rp_read_local_version *ver; ver 437 drivers/bluetooth/hci_ldisc.c if (skb->len != sizeof(*ver)) { ver 443 drivers/bluetooth/hci_ldisc.c ver = (struct hci_rp_read_local_version *)skb->data; ver 445 drivers/bluetooth/hci_ldisc.c switch (le16_to_cpu(ver->manufacturer)) { ver 457 drivers/bluetooth/hci_ll.c struct hci_rp_read_local_version *ver; ver 466 drivers/bluetooth/hci_ll.c if (skb->len != sizeof(*ver)) { ver 471 drivers/bluetooth/hci_ll.c ver = (struct hci_rp_read_local_version *)skb->data; ver 472 drivers/bluetooth/hci_ll.c if (le16_to_cpu(ver->manufacturer) != 13) { ver 477 drivers/bluetooth/hci_ll.c version = le16_to_cpu(ver->lmp_subver); ver 155 drivers/bluetooth/hci_serdev.c struct hci_rp_read_local_version *ver; ver 201 drivers/bluetooth/hci_serdev.c if (skb->len != sizeof(*ver)) ver 26 drivers/char/adi.c int ver; ver 42 drivers/char/adi.c : [ver] "=r" (ver), [err] "=r" (err) ver 51 drivers/char/adi.c return ver; ver 101 drivers/char/adi.c static int set_mcd_tag(unsigned long addr, u8 ver) ver 120 drivers/char/adi.c : [ver] "r" (ver), [addr] "r" (addr), ver 128 drivers/char/adi.c return ver; ver 206 drivers/char/hw_random/optee-rng.c static int optee_ctx_match(struct tee_ioctl_version_data *ver, const void *data) ver 208 drivers/char/hw_random/optee-rng.c if (ver->impl_id == TEE_IMPL_ID_OPTEE) ver 29 drivers/char/pcmcia/synclink_cs.c #define VERSION(ver,rel,seq) (((ver)<<16) | ((rel)<<8) | (seq)) ver 198 drivers/char/tpm/tpm_ftpm_tee.c static int ftpm_tee_match(struct tee_ioctl_version_data *ver, const void *data) ver 203 drivers/char/tpm/tpm_ftpm_tee.c if ((ver->impl_id == TEE_IMPL_ID_OPTEE) && ver 204 drivers/char/tpm/tpm_ftpm_tee.c (ver->gen_caps & TEE_GEN_CAP_GP)) ver 152 drivers/clk/imx/clk-scu.c hdr->ver = IMX_SC_RPC_VERSION; ver 223 drivers/clk/imx/clk-scu.c hdr->ver = IMX_SC_RPC_VERSION; ver 242 drivers/clk/imx/clk-scu.c hdr->ver = IMX_SC_RPC_VERSION; ver 266 drivers/clk/imx/clk-scu.c hdr->ver = IMX_SC_RPC_VERSION; ver 284 drivers/clk/imx/clk-scu.c hdr->ver = IMX_SC_RPC_VERSION; ver 311 drivers/cpufreq/sparc-us2e-cpufreq.c unsigned long manuf, impl, ver; ver 317 drivers/cpufreq/sparc-us2e-cpufreq.c __asm__("rdpr %%ver, %0" : "=r" (ver)); ver 318 drivers/cpufreq/sparc-us2e-cpufreq.c manuf = ((ver >> 48) & 0xffff); ver 319 drivers/cpufreq/sparc-us2e-cpufreq.c impl = ((ver >> 32) & 0xffff); ver 155 drivers/cpufreq/sparc-us3-cpufreq.c unsigned long manuf, impl, ver; ver 161 drivers/cpufreq/sparc-us3-cpufreq.c __asm__("rdpr %%ver, %0" : "=r" (ver)); ver 162 drivers/cpufreq/sparc-us3-cpufreq.c manuf = ((ver >> 48) & 0xffff); ver 163 drivers/cpufreq/sparc-us3-cpufreq.c impl = ((ver >> 32) & 0xffff); ver 603 drivers/crypto/hisilicon/qm.c if (qm->ver == QM_HW_V2) { ver 634 drivers/crypto/hisilicon/qm.c if (qm->ver == QM_HW_V2) { ver 661 drivers/crypto/hisilicon/qm.c switch (qm->ver) { ver 679 drivers/crypto/hisilicon/qm.c switch (qm->ver) { ver 985 drivers/crypto/hisilicon/qm.c "QM v%d does not support hw error handle\n", qm->ver); ver 1200 drivers/crypto/hisilicon/qm.c enum qm_hw_ver ver = qm->ver; ver 1220 drivers/crypto/hisilicon/qm.c if (ver == QM_HW_V1) { ver 1223 drivers/crypto/hisilicon/qm.c } else if (ver == QM_HW_V2) { ver 1247 drivers/crypto/hisilicon/qm.c if (ver == QM_HW_V1) { ver 1250 drivers/crypto/hisilicon/qm.c } else if (ver == QM_HW_V2) { ver 1275 drivers/crypto/hisilicon/qm.c enum qm_hw_ver ver = qm->ver; ver 1304 drivers/crypto/hisilicon/qm.c ver, qp->sqe, (unsigned long)qp->sqe_dma, ver 1386 drivers/crypto/hisilicon/qm.c if (qm->ver == QM_HW_V2) { ver 1407 drivers/crypto/hisilicon/qm.c switch (qm->ver) { ver 1590 drivers/crypto/hisilicon/qm.c if (qm->ver == QM_HW_V1) ver 1866 drivers/crypto/hisilicon/qm.c qm->ver); ver 1884 drivers/crypto/hisilicon/qm.c qm->ver); ver 127 drivers/crypto/hisilicon/qm.h enum qm_hw_ver ver; ver 336 drivers/crypto/hisilicon/zip/zip_main.c if (qm->ver == QM_HW_V1) { ver 339 drivers/crypto/hisilicon/zip/zip_main.c qm->ver); ver 635 drivers/crypto/hisilicon/zip/zip_main.c switch (qm->ver) { ver 673 drivers/crypto/hisilicon/zip/zip_main.c qm->ver = rev_id; ver 714 drivers/crypto/hisilicon/zip/zip_main.c if (qm->ver == QM_HW_V1) { ver 717 drivers/crypto/hisilicon/zip/zip_main.c } else if (qm->ver == QM_HW_V2) ver 135 drivers/dma/bcm-sba-raid.c enum sba_version ver; ver 1644 drivers/dma/bcm-sba-raid.c sba->ver = SBA_VER_1; ver 1647 drivers/dma/bcm-sba-raid.c sba->ver = SBA_VER_2; ver 1652 drivers/dma/bcm-sba-raid.c switch (sba->ver) { ver 1732 drivers/dma/bcm-sba-raid.c dma_chan_name(&sba->dma_chan), sba->ver+1, ver 255 drivers/dma/ioat/dma.h u8 ver = ioat_chan->ioat_dma->version; ver 258 drivers/dma/ioat/dma.h ioat_chan->reg_base + IOAT_CHANCMD_OFFSET(ver)); ver 263 drivers/dma/ioat/dma.h u8 ver = ioat_chan->ioat_dma->version; ver 266 drivers/dma/ioat/dma.h ioat_chan->reg_base + IOAT_CHANCMD_OFFSET(ver)); ver 271 drivers/dma/ioat/dma.h u8 ver = ioat_chan->ioat_dma->version; ver 274 drivers/dma/ioat/dma.h cmd = readb(ioat_chan->reg_base + IOAT_CHANCMD_OFFSET(ver)); ver 180 drivers/dma/ioat/registers.h #define IOAT_CHAINADDR_OFFSET(ver) ((ver) < IOAT_VER_2_0 \ ver 184 drivers/dma/ioat/registers.h #define IOAT_CHAINADDR_OFFSET_LOW(ver) ((ver) < IOAT_VER_2_0 \ ver 188 drivers/dma/ioat/registers.h #define IOAT_CHAINADDR_OFFSET_HIGH(ver) ((ver) < IOAT_VER_2_0 \ ver 193 drivers/dma/ioat/registers.h #define IOAT_CHANCMD_OFFSET(ver) ((ver) < IOAT_VER_2_0 \ ver 996 drivers/firmware/arm_sdei.c u64 ver = 0; ver 1003 drivers/firmware/arm_sdei.c err = sdei_api_get_version(&ver); ver 1013 drivers/firmware/arm_sdei.c (int)SDEI_VERSION_MAJOR(ver), (int)SDEI_VERSION_MINOR(ver), ver 1014 drivers/firmware/arm_sdei.c (int)SDEI_VERSION_VENDOR(ver)); ver 1016 drivers/firmware/arm_sdei.c if (SDEI_VERSION_MAJOR(ver) != 1) { ver 74 drivers/firmware/imx/imx-scu-irq.c hdr->ver = IMX_SC_RPC_VERSION; ver 106 drivers/firmware/imx/imx-scu-irq.c hdr->ver = IMX_SC_RPC_VERSION; ver 57 drivers/firmware/imx/misc.c hdr->ver = IMX_SC_RPC_VERSION; ver 89 drivers/firmware/imx/misc.c hdr->ver = IMX_SC_RPC_VERSION; ver 125 drivers/firmware/imx/misc.c hdr->ver = IMX_SC_RPC_VERSION; ver 185 drivers/firmware/imx/scu-pd.c hdr->ver = IMX_SC_RPC_VERSION; ver 389 drivers/firmware/psci/psci.c u32 ver = ARM_SMCCC_VERSION_1_0; ver 399 drivers/firmware/psci/psci.c ver = ret; ver 408 drivers/firmware/psci/psci.c PSCI_VERSION_MAJOR(ver), PSCI_VERSION_MINOR(ver)); ver 444 drivers/firmware/psci/psci.c u32 ver = psci_get_version(); ver 447 drivers/firmware/psci/psci.c PSCI_VERSION_MAJOR(ver), ver 448 drivers/firmware/psci/psci.c PSCI_VERSION_MINOR(ver)); ver 450 drivers/firmware/psci/psci.c if (PSCI_VERSION_MAJOR(ver) == 0 && PSCI_VERSION_MINOR(ver) < 2) { ver 459 drivers/firmware/psci/psci.c if (PSCI_VERSION_MAJOR(ver) >= 1) { ver 464 drivers/firmware/ti_sci.c struct ti_sci_version_info *ver = &handle->version; ver 487 drivers/firmware/ti_sci.c ver->abi_major = rev_info->abi_major; ver 488 drivers/firmware/ti_sci.c ver->abi_minor = rev_info->abi_minor; ver 489 drivers/firmware/ti_sci.c ver->firmware_revision = rev_info->firmware_revision; ver 490 drivers/firmware/ti_sci.c strncpy(ver->firmware_description, rev_info->firmware_description, ver 491 drivers/firmware/ti_sci.c sizeof(ver->firmware_description)); ver 131 drivers/gpio/gpio-timberdale.c u32 ver; ver 137 drivers/gpio/gpio-timberdale.c ver = ioread32(tgpio->membase + TGPIO_VER); ver 143 drivers/gpio/gpio-timberdale.c if (ver > 2) ver 156 drivers/gpio/gpio-timberdale.c if (ver < 3) { ver 174 drivers/gpio/gpio-timberdale.c if (ver > 2) ver 210 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->ver = adev->vce.fw_version; ver 214 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->ver = adev->uvd.fw_version; ver 218 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->ver = adev->vcn.fw_version; ver 222 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->ver = adev->gmc.fw_version; ver 226 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->ver = adev->gfx.me_fw_version; ver 230 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->ver = adev->gfx.pfp_fw_version; ver 234 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->ver = adev->gfx.ce_fw_version; ver 238 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->ver = adev->gfx.rlc_fw_version; ver 242 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->ver = adev->gfx.rlc_srlc_fw_version; ver 246 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->ver = adev->gfx.rlc_srlg_fw_version; ver 250 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->ver = adev->gfx.rlc_srls_fw_version; ver 255 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->ver = adev->gfx.mec_fw_version; ver 258 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->ver = adev->gfx.mec2_fw_version; ver 264 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->ver = adev->pm.fw_version; ver 271 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->ver = adev->psp.ta_fw_version; ver 274 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->ver = adev->psp.ta_fw_version; ver 281 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->ver = adev->sdma.instance[query_fw->index].fw_version; ver 285 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->ver = adev->psp.sos_fw_version; ver 289 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->ver = adev->psp.asd_fw_version; ver 293 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->ver = adev->dm.dmcu_fw_version; ver 1240 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info.feature, fw_info.ver); ver 1248 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info.feature, fw_info.ver); ver 1256 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info.feature, fw_info.ver); ver 1264 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info.feature, fw_info.ver); ver 1272 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info.feature, fw_info.ver); ver 1280 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info.feature, fw_info.ver); ver 1288 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info.feature, fw_info.ver); ver 1296 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info.feature, fw_info.ver); ver 1304 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info.feature, fw_info.ver); ver 1312 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info.feature, fw_info.ver); ver 1321 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info.feature, fw_info.ver); ver 1331 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info.feature, fw_info.ver); ver 1340 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info.feature, fw_info.ver); ver 1349 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info.feature, fw_info.ver); ver 1358 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c i ? "RAS" : "XGMI", fw_info.feature, fw_info.ver); ver 1367 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info.feature, fw_info.ver); ver 1377 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c i, fw_info.feature, fw_info.ver); ver 1386 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info.feature, fw_info.ver); ver 1394 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info.feature, fw_info.ver); ver 171 drivers/gpu/drm/amd/amdgpu/psp_v3_1.c static bool psp_v3_1_match_version(struct amdgpu_device *adev, uint32_t ver) ver 175 drivers/gpu/drm/amd/amdgpu/psp_v3_1.c if (ver == adev->psp.sos_fw_version) ver 195 drivers/gpu/drm/amd/amdgpu/psp_v3_1.c uint32_t sol_reg, ver; ver 231 drivers/gpu/drm/amd/amdgpu/psp_v3_1.c ver = RREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_58); ver 232 drivers/gpu/drm/amd/amdgpu/psp_v3_1.c if (!psp_v3_1_match_version(adev, ver)) ver 912 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c funcs->ctx.ver = PP_SMU_VER_RV; ver 927 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c funcs->ctx.ver = PP_SMU_VER_NV; ver 3078 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c if (pp_smu->ctx.ver != PP_SMU_VER_NV) ver 1339 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c pp_smu->ctx.ver = PP_SMU_VER_RN; ver 55 drivers/gpu/drm/amd/display/dc/dm_pp_smu.h enum pp_smu_ver ver; ver 2056 drivers/gpu/drm/bridge/sil-sii8620.c u8 ver[5]; ver 2065 drivers/gpu/drm/bridge/sil-sii8620.c sii8620_read_buf(ctx, REG_VND_IDL, ver, ARRAY_SIZE(ver)); ver 2072 drivers/gpu/drm/bridge/sil-sii8620.c dev_info(dev, "ChipID %02x%02x:%02x%02x rev %02x.\n", ver[1], ver[0], ver 2073 drivers/gpu/drm/bridge/sil-sii8620.c ver[3], ver[2], ver[4]); ver 1128 drivers/gpu/drm/exynos/exynos_drm_g2d.c struct drm_exynos_g2d_get_ver *ver = data; ver 1130 drivers/gpu/drm/exynos/exynos_drm_g2d.c ver->major = G2D_HW_MAJOR_VER; ver 1131 drivers/gpu/drm/exynos/exynos_drm_g2d.c ver->minor = G2D_HW_MINOR_VER; ver 870 drivers/gpu/drm/gma500/psb_intel_sdvo.c .ver = DIP_VERSION_AVI, ver 33 drivers/gpu/drm/msm/dsi/dsi_host.c u32 ver; ver 49 drivers/gpu/drm/msm/dsi/dsi_host.c ver = msm_readl(base + REG_DSI_VERSION); ver 50 drivers/gpu/drm/msm/dsi/dsi_host.c if (ver) { ver 52 drivers/gpu/drm/msm/dsi/dsi_host.c ver = FIELD(ver, DSI_VERSION_MAJOR); ver 53 drivers/gpu/drm/msm/dsi/dsi_host.c if (ver <= MSM_DSI_VER_MAJOR_V2) { ver 55 drivers/gpu/drm/msm/dsi/dsi_host.c *major = ver; ver 67 drivers/gpu/drm/msm/dsi/dsi_host.c ver = msm_readl(base + DSI_6G_REG_SHIFT + REG_DSI_VERSION); ver 68 drivers/gpu/drm/msm/dsi/dsi_host.c ver = FIELD(ver, DSI_VERSION_MAJOR); ver 69 drivers/gpu/drm/msm/dsi/dsi_host.c if (ver == MSM_DSI_VER_MAJOR_6G) { ver 71 drivers/gpu/drm/msm/dsi/dsi_host.c *major = ver; ver 1581 drivers/gpu/drm/nouveau/dispnv50/disp.c u8 ver, hdr, cnt, len; ver 1627 drivers/gpu/drm/nouveau/dispnv50/disp.c (data = nvbios_dp_table(bios, &ver, &hdr, &cnt, &len)) && ver 1628 drivers/gpu/drm/nouveau/dispnv50/disp.c ver >= 0x40 && (nvbios_rd08(bios, data + 0x08) & 0x04)) { ver 10 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/M0203.h u32 nvbios_M0203Te(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *cnt, u8 *len); ver 11 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/M0203.h u32 nvbios_M0203Tp(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, ver 28 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/M0203.h u32 nvbios_M0203Ee(struct nvkm_bios *, int idx, u8 *ver, u8 *hdr); ver 29 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/M0203.h u32 nvbios_M0203Ep(struct nvkm_bios *, int idx, u8 *ver, u8 *hdr, ver 31 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/M0203.h u32 nvbios_M0203Em(struct nvkm_bios *, u8 ramcfg, u8 *ver, u8 *hdr, ver 9 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/M0205.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz); ver 11 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/M0205.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz, ver 19 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/M0205.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len); ver 21 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/M0205.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_M0205E *); ver 27 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/M0205.h u32 nvbios_M0205Se(struct nvkm_bios *, int ent, int idx, u8 *ver, u8 *hdr); ver 28 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/M0205.h u32 nvbios_M0205Sp(struct nvkm_bios *, int ent, int idx, u8 *ver, u8 *hdr, ver 5 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/M0209.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz); ver 17 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/M0209.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len); ver 19 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/M0209.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_M0209E *); ver 25 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/M0209.h u32 nvbios_M0209Se(struct nvkm_bios *, int ent, int idx, u8 *ver, u8 *hdr); ver 26 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/M0209.h u32 nvbios_M0209Sp(struct nvkm_bios *, int ent, int idx, u8 *ver, u8 *hdr, ver 5 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/P0260.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *xnr, u8 *xsz); ver 11 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/P0260.h u32 nvbios_P0260Ee(struct nvkm_bios *, int idx, u8 *ver, u8 *hdr); ver 12 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/P0260.h u32 nvbios_P0260Ep(struct nvkm_bios *, int idx, u8 *ver, u8 *hdr, ver 19 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/P0260.h u32 nvbios_P0260Xe(struct nvkm_bios *, int idx, u8 *ver, u8 *hdr); ver 20 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/P0260.h u32 nvbios_P0260Xp(struct nvkm_bios *, int idx, u8 *ver, u8 *hdr, ver 30 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/conn.h u32 nvbios_connTe(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len); ver 31 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/conn.h u32 nvbios_connTp(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, ver 44 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/conn.h u32 nvbios_connEe(struct nvkm_bios *bios, u8 idx, u8 *ver, u8 *hdr); ver 45 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/conn.h u32 nvbios_connEp(struct nvkm_bios *bios, u8 idx, u8 *ver, u8 *hdr, ver 5 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/cstep.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *xnr, u8 *xsz); ver 12 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/cstep.h u32 nvbios_cstepEe(struct nvkm_bios *, int idx, u8 *ver, u8 *hdr); ver 13 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/cstep.h u32 nvbios_cstepEp(struct nvkm_bios *, int idx, u8 *ver, u8 *hdr, ver 15 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/cstep.h u32 nvbios_cstepEm(struct nvkm_bios *, u8 pstate, u8 *ver, u8 *hdr, ver 24 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/cstep.h u32 nvbios_cstepXe(struct nvkm_bios *, int idx, u8 *ver, u8 *hdr); ver 25 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/cstep.h u32 nvbios_cstepXp(struct nvkm_bios *, int idx, u8 *ver, u8 *hdr, ver 59 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/dcb.h u16 dcb_table(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *ent, u8 *len); ver 60 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/dcb.h u16 dcb_outp(struct nvkm_bios *, u8 idx, u8 *ver, u8 *len); ver 5 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/disp.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *sub); ver 11 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/disp.h u16 nvbios_disp_entry(struct nvkm_bios *, u8 idx, u8 *ver, u8 *hdr, u8 *sub); ver 12 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/disp.h u16 nvbios_disp_parse(struct nvkm_bios *, u8 idx, u8 *ver, u8 *hdr, u8 *sub, ver 22 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/disp.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len); ver 24 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/disp.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_outp *); ver 26 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/disp.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_outp *); ver 35 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/disp.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len); ver 37 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/disp.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_ocfg *); ver 39 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/disp.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_ocfg *); ver 6 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/dp.h nvbios_dp_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len); ver 17 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/dp.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, ver 20 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/dp.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, ver 32 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/dp.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_dpcfg *); ver 35 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/dp.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_dpcfg *); ver 46 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/gpio.h u16 dcb_gpio_table(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *cnt, u8 *len); ver 47 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/gpio.h u16 dcb_gpio_entry(struct nvkm_bios *, int idx, int ent, u8 *ver, u8 *len); ver 48 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/gpio.h u16 dcb_gpio_parse(struct nvkm_bios *, int idx, int ent, u8 *ver, u8 *len, ver 51 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/gpio.h u8 *ver, u8 *len, struct dcb_gpio_func *); ver 23 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/i2c.h u16 dcb_i2c_table(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *cnt, u8 *len); ver 24 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/i2c.h u16 dcb_i2c_entry(struct nvkm_bios *, u8 index, u8 *ver, u8 *len); ver 4 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/mxm.h u16 mxm_table(struct nvkm_bios *, u8 *ver, u8 *hdr); ver 14 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/pcir.h u32 nvbios_pcirTe(struct nvkm_bios *, u32, u8 *ver, u16 *hdr); ver 15 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/pcir.h u32 nvbios_pcirTp(struct nvkm_bios *, u32, u8 *ver, u16 *hdr, ver 4 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/perf.h u32 nvbios_perf_table(struct nvkm_bios *, u8 *ver, u8 *hdr, ver 22 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/perf.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len); ver 24 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/perf.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_perfE *); ver 35 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/perf.h u8 *ver, u8 *hdr, u8 cnt, u8 len); ver 37 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/perf.h u8 *ver, u8 *hdr, u8 cnt, u8 len, struct nvbios_perfS *); ver 7 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/pmu.h u32 nvbios_pmuTe(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *cnt, u8 *len); ver 14 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/pmu.h u32 nvbios_pmuEe(struct nvkm_bios *, int idx, u8 *ver, u8 *hdr); ver 15 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/pmu.h u32 nvbios_pmuEp(struct nvkm_bios *, int idx, u8 *ver, u8 *hdr, ver 15 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/power_budget.h u8 ver; ver 6 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/rammap.h u32 nvbios_rammapTe(struct nvkm_bios *, u8 *ver, u8 *hdr, ver 10 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/rammap.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len); ver 14 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/rammap.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_ramcfg *); ver 16 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/rammap.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_ramcfg *); ver 20 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/rammap.h u8 *ver, u8 *hdr); ver 25 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/rammap.h u8 *ver, u8 *hdr, struct nvbios_ramcfg *); ver 7 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/timing.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz); ver 9 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/timing.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len); ver 11 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/timing.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_ramcfg *); ver 10 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/vmap.h u32 nvbios_vmap_table(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *cnt, u8 *len); ver 11 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/vmap.h u32 nvbios_vmap_parse(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, ver 22 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/vmap.h u32 nvbios_vmap_entry(struct nvkm_bios *, int idx, u8 *ver, u8 *len); ver 23 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/vmap.h u32 nvbios_vmap_entry_parse(struct nvkm_bios *, int idx, u8 *ver, u8 *len, ver 26 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/volt.h u32 nvbios_volt_table(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *cnt, u8 *len); ver 27 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/volt.h u32 nvbios_volt_parse(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, ver 35 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/volt.h u32 nvbios_volt_entry(struct nvkm_bios *, int idx, u8 *ver, u8 *len); ver 36 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/volt.h u32 nvbios_volt_entry_parse(struct nvkm_bios *, int idx, u8 *ver, u8 *len, ver 16 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/xpio.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len); ver 18 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/xpio.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_xpio *); ver 281 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c u8 hpd = 0, ver, hdr; ver 287 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c while ((data = dcb_outp_parse(bios, ++i, &ver, &hdr, &dcbE))) { ver 288 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c if (ver < 0x40) /* No support for chipsets prior to NV50. */ ver 336 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c data = nvbios_connEp(bios, outp->info.connector, &ver, &hdr, ver 81 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c u8 ver, hdr, cnt, len; ver 112 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c &ver, &hdr, &cnt, &len, &info); ver 117 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c lpre & 3, &ver, &hdr, &cnt, &len, ver 183 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, ver 190 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c u32 data = nvbios_outp_match(bios, t, m, ver, hdr, cnt, len, iedt); ver 205 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c u8 ver, hdr, cnt, len, flags = 0x00; ver 214 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c data = nv50_disp_super_iedt(head, outp, &ver, &hdr, &cnt, &len, &iedt); ver 229 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c &ver, &hdr, &cnt, &len, &iedtrs); ver 257 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c u8 ver, hdr, cnt, len; ver 265 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c data = nv50_disp_super_iedt(head, outp, &ver, &hdr, &cnt, &len, &iedt); ver 319 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm107.c u8 ver = nvbios_rd08(bios, data + 0x00); ver 321 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm107.c if (ver == 0x20 && hdr >= 8) { ver 351 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm107.c u8 ver, hdr; ver 353 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm107.c while (nvbios_P0260Ep(bios, ++E, &ver, &hdr, &infoE)) { ver 356 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm107.c while (nvbios_P0260Xp(bios, ++X, &ver, &hdr, &infoX)) ver 29 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0203.c nvbios_M0203Te(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) ver 38 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0203.c *ver = nvbios_rd08(bios, data + 0x00); ver 39 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0203.c switch (*ver) { ver 55 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0203.c nvbios_M0203Tp(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, ver 58 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0203.c u32 data = nvbios_M0203Te(bios, ver, hdr, cnt, len); ver 60 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0203.c switch (!!data * *ver) { ver 72 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0203.c nvbios_M0203Ee(struct nvkm_bios *bios, int idx, u8 *ver, u8 *hdr) ver 75 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0203.c u32 data = nvbios_M0203Te(bios, ver, hdr, &cnt, &len); ver 85 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0203.c nvbios_M0203Ep(struct nvkm_bios *bios, int idx, u8 *ver, u8 *hdr, ver 88 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0203.c u32 data = nvbios_M0203Ee(bios, idx, ver, hdr); ver 90 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0203.c switch (!!data * *ver) { ver 103 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0203.c nvbios_M0203Em(struct nvkm_bios *bios, u8 ramcfg, u8 *ver, u8 *hdr, ver 111 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0203.c if (!nvbios_M0203Tp(bios, ver, hdr, &cnt, &len, &M0203T)) { ver 116 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0203.c while ((data = nvbios_M0203Ep(bios, ++idx, ver, hdr, info))) { ver 30 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0205.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz) ver 39 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0205.c *ver = nvbios_rd08(bios, data + 0x00); ver 40 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0205.c switch (*ver) { ver 59 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0205.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz, ver 62 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0205.c u32 data = nvbios_M0205Te(bios, ver, hdr, cnt, len, snr, ssz); ver 64 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0205.c switch (!!data * *ver) { ver 76 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0205.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len) ver 79 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0205.c u32 data = nvbios_M0205Te(bios, ver, hdr, cnt, len, &snr, &ssz); ver 92 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0205.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, ver 95 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0205.c u32 data = nvbios_M0205Ee(bios, idx, ver, hdr, cnt, len); ver 97 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0205.c switch (!!data * *ver) { ver 108 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0205.c nvbios_M0205Se(struct nvkm_bios *bios, int ent, int idx, u8 *ver, u8 *hdr) ver 112 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0205.c u32 data = nvbios_M0205Ee(bios, ent, ver, hdr, &cnt, &len); ver 122 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0205.c nvbios_M0205Sp(struct nvkm_bios *bios, int ent, int idx, u8 *ver, u8 *hdr, ver 125 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0205.c u32 data = nvbios_M0205Se(bios, ent, idx, ver, hdr); ver 127 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0205.c switch (!!data * *ver) { ver 30 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz) ver 39 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.c *ver = nvbios_rd08(bios, data + 0x00); ver 40 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.c switch (*ver) { ver 59 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len) ver 62 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.c u32 data = nvbios_M0209Te(bios, ver, hdr, cnt, len, &snr, &ssz); ver 75 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_M0209E *info) ver 77 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.c u32 data = nvbios_M0209Ee(bios, idx, ver, hdr, cnt, len); ver 79 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.c switch (!!data * *ver) { ver 95 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.c nvbios_M0209Se(struct nvkm_bios *bios, int ent, int idx, u8 *ver, u8 *hdr) ver 99 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.c u32 data = nvbios_M0209Ee(bios, ent, ver, hdr, &cnt, &len); ver 109 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.c nvbios_M0209Sp(struct nvkm_bios *bios, int ent, int idx, u8 *ver, u8 *hdr, ver 114 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.c u32 data = nvbios_M0209Ep(bios, ent, ver, hdr, &cnt, &len, &M0209E); ver 116 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.c u32 i, data = nvbios_M0209Se(bios, ent, idx, ver, hdr); ver 118 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.c switch (!!data * *ver) { ver 30 drivers/gpu/drm/nouveau/nvkm/subdev/bios/P0260.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *xnr, u8 *xsz) ver 39 drivers/gpu/drm/nouveau/nvkm/subdev/bios/P0260.c *ver = nvbios_rd08(bios, data + 0); ver 40 drivers/gpu/drm/nouveau/nvkm/subdev/bios/P0260.c switch (*ver) { ver 58 drivers/gpu/drm/nouveau/nvkm/subdev/bios/P0260.c nvbios_P0260Ee(struct nvkm_bios *bios, int idx, u8 *ver, u8 *len) ver 61 drivers/gpu/drm/nouveau/nvkm/subdev/bios/P0260.c u32 data = nvbios_P0260Te(bios, ver, &hdr, &cnt, len, &xnr, &xsz); ver 68 drivers/gpu/drm/nouveau/nvkm/subdev/bios/P0260.c nvbios_P0260Ep(struct nvkm_bios *bios, int idx, u8 *ver, u8 *len, ver 71 drivers/gpu/drm/nouveau/nvkm/subdev/bios/P0260.c u32 data = nvbios_P0260Ee(bios, idx, ver, len); ver 73 drivers/gpu/drm/nouveau/nvkm/subdev/bios/P0260.c switch (!!data * *ver) { ver 84 drivers/gpu/drm/nouveau/nvkm/subdev/bios/P0260.c nvbios_P0260Xe(struct nvkm_bios *bios, int idx, u8 *ver, u8 *xsz) ver 87 drivers/gpu/drm/nouveau/nvkm/subdev/bios/P0260.c u32 data = nvbios_P0260Te(bios, ver, &hdr, &cnt, &len, &xnr, xsz); ver 94 drivers/gpu/drm/nouveau/nvkm/subdev/bios/P0260.c nvbios_P0260Xp(struct nvkm_bios *bios, int idx, u8 *ver, u8 *hdr, ver 97 drivers/gpu/drm/nouveau/nvkm/subdev/bios/P0260.c u32 data = nvbios_P0260Xe(bios, idx, ver, hdr); ver 99 drivers/gpu/drm/nouveau/nvkm/subdev/bios/P0260.c switch (!!data * *ver) { ver 30 drivers/gpu/drm/nouveau/nvkm/subdev/bios/boost.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz) ver 40 drivers/gpu/drm/nouveau/nvkm/subdev/bios/boost.c *ver = nvbios_rd08(bios, boost + 0); ver 41 drivers/gpu/drm/nouveau/nvkm/subdev/bios/boost.c switch (*ver) { ver 60 drivers/gpu/drm/nouveau/nvkm/subdev/bios/boost.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len) ver 63 drivers/gpu/drm/nouveau/nvkm/subdev/bios/boost.c u32 data = nvbios_boostTe(bios, ver, hdr, cnt, len, &snr, &ssz); ver 76 drivers/gpu/drm/nouveau/nvkm/subdev/bios/boost.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_boostE *info) ver 78 drivers/gpu/drm/nouveau/nvkm/subdev/bios/boost.c u32 data = nvbios_boostEe(bios, idx, ver, hdr, cnt, len); ver 90 drivers/gpu/drm/nouveau/nvkm/subdev/bios/boost.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_boostE *info) ver 93 drivers/gpu/drm/nouveau/nvkm/subdev/bios/boost.c while ((data = nvbios_boostEp(bios, idx++, ver, hdr, cnt, len, info))) { ver 102 drivers/gpu/drm/nouveau/nvkm/subdev/bios/boost.c u32 data, u8 *ver, u8 *hdr, u8 cnt, u8 len) ver 114 drivers/gpu/drm/nouveau/nvkm/subdev/bios/boost.c u32 data, u8 *ver, u8 *hdr, u8 cnt, u8 len, ver 117 drivers/gpu/drm/nouveau/nvkm/subdev/bios/boost.c data = nvbios_boostSe(bios, idx, data, ver, hdr, cnt, len); ver 29 drivers/gpu/drm/nouveau/nvkm/subdev/bios/conn.c nvbios_connTe(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) ver 31 drivers/gpu/drm/nouveau/nvkm/subdev/bios/conn.c u32 dcb = dcb_table(bios, ver, hdr, cnt, len); ver 32 drivers/gpu/drm/nouveau/nvkm/subdev/bios/conn.c if (dcb && *ver >= 0x30 && *hdr >= 0x16) { ver 35 drivers/gpu/drm/nouveau/nvkm/subdev/bios/conn.c *ver = nvbios_rd08(bios, data + 0); ver 46 drivers/gpu/drm/nouveau/nvkm/subdev/bios/conn.c nvbios_connTp(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, ver 49 drivers/gpu/drm/nouveau/nvkm/subdev/bios/conn.c u32 data = nvbios_connTe(bios, ver, hdr, cnt, len); ver 51 drivers/gpu/drm/nouveau/nvkm/subdev/bios/conn.c switch (!!data * *ver) { ver 62 drivers/gpu/drm/nouveau/nvkm/subdev/bios/conn.c nvbios_connEe(struct nvkm_bios *bios, u8 idx, u8 *ver, u8 *len) ver 65 drivers/gpu/drm/nouveau/nvkm/subdev/bios/conn.c u32 data = nvbios_connTe(bios, ver, &hdr, &cnt, len); ver 72 drivers/gpu/drm/nouveau/nvkm/subdev/bios/conn.c nvbios_connEp(struct nvkm_bios *bios, u8 idx, u8 *ver, u8 *len, ver 75 drivers/gpu/drm/nouveau/nvkm/subdev/bios/conn.c u32 data = nvbios_connEe(bios, idx, ver, len); ver 77 drivers/gpu/drm/nouveau/nvkm/subdev/bios/conn.c switch (!!data * *ver) { ver 30 drivers/gpu/drm/nouveau/nvkm/subdev/bios/cstep.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *xnr, u8 *xsz) ver 40 drivers/gpu/drm/nouveau/nvkm/subdev/bios/cstep.c *ver = nvbios_rd08(bios, cstep + 0); ver 41 drivers/gpu/drm/nouveau/nvkm/subdev/bios/cstep.c switch (*ver) { ver 59 drivers/gpu/drm/nouveau/nvkm/subdev/bios/cstep.c nvbios_cstepEe(struct nvkm_bios *bios, int idx, u8 *ver, u8 *hdr) ver 62 drivers/gpu/drm/nouveau/nvkm/subdev/bios/cstep.c u32 data = nvbios_cstepTe(bios, ver, hdr, &cnt, &len, &xnr, &xsz); ver 72 drivers/gpu/drm/nouveau/nvkm/subdev/bios/cstep.c nvbios_cstepEp(struct nvkm_bios *bios, int idx, u8 *ver, u8 *hdr, ver 75 drivers/gpu/drm/nouveau/nvkm/subdev/bios/cstep.c u32 data = nvbios_cstepEe(bios, idx, ver, hdr); ver 85 drivers/gpu/drm/nouveau/nvkm/subdev/bios/cstep.c nvbios_cstepEm(struct nvkm_bios *bios, u8 pstate, u8 *ver, u8 *hdr, ver 89 drivers/gpu/drm/nouveau/nvkm/subdev/bios/cstep.c while ((data = nvbios_cstepEp(bios, idx++, ver, hdr, info))) { ver 97 drivers/gpu/drm/nouveau/nvkm/subdev/bios/cstep.c nvbios_cstepXe(struct nvkm_bios *bios, int idx, u8 *ver, u8 *hdr) ver 100 drivers/gpu/drm/nouveau/nvkm/subdev/bios/cstep.c u32 data = nvbios_cstepTe(bios, ver, hdr, &cnt, &len, &xnr, &xsz); ver 110 drivers/gpu/drm/nouveau/nvkm/subdev/bios/cstep.c nvbios_cstepXp(struct nvkm_bios *bios, int idx, u8 *ver, u8 *hdr, ver 113 drivers/gpu/drm/nouveau/nvkm/subdev/bios/cstep.c u32 data = nvbios_cstepXe(bios, idx, ver, hdr); ver 28 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c dcb_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) ver 41 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c *ver = nvbios_rd08(bios, dcb); ver 43 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c if (*ver >= 0x42) { ver 44 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c nvkm_warn(subdev, "DCB version 0x%02x unknown\n", *ver); ver 47 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c if (*ver >= 0x30) { ver 55 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c if (*ver >= 0x20) { ver 64 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c if (*ver >= 0x15) { ver 99 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c dcb_outp(struct nvkm_bios *bios, u8 idx, u8 *ver, u8 *len) ver 102 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c u16 dcb = dcb_table(bios, ver, &hdr, &cnt, len); ver 121 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c dcb_outp_parse(struct nvkm_bios *bios, u8 idx, u8 *ver, u8 *len, ver 124 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c u16 dcb = dcb_outp(bios, idx, ver, len); ver 127 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c if (*ver >= 0x20) { ver 141 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c if (*ver >= 0x40) { ver 198 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c u8 *ver, u8 *len, struct dcb_output *outp) ver 201 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c while ((dcb = dcb_outp_parse(bios, idx++, ver, len, outp))) { ver 215 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c u8 ver, len; ver 218 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c while ((outp = dcb_outp(bios, ++idx, &ver, &len))) { ver 30 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *sub) ver 38 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c *ver = nvbios_rd08(bios, data + 0x00); ver 39 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c switch (*ver) { ver 59 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c nvbios_disp_entry(struct nvkm_bios *bios, u8 idx, u8 *ver, u8 *len, u8 *sub) ver 62 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c u16 data = nvbios_disp_table(bios, ver, &hdr, &cnt, len, sub); ver 65 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c *ver = 0x00; ver 70 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c nvbios_disp_parse(struct nvkm_bios *bios, u8 idx, u8 *ver, u8 *len, u8 *sub, ver 73 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c u16 data = nvbios_disp_entry(bios, idx, ver, len, sub); ver 83 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len) ver 86 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c u16 data = nvbios_disp_parse(bios, idx, ver, len, hdr, &info); ver 97 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_outp *info) ver 99 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c u16 data = nvbios_outp_entry(bios, idx, ver, hdr, cnt, len); ver 103 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c if (*ver <= 0x20) /* match any link */ ver 117 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_outp *info) ver 120 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c while ((data = nvbios_outp_parse(bios, idx++, ver, hdr, cnt, len, info)) || *ver) { ver 131 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len) ver 140 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_ocfg *info) ver 142 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c u16 data = nvbios_ocfg_entry(bios, outp, idx, ver, hdr, cnt, len); ver 154 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_ocfg *info) ver 157 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c while ((data = nvbios_ocfg_parse(bios, outp, idx++, ver, hdr, cnt, len, info))) { ver 29 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c nvbios_dp_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) ver 37 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c *ver = nvbios_rd08(bios, data + 0x00); ver 38 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c switch (*ver) { ver 61 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len) ver 63 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c u16 data = nvbios_dp_table(bios, ver, hdr, cnt, len); ver 66 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c switch (*ver * !!outp) { ver 86 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c *ver = 0x00; ver 92 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, ver 95 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c u16 data = nvbios_dpout_entry(bios, idx, ver, hdr, cnt, len); ver 97 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c if (data && *ver) { ver 100 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c switch (*ver) { ver 139 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, ver 143 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c while ((data = nvbios_dpout_parse(bios, idx++, ver, hdr, cnt, len, info)) || *ver) { ver 154 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len) ver 156 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c if (*ver >= 0x40) { ver 157 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c outp = nvbios_dp_table(bios, ver, hdr, cnt, len); ver 172 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, ver 175 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c u16 data = nvbios_dpcfg_entry(bios, outp, idx, ver, hdr, cnt, len); ver 178 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c switch (*ver) { ver 208 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, ver 214 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c if (*ver >= 0x30) { ver 217 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c if (*ver >= 0x40 && *ver <= 0x41 && *hdr >= 0x12) ver 220 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c if (*ver >= 0x42) ver 224 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c ver, hdr, cnt, len))) { ver 231 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c return nvbios_dpcfg_parse(bios, outp, idx, ver, hdr, cnt, len, info); ver 29 drivers/gpu/drm/nouveau/nvkm/subdev/bios/extdev.c extdev_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *len, u8 *cnt) ver 42 drivers/gpu/drm/nouveau/nvkm/subdev/bios/extdev.c *ver = nvbios_rd08(bios, extdev + 0); ver 52 drivers/gpu/drm/nouveau/nvkm/subdev/bios/extdev.c u8 ver, hdr, len, cnt; ver 53 drivers/gpu/drm/nouveau/nvkm/subdev/bios/extdev.c u16 data = extdev_table(bios, &ver, &hdr, &len, &cnt); ver 54 drivers/gpu/drm/nouveau/nvkm/subdev/bios/extdev.c if (data && ver == 0x40 && hdr >= 5) { ver 63 drivers/gpu/drm/nouveau/nvkm/subdev/bios/extdev.c nvbios_extdev_entry(struct nvkm_bios *bios, int idx, u8 *ver, u8 *len) ver 66 drivers/gpu/drm/nouveau/nvkm/subdev/bios/extdev.c u16 extdev = extdev_table(bios, ver, &hdr, len, &cnt); ver 85 drivers/gpu/drm/nouveau/nvkm/subdev/bios/extdev.c u8 ver, len; ver 88 drivers/gpu/drm/nouveau/nvkm/subdev/bios/extdev.c if (!(entry = nvbios_extdev_entry(bios, idx, &ver, &len))) ver 99 drivers/gpu/drm/nouveau/nvkm/subdev/bios/extdev.c u8 ver, len, i; ver 103 drivers/gpu/drm/nouveau/nvkm/subdev/bios/extdev.c while ((entry = nvbios_extdev_entry(bios, i++, &ver, &len))) { ver 29 drivers/gpu/drm/nouveau/nvkm/subdev/bios/fan.c nvbios_fan_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) ver 39 drivers/gpu/drm/nouveau/nvkm/subdev/bios/fan.c *ver = nvbios_rd08(bios, fan + 0); ver 40 drivers/gpu/drm/nouveau/nvkm/subdev/bios/fan.c switch (*ver) { ver 56 drivers/gpu/drm/nouveau/nvkm/subdev/bios/fan.c nvbios_fan_entry(struct nvkm_bios *bios, int idx, u8 *ver, u8 *hdr, ver 59 drivers/gpu/drm/nouveau/nvkm/subdev/bios/fan.c u32 data = nvbios_fan_table(bios, ver, hdr, cnt, len); ver 68 drivers/gpu/drm/nouveau/nvkm/subdev/bios/fan.c u8 ver, hdr, cnt, len; ver 70 drivers/gpu/drm/nouveau/nvkm/subdev/bios/fan.c u32 data = nvbios_fan_entry(bios, 0, &ver, &hdr, &cnt, &len); ver 30 drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c dcb_gpio_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) ver 33 drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c u16 dcb = dcb_table(bios, ver, hdr, cnt, len); ver 35 drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c if (*ver >= 0x30 && *hdr >= 0x0c) ver 38 drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c if (*ver >= 0x22 && nvbios_rd08(bios, dcb - 1) >= 0x13) ver 42 drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c *ver = nvbios_rd08(bios, data + 0x00); ver 43 drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c if (*ver < 0x30) { ver 48 drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c if (*ver <= 0x41) { ver 61 drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c dcb_gpio_entry(struct nvkm_bios *bios, int idx, int ent, u8 *ver, u8 *len) ver 67 drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c gpio = dcb_gpio_table(bios, ver, &hdr, &cnt, len); ver 78 drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c dcb_gpio_parse(struct nvkm_bios *bios, int idx, int ent, u8 *ver, u8 *len, ver 81 drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c u16 data = dcb_gpio_entry(bios, idx, ent, ver, len); ver 83 drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c if (*ver < 0x40) { ver 93 drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c if (*ver < 0x41) { ver 120 drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c u8 *ver, u8 *len, struct dcb_gpio_func *gpio) ver 125 drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c while ((data = dcb_gpio_parse(bios, idx, i++, ver, len, gpio))) { ver 132 drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c if ((data = dcb_table(bios, ver, &hdr, &cnt, len))) { ver 133 drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c if (*ver >= 0x22 && *ver < 0x30 && func == DCB_GPIO_TVDAC0) { ver 143 drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c *ver = 0x00; ver 29 drivers/gpu/drm/nouveau/nvkm/subdev/bios/i2c.c dcb_i2c_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) ver 32 drivers/gpu/drm/nouveau/nvkm/subdev/bios/i2c.c u16 dcb = dcb_table(bios, ver, hdr, cnt, len); ver 34 drivers/gpu/drm/nouveau/nvkm/subdev/bios/i2c.c if (*ver >= 0x15) ver 36 drivers/gpu/drm/nouveau/nvkm/subdev/bios/i2c.c if (*ver >= 0x30) ver 40 drivers/gpu/drm/nouveau/nvkm/subdev/bios/i2c.c if (i2c && *ver >= 0x42) { ver 41 drivers/gpu/drm/nouveau/nvkm/subdev/bios/i2c.c nvkm_warn(&bios->subdev, "ccb %02x not supported\n", *ver); ver 45 drivers/gpu/drm/nouveau/nvkm/subdev/bios/i2c.c if (i2c && *ver >= 0x30) { ver 46 drivers/gpu/drm/nouveau/nvkm/subdev/bios/i2c.c *ver = nvbios_rd08(bios, i2c + 0); ver 51 drivers/gpu/drm/nouveau/nvkm/subdev/bios/i2c.c *ver = *ver; /* use DCB version */ ver 61 drivers/gpu/drm/nouveau/nvkm/subdev/bios/i2c.c dcb_i2c_entry(struct nvkm_bios *bios, u8 idx, u8 *ver, u8 *len) ver 64 drivers/gpu/drm/nouveau/nvkm/subdev/bios/i2c.c u16 i2c = dcb_i2c_table(bios, ver, &hdr, &cnt, len); ver 74 drivers/gpu/drm/nouveau/nvkm/subdev/bios/i2c.c u8 ver, len; ver 75 drivers/gpu/drm/nouveau/nvkm/subdev/bios/i2c.c u16 ent = dcb_i2c_entry(bios, idx, &ver, &len); ver 77 drivers/gpu/drm/nouveau/nvkm/subdev/bios/i2c.c if (ver >= 0x41) { ver 87 drivers/gpu/drm/nouveau/nvkm/subdev/bios/i2c.c if (ver >= 0x30) { ver 30 drivers/gpu/drm/nouveau/nvkm/subdev/bios/iccsense.c nvbios_iccsense_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, ver 44 drivers/gpu/drm/nouveau/nvkm/subdev/bios/iccsense.c *ver = nvbios_rd08(bios, iccsense + 0); ver 45 drivers/gpu/drm/nouveau/nvkm/subdev/bios/iccsense.c switch (*ver) { ver 63 drivers/gpu/drm/nouveau/nvkm/subdev/bios/iccsense.c u8 ver, hdr, cnt, len, i; ver 66 drivers/gpu/drm/nouveau/nvkm/subdev/bios/iccsense.c table = nvbios_iccsense_table(bios, &ver, &hdr, &cnt, &len); ver 70 drivers/gpu/drm/nouveau/nvkm/subdev/bios/iccsense.c if (ver != 0x10 && ver != 0x20) { ver 71 drivers/gpu/drm/nouveau/nvkm/subdev/bios/iccsense.c nvkm_error(subdev, "ICCSENSE version 0x%02x unknown\n", ver); ver 89 drivers/gpu/drm/nouveau/nvkm/subdev/bios/iccsense.c switch(ver) { ver 35 drivers/gpu/drm/nouveau/nvkm/subdev/bios/image.c u8 ver; ver 50 drivers/gpu/drm/nouveau/nvkm/subdev/bios/image.c if (!(data = nvbios_pcirTp(bios, image->base, &ver, &hdr, &pcir))) ver 126 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u8 ver, hdr; ver 132 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c conn = nvbios_connEp(bios, conn, &ver, &hdr, &connE); ver 802 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u8 ver, hdr, cnt, len; ver 819 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c &ver, &hdr, &cnt, &len, &info))) ver 2197 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u8 idx = 0, ver, len; ver 2207 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c while ((data = dcb_gpio_parse(bios, 0, idx++, &ver, &len, &func))) { ver 29 drivers/gpu/drm/nouveau/nvkm/subdev/bios/mxm.c mxm_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr) ver 39 drivers/gpu/drm/nouveau/nvkm/subdev/bios/mxm.c *ver = x.version; ver 41 drivers/gpu/drm/nouveau/nvkm/subdev/bios/mxm.c if (*ver != 1 || *hdr < 3) { ver 42 drivers/gpu/drm/nouveau/nvkm/subdev/bios/mxm.c nvkm_warn(subdev, "BIT 'x' table %d/%d unknown\n", *ver, *hdr); ver 78 drivers/gpu/drm/nouveau/nvkm/subdev/bios/mxm.c u8 ver, hdr; ver 79 drivers/gpu/drm/nouveau/nvkm/subdev/bios/mxm.c u16 mxm = mxm_table(bios, &ver, &hdr); ver 83 drivers/gpu/drm/nouveau/nvkm/subdev/bios/mxm.c ver = nvbios_rd08(bios, map); ver 84 drivers/gpu/drm/nouveau/nvkm/subdev/bios/mxm.c if (ver == 0x10 || ver == 0x11) { ver 94 drivers/gpu/drm/nouveau/nvkm/subdev/bios/mxm.c nvkm_warn(subdev, "unknown sor map v%02x\n", ver); ver 115 drivers/gpu/drm/nouveau/nvkm/subdev/bios/mxm.c u8 ver, hdr; ver 116 drivers/gpu/drm/nouveau/nvkm/subdev/bios/mxm.c u16 mxm = mxm_table(bios, &ver, &hdr); ver 120 drivers/gpu/drm/nouveau/nvkm/subdev/bios/mxm.c ver = nvbios_rd08(bios, map); ver 121 drivers/gpu/drm/nouveau/nvkm/subdev/bios/mxm.c if (ver == 0x10) { ver 131 drivers/gpu/drm/nouveau/nvkm/subdev/bios/mxm.c nvkm_warn(subdev, "unknown ddc map v%02x\n", ver); ver 32 drivers/gpu/drm/nouveau/nvkm/subdev/bios/npde.c u8 ver; u16 hdr; ver 33 drivers/gpu/drm/nouveau/nvkm/subdev/bios/npde.c u32 data = nvbios_pcirTp(bios, base, &ver, &hdr, &pcir); ver 28 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pcir.c nvbios_pcirTe(struct nvkm_bios *bios, u32 base, u8 *ver, u16 *hdr) ver 38 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pcir.c *ver = nvbios_rd08(bios, data + 0x0c); ver 52 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pcir.c nvbios_pcirTp(struct nvkm_bios *bios, u32 base, u8 *ver, u16 *hdr, ver 55 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pcir.c u32 data = nvbios_pcirTe(bios, base, ver, hdr); ver 30 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c nvbios_perf_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, ver 40 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c *ver = nvbios_rd08(bios, perf + 0); ver 42 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c if (*ver >= 0x40 && *ver < 0x41) { ver 49 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c if (*ver >= 0x20 && *ver < 0x40) { ver 65 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c *ver = nvbios_rd08(bios, perf + 1); ver 80 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len) ver 83 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c u32 perf = nvbios_perf_table(bios, ver, hdr, cnt, len, &snr, &ssz); ver 96 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_perfE *info) ver 98 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c u32 perf = nvbios_perf_entry(bios, idx, ver, hdr, cnt, len); ver 101 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c switch (!!perf * *ver) { ver 174 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c u8 *ver, u8 *hdr, u8 cnt, u8 len) ver 186 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c u8 *ver, u8 *hdr, u8 cnt, u8 len, ver 189 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c u32 data = nvbios_perfSe(bios, perfE, idx, ver, hdr, cnt, len); ver 191 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c switch (!!data * *ver) { ver 205 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c u8 ver, hdr, cnt, len, snr, ssz; ver 206 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c u32 perf = nvbios_perf_table(bios, &ver, &hdr, &cnt, &len, &snr, &ssz); ver 210 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c if (ver >= 0x20 && ver < 0x40 && hdr > 6) ver 81 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pll.c pll_limits_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) ver 92 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pll.c *ver = nvbios_rd08(bios, data + 0); ver 103 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pll.c *ver = nvbios_rd08(bios, data + 0); ver 111 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pll.c *ver = 0x00; ver 144 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pll.c pll_map_reg(struct nvkm_bios *bios, u32 reg, u32 *type, u8 *ver, u8 *len) ver 150 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pll.c data = pll_limits_table(bios, ver, &hdr, &cnt, len); ver 151 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pll.c if (data && *ver >= 0x30) { ver 165 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pll.c if (map->reg == reg && *ver >= 0x20) { ver 186 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pll.c pll_map_type(struct nvkm_bios *bios, u8 type, u32 *reg, u8 *ver, u8 *len) ver 192 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pll.c data = pll_limits_table(bios, ver, &hdr, &cnt, len); ver 193 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pll.c if (data && *ver >= 0x30) { ver 197 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pll.c if (*ver < 0x50) ver 210 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pll.c if (map->type == type && *ver >= 0x20) { ver 235 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pll.c u8 ver, len; ver 241 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pll.c data = pll_map_reg(bios, reg, &type, &ver, &len); ver 243 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pll.c data = pll_map_type(bios, type, ®, &ver, &len); ver 246 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pll.c if (ver && !data) ver 253 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pll.c switch (ver) { ver 383 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pll.c nvkm_error(subdev, "unknown pll limits version 0x%02x\n", ver); ver 30 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pmu.c nvbios_pmuTe(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) ver 39 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pmu.c *ver = nvbios_rd08(bios, data + 0x00); /* maybe? */ ver 50 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pmu.c nvbios_pmuEe(struct nvkm_bios *bios, int idx, u8 *ver, u8 *hdr) ver 53 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pmu.c u32 data = nvbios_pmuTe(bios, ver, hdr, &cnt, &len); ver 63 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pmu.c nvbios_pmuEp(struct nvkm_bios *bios, int idx, u8 *ver, u8 *hdr, ver 66 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pmu.c u32 data = nvbios_pmuEe(bios, idx, ver, hdr); ver 68 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pmu.c switch (!!data * *ver) { ver 81 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pmu.c u8 ver, hdr, idx = 0; ver 84 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pmu.c while ((data = nvbios_pmuEp(bios, idx++, &ver, &hdr, &pmuE))) { ver 29 drivers/gpu/drm/nouveau/nvkm/subdev/bios/power_budget.c nvbios_power_budget_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, ver 43 drivers/gpu/drm/nouveau/nvkm/subdev/bios/power_budget.c *ver = nvbios_rd08(bios, power_budget); ver 44 drivers/gpu/drm/nouveau/nvkm/subdev/bios/power_budget.c switch (*ver) { ver 63 drivers/gpu/drm/nouveau/nvkm/subdev/bios/power_budget.c u8 ver, hdr, cnt, len, cap_entry; ver 69 drivers/gpu/drm/nouveau/nvkm/subdev/bios/power_budget.c header = nvbios_power_budget_table(bios, &ver, &hdr, &cnt, &len); ver 73 drivers/gpu/drm/nouveau/nvkm/subdev/bios/power_budget.c switch (ver) { ver 92 drivers/gpu/drm/nouveau/nvkm/subdev/bios/power_budget.c budget->ver = ver; ver 115 drivers/gpu/drm/nouveau/nvkm/subdev/bios/power_budget.c if (budget->ver >= 0x20) { ver 58 drivers/gpu/drm/nouveau/nvkm/subdev/bios/ramcfg.c u8 ver, hdr; ver 69 drivers/gpu/drm/nouveau/nvkm/subdev/bios/ramcfg.c nvbios_M0203Em(bios, strap, &ver, &hdr, &M0203E)) ver 29 drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c nvbios_rammapTe(struct nvkm_bios *bios, u8 *ver, u8 *hdr, ver 40 drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c *ver = nvbios_rd08(bios, rammap + 0); ver 41 drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c switch (*ver) { ver 61 drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len) ver 64 drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c u32 rammap = nvbios_rammapTe(bios, ver, hdr, cnt, len, &snr, &ssz); ver 92 drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_ramcfg *p) ver 94 drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c u32 data = nvbios_rammapEe(bios, idx, ver, hdr, cnt, len), temp; ver 96 drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c p->rammap_ver = *ver; ver 98 drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c switch (!!data * *ver) { ver 134 drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_ramcfg *info) ver 138 drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c while ((data = nvbios_rammapEp(bios, idx++, ver, hdr, cnt, len, info))) { ver 147 drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c u8 ever, u8 ehdr, u8 ecnt, u8 elen, int idx, u8 *ver, u8 *hdr) ver 151 drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c *ver = ever; ver 192 drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c u8 *ver, u8 *hdr, struct nvbios_ramcfg *p) ver 194 drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c data = nvbios_rammapSe(bios, data, ever, ehdr, ecnt, elen, idx, ver, hdr); ver 195 drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c p->ramcfg_ver = *ver; ver 197 drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c switch (!!data * *ver) { ver 29 drivers/gpu/drm/nouveau/nvkm/subdev/bios/therm.c therm_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *len, u8 *cnt) ver 49 drivers/gpu/drm/nouveau/nvkm/subdev/bios/therm.c *ver = nvbios_rd08(bios, therm + 0); ver 57 drivers/gpu/drm/nouveau/nvkm/subdev/bios/therm.c nvbios_therm_entry(struct nvkm_bios *bios, int idx, u8 *ver, u8 *len) ver 60 drivers/gpu/drm/nouveau/nvkm/subdev/bios/therm.c u32 therm = therm_table(bios, ver, &hdr, len, &cnt); ver 72 drivers/gpu/drm/nouveau/nvkm/subdev/bios/therm.c u8 ver, len, i; ver 83 drivers/gpu/drm/nouveau/nvkm/subdev/bios/therm.c while ((entry = nvbios_therm_entry(bios, i++, &ver, &len))) { ver 156 drivers/gpu/drm/nouveau/nvkm/subdev/bios/therm.c u8 ver, len, i; ver 165 drivers/gpu/drm/nouveau/nvkm/subdev/bios/therm.c while ((entry = nvbios_therm_entry(bios, i++, &ver, &len))) { ver 30 drivers/gpu/drm/nouveau/nvkm/subdev/bios/timing.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz) ver 43 drivers/gpu/drm/nouveau/nvkm/subdev/bios/timing.c *ver = nvbios_rd08(bios, timing + 0); ver 44 drivers/gpu/drm/nouveau/nvkm/subdev/bios/timing.c switch (*ver) { ver 70 drivers/gpu/drm/nouveau/nvkm/subdev/bios/timing.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len) ver 73 drivers/gpu/drm/nouveau/nvkm/subdev/bios/timing.c u32 timing = nvbios_timingTe(bios, ver, hdr, cnt, len, &snr, &ssz); ver 86 drivers/gpu/drm/nouveau/nvkm/subdev/bios/timing.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_ramcfg *p) ver 88 drivers/gpu/drm/nouveau/nvkm/subdev/bios/timing.c u32 data = nvbios_timingEe(bios, idx, ver, hdr, cnt, len), temp; ver 89 drivers/gpu/drm/nouveau/nvkm/subdev/bios/timing.c p->timing_ver = *ver; ver 91 drivers/gpu/drm/nouveau/nvkm/subdev/bios/timing.c switch (!!data * *ver) { ver 29 drivers/gpu/drm/nouveau/nvkm/subdev/bios/vmap.c nvbios_vmap_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) ver 38 drivers/gpu/drm/nouveau/nvkm/subdev/bios/vmap.c *ver = nvbios_rd08(bios, vmap + 0); ver 39 drivers/gpu/drm/nouveau/nvkm/subdev/bios/vmap.c switch (*ver) { ver 57 drivers/gpu/drm/nouveau/nvkm/subdev/bios/vmap.c nvbios_vmap_parse(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, ver 60 drivers/gpu/drm/nouveau/nvkm/subdev/bios/vmap.c u32 vmap = nvbios_vmap_table(bios, ver, hdr, cnt, len); ver 62 drivers/gpu/drm/nouveau/nvkm/subdev/bios/vmap.c switch (!!vmap * *ver) { ver 81 drivers/gpu/drm/nouveau/nvkm/subdev/bios/vmap.c nvbios_vmap_entry(struct nvkm_bios *bios, int idx, u8 *ver, u8 *len) ver 84 drivers/gpu/drm/nouveau/nvkm/subdev/bios/vmap.c u32 vmap = nvbios_vmap_table(bios, ver, &hdr, &cnt, len); ver 93 drivers/gpu/drm/nouveau/nvkm/subdev/bios/vmap.c nvbios_vmap_entry_parse(struct nvkm_bios *bios, int idx, u8 *ver, u8 *len, ver 96 drivers/gpu/drm/nouveau/nvkm/subdev/bios/vmap.c u32 vmap = nvbios_vmap_entry(bios, idx, ver, len); ver 98 drivers/gpu/drm/nouveau/nvkm/subdev/bios/vmap.c switch (!!vmap * *ver) { ver 29 drivers/gpu/drm/nouveau/nvkm/subdev/bios/volt.c nvbios_volt_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) ver 42 drivers/gpu/drm/nouveau/nvkm/subdev/bios/volt.c *ver = nvbios_rd08(bios, volt + 0); ver 43 drivers/gpu/drm/nouveau/nvkm/subdev/bios/volt.c switch (*ver) { ver 69 drivers/gpu/drm/nouveau/nvkm/subdev/bios/volt.c nvbios_volt_parse(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, ver 72 drivers/gpu/drm/nouveau/nvkm/subdev/bios/volt.c u32 volt = nvbios_volt_table(bios, ver, hdr, cnt, len); ver 74 drivers/gpu/drm/nouveau/nvkm/subdev/bios/volt.c switch (!!volt * *ver) { ver 125 drivers/gpu/drm/nouveau/nvkm/subdev/bios/volt.c nvbios_volt_entry(struct nvkm_bios *bios, int idx, u8 *ver, u8 *len) ver 128 drivers/gpu/drm/nouveau/nvkm/subdev/bios/volt.c u32 volt = nvbios_volt_table(bios, ver, &hdr, &cnt, len); ver 137 drivers/gpu/drm/nouveau/nvkm/subdev/bios/volt.c nvbios_volt_entry_parse(struct nvkm_bios *bios, int idx, u8 *ver, u8 *len, ver 140 drivers/gpu/drm/nouveau/nvkm/subdev/bios/volt.c u32 volt = nvbios_volt_entry(bios, idx, ver, len); ver 142 drivers/gpu/drm/nouveau/nvkm/subdev/bios/volt.c switch (!!volt * *ver) { ver 29 drivers/gpu/drm/nouveau/nvkm/subdev/bios/xpio.c dcb_xpiod_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) ver 31 drivers/gpu/drm/nouveau/nvkm/subdev/bios/xpio.c u16 data = dcb_gpio_table(bios, ver, hdr, cnt, len); ver 32 drivers/gpu/drm/nouveau/nvkm/subdev/bios/xpio.c if (data && *ver >= 0x40 && *hdr >= 0x06) { ver 35 drivers/gpu/drm/nouveau/nvkm/subdev/bios/xpio.c *ver = nvbios_rd08(bios, data + 0x00); ver 47 drivers/gpu/drm/nouveau/nvkm/subdev/bios/xpio.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len) ver 49 drivers/gpu/drm/nouveau/nvkm/subdev/bios/xpio.c u16 data = dcb_xpiod_table(bios, ver, hdr, cnt, len); ver 53 drivers/gpu/drm/nouveau/nvkm/subdev/bios/xpio.c *ver = nvbios_rd08(bios, data + 0x00); ver 65 drivers/gpu/drm/nouveau/nvkm/subdev/bios/xpio.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_xpio *info) ver 67 drivers/gpu/drm/nouveau/nvkm/subdev/bios/xpio.c u16 data = dcb_xpio_table(bios, idx, ver, hdr, cnt, len); ver 46 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c u8 ver, hdr, cnt, len; ver 49 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c data = nvbios_boostEm(bios, pstate, &ver, &hdr, &cnt, &len, &boostE); ver 58 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c sver = ver; ver 230 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c u8 ver, hdr; ver 233 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c data = nvbios_cstepXp(bios, idx, &ver, &hdr, &cstepX); ver 409 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c u8 ver, hdr, cnt, len; ver 412 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c data = nvbios_perfEp(bios, idx, &ver, &hdr, &cnt, &len, &perfE); ver 436 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c while (ver >= 0x40 && (++domain)->name != nv_clk_src_max) { ver 438 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c u8 sver = ver, shdr = hdr; ver 454 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c data = nvbios_cstepEm(bios, pstate->pstate, &ver, &hdr, &cstepE); ver 130 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv50.c u8 ver = 0xff, hdr, cnt, len; ver 137 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv50.c while (init->base.post && dcb_outp_parse(bios, i, &ver, &hdr, &outp)) { ver 139 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv50.c &ver, &hdr, &cnt, &len, &info)) { ver 67 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c u8 ver, hdr; ver 69 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c if (nvbios_M0203Em(bios, ramcfg, &ver, &hdr, &M0203E)) { ver 136 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c u8 ver, cnt, len, strap; ver 147 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c rammap.data = nvbios_rammapEm(bios, freq / 1000, &ver, &rammap.size, ver 149 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c if (!rammap.data || ver != 0x10 || rammap.size < 0x0e) { ver 162 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c if (!ramcfg.data || ver != 0x10 || ramcfg.size < 0x0e) { ver 170 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c timing.data = nvbios_timingEe(bios, strap, &ver, &timing.size, ver 172 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c if (!timing.data || ver != 0x10 || timing.size < 0x19) { ver 1280 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c u8 ver, hdr, cnt, len; ver 1284 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c if (!(data = nvbios_M0205Ep(bios, i, &ver, &hdr, &cnt, &len, &M0205E))) ver 1300 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c if (!(data = nvbios_M0205Sp(bios, i, ramcfg, &ver, &hdr, &M0205S))) ver 1305 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c if (!(data = nvbios_M0209Ep(bios, i, &ver, &hdr, &cnt, &len, &M0209E))) ver 1309 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c if (!(data = nvbios_M0209Sp(bios, i, 0, &ver, &hdr, value))) ver 1317 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c if (!(data = nvbios_M0209Sp(bios, M0209E.v03, 0, &ver, &hdr, ver 1402 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c u8 ver, hdr, cnt, len, snr, ssz; ver 1417 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c data = nvbios_rammapTe(bios, &ver, &hdr, &cnt, &len, &snr, &ssz); ver 1445 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c u8 ver, hdr, cnt, len; ver 1455 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c data = nvbios_rammapEp(bios, i, &ver, &hdr, &cnt, &len, &cfg->bios); ver 1458 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c if (ret = -ENOSYS, ver != 0x11 || hdr < 0x12) ver 1462 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c data = nvbios_rammapSp(bios, data, ver, hdr, cnt, len, ramcfg, ver 1463 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c &ver, &hdr, &cfg->bios); ver 1466 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c if (ret = -ENOSYS, ver != 0x11 || hdr < 0x0a) ver 1472 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c &ver, &hdr, &cnt, &len, ver 1476 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c if (ret = -ENOSYS, ver != 0x20 || hdr < 0x33) ver 36 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgp100.c u8 ver, hdr, cnt, len, snr, ssz; ver 51 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgp100.c data = nvbios_rammapTe(bios, &ver, &hdr, &cnt, &len, &snr, &ssz); ver 165 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c u8 ver, hdr, cnt, len, snr, ssz; ver 181 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c nvbios_M0205Tp(bios, &ver, &hdr, &cnt, &len, &snr, &ssz, &M0205T); ver 284 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c u8 ver, hdr, cnt, len; ver 293 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c if (!nvbios_M0205Ep(bios, i, &ver, &hdr, &cnt, &len, &M0205E)) ver 503 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c u8 ver, hdr, cnt, len, strap; ver 519 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c data = nvbios_rammapEm(bios, freq / 1000, &ver, &hdr, &cnt, &len, ver 521 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c if (!data || ver != 0x10 || hdr < 0x05) { ver 533 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c data = nvbios_rammapSp(bios, data, ver, hdr, cnt, len, strap, ver 534 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c &ver, &hdr, &next->bios); ver 535 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c if (!data || ver != 0x10 || hdr < 0x09) { ver 543 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c &ver, &hdr, &cnt, &len, ver 545 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c if (!data || ver != 0x10 || hdr < 0x17) { ver 228 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c u8 ver, hdr, cnt, len, strap, size; ver 242 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c data = nvbios_perfEp(bios, i++, &ver, &hdr, &cnt, ver 244 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c if (!data || (ver < 0x25 || ver >= 0x40) || ver 270 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c &ver, &hdr, &cnt, &len, &next->bios); ver 271 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c if (!data || ver != 0x10 || hdr < 0x12) { ver 274 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c strap, data, ver, hdr); ver 54 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c u8 ver, len; ver 60 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c data = dcb_gpio_match(bios, idx, tag, line, &ver, &len, func); ver 31 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/gf119.c u8 ver, len; ver 35 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/gf119.c while ((entry = dcb_gpio_entry(bios, 0, ++ent, &ver, &len))) { ver 31 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/nv50.c u8 ver, len; ver 35 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/nv50.c while ((entry = dcb_gpio_entry(bios, 0, ++ent, &ver, &len))) { ver 55 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c u8 ver, hdr, cnt, len; ver 56 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c u16 i2c = dcb_i2c_table(bios, &ver, &hdr, &cnt, &len); ver 57 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c if (i2c && ver >= 0x30) { ver 286 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c u8 ver, hdr; ver 365 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c while (dcb_outp_parse(bios, ++i, &ver, &hdr, &dcbE)) { ver 237 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c u8 ver, len; ver 245 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c data = mxm_table(bios, &ver, &len); ver 246 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c if (!data || !(ver = nvbios_rd08(bios, data))) { ver 251 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c nvkm_info(&mxm->subdev, "BIOS version %d.%d\n", ver >> 4, ver & 0x0f); ver 257 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c if (mxm_shadow(mxm, ver)) { ver 99 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c u8 type, i2cidx, link, ver, len; ver 147 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c conn += nvbios_connEe(bios, (ctx.outp[0] & 0x0000f000) >> 12, &ver, &len); ver 192 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c u8 ver, hdr, cnt, len; ver 193 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c u16 dcb = dcb_table(bios, &ver, &hdr, &cnt, &len); ver 194 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c if (dcb == 0x0000 || (ver != 0x40 && ver != 0x41)) { ver 43 drivers/gpu/drm/nouveau/nvkm/subdev/pci/g84.c g84_pcie_set_version(struct nvkm_pci *pci, u8 ver) ver 46 drivers/gpu/drm/nouveau/nvkm/subdev/pci/g84.c nvkm_mask(device, 0x00154c, 0x1, (ver >= 2 ? 0x1 : 0x0)); ver 33 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gf100.c gf100_pcie_set_version(struct nvkm_pci *pci, u8 ver) ver 36 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gf100.c nvkm_mask(device, 0x02241c, 0x1, ver > 1 ? 1 : 0); ver 46 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c int ver, ret; ver 49 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c ver = nvkm_firmware_get_version(subdev, f, 0, maxver, &image); ver 50 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c if (ver < 0) ver 51 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c return ver; ver 58 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c ret = nvkm_firmware_get_version(subdev, f, ver, ver, &desc); ver 66 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c ret = nvkm_firmware_get_version(subdev, f, ver, ver, &sig); ver 75 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c return ver; ver 144 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c int ver, ret; ver 146 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c ver = acr_ls_ucode_load_msgqueue(&sb->subdev, "sec2", maxver, img); ver 147 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c if (ver < 0) ver 148 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c return ver; ver 156 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c return ver; ver 86 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c u8 ver, len; ver 89 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c vmap = nvbios_vmap_entry_parse(bios, id, &ver, &len, &info); ver 108 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c u8 ver, len; ver 111 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c vmap = nvbios_vmap_entry_parse(bios, id, &ver, &len, &info); ver 118 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c if (ver == 0x10 || (ver == 0x20 && info.mode == 0)) { ver 122 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c } else if (ver == 0x20) { ver 191 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c u8 ver, hdr, cnt, len; ver 195 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c data = nvbios_volt_parse(bios, &ver, &hdr, &cnt, &len, &info); ver 215 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c data = nvbios_volt_entry_parse(bios, i, &ver, &hdr, ver 294 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c u8 ver, hdr, cnt, len; ver 301 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c if (nvbios_vmap_parse(bios, &ver, &hdr, &cnt, &len, &vmap)) { ver 104 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk104.c u8 ver, hdr, cnt, len; ver 107 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk104.c if (!nvbios_volt_parse(device->bios, &ver, &hdr, &cnt, &len, &bios)) ver 367 drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c int ret, ver; ver 382 drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c ver = rpi_touchscreen_i2c_read(ts, REG_ID); ver 383 drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c if (ver < 0) { ver 384 drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c dev_err(dev, "Atmel I2C read failed: %d\n", ver); ver 388 drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c switch (ver) { ver 393 drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c dev_err(dev, "Unknown Atmel firmware revision: 0x%02x\n", ver); ver 1340 drivers/gpu/drm/radeon/radeon_combios.c uint8_t ver; ver 1345 drivers/gpu/drm/radeon/radeon_combios.c ver = RBIOS8(tmds_info); ver 1346 drivers/gpu/drm/radeon/radeon_combios.c DRM_DEBUG_KMS("DFP table revision: %d\n", ver); ver 1347 drivers/gpu/drm/radeon/radeon_combios.c if (ver == 3) { ver 1360 drivers/gpu/drm/radeon/radeon_combios.c } else if (ver == 4) { ver 1416 drivers/gpu/drm/radeon/radeon_combios.c uint8_t ver; ver 1429 drivers/gpu/drm/radeon/radeon_combios.c ver = RBIOS8(offset); ver 1430 drivers/gpu/drm/radeon/radeon_combios.c DRM_DEBUG_KMS("External TMDS Table revision: %d\n", ver); ver 93 drivers/gpu/drm/v3d/v3d_debugfs.c if (v3d->ver < 41) { ver 226 drivers/gpu/drm/v3d/v3d_debugfs.c if (v3d->ver >= 40) { ver 269 drivers/gpu/drm/v3d/v3d_drv.c v3d->ver = (V3D_GET_FIELD(ident1, V3D_HUB_IDENT1_TVER) * 10 + ver 290 drivers/gpu/drm/v3d/v3d_drv.c if (v3d->ver < 41) { ver 47 drivers/gpu/drm/v3d/v3d_drv.h int ver; ver 130 drivers/gpu/drm/v3d/v3d_drv.h return v3d->ver >= 41; ver 30 drivers/gpu/drm/v3d/v3d_gem.c if (v3d->ver < 40) ver 63 drivers/gpu/drm/v3d/v3d_gem.c if (v3d->ver >= 41) ver 135 drivers/gpu/drm/v3d/v3d_gem.c if (v3d->ver < 41) { ver 141 drivers/gpu/drm/v3d/v3d_gem.c if (v3d->ver < 33) { ver 154 drivers/gpu/drm/v3d/v3d_gem.c if (v3d->ver > 32) ver 186 drivers/gpu/drm/v3d/v3d_irq.c if (v3d->ver >= 41) { ver 100 drivers/gpu/drm/vmwgfx/device_include/svga_reg.h #define SVGA_MAKE_ID(ver) (SVGA_MAGIC << 8 | (ver)) ver 69 drivers/hsi/clients/ssi_protocol.c #define SSIP_BOOTINFO_REQ_CMD(ver) \ ver 70 drivers/hsi/clients/ssi_protocol.c SSIP_CMD(SSIP_BOOTINFO_REQ, SSIP_DATA_VERSION(ver)) ver 71 drivers/hsi/clients/ssi_protocol.c #define SSIP_BOOTINFO_RESP_CMD(ver) \ ver 72 drivers/hsi/clients/ssi_protocol.c SSIP_CMD(SSIP_BOOTINFO_RESP, SSIP_DATA_VERSION(ver)) ver 120 drivers/hv/hv_trace.h __field(u8, ver) ver 122 drivers/hv/hv_trace.h TP_fast_assign(__entry->ver = response->version_supported; ver 124 drivers/hv/hv_trace.h TP_printk("version_supported %d", __entry->ver) ver 241 drivers/hv/hv_trace.h __field(u32, ver) ver 249 drivers/hv/hv_trace.h __entry->ver = msg->vmbus_version_requested; ver 258 drivers/hv/hv_trace.h __entry->ver, __entry->target_vcpu, __entry->int_page, ver 2547 drivers/hwmon/lm93.c int mfr, ver; ver 2561 drivers/hwmon/lm93.c ver = lm93_read_byte(client, LM93_REG_VER); ver 2562 drivers/hwmon/lm93.c switch (ver) { ver 2574 drivers/hwmon/lm93.c "detect failed, bad version id 0x%02x!\n", ver); ver 121 drivers/infiniband/core/ud_header.c { STRUCT_FIELD(ip4, ver), ver 368 drivers/infiniband/core/ud_header.c header->ip4.ver = 4; /* version 4 */ ver 945 drivers/infiniband/hw/efa/efa_com.c u32 ver; ver 951 drivers/infiniband/hw/efa/efa_com.c ver = efa_com_reg_read32(edev, EFA_REGS_VERSION_OFF); ver 956 drivers/infiniband/hw/efa/efa_com.c (ver & EFA_REGS_VERSION_MAJOR_VERSION_MASK) >> ver 958 drivers/infiniband/hw/efa/efa_com.c ver & EFA_REGS_VERSION_MINOR_VERSION_MASK); ver 960 drivers/infiniband/hw/efa/efa_com.c if (ver < MIN_EFA_VER) { ver 1332 drivers/infiniband/hw/hfi1/verbs.c u32 ver = dd->dc8051_ver; ver 1336 drivers/infiniband/hw/hfi1/verbs.c rdi->dparms.props.fw_ver = ((u64)(dc8051_ver_maj(ver)) << 32) | ver 1337 drivers/infiniband/hw/hfi1/verbs.c ((u64)(dc8051_ver_min(ver)) << 16) | ver 1338 drivers/infiniband/hw/hfi1/verbs.c (u64)dc8051_ver_patch(ver); ver 1624 drivers/infiniband/hw/hfi1/verbs.c u32 ver = dd_from_dev(dev)->dc8051_ver; ver 1626 drivers/infiniband/hw/hfi1/verbs.c snprintf(str, IB_FW_VERSION_NAME_MAX, "%u.%u.%u", dc8051_ver_maj(ver), ver 1627 drivers/infiniband/hw/hfi1/verbs.c dc8051_ver_min(ver), dc8051_ver_patch(ver)); ver 1775 drivers/infiniband/hw/mlx5/main.c int ver; ver 1786 drivers/infiniband/hw/mlx5/main.c ver = 0; ver 1788 drivers/infiniband/hw/mlx5/main.c ver = 2; ver 1954 drivers/infiniband/hw/mlx5/main.c bfregi->ver = ver; ver 654 drivers/infiniband/hw/mlx5/qp.c if (bfregi->ver >= 2) { ver 126 drivers/infiniband/sw/siw/iwarp.h __be16 ver = ctrl->ddp_rdmap_ctrl & RDMAP_MASK_VERSION; ver 128 drivers/infiniband/sw/siw/iwarp.h return be16_to_cpu(ver) >> 6; ver 82 drivers/input/keyboard/qt1070.c int id, ver; ver 92 drivers/input/keyboard/qt1070.c ver = qt1070_read(client, FW_VERSION); ver 93 drivers/input/keyboard/qt1070.c if (ver < 0) { ver 98 drivers/input/keyboard/qt1070.c dev_info(&client->dev, "AT42QT1070 firmware version %x\n", ver); ver 312 drivers/input/keyboard/qt2160.c int id, ver, rev; ver 322 drivers/input/keyboard/qt2160.c ver = qt2160_read(client, QT2160_CMD_CODEVER); ver 323 drivers/input/keyboard/qt2160.c if (ver < 0) { ver 336 drivers/input/keyboard/qt2160.c ver >> 4, ver & 0xf, rev); ver 1538 drivers/input/mouse/elantech.c int ver = (info->fw_version & 0x0f0000) >> 16; ver 1544 drivers/input/mouse/elantech.c switch (ver) { ver 618 drivers/input/mouse/sentelic.c PSMOUSE_DEFINE_RO_ATTR(ver, S_IRUGO, NULL, fsp_attr_show_ver); ver 863 drivers/input/mouse/sentelic.c if (pad->ver < FSP_VER_STL3888_C0) { ver 925 drivers/input/mouse/sentelic.c if (pad->ver < FSP_VER_STL3888_C0) { ver 1015 drivers/input/mouse/sentelic.c int ver, rev, sn = 0; ver 1018 drivers/input/mouse/sentelic.c if (fsp_get_version(psmouse, &ver) || ver 1022 drivers/input/mouse/sentelic.c if (ver >= FSP_VER_STL3888_C0) { ver 1029 drivers/input/mouse/sentelic.c ver >> 4, ver & 0x0F, rev, sn, fsp_drv_ver); ver 1035 drivers/input/mouse/sentelic.c priv->ver = ver; ver 95 drivers/input/mouse/sentelic.h unsigned char ver; /* hardware version */ ver 1861 drivers/iommu/arm-smmu.c #define ARM_SMMU_MATCH_DATA(name, ver, imp) \ ver 1862 drivers/iommu/arm-smmu.c static const struct arm_smmu_match_data name = { .version = ver, .model = imp } ver 1021 drivers/iommu/dmar.c u32 ver, sts; ver 1066 drivers/iommu/dmar.c ver = readl(iommu->reg + DMAR_VER_REG); ver 1070 drivers/iommu/dmar.c DMAR_VER_MAJOR(ver), DMAR_VER_MINOR(ver), ver 369 drivers/iommu/exynos-iommu.c u32 ver; ver 373 drivers/iommu/exynos-iommu.c ver = readl(data->sfrbase + REG_MMU_VERSION); ver 376 drivers/iommu/exynos-iommu.c if (ver == 0x80000001u) ver 379 drivers/iommu/exynos-iommu.c data->version = MMU_RAW_VER(ver); ver 4766 drivers/iommu/intel-iommu.c u32 ver = readl(iommu->reg + DMAR_VER_REG); ver 4768 drivers/iommu/intel-iommu.c DMAR_VER_MAJOR(ver), DMAR_VER_MINOR(ver)); ver 955 drivers/isdn/hardware/mISDN/avmfritz.c u32 val, ver; ver 966 drivers/isdn/hardware/mISDN/avmfritz.c ver = inl(fc->addr + CHIP_WINDOW + HDLC_STATUS) >> 24; ver 971 drivers/isdn/hardware/mISDN/avmfritz.c pr_notice("%s: HDLC version %x\n", fc->name, ver & 0xf); ver 978 drivers/isdn/hardware/mISDN/avmfritz.c ver = inl(fc->addr + AVM_HDLC_STATUS_1) >> 24; ver 983 drivers/isdn/hardware/mISDN/avmfritz.c pr_notice("%s: HDLC version %x\n", fc->name, ver & 0xf); ver 737 drivers/isdn/hardware/mISDN/hfcmulti.c unsigned int ver; ver 742 drivers/isdn/hardware/mISDN/hfcmulti.c ver = vpm_in(wc, x, 0x1a0); ver 743 drivers/isdn/hardware/mISDN/hfcmulti.c printk(KERN_DEBUG "VPM: Chip %d: ver %02x\n", x, ver); ver 151 drivers/isdn/hardware/mISDN/mISDNisar.c int ver; ver 164 drivers/isdn/hardware/mISDN/mISDNisar.c ver = isar->buf[0] & 0xf; ver 165 drivers/isdn/hardware/mISDN/mISDNisar.c return ver; ver 355 drivers/isdn/mISDN/socket.c struct mISDNversion ver; ver 359 drivers/isdn/mISDN/socket.c ver.major = MISDN_MAJOR_VERSION; ver 360 drivers/isdn/mISDN/socket.c ver.minor = MISDN_MINOR_VERSION; ver 361 drivers/isdn/mISDN/socket.c ver.release = MISDN_RELEASE; ver 362 drivers/isdn/mISDN/socket.c if (copy_to_user((void __user *)arg, &ver, sizeof(ver))) ver 638 drivers/isdn/mISDN/socket.c struct mISDNversion ver; ver 642 drivers/isdn/mISDN/socket.c ver.major = MISDN_MAJOR_VERSION; ver 643 drivers/isdn/mISDN/socket.c ver.minor = MISDN_MINOR_VERSION; ver 644 drivers/isdn/mISDN/socket.c ver.release = MISDN_RELEASE; ver 645 drivers/isdn/mISDN/socket.c if (copy_to_user((void __user *)arg, &ver, sizeof(ver))) ver 6350 drivers/md/md.c mdu_version_t ver; ver 6352 drivers/md/md.c ver.major = MD_MAJOR_VERSION; ver 6353 drivers/md/md.c ver.minor = MD_MINOR_VERSION; ver 6354 drivers/md/md.c ver.patchlevel = MD_PATCHLEVEL_VERSION; ver 6356 drivers/md/md.c if (copy_to_user(arg, &ver, sizeof(ver))) ver 1535 drivers/media/common/siano/smscoreapi.c struct sms_version_res *ver = ver 1538 drivers/media/common/siano/smscoreapi.c ver->firmware_id, ver->supported_protocols, ver 1539 drivers/media/common/siano/smscoreapi.c ver->rom_ver_major, ver->rom_ver_minor); ver 1541 drivers/media/common/siano/smscoreapi.c coredev->mode = ver->firmware_id == 255 ? ver 1542 drivers/media/common/siano/smscoreapi.c DEVICE_MODE_NONE : ver->firmware_id; ver 1543 drivers/media/common/siano/smscoreapi.c coredev->modes_supported = ver->supported_protocols; ver 1544 drivers/media/common/siano/smscoreapi.c coredev->fw_version = ver->rom_ver_major << 8 | ver 1545 drivers/media/common/siano/smscoreapi.c ver->rom_ver_minor; ver 54 drivers/media/common/siano/smsendian.c struct sms_version_res *ver = ver 56 drivers/media/common/siano/smsendian.c ver->chip_model = le16_to_cpu((__force __le16)ver->chip_model); ver 663 drivers/media/dvb-frontends/bcm3510.c struct bcm3510_hab_cmd_get_version_info ver; ver 664 drivers/media/dvb-frontends/bcm3510.c bcm3510_do_hab_cmd(st,CMD_GET_VERSION_INFO,MSGID_GET_VERSION_INFO,NULL,0,(u8*)&ver,sizeof(ver)); ver 667 drivers/media/dvb-frontends/bcm3510.c ver.microcode_version, ver.script_version, ver.config_version, ver.demod_version); ver 669 drivers/media/dvb-frontends/bcm3510.c if (ver.script_version == BCM3510_DEF_SCRIPT_VERSION && ver 670 drivers/media/dvb-frontends/bcm3510.c ver.config_version == BCM3510_DEF_CONFIG_VERSION && ver 671 drivers/media/dvb-frontends/bcm3510.c ver.demod_version == BCM3510_DEF_DEMOD_VERSION) ver 37 drivers/media/dvb-frontends/cx24113.c u8 ver; ver 579 drivers/media/dvb-frontends/cx24113.c state->ver = cx24113_readreg(state, 0x01); ver 580 drivers/media/dvb-frontends/cx24113.c cx_info("version: %x\n", state->ver); ver 353 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c *ver) ver 362 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c if (!tnr_dmd || !ver) ver 428 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c *ver = (enum cxd2880_dvbt2_version)version; ver 41 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.h *ver); ver 386 drivers/media/i2c/bt819.c int i, ver; ver 401 drivers/media/i2c/bt819.c ver = bt819_read(decoder, 0x17); ver 402 drivers/media/i2c/bt819.c switch (ver & 0xf0) { ver 414 drivers/media/i2c/bt819.c "unknown chip version 0x%02x\n", ver); ver 231 drivers/media/i2c/m5mols/m5mols.h struct m5mols_version ver; ver 242 drivers/media/i2c/m5mols/m5mols.h #define is_available_af(__info) (__info->ver.af) ver 245 drivers/media/i2c/m5mols/m5mols.h (__info->ver.str[0] == __manufacturer[0] && \ ver 246 drivers/media/i2c/m5mols/m5mols.h __info->ver.str[1] == __manufacturer[1]) ver 210 drivers/media/i2c/m5mols/m5mols_controls.c if (!info->ver.af || !af_lock) ver 437 drivers/media/i2c/m5mols/m5mols_core.c struct m5mols_version *ver = &info->ver; ver 438 drivers/media/i2c/m5mols/m5mols_core.c u8 *str = ver->str; ver 442 drivers/media/i2c/m5mols/m5mols_core.c ret = m5mols_read_u8(sd, SYSTEM_VER_CUSTOMER, &ver->customer); ver 444 drivers/media/i2c/m5mols/m5mols_core.c ret = m5mols_read_u8(sd, SYSTEM_VER_PROJECT, &ver->project); ver 446 drivers/media/i2c/m5mols/m5mols_core.c ret = m5mols_read_u16(sd, SYSTEM_VER_FIRMWARE, &ver->fw); ver 448 drivers/media/i2c/m5mols/m5mols_core.c ret = m5mols_read_u16(sd, SYSTEM_VER_HARDWARE, &ver->hw); ver 450 drivers/media/i2c/m5mols/m5mols_core.c ret = m5mols_read_u16(sd, SYSTEM_VER_PARAMETER, &ver->param); ver 452 drivers/media/i2c/m5mols/m5mols_core.c ret = m5mols_read_u16(sd, SYSTEM_VER_AWB, &ver->awb); ver 454 drivers/media/i2c/m5mols/m5mols_core.c ret = m5mols_read_u8(sd, AF_VERSION, &ver->af); ver 472 drivers/media/i2c/m5mols/m5mols_core.c info->ver.customer, info->ver.project); ver 278 drivers/media/i2c/ov2640.c #define VERSION(pid, ver) ((pid << 8) | (ver & 0xFF)) ver 1084 drivers/media/i2c/ov2640.c u8 pid, ver, midh, midl; ver 1097 drivers/media/i2c/ov2640.c ver = i2c_smbus_read_byte_data(client, VER); ver 1101 drivers/media/i2c/ov2640.c switch (VERSION(pid, ver)) { ver 1107 drivers/media/i2c/ov2640.c "Product ID error %x:%x\n", pid, ver); ver 1114 drivers/media/i2c/ov2640.c devname, pid, ver, midh, midl); ver 1320 drivers/media/i2c/ov2659.c u8 ver = 0; ver 1335 drivers/media/i2c/ov2659.c ret = ov2659_read(client, REG_SC_CHIP_ID_L, &ver); ver 1340 drivers/media/i2c/ov2659.c id = OV265X_ID(pid, ver); ver 380 drivers/media/i2c/ov772x.c #define VERSION(pid, ver) ((pid << 8) | (ver & 0xFF)) ver 1237 drivers/media/i2c/ov772x.c int pid, ver, midh, midl; ver 1249 drivers/media/i2c/ov772x.c ret = regmap_read(priv->regmap, VER, &ver); ver 1253 drivers/media/i2c/ov772x.c switch (VERSION(pid, ver)) { ver 1262 drivers/media/i2c/ov772x.c "Product ID error %x:%x\n", pid, ver); ver 1276 drivers/media/i2c/ov772x.c devname, pid, ver, midh, midl); ver 591 drivers/media/i2c/ov9640.c u8 pid, ver, midh, midl; ver 605 drivers/media/i2c/ov9640.c ret = ov9640_reg_read(client, OV9640_VER, &ver); ver 613 drivers/media/i2c/ov9640.c switch (VERSION(pid, ver)) { ver 623 drivers/media/i2c/ov9640.c dev_err(&client->dev, "Product ID error %x:%x\n", pid, ver); ver 629 drivers/media/i2c/ov9640.c devname, pid, ver, midh, midl); ver 169 drivers/media/i2c/ov9640.h #define VERSION(pid, ver) (((pid) << 8) | ((ver) & 0xFF)) ver 1460 drivers/media/i2c/ov9650.c u8 pid, ver; ver 1473 drivers/media/i2c/ov9650.c ret = ov965x_read(ov965x, REG_VER, &ver); ver 1478 drivers/media/i2c/ov9650.c ov965x->id = OV965X_ID(pid, ver); ver 408 drivers/media/i2c/saa7110.c int ver, status; ver 412 drivers/media/i2c/saa7110.c ver = saa7110_read(sd); ver 417 drivers/media/i2c/saa7110.c ver, status); ver 103 drivers/media/i2c/tvp514x.c int ver; ver 516 drivers/media/i2c/tvp514x.c decoder->ver = rom_ver; ver 519 drivers/media/i2c/tvp514x.c client->name, decoder->ver, ver 411 drivers/media/i2c/tvp7002.c int ver; ver 465 drivers/media/i2c/vpx3220.c u8 ver; ver 499 drivers/media/i2c/vpx3220.c ver = i2c_smbus_read_byte_data(client, 0x00); ver 502 drivers/media/i2c/vpx3220.c if (ver == 0xec) { ver 520 drivers/media/i2c/vpx3220.c ver, pn, client->addr << 1, client->adapter->name); ver 699 drivers/media/pci/pt3/pt3.c u32 ver; ver 746 drivers/media/pci/pt3/pt3.c ver = ioread32(pt3->regs[0] + REG_VERSION); ver 747 drivers/media/pci/pt3/pt3.c if ((ver >> 16) != 0x0301) { ver 749 drivers/media/pci/pt3/pt3.c ver >> 24, (ver & 0x00ff0000) >> 16); ver 795 drivers/media/pci/pt3/pt3.c ver >> 24, (ver >> 8) & 0xff, (ver >> 16) & 0xff); ver 445 drivers/media/platform/qcom/camss/camss-csid.c enum camss_version ver = csid->camss->version; ver 448 drivers/media/platform/qcom/camss/camss-csid.c value = readl_relaxed(csid->base + CAMSS_CSID_IRQ_STATUS(ver)); ver 449 drivers/media/platform/qcom/camss/camss-csid.c writel_relaxed(value, csid->base + CAMSS_CSID_IRQ_CLEAR_CMD(ver)); ver 624 drivers/media/platform/qcom/camss/camss-csid.c enum camss_version ver = csid->camss->version; ver 659 drivers/media/platform/qcom/camss/camss-csid.c CAMSS_CSID_TG_VC_CFG(ver)); ver 665 drivers/media/platform/qcom/camss/camss-csid.c CAMSS_CSID_TG_DT_n_CGG_0(ver, 0)); ver 672 drivers/media/platform/qcom/camss/camss-csid.c CAMSS_CSID_TG_DT_n_CGG_1(ver, 0)); ver 677 drivers/media/platform/qcom/camss/camss-csid.c CAMSS_CSID_TG_DT_n_CGG_2(ver, 0)); ver 708 drivers/media/platform/qcom/camss/camss-csid.c CAMSS_CSID_CID_LUT_VC_n(ver, vc)); ver 712 drivers/media/platform/qcom/camss/camss-csid.c CAMSS_CSID_CID_LUT_VC_n(ver, vc)); ver 734 drivers/media/platform/qcom/camss/camss-csid.c CAMSS_CSID_CID_n_CFG(ver, cid)); ver 739 drivers/media/platform/qcom/camss/camss-csid.c CAMSS_CSID_TG_CTRL(ver)); ver 745 drivers/media/platform/qcom/camss/camss-csid.c CAMSS_CSID_TG_CTRL(ver)); ver 126 drivers/media/platform/qcom/venus/helpers.c enum hfi_version ver = core->res->hfi_version; ver 151 drivers/media/platform/qcom/venus/helpers.c count = HFI_BUFREQ_COUNT_MIN(&bufreq, ver); ver 318 drivers/media/platform/qcom/venus/helpers.c enum hfi_version ver = inst->core->res->hfi_version; ver 344 drivers/media/platform/qcom/venus/helpers.c ret = intbufs_set_buffer(inst, HFI_BUFFER_INTERNAL_SCRATCH(ver)); ver 348 drivers/media/platform/qcom/venus/helpers.c ret = intbufs_set_buffer(inst, HFI_BUFFER_INTERNAL_SCRATCH_1(ver)); ver 352 drivers/media/platform/qcom/venus/helpers.c ret = intbufs_set_buffer(inst, HFI_BUFFER_INTERNAL_SCRATCH_2(ver)); ver 371 drivers/media/platform/qcom/venus/hfi_helper.h #define HFI_BUFFER_INTERNAL_SCRATCH(ver) \ ver 372 drivers/media/platform/qcom/venus/hfi_helper.h (((ver) == HFI_VERSION_4XX) ? 0x6 : 0x1000001) ver 373 drivers/media/platform/qcom/venus/hfi_helper.h #define HFI_BUFFER_INTERNAL_SCRATCH_1(ver) \ ver 374 drivers/media/platform/qcom/venus/hfi_helper.h (((ver) == HFI_VERSION_4XX) ? 0x7 : 0x1000005) ver 375 drivers/media/platform/qcom/venus/hfi_helper.h #define HFI_BUFFER_INTERNAL_SCRATCH_2(ver) \ ver 376 drivers/media/platform/qcom/venus/hfi_helper.h (((ver) == HFI_VERSION_4XX) ? 0x8 : 0x1000006) ver 377 drivers/media/platform/qcom/venus/hfi_helper.h #define HFI_BUFFER_EXTRADATA_INPUT(ver) \ ver 378 drivers/media/platform/qcom/venus/hfi_helper.h (((ver) == HFI_VERSION_4XX) ? 0xc : 0x1000002) ver 379 drivers/media/platform/qcom/venus/hfi_helper.h #define HFI_BUFFER_EXTRADATA_OUTPUT(ver) \ ver 380 drivers/media/platform/qcom/venus/hfi_helper.h (((ver) == HFI_VERSION_4XX) ? 0xa : 0x1000003) ver 381 drivers/media/platform/qcom/venus/hfi_helper.h #define HFI_BUFFER_EXTRADATA_OUTPUT2(ver) \ ver 382 drivers/media/platform/qcom/venus/hfi_helper.h (((ver) == HFI_VERSION_4XX) ? 0xb : 0x1000004) ver 1028 drivers/media/platform/qcom/venus/hfi_helper.h #define HFI_BUFREQ_HOLD_COUNT(bufreq, ver) \ ver 1029 drivers/media/platform/qcom/venus/hfi_helper.h ((ver) == HFI_VERSION_4XX ? 0 : (bufreq)->hold_count) ver 1030 drivers/media/platform/qcom/venus/hfi_helper.h #define HFI_BUFREQ_COUNT_MIN(bufreq, ver) \ ver 1031 drivers/media/platform/qcom/venus/hfi_helper.h ((ver) == HFI_VERSION_4XX ? (bufreq)->hold_count : (bufreq)->count_min) ver 1032 drivers/media/platform/qcom/venus/hfi_helper.h #define HFI_BUFREQ_COUNT_MIN_HOST(bufreq, ver) \ ver 1033 drivers/media/platform/qcom/venus/hfi_helper.h ((ver) == HFI_VERSION_4XX ? (bufreq)->count_min : 0) ver 20 drivers/media/platform/qcom/venus/hfi_msgs.c enum hfi_version ver = core->res->hfi_version; ver 96 drivers/media/platform/qcom/venus/hfi_msgs.c event.buf_count = HFI_BUFREQ_COUNT_MIN(bufreq, ver); ver 471 drivers/media/platform/qcom/venus/hfi_venus.c u32 ver = venus_readl(hdev, WRAPPER_HW_VERSION); ver 474 drivers/media/platform/qcom/venus/hfi_venus.c major = ver & WRAPPER_HW_VERSION_MAJOR_VERSION_MASK; ver 476 drivers/media/platform/qcom/venus/hfi_venus.c minor = ver & WRAPPER_HW_VERSION_MINOR_VERSION_MASK; ver 478 drivers/media/platform/qcom/venus/hfi_venus.c step = ver & WRAPPER_HW_VERSION_STEP_VERSION_MASK; ver 697 drivers/media/platform/qcom/venus/vdec.c enum hfi_version ver = inst->core->res->hfi_version; ver 707 drivers/media/platform/qcom/venus/vdec.c *in_num = HFI_BUFREQ_COUNT_MIN(&bufreq, ver); ver 713 drivers/media/platform/qcom/venus/vdec.c *out_num = HFI_BUFREQ_COUNT_MIN(&bufreq, ver); ver 792 drivers/media/platform/qcom/venus/vdec.c enum hfi_version ver = inst->core->res->hfi_version; ver 804 drivers/media/platform/qcom/venus/vdec.c inst->num_output_bufs < HFI_BUFREQ_COUNT_MIN(&bufreq, ver)) ver 811 drivers/media/platform/qcom/venus/vdec.c if (inst->num_input_bufs < HFI_BUFREQ_COUNT_MIN(&bufreq, ver)) ver 44 drivers/media/platform/qcom/venus/vdec_ctrls.c enum hfi_version ver = inst->core->res->hfi_version; ver 70 drivers/media/platform/qcom/venus/vdec_ctrls.c ctrl->val = HFI_BUFREQ_COUNT_MIN(&bufreq, ver); ver 938 drivers/media/platform/qcom/venus/venc.c enum hfi_version ver = inst->core->res->hfi_version; ver 950 drivers/media/platform/qcom/venus/venc.c inst->num_output_bufs < HFI_BUFREQ_COUNT_MIN(&bufreq, ver)) ver 958 drivers/media/platform/qcom/venus/venc.c inst->num_input_bufs < HFI_BUFREQ_COUNT_MIN(&bufreq, ver)) ver 207 drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.c unsigned int ver; ver 276 drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.c ver = mfc_read(dev, S5P_FIMV_FW_VERSION_V6); ver 278 drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.c ver = mfc_read(dev, S5P_FIMV_FW_VERSION); ver 281 drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.c (ver >> 16) & 0xFF, (ver >> 8) & 0xFF, ver & 0xFF); ver 37 drivers/media/tuners/tda8290.c unsigned char ver; ver 137 drivers/media/tuners/tda8290.c priv->tda8290_easy_mode = (priv->ver & TDA8295) ? 0x80 : 0x01; ver 466 drivers/media/tuners/tda8290.c if (priv->ver & TDA8275A) ver 538 drivers/media/tuners/tda8290.c if (priv->ver & TDA8275A) ver 556 drivers/media/tuners/tda8290.c if (priv->ver & (TDA18271 | TDA8275 | TDA8275A)) ver 631 drivers/media/tuners/tda8290.c priv->ver |= TDA18271; ver 638 drivers/media/tuners/tda8290.c priv->ver |= TDA8275; ver 640 drivers/media/tuners/tda8290.c priv->ver |= TDA8275A; ver 751 drivers/media/tuners/tda8290.c priv->ver = TDA8290; ver 757 drivers/media/tuners/tda8290.c priv->ver = TDA8295; ver 771 drivers/media/tuners/tda8290.c switch (priv->ver) { ver 803 drivers/media/tuners/tda8290.c if (priv->ver & TDA8290) { ver 804 drivers/media/tuners/tda8290.c if (priv->ver & (TDA8275 | TDA8275A)) ver 807 drivers/media/tuners/tda8290.c } else if (priv->ver & TDA8295) ver 188 drivers/media/usb/dvb-usb-v2/mxl111sf.c u8 id, ver; ver 199 drivers/media/usb/dvb-usb-v2/mxl111sf.c ret = mxl111sf_read_reg(state, TOP_CHIP_REV_ID_REG, &ver); ver 202 drivers/media/usb/dvb-usb-v2/mxl111sf.c state->chip_ver = ver; ver 215 drivers/media/usb/dvb-usb-v2/mxl111sf.c switch (ver) { ver 233 drivers/media/usb/dvb-usb-v2/mxl111sf.c pr_info("%s detected, %s (0x%x)", mxl_chip, mxl_rev, ver); ver 83 drivers/message/fusion/mptbase.h #define show_mptmod_ver(s,ver) \ ver 84 drivers/message/fusion/mptbase.h printk(KERN_INFO "%s %s\n", s, ver); ver 115 drivers/mfd/hi655x-pmic.c regmap_read(pmic->regmap, HI655X_BUS_ADDR(HI655X_VER_REG), &pmic->ver); ver 116 drivers/mfd/hi655x-pmic.c if ((pmic->ver < PMU_VER_START) || (pmic->ver > PMU_VER_END)) { ver 117 drivers/mfd/hi655x-pmic.c dev_warn(dev, "PMU version %d unsupported\n", pmic->ver); ver 209 drivers/mfd/omap-usb-tll.c int i, nch, ver; ver 221 drivers/mfd/omap-usb-tll.c ver = usbtll_read(base, OMAP_USBTLL_REVISION); ver 222 drivers/mfd/omap-usb-tll.c switch (ver) { ver 234 drivers/mfd/omap-usb-tll.c ver, nch); ver 251 drivers/mfd/tc3589x.c int manf, ver, ret; ver 257 drivers/mfd/tc3589x.c ver = tc3589x_reg_read(tc3589x, TC3589x_VERSION); ver 258 drivers/mfd/tc3589x.c if (ver < 0) ver 259 drivers/mfd/tc3589x.c return ver; ver 266 drivers/mfd/tc3589x.c dev_info(tc3589x->dev, "manufacturer: %#x, version: %#x\n", manf, ver); ver 112 drivers/misc/mei/bus-fixup.c struct mkhi_fw_ver_block ver[MEI_MAX_FW_VER_BLOCKS]; ver 203 drivers/misc/mei/bus-fixup.c i, fwver->ver[i].platform, ver 204 drivers/misc/mei/bus-fixup.c fwver->ver[i].major, fwver->ver[i].minor, ver 205 drivers/misc/mei/bus-fixup.c fwver->ver[i].hotfix, fwver->ver[i].buildno); ver 207 drivers/misc/mei/bus-fixup.c cldev->bus->fw_ver[i].platform = fwver->ver[i].platform; ver 208 drivers/misc/mei/bus-fixup.c cldev->bus->fw_ver[i].major = fwver->ver[i].major; ver 209 drivers/misc/mei/bus-fixup.c cldev->bus->fw_ver[i].minor = fwver->ver[i].minor; ver 210 drivers/misc/mei/bus-fixup.c cldev->bus->fw_ver[i].hotfix = fwver->ver[i].hotfix; ver 211 drivers/misc/mei/bus-fixup.c cldev->bus->fw_ver[i].buildno = fwver->ver[i].buildno; ver 323 drivers/misc/mei/bus-fixup.c struct mei_nfc_if_version *ver) ver 362 drivers/misc/mei/bus-fixup.c memcpy(ver, reply->data, sizeof(struct mei_nfc_if_version)); ver 365 drivers/misc/mei/bus-fixup.c ver->fw_ivn, ver->vendor_id, ver->radio_type); ver 379 drivers/misc/mei/bus-fixup.c static const char *mei_nfc_radio_name(struct mei_nfc_if_version *ver) ver 382 drivers/misc/mei/bus-fixup.c if (ver->vendor_id == MEI_NFC_VENDOR_INSIDE) { ver 383 drivers/misc/mei/bus-fixup.c if (ver->radio_type == MEI_NFC_VENDOR_INSIDE_UREAD) ver 387 drivers/misc/mei/bus-fixup.c if (ver->vendor_id == MEI_NFC_VENDOR_NXP) { ver 388 drivers/misc/mei/bus-fixup.c if (ver->radio_type == MEI_NFC_VENDOR_NXP_PN544) ver 407 drivers/misc/mei/bus-fixup.c struct mei_nfc_if_version ver; ver 441 drivers/misc/mei/bus-fixup.c ret = mei_nfc_if_version(cl, &ver); ver 445 drivers/misc/mei/bus-fixup.c radio_name = mei_nfc_radio_name(&ver); ver 748 drivers/misc/mei/main.c struct hbm_version ver; ver 751 drivers/misc/mei/main.c ver = dev->version; ver 754 drivers/misc/mei/main.c return sprintf(buf, "%u.%u\n", ver.major_version, ver.minor_version); ver 824 drivers/misc/mei/main.c struct mei_fw_version *ver; ver 828 drivers/misc/mei/main.c ver = dev->fw_ver; ver 832 drivers/misc/mei/main.c ver[i].platform, ver[i].major, ver[i].minor, ver 833 drivers/misc/mei/main.c ver[i].hotfix, ver[i].buildno); ver 1102 drivers/mmc/host/cqhci.c u32 ver = cqhci_readl(cq_host, CQHCI_VER); ver 1104 drivers/mmc/host/cqhci.c return CQHCI_VER_MINOR1(ver) * 10 + CQHCI_VER_MINOR2(ver); ver 651 drivers/mmc/host/renesas_sdhi_core.c u16 ver; ver 784 drivers/mmc/host/renesas_sdhi_core.c ver = sd_ctrl_read16(host, CTL_VERSION); ver 786 drivers/mmc/host/renesas_sdhi_core.c if (ver < SDHI_VER_GEN2_SDR104 && mmc_data->max_blk_count > U16_MAX) ver 790 drivers/mmc/host/renesas_sdhi_core.c if (ver == SDHI_VER_GEN2_SDR50) ver 3593 drivers/mmc/host/sdhci.c void __sdhci_read_caps(struct sdhci_host *host, const u16 *ver, ver 3621 drivers/mmc/host/sdhci.c v = ver ? *ver : sdhci_readw(host, SDHCI_HOST_VERSION); ver 744 drivers/mmc/host/sdhci.h void __sdhci_read_caps(struct sdhci_host *host, const u16 *ver, ver 111 drivers/mtd/nand/onenand/omap2.c static int omap2_onenand_get_freq(int ver) ver 113 drivers/mtd/nand/onenand/omap2.c switch ((ver >> 4) & 0xf) { ver 1586 drivers/net/ethernet/amazon/ena/ena_com.c u32 ver; ver 1593 drivers/net/ethernet/amazon/ena/ena_com.c ver = ena_com_reg_bar_read32(ena_dev, ENA_REGS_VERSION_OFF); ver 1597 drivers/net/ethernet/amazon/ena/ena_com.c if (unlikely((ver == ENA_MMIO_READ_TIMEOUT) || ver 1604 drivers/net/ethernet/amazon/ena/ena_com.c (ver & ENA_REGS_VERSION_MAJOR_VERSION_MASK) >> ver 1606 drivers/net/ethernet/amazon/ena/ena_com.c ver & ENA_REGS_VERSION_MINOR_VERSION_MASK); ver 423 drivers/net/ethernet/amd/lance.c int ver = lp->chip_version; ver 425 drivers/net/ethernet/amd/lance.c r->name = chip_table[ver].name; ver 653 drivers/net/ethernet/amd/xgbe/xgbe-dev.c unsigned int i, ver; ver 660 drivers/net/ethernet/amd/xgbe/xgbe-dev.c ver = XGMAC_GET_BITS(pdata->hw_feat.version, MAC_VR, SNPSVER); ver 677 drivers/net/ethernet/amd/xgbe/xgbe-dev.c if (ver < 0x21) { ver 13 drivers/net/ethernet/apm/xgene/xgene_enet_cle.c static void xgene_cle_sband_to_hw(u8 frag, enum xgene_cle_prot_version ver, ver 19 drivers/net/ethernet/apm/xgene/xgene_enet_cle.c SET_VAL(SB_IPVER, ver) | ver 15180 drivers/net/ethernet/broadcom/tg3.c u32 nic_phy_id, ver, eeprom_phy_id; ver 15186 drivers/net/ethernet/broadcom/tg3.c tg3_read_mem(tp, NIC_SRAM_DATA_VER, &ver); ver 15187 drivers/net/ethernet/broadcom/tg3.c ver >>= NIC_SRAM_DATA_VER_SHIFT; ver 15191 drivers/net/ethernet/broadcom/tg3.c (ver > 0) && (ver < 0x100)) ver 15996 drivers/net/ethernet/broadcom/tg3.c u32 ver = 0; ver 16002 drivers/net/ethernet/broadcom/tg3.c ver = val64 & 0xff; ver 16006 drivers/net/ethernet/broadcom/tg3.c snprintf(&tp->fw_ver[vlen], TG3_VER_SIZE - vlen, " .%02d", ver); ver 839 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c cur_ver = OCT_FW_VER(oct->fw_info.ver.maj, ver 840 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c oct->fw_info.ver.min, ver 841 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c oct->fw_info.ver.rev); ver 3485 drivers/net/ethernet/cavium/liquidio/lio_main.c octeon_dev->fw_info.ver.maj = LIQUIDIO_BASE_MAJOR_VERSION; ver 3486 drivers/net/ethernet/cavium/liquidio/lio_main.c octeon_dev->fw_info.ver.min = LIQUIDIO_BASE_MINOR_VERSION; ver 3487 drivers/net/ethernet/cavium/liquidio/lio_main.c octeon_dev->fw_info.ver.rev = micro; ver 3734 drivers/net/ethernet/cavium/liquidio/lio_main.c cur_ver = OCT_FW_VER(octeon_dev->fw_info.ver.maj, ver 3735 drivers/net/ethernet/cavium/liquidio/lio_main.c octeon_dev->fw_info.ver.min, ver 3736 drivers/net/ethernet/cavium/liquidio/lio_main.c octeon_dev->fw_info.ver.rev); ver 296 drivers/net/ethernet/cavium/liquidio/octeon_device.h } ver; ver 5473 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c static int t4_get_chip_type(struct adapter *adap, int ver) ver 5477 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c switch (ver) { ver 1097 drivers/net/ethernet/chelsio/cxgb4/sge.c u16 proto, ver; ver 1104 drivers/net/ethernet/chelsio/cxgb4/sge.c ver = inner_ip_hdr(skb)->version; ver 1105 drivers/net/ethernet/chelsio/cxgb4/sge.c proto = (ver == 4) ? inner_ip_hdr(skb)->protocol : ver 1108 drivers/net/ethernet/chelsio/cxgb4/sge.c ver = ip_hdr(skb)->version; ver 1109 drivers/net/ethernet/chelsio/cxgb4/sge.c proto = (ver == 4) ? ip_hdr(skb)->protocol : ver 1113 drivers/net/ethernet/chelsio/cxgb4/sge.c if (ver == 4) { ver 9108 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c int ret, ver; ver 9124 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c ver = device_id >> 12; ver 9126 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c switch (ver) { ver 3695 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h u8 ver; ver 997 drivers/net/ethernet/emulex/benet/be_cmds.c int status, ver = 0; ver 1011 drivers/net/ethernet/emulex/benet/be_cmds.c ver = 2; ver 1013 drivers/net/ethernet/emulex/benet/be_cmds.c req->hdr.version = ver; ver 1031 drivers/net/ethernet/emulex/benet/be_cmds.c (ver == 2) ? le16_to_cpu(resp->msix_idx) : eqo->idx; ver 1364 drivers/net/ethernet/emulex/benet/be_cmds.c int status, ver = 0; ver 1387 drivers/net/ethernet/emulex/benet/be_cmds.c ver = req->hdr.version; ver 1394 drivers/net/ethernet/emulex/benet/be_cmds.c if (ver == 2) ver 2727 drivers/net/ethernet/emulex/benet/be_cmds.c static bool be_fw_ncsi_supported(char *ver) ver 2733 drivers/net/ethernet/emulex/benet/be_cmds.c if (sscanf(ver, "%d.%d.%d.%d", &v2[0], &v2[1], &v2[2], &v2[3]) != 4) ver 63 drivers/net/ethernet/hisilicon/hns/hnae.h #define AE_IS_VER1(ver) ((ver) == AE_VERSION_1) ver 1067 drivers/net/ethernet/huawei/hinic/hinic_port.c snprintf(mgmt_ver, HINIC_MGMT_VERSION_MAX_LEN, "%s", up_ver.ver); ver 28 drivers/net/ethernet/huawei/hinic/hinic_port.h u8 ver[HINIC_FW_VERSION_NAME]; ver 1774 drivers/net/ethernet/intel/fm10k/fm10k_mbx.c u16 tail, head, ver; ver 1777 drivers/net/ethernet/intel/fm10k/fm10k_mbx.c ver = FM10K_MSG_HDR_FIELD_GET(*hdr, SM_VER); ver 1780 drivers/net/ethernet/intel/fm10k/fm10k_mbx.c switch (ver) { ver 905 drivers/net/ethernet/intel/i40e/i40e.h u8 ver, patch; ver 908 drivers/net/ethernet/intel/i40e/i40e.h ver = (u8)(full_ver >> I40E_OEM_VER_SHIFT); ver 919 drivers/net/ethernet/intel/i40e/i40e.h hw->nvm.eetrack, ver, build, patch); ver 213 drivers/net/ethernet/intel/i40e/i40e_ddp.c struct i40e_ddp_version ver = pkg_hdr->version; ver 216 drivers/net/ethernet/intel/i40e/i40e_ddp.c ver.major, ver.minor, ver.update, ver.draft); ver 1570 drivers/net/ethernet/intel/ice/ice_adminq_cmd.h struct ice_pkg_ver ver; ver 750 drivers/net/ethernet/intel/ice/ice_common.c *ver_hi = (nvm->ver & ICE_NVM_VER_HI_MASK) >> ICE_NVM_VER_HI_SHIFT; ver 751 drivers/net/ethernet/intel/ice/ice_common.c *ver_lo = (nvm->ver & ICE_NVM_VER_LO_MASK) >> ICE_NVM_VER_LO_SHIFT; ver 503 drivers/net/ethernet/intel/ice/ice_flex_pipe.c hw->active_pkg_ver = pkg_info->pkg_info[i].ver; ver 517 drivers/net/ethernet/intel/ice/ice_flex_pipe.c i, pkg_info->pkg_info[i].ver.major, ver 518 drivers/net/ethernet/intel/ice/ice_flex_pipe.c pkg_info->pkg_info[i].ver.minor, ver 519 drivers/net/ethernet/intel/ice/ice_flex_pipe.c pkg_info->pkg_info[i].ver.update, ver 520 drivers/net/ethernet/intel/ice/ice_flex_pipe.c pkg_info->pkg_info[i].ver.draft, ver 272 drivers/net/ethernet/intel/ice/ice_nvm.c status = ice_read_sr_word(hw, ICE_SR_NVM_DEV_STARTER_VER, &hw->nvm.ver); ver 231 drivers/net/ethernet/intel/ice/ice_type.h u16 ver; /* NVM package version */ ver 89 drivers/net/ethernet/intel/ixgbe/ixgbe_common.h u8 build, u8 ver, u16 len, const char *str); ver 220 drivers/net/ethernet/marvell/octeontx2/af/mbox.c msghdr->ver = OTX2_MBOX_VERSION; ver 89 drivers/net/ethernet/marvell/octeontx2/af/mbox.h u16 ver; /* Version of msg's structure for this ID */ ver 107 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_geneve.c geneveh->ver = MLX5E_GENEVE_VER; ver 174 drivers/net/ethernet/mellanox/mlxsw/core.c MLXSW_ITEM32(emad, eth_hdr, ver, 0x0C, 4, 4); ver 459 drivers/net/ethernet/netronome/nfp/bpf/offload.c if (cbe->hdr.ver != NFP_CCM_ABI_VERSION) ver 144 drivers/net/ethernet/netronome/nfp/ccm.c hdr->ver = NFP_CCM_ABI_VERSION; ver 41 drivers/net/ethernet/netronome/nfp/ccm.h u8 ver; ver 530 drivers/net/ethernet/netronome/nfp/ccm_mbox.c hdr->ver = NFP_CCM_ABI_VERSION; ver 132 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c } ver; ver 246 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c state->ver.major = FIELD_GET(NSP_STATUS_MAJOR, reg); ver 247 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c state->ver.minor = FIELD_GET(NSP_STATUS_MINOR, reg); ver 249 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c if (state->ver.major != NSP_MAJOR) { ver 251 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c state->ver.major, state->ver.minor); ver 254 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c if (state->ver.minor < NSP_MINOR) { ver 256 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c NSP_MAJOR, state->ver.minor, NSP_MAJOR, NSP_MINOR); ver 311 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c return state->ver.major; ver 316 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c return state->ver.minor; ver 664 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c if (nsp->ver.minor < 13) { ver 666 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c arg->arg.code, nsp->ver.major, nsp->ver.minor); ver 110 drivers/net/ethernet/pensando/ionic/ionic_dev.c void ionic_dev_cmd_identify(struct ionic_dev *idev, u8 ver) ver 114 drivers/net/ethernet/pensando/ionic/ionic_dev.c .identify.ver = ver, ver 232 drivers/net/ethernet/pensando/ionic/ionic_dev.c void ionic_dev_cmd_lif_identify(struct ionic_dev *idev, u8 type, u8 ver) ver 237 drivers/net/ethernet/pensando/ionic/ionic_dev.c .lif_identify.ver = ver, ver 254 drivers/net/ethernet/pensando/ionic/ionic_dev.h void ionic_dev_cmd_identify(struct ionic_dev *idev, u8 ver); ver 267 drivers/net/ethernet/pensando/ionic/ionic_dev.h void ionic_dev_cmd_lif_identify(struct ionic_dev *idev, u8 type, u8 ver); ver 201 drivers/net/ethernet/pensando/ionic/ionic_if.h u8 ver; ver 212 drivers/net/ethernet/pensando/ionic/ionic_if.h u8 ver; ver 295 drivers/net/ethernet/pensando/ionic/ionic_if.h u8 ver; ver 306 drivers/net/ethernet/pensando/ionic/ionic_if.h u8 ver; ver 507 drivers/net/ethernet/pensando/ionic/ionic_if.h u8 ver; ver 539 drivers/net/ethernet/pensando/ionic/ionic_if.h u8 ver; ver 1105 drivers/net/ethernet/pensando/ionic/ionic_if.h u8 ver; ver 1116 drivers/net/ethernet/pensando/ionic/ionic_if.h u8 ver; ver 1593 drivers/net/ethernet/pensando/ionic/ionic_if.h u8 ver; ver 1604 drivers/net/ethernet/pensando/ionic/ionic_if.h u8 ver; ver 2008 drivers/net/ethernet/qlogic/qed/qed_debug.c "%d_%d_%d_%d", fw_info.ver.num.major, ver 2009 drivers/net/ethernet/qlogic/qed/qed_debug.c fw_info.ver.num.minor, fw_info.ver.num.rev, ver 2010 drivers/net/ethernet/qlogic/qed/qed_debug.c fw_info.ver.num.eng) < 0) ver 2013 drivers/net/ethernet/qlogic/qed/qed_debug.c switch (fw_info.ver.image_id) { ver 2030 drivers/net/ethernet/qlogic/qed/qed_debug.c "fw-timestamp", fw_info.ver.timestamp); ver 2706 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct fw_ver_info ver; ver 264 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h u16 ver; ver 699 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c u32 ver = -1, min_ver; ver 712 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c (int *)&ver); ver 715 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c (int *)&ver); ver 717 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c ver = QLCNIC_DECODE_VERSION(ver); ver 720 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c if (ver < min_ver) { ver 724 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c _major(ver), _minor(ver), _build(ver), ver 1208 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c u32 ver, bios, min_size; ver 1230 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c ver = QLCNIC_DECODE_VERSION(val); ver 1232 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c if (ver < QLCNIC_MIN_FW_VERSION) { ver 1235 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c fw_name[fw_type], _major(ver), _minor(ver), _build(ver)); ver 102 drivers/net/ethernet/synopsys/dwc-xlgmac-ethtool.c u32 ver = pdata->hw_feat.version; ver 113 drivers/net/ethernet/synopsys/dwc-xlgmac-ethtool.c snpsver = XLGMAC_GET_REG_BITS(ver, MAC_VR_SNPSVER_POS, ver 115 drivers/net/ethernet/synopsys/dwc-xlgmac-ethtool.c devid = XLGMAC_GET_REG_BITS(ver, MAC_VR_DEVID_POS, ver 117 drivers/net/ethernet/synopsys/dwc-xlgmac-ethtool.c userver = XLGMAC_GET_REG_BITS(ver, MAC_VR_USERVER_POS, ver 134 drivers/net/ethernet/ti/davinci_mdio.c u32 phy_mask, ver; ver 147 drivers/net/ethernet/ti/davinci_mdio.c ver = readl(&data->regs->version); ver 150 drivers/net/ethernet/ti/davinci_mdio.c (ver >> 8) & 0xff, ver & 0xff, ver 356 drivers/net/geneve.c if (unlikely(geneveh->ver != GENEVE_VER)) ver 399 drivers/net/geneve.c if (geneveh->ver != GENEVE_VER) ver 494 drivers/net/geneve.c if (gh->ver != GENEVE_VER || gh->oam) ver 727 drivers/net/geneve.c geneveh->ver = GENEVE_VER; ver 1187 drivers/net/hyperv/hyperv_net.h u8 ver; ver 544 drivers/net/phy/dp83640.c u16 cfg0 = 0, ver; ver 549 drivers/net/phy/dp83640.c ver = (PSF_PTPVER & VERSIONPTP_MASK) << VERSIONPTP_SHIFT; ver 554 drivers/net/phy/dp83640.c ext_write(0, phydev, PAGE6, PSF_CFG1, ver); ver 857 drivers/net/ppp/pppoe.c hdr.ver = 1; ver 945 drivers/net/ppp/pppoe.c ph->ver = 1; ver 3262 drivers/net/vmxnet3/vmxnet3_drv.c u32 ver; ver 3387 drivers/net/vmxnet3/vmxnet3_drv.c ver = VMXNET3_READ_BAR1_REG(adapter, VMXNET3_REG_VRRS); ver 3388 drivers/net/vmxnet3/vmxnet3_drv.c if (ver & (1 << VMXNET3_REV_3)) { ver 3393 drivers/net/vmxnet3/vmxnet3_drv.c } else if (ver & (1 << VMXNET3_REV_2)) { ver 3398 drivers/net/vmxnet3/vmxnet3_drv.c } else if (ver & (1 << VMXNET3_REV_1)) { ver 3405 drivers/net/vmxnet3/vmxnet3_drv.c "Incompatible h/w version (0x%x) for adapter\n", ver); ver 3411 drivers/net/vmxnet3/vmxnet3_drv.c ver = VMXNET3_READ_BAR1_REG(adapter, VMXNET3_REG_UVRS); ver 3412 drivers/net/vmxnet3/vmxnet3_drv.c if (ver & 1) { ver 3416 drivers/net/vmxnet3/vmxnet3_drv.c "Incompatible upt version (0x%x) for adapter\n", ver); ver 228 drivers/net/wireless/ath/ath10k/testmode.c const char *ver; ver 295 drivers/net/wireless/ath/ath10k/testmode.c ver = ar->testmode.utf_mode_fw.fw_file.fw_version; ver 297 drivers/net/wireless/ath/ath10k/testmode.c ver = "API 1"; ver 299 drivers/net/wireless/ath/ath10k/testmode.c ath10k_info(ar, "UTF firmware %s started\n", ver); ver 912 drivers/net/wireless/ath/wil6210/main.c u32 tmp, ver; ver 932 drivers/net/wireless/ath/wil6210/main.c ver = BL_SHUTDOWN_HS_PROT_VER(tmp); ver 934 drivers/net/wireless/ath/wil6210/main.c if (ver > 0) ver 639 drivers/net/wireless/broadcom/b43/b43.h u8 ver; ver 2271 drivers/net/wireless/broadcom/b43/main.c if (hdr->ver != 1) ver 367 drivers/net/wireless/broadcom/b43legacy/b43legacy.h u8 ver; ver 1542 drivers/net/wireless/broadcom/b43legacy/main.c if (hdr->ver != 1) ver 2640 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_dbg(TRACE, "version %d\n", le16_to_cpu(sta_info_le.ver)); ver 2674 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (le16_to_cpu(sta_info_le.ver) >= 4) { ver 535 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h __le16 ver; /* version of this struct */ ver 410 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c u32 ver; ver 412 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c ver = read_radio_id(pi); ver 414 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c return ver; ver 8427 drivers/net/wireless/intel/ipw2x00/ipw2100.c char ver[MAX_FW_VERSION_LEN]; ver 8432 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (ipw2100_get_ordinal(priv, IPW_ORD_STAT_FW_VER_NUM, ver, &len)) ver 8438 drivers/net/wireless/intel/ipw2x00/ipw2100.c buf[i] = ver[i]; ver 8446 drivers/net/wireless/intel/ipw2x00/ipw2100.c u32 ver; ver 8447 drivers/net/wireless/intel/ipw2x00/ipw2100.c u32 len = sizeof(ver); ver 8449 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (ipw2100_get_ordinal(priv, IPW_ORD_UCODE_VERSION, &ver, &len)) ver 8451 drivers/net/wireless/intel/ipw2x00/ipw2100.c return snprintf(buf, max, "%08X", ver); ver 3385 drivers/net/wireless/intel/ipw2x00/ipw2200.c __le32 ver; ver 3421 drivers/net/wireless/intel/ipw2x00/ipw2200.c le32_to_cpu(fw->ver) >> 16, ver 3422 drivers/net/wireless/intel/ipw2x00/ipw2200.c le32_to_cpu(fw->ver) & 0xff, ver 1872 drivers/net/wireless/intel/iwlegacy/3945-mac.c il->ucode_ver = le32_to_cpu(ucode->ver); ver 4713 drivers/net/wireless/intel/iwlegacy/4965-mac.c il->ucode_ver = le32_to_cpu(ucode->ver); ver 72 drivers/net/wireless/intel/iwlegacy/commands.h #define IL_UCODE_MAJOR(ver) (((ver) & 0xFF000000) >> 24) ver 73 drivers/net/wireless/intel/iwlegacy/commands.h #define IL_UCODE_MINOR(ver) (((ver) & 0x00FF0000) >> 16) ver 74 drivers/net/wireless/intel/iwlegacy/commands.h #define IL_UCODE_API(ver) (((ver) & 0x0000FF00) >> 8) ver 75 drivers/net/wireless/intel/iwlegacy/commands.h #define IL_UCODE_SERIAL(ver) ((ver) & 0x000000FF) ver 736 drivers/net/wireless/intel/iwlegacy/common.h __le32 ver; /* major/minor/API/serial */ ver 74 drivers/net/wireless/intel/iwlwifi/fw/file.h __le32 ver; /* major/minor/API/serial */ ver 186 drivers/net/wireless/intel/iwlwifi/fw/file.h __le32 ver; ver 502 drivers/net/wireless/intel/iwlwifi/fw/file.h #define IWL_UCODE_MAJOR(ver) (((ver) & 0xFF000000) >> 24) ver 503 drivers/net/wireless/intel/iwlwifi/fw/file.h #define IWL_UCODE_MINOR(ver) (((ver) & 0x00FF0000) >> 16) ver 504 drivers/net/wireless/intel/iwlwifi/fw/file.h #define IWL_UCODE_API(ver) (((ver) & 0x0000FF00) >> 8) ver 505 drivers/net/wireless/intel/iwlwifi/fw/file.h #define IWL_UCODE_SERIAL(ver) ((ver) & 0x000000FF) ver 112 drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c u32 ver = le32_to_cpu(hdr->tlv_version); ver 114 drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c if (ver < dbg_ver_table[tlv_idx].min_ver || ver 115 drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c ver > dbg_ver_table[tlv_idx].max_ver) ver 505 drivers/net/wireless/intel/iwlwifi/iwl-drv.c drv->fw.ucode_ver = le32_to_cpu(ucode->ver); ver 627 drivers/net/wireless/intel/iwlwifi/iwl-drv.c drv->fw.ucode_ver = le32_to_cpu(ucode->ver); ver 1360 drivers/net/wireless/intel/iwlwifi/iwl-drv.c if (ucode->ver) ver 1089 drivers/net/wireless/marvell/mwifiex/sta_ioctl.c } ver; ver 1092 drivers/net/wireless/marvell/mwifiex/sta_ioctl.c ver.l = cpu_to_le32(adapter->fw_release_number); ver 1093 drivers/net/wireless/marvell/mwifiex/sta_ioctl.c sprintf(fw_ver, "%u.%u.%u.p%u", ver.c[2], ver.c[1], ver.c[0], ver.c[3]); ver 155 drivers/net/wireless/mediatek/mt76/mt76x02_mcu.c u16 ver = le16_to_cpu(h->fw_ver); ver 160 drivers/net/wireless/mediatek/mt76/mt76x02_mcu.c (ver >> 12) & 0xf, (ver >> 8) & 0xf, ver & 0xf, bld); ver 921 drivers/net/wireless/rsi/rsi_91x_hal.c common->lmac_ver.ver.info.fw_ver[0] = ver 923 drivers/net/wireless/rsi/rsi_91x_hal.c common->lmac_ver.ver.info.fw_ver[1] = ver 1050 drivers/net/wireless/rsi/rsi_91x_hal.c common->lmac_ver.ver.info.fw_ver[0] = ver 130 drivers/net/wireless/rsi/rsi_main.h } ver; ver 1532 drivers/net/wireless/ti/wl12xx/main.c static int wl12xx_get_pg_ver(struct wl1271 *wl, s8 *ver) ver 1544 drivers/net/wireless/ti/wl12xx/main.c if (ret >= 0 && ver) ver 1545 drivers/net/wireless/ti/wl12xx/main.c *ver = (s8)((die_info & PG_VER_MASK) >> PG_VER_OFFSET); ver 1342 drivers/net/wireless/ti/wl18xx/main.c static int wl18xx_get_pg_ver(struct wl1271 *wl, s8 *ver) ver 1381 drivers/net/wireless/ti/wl18xx/main.c if (ver) ver 1382 drivers/net/wireless/ti/wl18xx/main.c *ver = pg_ver; ver 700 drivers/net/wireless/ti/wlcore/cmd.h __le32 ver; ver 69 drivers/net/wireless/ti/wlcore/wlcore.h int (*get_pg_ver)(struct wl1271 *wl, s8 *ver); ver 30 drivers/nfc/pn533/pn533.c u8 ver; ver 2389 drivers/nfc/pn533/pn533.c fv->ver = resp->data[1]; ver 2573 drivers/nfc/pn533/pn533.c fw_ver.ic, fw_ver.ver, fw_ver.rev); ver 252 drivers/ntb/ntb_transport.c unsigned int ver; ver 1626 drivers/ntb/ntb_transport.c qp->qp_num, hdr->ver, hdr->len, hdr->flags); ver 1641 drivers/ntb/ntb_transport.c if (hdr->ver != (u32)qp->rx_pkts) { ver 1644 drivers/ntb/ntb_transport.c qp->rx_pkts, hdr->ver); ver 1672 drivers/ntb/ntb_transport.c qp->rx_index, hdr->ver, hdr->len, entry->len); ver 1874 drivers/ntb/ntb_transport.c iowrite32((u32)qp->tx_pkts, &hdr->ver); ver 322 drivers/nvme/target/admin-cmd.c id->ver = cpu_to_le32(ctrl->subsys->ver); ver 813 drivers/nvme/target/configfs.c if (NVME_TERTIARY(subsys->ver)) ver 815 drivers/nvme/target/configfs.c (int)NVME_MAJOR(subsys->ver), ver 816 drivers/nvme/target/configfs.c (int)NVME_MINOR(subsys->ver), ver 817 drivers/nvme/target/configfs.c (int)NVME_TERTIARY(subsys->ver)); ver 820 drivers/nvme/target/configfs.c (int)NVME_MAJOR(subsys->ver), ver 821 drivers/nvme/target/configfs.c (int)NVME_MINOR(subsys->ver)); ver 837 drivers/nvme/target/configfs.c subsys->ver = NVME_VS(major, minor, tertiary); ver 1400 drivers/nvme/target/core.c subsys->ver = NVME_VS(1, 3, 0); /* NVMe 1.3.0 */ ver 248 drivers/nvme/target/discovery.c id->ver = cpu_to_le32(ctrl->subsys->ver); ver 53 drivers/nvme/target/fabrics-cmd.c val = ctrl->subsys->ver; ver 222 drivers/nvme/target/nvmet.h u64 ver; ver 55 drivers/nvmem/imx-ocotp-scu.c hdr->ver = IMX_SC_RPC_VERSION; ver 186 drivers/parisc/iosapic.c #define IOSAPIC_VERSION(ver) ((int) (ver & IOSAPIC_VERSION_MASK)) ver 190 drivers/parisc/iosapic.c #define IOSAPIC_IRDT_MAX_ENTRY(ver) \ ver 191 drivers/parisc/iosapic.c (int) (((ver) & IOSAPIC_MAX_ENTRY_MASK) >> IOSAPIC_MAX_ENTRY_SHIFT) ver 277 drivers/pci/switch/switchtec.c u32 ver; ver 279 drivers/pci/switch/switchtec.c ver = ioread32(&stdev->mmio_sys_info->device_version); ver 281 drivers/pci/switch/switchtec.c return sprintf(buf, "%x\n", ver); ver 289 drivers/pci/switch/switchtec.c u32 ver; ver 291 drivers/pci/switch/switchtec.c ver = ioread32(&stdev->mmio_sys_info->firmware_version); ver 293 drivers/pci/switch/switchtec.c return sprintf(buf, "%08x\n", ver); ver 31 drivers/pcmcia/pxa2xx_balloon3.c uint16_t ver; ver 33 drivers/pcmcia/pxa2xx_balloon3.c ver = __raw_readw(BALLOON3_FPGA_VER); ver 34 drivers/pcmcia/pxa2xx_balloon3.c if (ver < 0x4f08) ver 37 drivers/pcmcia/pxa2xx_balloon3.c ver); ver 53 drivers/pinctrl/freescale/pinctrl-scu.c hdr->ver = IMX_SC_RPC_VERSION; ver 89 drivers/pinctrl/freescale/pinctrl-scu.c hdr->ver = IMX_SC_RPC_VERSION; ver 451 drivers/power/supply/da9150-fg.c int ver, irq, ret = 0; ver 473 drivers/power/supply/da9150-fg.c ver = da9150_fg_read_attr(fg, DA9150_QIF_FW_MAIN_VER, ver 475 drivers/power/supply/da9150-fg.c dev_info(dev, "Version: 0x%x\n", ver); ver 238 drivers/remoteproc/remoteproc_elf_loader.c if (table->ver != 1) { ver 239 drivers/remoteproc/remoteproc_elf_loader.c dev_err(dev, "unsupported fw ver: %d\n", table->ver); ver 48 drivers/rtc/rtc-imx-sc.c hdr->ver = IMX_SC_RPC_VERSION; ver 100 drivers/rtc/rtc-imx-sc.c hdr->ver = IMX_SC_RPC_VERSION; ver 827 drivers/rtc/rtc-stm32.c u32 ver = readl_relaxed(rtc->base + regs->verr); ver 830 drivers/rtc/rtc-stm32.c (ver >> STM32_RTC_VERR_MAJREV_SHIFT) & 0xF, ver 831 drivers/rtc/rtc-stm32.c (ver >> STM32_RTC_VERR_MINREV_SHIFT) & 0xF); ver 35 drivers/s390/block/dasd_ioctl.c int ver = DASD_API_VERSION; ver 36 drivers/s390/block/dasd_ioctl.c return put_user(ver, (int __user *)argp); ver 1039 drivers/scsi/bfa/bfa_fc.h u32 ver:2; ver 999 drivers/scsi/esas2r/esas2r_init.c u32 ver = (doorbell & DRBL_FW_VER_MSK); ver 1008 drivers/scsi/esas2r/esas2r_init.c if (ver == DRBL_FW_VER_0) { ver 1013 drivers/scsi/esas2r/esas2r_init.c } else if (ver == DRBL_FW_VER_1) { ver 685 drivers/scsi/esas2r/esas2r_io.c u32 ver = (doorbell & DRBL_FW_VER_MSK); ver 690 drivers/scsi/esas2r/esas2r_io.c if (ver == DRBL_FW_VER_0) { ver 696 drivers/scsi/esas2r/esas2r_io.c } else if (ver == DRBL_FW_VER_1) { ver 3900 drivers/scsi/gdth.c int ver = (GDTH_VERSION<<8) | GDTH_SUBVERSION; ver 3901 drivers/scsi/gdth.c if (put_user(ver, (int __user *)argp)) ver 3068 drivers/scsi/lpfc/lpfc_hw.h uint32_t ver:4; /* Major Version */ ver 3078 drivers/scsi/lpfc/lpfc_hw.h uint32_t ver:4; /* Major Version */ ver 329 drivers/scsi/lpfc/lpfc_init.c prg->ver, prg->rev, prg->lev); ver 332 drivers/scsi/lpfc/lpfc_init.c prg->ver, prg->rev, prg->lev, ver 110 drivers/scsi/snic/snic_ctl.c u32 ver = 0; ver 130 drivers/scsi/snic/snic_ctl.c ver = snic_ver_enc(SNIC_DRV_VERSION); ver 131 drivers/scsi/snic/snic_ctl.c req->u.exch_ver.drvr_ver = cpu_to_le32(ver); ver 671 drivers/scsi/stex.c struct st_drvver ver; ver 672 drivers/scsi/stex.c size_t cp_len = sizeof(ver); ver 674 drivers/scsi/stex.c ver.major = ST_VER_MAJOR; ver 675 drivers/scsi/stex.c ver.minor = ST_VER_MINOR; ver 676 drivers/scsi/stex.c ver.oem = ST_OEM; ver 677 drivers/scsi/stex.c ver.build = ST_BUILD_VER; ver 678 drivers/scsi/stex.c ver.signature[0] = PASSTHRU_SIGNATURE; ver 679 drivers/scsi/stex.c ver.console_id = host->max_id - 1; ver 680 drivers/scsi/stex.c ver.host_no = hba->host->host_no; ver 681 drivers/scsi/stex.c cp_len = scsi_sg_copy_from_buffer(cmd, &ver, cp_len); ver 682 drivers/scsi/stex.c cmd->result = sizeof(ver) == cp_len ? ver 145 drivers/scsi/ufs/ufs-qcom.h u32 ver = ufshcd_readl(hba, REG_UFS_HW_VERSION); ver 147 drivers/scsi/ufs/ufs-qcom.h *major = (ver & UFS_HW_VER_MAJOR_MASK) >> UFS_HW_VER_MAJOR_SHFT; ver 148 drivers/scsi/ufs/ufs-qcom.h *minor = (ver & UFS_HW_VER_MINOR_MASK) >> UFS_HW_VER_MINOR_SHFT; ver 149 drivers/scsi/ufs/ufs-qcom.h *step = (ver & UFS_HW_VER_STEP_MASK) >> UFS_HW_VER_STEP_SHFT; ver 497 drivers/slimbus/qcom-ctrl.c int ret, ver; ver 599 drivers/slimbus/qcom-ctrl.c ver = readl_relaxed(ctrl->base); ver 601 drivers/slimbus/qcom-ctrl.c ver >>= 16; ver 603 drivers/slimbus/qcom-ctrl.c writel(1, ctrl->base + CFG_PORT(COMP_CFG, ver)); ver 605 drivers/slimbus/qcom-ctrl.c ctrl->base + CFG_PORT(COMP_TRUST_CFG, ver)); ver 617 drivers/slimbus/qcom-ctrl.c writel(1, ctrl->base + CFG_PORT(COMP_CFG, ver)); ver 625 drivers/slimbus/qcom-ctrl.c dev_dbg(ctrl->dev, "QCOM SB controller is up:ver:0x%x!\n", ver); ver 167 drivers/slimbus/qcom-ngd-ctrl.c u32 ver; ver 1101 drivers/slimbus/qcom-ngd-ctrl.c ctrl->ver = readl_relaxed(ctrl->base); ver 1103 drivers/slimbus/qcom-ngd-ctrl.c ctrl->ver >>= 16; ver 44 drivers/soc/imx/soc-imx-scu.c hdr->ver = IMX_SC_RPC_VERSION; ver 70 drivers/soc/imx/soc-imx-scu.c hdr->ver = IMX_SC_RPC_VERSION; ver 104 drivers/soc/qcom/apr.c uint16_t hdr_size, msg_type, ver, svc_id; ver 114 drivers/soc/qcom/apr.c ver = APR_HDR_FIELD_VER(hdr->hdr_field); ver 115 drivers/soc/qcom/apr.c if (ver > APR_PKT_VER + 1) ver 22 drivers/soc/qcom/socinfo.c #define SOCINFO_MAJOR(ver) (((ver) >> 16) & 0xffff) ver 23 drivers/soc/qcom/socinfo.c #define SOCINFO_MINOR(ver) ((ver) & 0xffff) ver 92 drivers/soc/qcom/socinfo.c __le32 ver; ver 432 drivers/soc/qcom/socinfo.c SOCINFO_MAJOR(le32_to_cpu(info->ver)), ver 433 drivers/soc/qcom/socinfo.c SOCINFO_MINOR(le32_to_cpu(info->ver))); ver 116 drivers/soc/ti/wkup_m3_ipc.c int ver = 0; ver 122 drivers/soc/ti/wkup_m3_ipc.c ver = wkup_m3_fw_version_read(m3_ipc); ver 124 drivers/soc/ti/wkup_m3_ipc.c if (ver == M3_VERSION_UNKNOWN || ver 125 drivers/soc/ti/wkup_m3_ipc.c ver < M3_BASELINE_VERSION) { ver 127 drivers/soc/ti/wkup_m3_ipc.c ver); ver 129 drivers/soc/ti/wkup_m3_ipc.c dev_info(dev, "CM3 Firmware Version = 0x%x\n", ver); ver 268 drivers/spi/spi-geni-qcom.c unsigned int proto, major, minor, ver; ver 290 drivers/spi/spi-geni-qcom.c ver = geni_se_get_qup_hw_version(se); ver 291 drivers/spi/spi-geni-qcom.c major = GENI_SE_VERSION_MAJOR(ver); ver 292 drivers/spi/spi-geni-qcom.c minor = GENI_SE_VERSION_MINOR(ver); ver 2415 drivers/staging/fwserial/fwserial.c #define FW_UNIT_VERSION(ver) ((CSR_VERSION << 24) | (ver)) ver 1160 drivers/staging/media/ipu3/ipu3-abi.h struct imgu_abi_bds_ver ver __aligned(32); ver 2309 drivers/staging/media/ipu3/ipu3-css-params.c acc->bds.ver.ver_ctrl0.min_clip_val = IMGU_BDS_MIN_CLIP_VAL; ver 2310 drivers/staging/media/ipu3/ipu3-css-params.c acc->bds.ver.ver_ctrl0.max_clip_val = IMGU_BDS_MAX_CLIP_VAL; ver 2311 drivers/staging/media/ipu3/ipu3-css-params.c acc->bds.ver.ver_ctrl0.sample_patrn_length = ver 2313 drivers/staging/media/ipu3/ipu3-css-params.c acc->bds.ver.ver_ctrl0.ver_ds_en = cfg_bds->ver_ds_en; ver 2314 drivers/staging/media/ipu3/ipu3-css-params.c acc->bds.ver.ver_ptrn_arr = cfg_bds->ptrn_arr; ver 2315 drivers/staging/media/ipu3/ipu3-css-params.c acc->bds.ver.ver_phase_arr = cfg_bds->ver_phase_arr; ver 2316 drivers/staging/media/ipu3/ipu3-css-params.c acc->bds.ver.ver_ctrl1.out_frame_width = ver 2318 drivers/staging/media/ipu3/ipu3-css-params.c acc->bds.ver.ver_ctrl1.out_frame_height = ver 60 drivers/staging/olpc_dcon/olpc_dcon.c u16 ver; ver 63 drivers/staging/olpc_dcon/olpc_dcon.c ver = dcon_read(dcon, DCON_REG_ID); ver 64 drivers/staging/olpc_dcon/olpc_dcon.c if ((ver >> 8) != 0xDC) { ver 65 drivers/staging/olpc_dcon/olpc_dcon.c pr_err("DCON ID not 0xDCxx: 0x%04x instead.\n", ver); ver 71 drivers/staging/olpc_dcon/olpc_dcon.c pr_info("Discovered DCON version %x\n", ver & 0xFF); ver 79 drivers/staging/olpc_dcon/olpc_dcon.c if (ver < 0xdc02) { ver 992 drivers/staging/qlge/qlge.h __le16 ver; ver 1007 drivers/staging/qlge/qlge.h __le16 ver; ver 1158 drivers/staging/rtl8188eu/core/rtw_recv.c u8 ver = (unsigned char)(*ptr) & 0x3; ver 1169 drivers/staging/rtl8188eu/core/rtw_recv.c if (ver != 0) { ver 556 drivers/staging/rtl8712/rtl871x_recv.c u8 ver = (unsigned char)(*ptr) & 0x3; ver 559 drivers/staging/rtl8712/rtl871x_recv.c if (ver != 0) ver 1511 drivers/staging/rtl8723bs/core/rtw_recv.c u8 ver = (unsigned char) (*ptr)&0x3; ver 1514 drivers/staging/rtl8723bs/core/rtw_recv.c if (ver != 0) { ver 26 drivers/tee/optee/device.c static int optee_ctx_match(struct tee_ioctl_version_data *ver, const void *data) ver 28 drivers/tee/optee/device.c if (ver->impl_id == TEE_IMPL_ID_OPTEE) ver 963 drivers/tty/serial/qcom_geni_serial.c u32 ver, sampling_rate; ver 972 drivers/tty/serial/qcom_geni_serial.c ver = geni_se_get_qup_hw_version(&port->se); ver 973 drivers/tty/serial/qcom_geni_serial.c if (GENI_SE_VERSION_MAJOR(ver) >= 2 && GENI_SE_VERSION_MINOR(ver) >= 5) ver 28 drivers/tty/synclinkmp.c #define VERSION(ver,rel,seq) (((ver)<<16) | ((rel)<<8) | (seq)) ver 678 drivers/usb/atm/ueagle-atm.c static int uea_load_firmware(struct usb_device *usb, unsigned int ver) ver 686 drivers/usb/atm/ueagle-atm.c switch (ver) { ver 1554 drivers/usb/atm/ueagle-atm.c static void cmvs_file_name(struct uea_softc *sc, char *const cmv_name, int ver) ver 1576 drivers/usb/atm/ueagle-atm.c if (ver == 2) ver 1615 drivers/usb/atm/ueagle-atm.c void **cmvs, const struct firmware **fw, int *ver) ver 1626 drivers/usb/atm/ueagle-atm.c if (*ver == 1) { ver 1641 drivers/usb/atm/ueagle-atm.c if (*ver == 1) { ver 1650 drivers/usb/atm/ueagle-atm.c *ver = 2; ver 1680 drivers/usb/atm/ueagle-atm.c int ver = 1; /* we can handle v1 cmv firmware version; */ ver 1695 drivers/usb/atm/ueagle-atm.c ret = len = request_cmvs(sc, &cmvs_ptr, &cmvs_fw, &ver); ver 1700 drivers/usb/atm/ueagle-atm.c if (ver == 1) { ver 1714 drivers/usb/atm/ueagle-atm.c } else if (ver == 2) { ver 1727 drivers/usb/atm/ueagle-atm.c uea_err(INS_TO_USBDEV(sc), "bad cmvs version %d\n", ver); ver 1746 drivers/usb/atm/ueagle-atm.c int ver = 2; /* we can only handle v2 cmv firmware version; */ ver 1763 drivers/usb/atm/ueagle-atm.c ret = len = request_cmvs(sc, &cmvs_ptr, &cmvs_fw, &ver); ver 1768 drivers/usb/atm/ueagle-atm.c if (ver == 2) { ver 1782 drivers/usb/atm/ueagle-atm.c uea_err(INS_TO_USBDEV(sc), "bad cmvs version %d\n", ver); ver 144 drivers/usb/chipidea/core.c int ver = hw_read_id_reg(ci, ID_ID, VERSION) >> __ffs(VERSION); ver 147 drivers/usb/chipidea/core.c if (ver == 0x2) { ver 151 drivers/usb/chipidea/core.c } else if (ver == 0x0) { ver 127 drivers/usb/host/fsl-mph-dr-of.c enum fsl_usb2_controller_ver ver = FSL_USB_VER_NONE; ver 138 drivers/usb/host/fsl-mph-dr-of.c ver = FSL_USB_VER_1_6; ver 140 drivers/usb/host/fsl-mph-dr-of.c ver = FSL_USB_VER_2_2; ver 142 drivers/usb/host/fsl-mph-dr-of.c ver = FSL_USB_VER_2_4; ver 144 drivers/usb/host/fsl-mph-dr-of.c ver = FSL_USB_VER_2_5; ver 146 drivers/usb/host/fsl-mph-dr-of.c ver = FSL_USB_VER_OLD; ver 148 drivers/usb/host/fsl-mph-dr-of.c if (ver > FSL_USB_VER_NONE) ver 149 drivers/usb/host/fsl-mph-dr-of.c return ver; ver 157 drivers/usb/host/fsl-mph-dr-of.c ver = FSL_USB_VER_1_6; ver 159 drivers/usb/host/fsl-mph-dr-of.c ver = FSL_USB_VER_2_2; ver 161 drivers/usb/host/fsl-mph-dr-of.c ver = FSL_USB_VER_2_4; ver 163 drivers/usb/host/fsl-mph-dr-of.c ver = FSL_USB_VER_2_5; ver 165 drivers/usb/host/fsl-mph-dr-of.c ver = FSL_USB_VER_OLD; ver 168 drivers/usb/host/fsl-mph-dr-of.c return ver; ver 111 drivers/usb/typec/ucsi/ucsi_ccg.c u8 ver; ver 413 drivers/usb/typec/ucsi/ucsi_ccg.c uc->fw_version = CCG_VERSION(uc->version[FW2].app.ver) | ver 765 drivers/usb/typec/ucsi/ucsi_ccg.c CCG_VERSION(app->ver); ver 769 drivers/usb/typec/ucsi/ucsi_ccg.c CCG_VERSION(fw_cfg.app.ver); ver 495 drivers/video/fbdev/core/fbmon.c int ver, int rev, const struct fb_monspecs *specs) ver 522 drivers/video/fbdev/core/fbmon.c if (ver < 1 || (ver == 1 && rev < 3)) ver 554 drivers/video/fbdev/core/fbmon.c int ver, int rev, const struct fb_monspecs *specs) ver 559 drivers/video/fbdev/core/fbmon.c num += get_std_timing(block, &mode[num], ver, rev, specs); ver 621 drivers/video/fbdev/core/fbmon.c int ver, rev; ver 633 drivers/video/fbdev/core/fbmon.c ver = edid[EDID_STRUCT_VERSION]; ver 658 drivers/video/fbdev/core/fbmon.c num += get_std_timing(block, &mode[num], ver, rev, specs); ver 664 drivers/video/fbdev/core/fbmon.c ver, rev, specs); ver 404 drivers/video/fbdev/hyperv_fb.c static int synthvid_negotiate_ver(struct hv_device *hdev, u32 ver) ver 416 drivers/video/fbdev/hyperv_fb.c msg->ver_req.version = ver; ver 430 drivers/video/fbdev/hyperv_fb.c par->synthvid_version = ver; ver 623 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c unsigned long ver, rev; ver 641 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c ver = inreg(host, GC_CID); ver 643 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c if ((ver == 0x303) && (rev & 0xffffff00) == 0x20050100) { ver 650 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c dev_info(par->dev, "? GDC, CID/Rev.: 0x%lx/0x%lx \n", ver, rev); ver 843 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c int cn, ver; ver 861 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c ver = inreg(host, GC_CID); ver 862 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c cn = (ver & GC_CID_CNAME_MSK) >> 8; ver 863 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c ver = ver & GC_CID_VERSION_MSK; ver 868 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c (ver == 6) ? "P" : (ver == 8) ? "PA" : "?", ver 762 fs/dlm/user.c struct dlm_device_version ver; ver 764 fs/dlm/user.c memset(&ver, 0, sizeof(struct dlm_device_version)); ver 765 fs/dlm/user.c ver.version[0] = DLM_DEVICE_VERSION_MAJOR; ver 766 fs/dlm/user.c ver.version[1] = DLM_DEVICE_VERSION_MINOR; ver 767 fs/dlm/user.c ver.version[2] = DLM_DEVICE_VERSION_PATCH; ver 769 fs/dlm/user.c if (copy_to_user(buf, &ver, sizeof(struct dlm_device_version))) ver 1876 fs/ext4/ext4.h #define EXTN_FEATURE_FUNCS(ver) \ ver 1877 fs/ext4/ext4.h static inline bool ext4_has_unknown_ext##ver##_compat_features(struct super_block *sb) \ ver 1880 fs/ext4/ext4.h cpu_to_le32(~EXT##ver##_FEATURE_COMPAT_SUPP)) != 0); \ ver 1882 fs/ext4/ext4.h static inline bool ext4_has_unknown_ext##ver##_ro_compat_features(struct super_block *sb) \ ver 1885 fs/ext4/ext4.h cpu_to_le32(~EXT##ver##_FEATURE_RO_COMPAT_SUPP)) != 0); \ ver 1887 fs/ext4/ext4.h static inline bool ext4_has_unknown_ext##ver##_incompat_features(struct super_block *sb) \ ver 1890 fs/ext4/ext4.h cpu_to_le32(~EXT##ver##_FEATURE_INCOMPAT_SUPP)) != 0); \ ver 61 fs/jffs2/acl.c uint32_t ver; ver 68 fs/jffs2/acl.c ver = je32_to_cpu(header->a_version); ver 69 fs/jffs2/acl.c if (ver != JFFS2_ACL_VERSION) { ver 70 fs/jffs2/acl.c JFFS2_WARNING("Invalid ACL version. (=%u)\n", ver); ver 923 fs/ntfs/layout.h } __attribute__ ((__packed__)) ver; ver 790 fs/ocfs2/stack_user.c static void lvb_to_version(char *lvb, struct ocfs2_protocol_version *ver) ver 798 fs/ocfs2/stack_user.c ver->pv_major = pv->pv_major; ver 799 fs/ocfs2/stack_user.c ver->pv_minor = pv->pv_minor; ver 802 fs/ocfs2/stack_user.c static void version_to_lvb(struct ocfs2_protocol_version *ver, char *lvb) ver 810 fs/ocfs2/stack_user.c pv->pv_major = ver->pv_major; ver 811 fs/ocfs2/stack_user.c pv->pv_minor = ver->pv_minor; ver 1931 fs/udf/inode.c int ver, adsize; ver 1959 fs/udf/inode.c ver = 3; ver 1961 fs/udf/inode.c ver = 2; ver 1962 fs/udf/inode.c udf_new_tag(bh->b_data, TAG_IDENT_AED, ver, 1, block, ver 395 include/drm/drm_edid.h unsigned int ver, mnl; ver 397 include/drm/drm_edid.h ver = (eld[DRM_ELD_VER] & DRM_ELD_VER_MASK) >> DRM_ELD_VER_SHIFT; ver 398 include/drm/drm_edid.h if (ver != 2 && ver != 31) ver 676 include/linux/avf/virtchnl.h virtchnl_vc_validate_vf_msg(struct virtchnl_version_info *ver, u32 v_opcode, ver 690 include/linux/avf/virtchnl.h if (VF_IS_V11(ver)) ver 504 include/linux/ceph/rados.h __le64 ver; /* no longer used */ ver 32 include/linux/firmware/imx/ipc.h uint8_t ver; ver 57 include/linux/mfd/hi655x-pmic.h unsigned int ver; ver 223 include/linux/mlx5/driver.h u32 ver; ver 215 include/linux/nvme.h __le32 ver; ver 1395 include/linux/nvme.h #define NVME_MAJOR(ver) ((ver) >> 16) ver 1396 include/linux/nvme.h #define NVME_MINOR(ver) (((ver) >> 8) & 0xff) ver 1397 include/linux/nvme.h #define NVME_TERTIARY(ver) ((ver) & 0xff) ver 228 include/linux/qcom-geni-se.h #define GENI_SE_VERSION_MAJOR(ver) ((ver & HW_VER_MAJOR_MASK) >> HW_VER_MAJOR_SHFT) ver 229 include/linux/qcom-geni-se.h #define GENI_SE_VERSION_MINOR(ver) ((ver & HW_VER_MINOR_MASK) >> HW_VER_MINOR_SHFT) ver 230 include/linux/qcom-geni-se.h #define GENI_SE_VERSION_STEP(ver) (ver & HW_VER_STEP_MASK) ver 73 include/linux/remoteproc.h u32 ver; ver 1269 include/linux/rtsx_pci.h #define is_version(pcr, pid, ver) \ ver 1270 include/linux/rtsx_pci.h (CHK_PCI_PID(pcr, pid) && (pcr)->ic_version == (ver)) ver 22 include/linux/soc/qcom/apr.h #define APR_HDR_FIELD(msg_type, hdr_len, ver)\ ver 23 include/linux/soc/qcom/apr.h (((msg_type & 0x3) << 8) | ((hdr_len & 0xF) << 4) | (ver & 0xF)) ver 1523 include/net/bluetooth/hci_core.h void mgmt_fill_version_info(void *ver); ver 86 include/net/erspan.h ver:4; ver 94 include/net/erspan.h __u8 ver: 4, ver 190 include/net/erspan.h ershdr->ver = ERSPAN_VERSION; ver 284 include/net/erspan.h ershdr->ver = ERSPAN_VERSION2; ver 48 include/net/geneve.h u8 ver:2; ver 53 include/net/geneve.h u8 ver:2; ver 239 include/rdma/ib_pack.h u8 ver; ver 46 include/scsi/fc/fc_fcoe.h #define FC_FCOE_ENCAPS_VER(hp, ver) ((hp)->fcoe_ver = (ver) << 4) ver 67 include/soc/arc/mcip.h ver:8; ver 69 include/soc/arc/mcip.h unsigned int ver:8, ver 79 include/soc/arc/mcip.h unsigned int pad:21, cirqnum:3, ver:8; ver 81 include/soc/arc/mcip.h unsigned int ver:8, cirqnum:3, pad:21; ver 29 include/soc/arc/timers.h unsigned int pad2:15, rtsc:1, pad1:5, rtc:1, t1:1, t0:1, ver:8; ver 31 include/soc/arc/timers.h unsigned int ver:8, t0:1, t1:1, rtc:1, pad1:5, rtsc:1, pad2:15; ver 911 include/uapi/drm/amdgpu_drm.h __u32 ver; ver 143 include/uapi/linux/if_pppox.h __u8 ver : 4; ver 145 include/uapi/linux/if_pppox.h __u8 ver : 4; ver 90 include/uapi/linux/psci.h #define PSCI_VERSION_MAJOR(ver) \ ver 91 include/uapi/linux/psci.h (((ver) & PSCI_VERSION_MAJOR_MASK) >> PSCI_VERSION_MAJOR_SHIFT) ver 92 include/uapi/linux/psci.h #define PSCI_VERSION_MINOR(ver) \ ver 93 include/uapi/linux/psci.h ((ver) & PSCI_VERSION_MINOR_MASK) ver 44 include/uapi/linux/tls.h #define TLS_VERSION_MINOR(ver) ((ver) & 0xFF) ver 45 include/uapi/linux/tls.h #define TLS_VERSION_MAJOR(ver) (((ver) >> 8) & 0xFF) ver 4549 kernel/module.c struct modversion_info *ver, ver 488 net/bluetooth/hci_sock.c u8 ver[3]; ver 498 net/bluetooth/hci_sock.c ver[0] = BT_SUBSYS_VERSION; ver 499 net/bluetooth/hci_sock.c put_unaligned_le16(BT_SUBSYS_REVISION, ver + 1); ver 503 net/bluetooth/hci_sock.c ver[0] = BT_SUBSYS_VERSION; ver 504 net/bluetooth/hci_sock.c put_unaligned_le16(BT_SUBSYS_REVISION, ver + 1); ver 508 net/bluetooth/hci_sock.c mgmt_fill_version_info(ver); ver 523 net/bluetooth/hci_sock.c skb_put_data(skb, ver, sizeof(ver)); ver 279 net/bluetooth/mgmt.c void mgmt_fill_version_info(void *ver) ver 281 net/bluetooth/mgmt.c struct mgmt_rp_read_version *rp = ver; ver 1005 net/ceph/osd_client.c dst->watch.ver = cpu_to_le64(0); ver 56 net/dsa/tag_qca.c u8 ver; ver 71 net/dsa/tag_qca.c ver = (hdr & QCA_HDR_RECV_VERSION_MASK) >> QCA_HDR_RECV_VERSION_S; ver 72 net/dsa/tag_qca.c if (unlikely(ver != QCA_HDR_VERSION)) ver 149 net/ipv4/gre_demux.c u8 ver; ver 155 net/ipv4/gre_demux.c ver = skb->data[1]&0x7f; ver 156 net/ipv4/gre_demux.c if (ver >= GREPROTO_MAX) ver 160 net/ipv4/gre_demux.c proto = rcu_dereference(gre_proto[ver]); ver 178 net/ipv4/gre_demux.c u8 ver = skb->data[(iph->ihl<<2) + 1]&0x7f; ver 181 net/ipv4/gre_demux.c if (ver >= GREPROTO_MAX) ver 185 net/ipv4/gre_demux.c proto = rcu_dereference(gre_proto[ver]); ver 261 net/ipv4/ip_gre.c int ver; ver 268 net/ipv4/ip_gre.c ver = ershdr->ver; ver 275 net/ipv4/ip_gre.c len = gre_hdr_len + erspan_hdr_len(ver); ver 310 net/ipv4/ip_gre.c md->version = ver; ver 312 net/ipv4/ip_gre.c memcpy(md2, pkt_md, ver == 1 ? ERSPAN_V1_MDSIZE : ver 530 net/ipv6/ip6_gre.c u8 ver; ver 534 net/ipv6/ip6_gre.c ver = ershdr->ver; ver 540 net/ipv6/ip6_gre.c int len = erspan_hdr_len(ver); ver 577 net/ipv6/ip6_gre.c md->version = ver; ver 579 net/ipv6/ip6_gre.c memcpy(md2, pkt_md, ver == 1 ? ERSPAN_V1_MDSIZE : ver 1662 net/ipv6/ip6_gre.c int ret, ver = 0; ver 1692 net/ipv6/ip6_gre.c ver = nla_get_u8(data[IFLA_GRE_ERSPAN_VER]); ver 1693 net/ipv6/ip6_gre.c if (ver != 1 && ver != 2) ver 1697 net/ipv6/ip6_gre.c if (ver == 1) { ver 1704 net/ipv6/ip6_gre.c } else if (ver == 2) { ver 175 net/ncsi/ncsi-pkt.h unsigned char ver; /* Payload Version */ ver 217 net/openvswitch/flow_table.c int ver = ti->node_ver; ver 220 net/openvswitch/flow_table.c hlist_for_each_entry_safe(flow, n, head, flow_table.node[ver]) { ver 221 net/openvswitch/flow_table.c hlist_del_rcu(&flow->flow_table.node[ver]); ver 254 net/openvswitch/flow_table.c int ver; ver 257 net/openvswitch/flow_table.c ver = ti->node_ver; ver 261 net/openvswitch/flow_table.c hlist_for_each_entry_rcu(flow, head, flow_table.node[ver]) { ver 72 net/packet/diag.c static int pdiag_put_ring(struct packet_ring_buffer *ring, int ver, int nl_type, ver 85 net/packet/diag.c if (ver > TPACKET_V2) { ver 259 net/qrtr/qrtr.c unsigned int ver; ver 272 net/qrtr/qrtr.c ver = *(u8*)data; ver 274 net/qrtr/qrtr.c switch (ver) { ver 307 net/qrtr/qrtr.c pr_err("qrtr: Invalid version %d\n", ver); ver 440 samples/mei/mei-amt-version.c struct amt_code_versions ver; ver 454 samples/mei/mei-amt-version.c status = amt_get_code_versions(&acmd, &ver); ver 465 samples/mei/mei-amt-version.c for (i = 0; i < ver.count; i++) { ver 466 samples/mei/mei-amt-version.c printf("%s:\t%s\n", ver.versions[i].description.string, ver 467 samples/mei/mei-amt-version.c ver.versions[i].version.string); ver 200 sound/pci/hda/patch_hdmi.c u8 ver; /* 0x01 */ ver 215 sound/pci/hda/patch_hdmi.c u8 ver; /* 0x11 << 2 */ ver 674 sound/pci/hda/patch_hdmi.c hdmi_ai->ver = 0x01; ver 684 sound/pci/hda/patch_hdmi.c dp_ai->ver = 0x11 << 2; ver 353 sound/soc/codecs/hdac_hdmi.c u8 ver; /* 0x11 << 2 */ ver 407 sound/soc/codecs/hdac_hdmi.c dp_ai.ver = 0x11 << 2; ver 1228 sound/soc/codecs/hdac_hdmi.c unsigned int ver, mnl; ver 1230 sound/soc/codecs/hdac_hdmi.c ver = (port->eld.eld_buffer[DRM_ELD_VER] & DRM_ELD_VER_MASK) ver 1233 sound/soc/codecs/hdac_hdmi.c if (ver != ELD_VER_CEA_861D && ver != ELD_VER_PARTIAL) { ver 1234 sound/soc/codecs/hdac_hdmi.c dev_err(&hdev->dev, "HDMI: Unknown ELD version %d\n", ver); ver 1844 sound/soc/codecs/wm_adsp.c if (!dsp->ops->validate_version(dsp, header->ver)) { ver 1846 sound/soc/codecs/wm_adsp.c file, header->ver); ver 1850 sound/soc/codecs/wm_adsp.c adsp_info(dsp, "Firmware version: %d\n", header->ver); ver 1851 sound/soc/codecs/wm_adsp.c dsp->fw_ver = header->ver; ver 2116 sound/soc/codecs/wm_adsp.c dsp->fw_id_version = be32_to_cpu(fw->ver); ver 2128 sound/soc/codecs/wm_adsp.c dsp->fw_id_version = be32_to_cpu(fw->ver); ver 2200 sound/soc/codecs/wm_adsp.c (be32_to_cpu(adsp1_alg[i].alg.ver) & 0xff0000) >> 16, ver 2201 sound/soc/codecs/wm_adsp.c (be32_to_cpu(adsp1_alg[i].alg.ver) & 0xff00) >> 8, ver 2202 sound/soc/codecs/wm_adsp.c be32_to_cpu(adsp1_alg[i].alg.ver) & 0xff, ver 2307 sound/soc/codecs/wm_adsp.c (be32_to_cpu(adsp2_alg[i].alg.ver) & 0xff0000) >> 16, ver 2308 sound/soc/codecs/wm_adsp.c (be32_to_cpu(adsp2_alg[i].alg.ver) & 0xff00) >> 8, ver 2309 sound/soc/codecs/wm_adsp.c be32_to_cpu(adsp2_alg[i].alg.ver) & 0xff, ver 2437 sound/soc/codecs/wm_adsp.c (be32_to_cpu(halo_alg[i].alg.ver) & 0xff0000) >> 16, ver 2438 sound/soc/codecs/wm_adsp.c (be32_to_cpu(halo_alg[i].alg.ver) & 0xff00) >> 8, ver 2439 sound/soc/codecs/wm_adsp.c be32_to_cpu(halo_alg[i].alg.ver) & 0xff, ver 2508 sound/soc/codecs/wm_adsp.c (le32_to_cpu(hdr->ver) >> 16) & 0xff, ver 2509 sound/soc/codecs/wm_adsp.c (le32_to_cpu(hdr->ver) >> 8) & 0xff, ver 2510 sound/soc/codecs/wm_adsp.c le32_to_cpu(hdr->ver) & 0xff); ver 2524 sound/soc/codecs/wm_adsp.c (le32_to_cpu(blk->ver) >> 16) & 0xff, ver 2525 sound/soc/codecs/wm_adsp.c (le32_to_cpu(blk->ver) >> 8) & 0xff, ver 2526 sound/soc/codecs/wm_adsp.c le32_to_cpu(blk->ver) & 0xff); ver 36 sound/soc/codecs/wmfw.h u8 ver; ver 70 sound/soc/codecs/wmfw.h __be32 ver; ver 78 sound/soc/codecs/wmfw.h __be32 ver; ver 107 sound/soc/codecs/wmfw.h __be32 ver; ver 158 sound/soc/codecs/wmfw.h __le32 ver; ver 171 sound/soc/codecs/wmfw.h __le32 ver; ver 283 sound/soc/sh/fsi.c int ver; ver 374 sound/soc/sh/fsi.c return master->core->ver; ver 1882 sound/soc/sh/fsi.c .ver = 1, ver 1891 sound/soc/sh/fsi.c .ver = 2, ver 108 sound/soc/sti/sti_uniperif.c if (uni->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0) { ver 407 sound/soc/sti/sti_uniperif.c uni->ver = dev_data->version; ver 33 sound/soc/sti/uniperif.h ((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? \ ver 122 sound/soc/sti/uniperif.h ((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? 0 : 8) ver 133 sound/soc/sti/uniperif.h ((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? -1 : 12) ver 135 sound/soc/sti/uniperif.h ((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? \ ver 140 sound/soc/sti/uniperif.h ((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? -1 : 13) ver 142 sound/soc/sti/uniperif.h ((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? \ ver 151 sound/soc/sti/uniperif.h ((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? 0 : 8) ver 172 sound/soc/sti/uniperif.h ((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? 0 : 8) ver 178 sound/soc/sti/uniperif.h ((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? -1 : 12) ver 180 sound/soc/sti/uniperif.h ((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? \ ver 185 sound/soc/sti/uniperif.h ((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? -1 : 13) ver 187 sound/soc/sti/uniperif.h ((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? \ ver 200 sound/soc/sti/uniperif.h ((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? 0 : 8) ver 225 sound/soc/sti/uniperif.h ((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? 0 : 8) ver 250 sound/soc/sti/uniperif.h ((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? -1 : 12) ver 252 sound/soc/sti/uniperif.h ((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? \ ver 260 sound/soc/sti/uniperif.h ((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? -1 : 13) ver 262 sound/soc/sti/uniperif.h ((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? \ ver 416 sound/soc/sti/uniperif.h ((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? 7 : -1) ver 450 sound/soc/sti/uniperif.h ((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? 16 : -1) ver 522 sound/soc/sti/uniperif.h ((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? 24 : -1) ver 566 sound/soc/sti/uniperif.h ((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? 1 : -1) ver 574 sound/soc/sti/uniperif.h ((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? 2 : -1) ver 604 sound/soc/sti/uniperif.h ((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? 5 : -1) ver 612 sound/soc/sti/uniperif.h ((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? -1 : 7) ver 622 sound/soc/sti/uniperif.h ((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? -1 : 3) ver 675 sound/soc/sti/uniperif.h ((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? 13 : -1) ver 695 sound/soc/sti/uniperif.h ((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? 14 : -1) ver 715 sound/soc/sti/uniperif.h ((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? 16 : -1) ver 754 sound/soc/sti/uniperif.h ((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? 18 : -1) ver 989 sound/soc/sti/uniperif.h ((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? -1 : 0x004c) ver 1035 sound/soc/sti/uniperif.h ((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? -1 : 0) ver 1089 sound/soc/sti/uniperif.h ((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? -1 : 0) ver 1091 sound/soc/sti/uniperif.h ((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? 0 : 0xFFFFFF) ver 1299 sound/soc/sti/uniperif.h int ver; /* IP version, used by register access macros */ ver 307 sound/soc/sti/uniperif_player.c if (player->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0) ver 408 sound/soc/sti/uniperif_player.c if (player->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0) ver 772 sound/soc/sti/uniperif_player.c if (player->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0) { ver 907 sound/soc/sti/uniperif_player.c if (player->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0) ver 912 sound/soc/sti/uniperif_player.c if (player->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0) ver 1066 sound/soc/sti/uniperif_player.c if (player->ver >= SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0) ver 211 sound/soc/sti/uniperif_reader.c if (reader->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0) ver 934 sound/soc/stm/stm32_spdifrx.c u32 ver, idr; ver 997 sound/soc/stm/stm32_spdifrx.c ret = regmap_read(spdifrx->regmap, STM32_SPDIFRX_VERR, &ver); ver 1002 sound/soc/stm/stm32_spdifrx.c FIELD_GET(SPDIFRX_VERR_MAJ_MASK, ver), ver 1003 sound/soc/stm/stm32_spdifrx.c FIELD_GET(SPDIFRX_VERR_MIN_MASK, ver)); ver 44 tools/include/uapi/linux/tls.h #define TLS_VERSION_MINOR(ver) ((ver) & 0xFF) ver 45 tools/include/uapi/linux/tls.h #define TLS_VERSION_MAJOR(ver) (((ver) >> 8) & 0xFF) ver 4838 tools/lib/traceevent/event-parse.c char ver; ver 4844 tools/lib/traceevent/event-parse.c ver = *ptr; ver 4848 tools/lib/traceevent/event-parse.c switch (ver) { ver 2831 tools/perf/util/probe-event.c const char *norm, *ver; ver 2849 tools/perf/util/probe-event.c ver = strchr(norm, '@'); ver 2850 tools/perf/util/probe-event.c if (ver) { ver 2851 tools/perf/util/probe-event.c buf = strndup(norm, ver - norm); ver 18 tools/testing/selftests/bpf/progs/test_lwt_seg6local.c unsigned int ver:4; ver 18 tools/testing/selftests/bpf/progs/test_seg6_loop.c unsigned int ver:4; ver 99 tools/testing/selftests/net/psock_tpacket.c static int pfsocket(int ver) ver 107 tools/testing/selftests/net/psock_tpacket.c ret = setsockopt(sock, SOL_PACKET, PACKET_VERSION, &ver, sizeof(ver)); ver 184 tools/testing/selftests/vDSO/parse_vdso.c static bool vdso_match_version(ELF(Versym) ver, ver 203 tools/testing/selftests/vDSO/parse_vdso.c ver &= 0x7fff; /* Apparently bit 15 means "hidden" */ ver 207 tools/testing/selftests/vDSO/parse_vdso.c && (def->vd_ndx & 0x7fff) == ver)