Searched refs:revision (Results 1 - 200 of 1421) sorted by relevance

12345678

/linux-4.4.14/arch/mips/include/asm/mach-pmcs-msp71xx/
H A Dmsp_prom.h39 #define FPGA_IS_POLO(revision) \
40 (((revision >= 0xb0) && (revision < 0xd0)))
41 #define FPGA_IS_5000(revision) \
42 ((revision >= 0x80) && (revision <= 0x90))
43 #define FPGA_IS_ZEUS(revision) ((revision < 0x7f))
44 #define FPGA_IS_DUET(revision) \
45 (((revision >= 0xa0) && (revision < 0xb0)))
46 #define FPGA_IS_MSP4200(revision) ((revision >= 0xd0))
47 #define FPGA_IS_MSP7100(revision) ((revision >= 0xd0))
/linux-4.4.14/arch/arm/mach-imx/
H A Danatop.c116 unsigned int revision; imx_init_revision_from_anatop() local
132 revision = IMX_CHIP_REVISION_1_0; imx_init_revision_from_anatop()
135 revision = IMX_CHIP_REVISION_1_1; imx_init_revision_from_anatop()
138 revision = IMX_CHIP_REVISION_1_2; imx_init_revision_from_anatop()
141 revision = IMX_CHIP_REVISION_1_3; imx_init_revision_from_anatop()
144 revision = IMX_CHIP_REVISION_1_4; imx_init_revision_from_anatop()
151 revision = IMX_CHIP_REVISION_1_5; imx_init_revision_from_anatop()
154 revision = IMX_CHIP_REVISION_UNKNOWN; imx_init_revision_from_anatop()
158 imx_set_soc_revision(revision); imx_init_revision_from_anatop()
H A Dcpu.c35 pr_info("CPU identified as %s, unknown revision\n", cpu); imx_print_silicon_rev()
144 soc_dev_attr->revision = kasprintf(GFP_KERNEL, "%d.%d", imx_soc_device_init()
147 if (!soc_dev_attr->revision) imx_soc_device_init()
157 kfree(soc_dev_attr->revision); imx_soc_device_init()
H A Dcpu-imx27.c39 * the silicon revision very early we read it here to mx27_read_cpu_rev()
61 * the silicon revision of the cpu
H A Dcpu-imx5.c62 * the silicon revision of the cpu
114 * the silicon revision of the cpu
/linux-4.4.14/arch/cris/arch-v10/kernel/
H A Dsetup.c54 unsigned long revision; show_cpuinfo() local
59 revision = rdvr(); show_cpuinfo()
61 if (revision >= ARRAY_SIZE(cpu_info)) show_cpuinfo()
64 info = &cpu_info[revision]; show_cpuinfo()
69 "cpu revision\t: %lu\n" show_cpuinfo()
82 revision, show_cpuinfo()
/linux-4.4.14/arch/x86/kernel/cpu/
H A Dtransmeta.c30 /* Print CMS and CPU revision */ init_transmeta()
36 printk(KERN_INFO "CPU: Processor revision %u.%u.%u.%u, %u MHz\n", init_transmeta()
47 printk(KERN_INFO "CPU: Processor revision %08X, %u MHz\n", init_transmeta()
50 printk(KERN_INFO "CPU: Code Morphing Software revision %u.%u.%u-%u-%u\n", init_transmeta()
/linux-4.4.14/include/uapi/linux/netfilter/
H A Dxt_connlimit.h25 /* revision 1 */
H A Dxt_addrtype.h36 /* revision 0 */
H A Dx_tables.h17 __u8 revision; member in struct:xt_entry_match::__anon14276::__anon14277
40 __u8 revision; member in struct:xt_entry_target::__anon14279::__anon14280
74 /* The argument to IPT_SO_GET_REVISION_*. Returns highest revision
75 * kernel supports, if >= revision. */
78 __u8 revision; member in struct:xt_get_revision
/linux-4.4.14/fs/cifs/
H A Dcifsacl.h69 __le16 revision; /* revision level */ member in struct:cifs_ntsd
78 __u8 revision; /* revision level */ member in struct:cifs_sid
88 __le16 revision; /* revision level */ member in struct:cifs_acl
H A Dcifsacl.c105 sidptr->revision); sid_to_key_str()
149 /* compare the revision */ compare_sids()
150 if (ctsid->revision != cwsid->revision) { compare_sids()
151 if (ctsid->revision > cwsid->revision) compare_sids()
191 dst->revision = src->revision; cifs_copy_sid()
407 pnntsd->revision = pntsd->revision; copy_sec_desc()
531 pntace->sid.revision = psid->revision; fill_ace_for_sid()
565 cifs_dbg(FYI, "ACE revision %d num_auth %d type %d flags %d size %d\n", dump_ace()
566 pace->sid.revision, pace->sid.num_subauth, pace->type, dump_ace()
607 cifs_dbg(NOISY, "DACL revision %d size %d num aces %d\n", parse_dacl()
608 le16_to_cpu(pdacl->revision), le16_to_cpu(pdacl->size), parse_dacl()
710 cifs_dbg(FYI, "SID revision %d num_auth %d\n", parse_sid()
711 psid->revision, psid->num_subauth); parse_sid()
748 cifs_dbg(NOISY, "revision %d type 0x%x ooffset 0x%x goffset 0x%x sacloffset 0x%x dacloffset 0x%x\n", parse_sec_desc()
749 pntsd->revision, pntsd->type, le32_to_cpu(pntsd->osidoffset), parse_sec_desc()
809 ndacl_ptr->revision = dacl_ptr->revision; build_sec_desc()
/linux-4.4.14/arch/mips/include/asm/sibyte/
H A Dsb1250_defs.h48 * SIBYTE_HDR_FEATURES may be defined to be the mask value chip/revision
56 * Generate defines only for that revision of chip.
60 * True if header features for that revision or later of
63 * revision and later.)
74 * Same as SIBYTE_HDR_FEATURE, but true for the named revision
80 * revision of the named chip type. (Note that this CANNOT
82 * particular chip/revision. It will be true any time this
83 * chip/revision is included in SIBYTE_HDR_FEATURES.)
87 * True if header features for (any revision of) that chip type
110 /* Bit mask for chip/revision. (use _ALL for all revisions of a chip). */
133 /* Bit mask for revisions of chip exclusively before the named revision. */
137 /* Bit mask for revisions of chip exclusively after the named revision. */
143 /* True if header features enabled for (any revision of) that chip type. */
H A Dsb1250.h39 /* For revision/pass information */
/linux-4.4.14/drivers/isdn/hardware/avm/
H A Db1isa.c30 static char *revision = "$Revision: 1.1.2.3 $"; variable
133 printk(KERN_INFO "b1isa: AVM B1 ISA at i/o %#x, irq %d, revision %d\n", b1isa_probe()
134 card->port, card->irq, card->revision); b1isa_probe()
160 cinfo->card ? cinfo->card->revision : 0 b1isa_procinfo()
196 .revision = "1.0",
206 if ((p = strchr(revision, ':')) != NULL && p[1]) { b1isa_init()
224 strlcpy(capi_driver_b1isa.revision, rev, 32); b1isa_init()
226 printk(KERN_INFO "b1isa: revision %s\n", rev); b1isa_init()
H A Db1pcmcia.c30 static char *revision = "$Revision: 1.1.2.2 $"; variable
125 printk(KERN_INFO "b1pcmcia: AVM %s at i/o %#x, irq %d, revision %d\n", b1pcmcia_add_card()
126 cardname, card->port, card->irq, card->revision); b1pcmcia_add_card()
152 cinfo->card ? cinfo->card->revision : 0 b1pcmcia_procinfo()
196 .revision = "1.0",
204 if ((p = strchr(revision, ':')) != NULL && p[1]) { b1pcmcia_init()
211 strlcpy(capi_driver_b1pcmcia.revision, rev, 32); b1pcmcia_init()
213 printk(KERN_INFO "b1pci: revision %s\n", rev); b1pcmcia_init()
H A Db1pci.c30 static char *revision = "$Revision: 1.1.2.2 $"; variable
57 cinfo->card ? cinfo->card->revision : 0 b1pci_procinfo()
125 if (card->revision >= 4) { b1pci_probe()
126 printk(KERN_INFO "b1pci: AVM B1 PCI V4 at i/o %#x, irq %d, revision %d (no dma)\n", b1pci_probe()
127 card->port, card->irq, card->revision); b1pci_probe()
129 printk(KERN_INFO "b1pci: AVM B1 PCI at i/o %#x, irq %d, revision %d\n", b1pci_probe()
130 card->port, card->irq, card->revision); b1pci_probe()
176 cinfo->card ? cinfo->card->revision : 0 b1pciv4_procinfo()
264 printk(KERN_INFO "b1pci: AVM B1 PCI V4 at i/o %#x, irq %d, mem %#lx, revision %d (dma)\n", b1pciv4_probe()
265 card->port, card->irq, card->membase, card->revision); b1pciv4_probe()
370 .revision = "1.0",
375 .revision = "1.0",
385 if ((p = strchr(revision, ':')) != NULL && p[1]) { b1pci_init()
395 strlcpy(capi_driver_b1pci.revision, rev, 32); b1pci_init()
398 strlcpy(capi_driver_b1pciv4.revision, rev, 32); b1pci_init()
401 printk(KERN_INFO "b1pci: revision %s\n", rev); b1pci_init()
H A Dt1pci.c32 static char *revision = "$Revision: 1.1.2.2 $"; variable
227 .revision = "1.0",
236 if ((p = strchr(revision, ':')) != NULL && p[1]) { t1pci_init()
245 strlcpy(capi_driver_t1pci.revision, rev, 32); t1pci_init()
247 printk(KERN_INFO "t1pci: revision %s\n", rev); t1pci_init()
/linux-4.4.14/include/linux/usb/
H A Diowarrior.h24 /* revision number of the chip */
25 __u32 revision; member in struct:iowarrior_info
/linux-4.4.14/arch/arm/mach-mvebu/
H A Dmvebu-soc-id.c2 * ID and revision information for mvebu SoCs
13 * revision that can be read from the PCI control register. This is
15 * ID and revision are retrieved, the mapping is freed.
71 * ID and revision are available from any port, so we get_soc_id_by_pci()
104 /* SoC revision */ get_soc_id_by_pci()
138 * First try to get the ID and the revision by the system mvebu_soc_id_init()
165 soc_dev_attr->revision = kasprintf(GFP_KERNEL, "%X", soc_rev); mvebu_soc_device()
171 kfree(soc_dev_attr->revision); mvebu_soc_device()
H A Dmvebu-soc-id.h2 * Marvell EBU SoC ID and revision definitions.
/linux-4.4.14/arch/arm/mach-zynq/
H A Dcommon.c70 * zynq_get_revision - Get Zynq silicon revision
78 u32 revision; zynq_get_revision() local
92 revision = readl(zynq_devcfg_base + ZYNQ_DEVCFG_MCTRL); zynq_get_revision()
93 revision >>= ZYNQ_DEVCFG_PS_VERSION_SHIFT; zynq_get_revision()
94 revision &= ZYNQ_DEVCFG_PS_VERSION_MASK; zynq_get_revision()
98 return revision; zynq_get_revision()
125 soc_dev_attr->revision = kasprintf(GFP_KERNEL, "0x%x", system_rev); zynq_init_machine()
132 kfree(soc_dev_attr->revision); zynq_init_machine()
/linux-4.4.14/drivers/isdn/hardware/eicon/
H A Dcapimain.c40 * get revision number from revision string
42 static char *getrev(const char *revision) getrev() argument
46 if ((p = strchr(revision, ':'))) { getrev()
H A Ddiva_didd.c53 static char *getrev(const char *revision) getrev() argument
57 if ((p = strchr(revision, ':'))) { getrev()
76 seq_printf(m, "revision : %s\n", getrev(tmprev)); divadidd_proc_show()
H A Ddivamnt.c57 static char *getrev(const char *revision) getrev() argument
62 if ((p = strchr(revision, ':'))) { getrev()
/linux-4.4.14/net/netfilter/
H A Dxt_TRACE.c22 .revision = 0,
H A Dxt_NFQUEUE.c79 if (par->target->revision == 2 && info->flags > 1) nfqueue_tg_check()
81 if (par->target->revision == 3 && info->flags & ~NFQ_FLAG_MASK) nfqueue_tg_check()
122 .revision = 1,
131 .revision = 2,
140 .revision = 3,
H A Dxt_comment.c27 .revision = 0,
H A Dxt_nat.c107 .revision = 0,
119 .revision = 0,
131 .revision = 1,
141 .revision = 1,
H A Dxt_CLASSIFY.c43 .revision = 0,
53 .revision = 0,
H A Dxt_mark.c47 .revision = 2,
56 .revision = 1,
H A Dxt_set.c558 .revision = 0,
568 .revision = 1,
578 .revision = 1,
589 .revision = 2,
599 .revision = 2,
610 .revision = 3,
620 .revision = 3,
627 /* new revision for counters support: update, match */
631 .revision = 4,
641 .revision = 4,
653 .revision = 0,
663 .revision = 1,
673 .revision = 1,
684 .revision = 2,
694 .revision = 2,
705 .revision = 3,
715 .revision = 3,
H A Dxt_REDIRECT.c72 .revision = 0,
84 .revision = 0,
H A Dxt_dscp.c88 .revision = 1,
96 .revision = 1,
H A Dxt_hl.c69 .revision = 0,
77 .revision = 0,
H A Dx_tables.c179 struct xt_match *xt_find_match(u8 af, const char *name, u8 revision) xt_find_match() argument
187 if (m->revision == revision) { xt_find_match()
200 return xt_find_match(NFPROTO_UNSPEC, name, revision); xt_find_match()
207 xt_request_find_match(uint8_t nfproto, const char *name, uint8_t revision) xt_request_find_match() argument
211 match = xt_find_match(nfproto, name, revision); xt_request_find_match()
214 match = xt_find_match(nfproto, name, revision); xt_request_find_match()
222 struct xt_target *xt_find_target(u8 af, const char *name, u8 revision) xt_find_target() argument
230 if (t->revision == revision) { xt_find_target()
243 return xt_find_target(NFPROTO_UNSPEC, name, revision); xt_find_target()
249 struct xt_target *xt_request_find_target(u8 af, const char *name, u8 revision) xt_request_find_target() argument
253 target = xt_find_target(af, name, revision); xt_request_find_target()
256 target = xt_find_target(af, name, revision); xt_request_find_target()
263 static int match_revfn(u8 af, const char *name, u8 revision, int *bestp) match_revfn() argument
270 if (m->revision > *bestp) match_revfn()
271 *bestp = m->revision; match_revfn()
272 if (m->revision == revision) match_revfn()
278 return match_revfn(NFPROTO_UNSPEC, name, revision, bestp); match_revfn()
283 static int target_revfn(u8 af, const char *name, u8 revision, int *bestp) target_revfn() argument
290 if (t->revision > *bestp) target_revfn()
291 *bestp = t->revision; target_revfn()
292 if (t->revision == revision) target_revfn()
298 return target_revfn(NFPROTO_UNSPEC, name, revision, bestp); target_revfn()
304 int xt_find_revision(u8 af, const char *name, u8 revision, int target, xt_find_revision() argument
311 have_rev = target_revfn(af, name, revision, &best); xt_find_revision()
313 have_rev = match_revfn(af, name, revision, &best); xt_find_revision()
377 par->match->revision, xt_check_match()
713 par->target->revision, xt_check_target()
H A Dxt_DSCP.c137 .revision = 1,
146 .revision = 1,
H A Dxt_HL.c136 .revision = 0,
146 .revision = 0,
H A Dxt_NETMAP.c121 .revision = 0,
135 .revision = 0,
H A Dxt_TEE.c126 .revision = 1,
137 .revision = 1,
H A Dxt_iprange.c107 .revision = 1,
115 .revision = 1,
H A Dxt_NFLOG.c54 .revision = 0,
H A Dxt_bpf.c54 .revision = 0,
H A Dxt_cgroup.c50 .revision = 0,
H A Dxt_conntrack.c222 if (par->match->revision != 3) { conntrack_mt()
291 .revision = 1,
301 .revision = 2,
311 .revision = 3,
H A Dxt_cpu.c46 .revision = 0,
H A Dxt_mac.c46 .revision = 0,
H A Dxt_pkttype.c47 .revision = 0,
H A Dxt_quota.c70 .revision = 0,
H A Dxt_socket.c459 .revision = 0,
468 .revision = 1,
480 .revision = 1,
492 .revision = 2,
504 .revision = 2,
516 .revision = 3,
528 .revision = 3,
H A Dxt_connmark.c124 .revision = 1,
135 .revision = 1,
H A Dxt_multiport.c136 .revision = 1,
145 .revision = 1,
/linux-4.4.14/drivers/ssb/
H A Ddriver_chipcommon.c54 if (ccdev->id.revision >= 10 && mode == SSB_CLKMODE_SLOW) ssb_chipco_set_clockmode()
59 SSB_WARN_ON(ccdev->id.revision >= 20); ssb_chipco_set_clockmode()
62 if (ccdev->id.revision < 6) ssb_chipco_set_clockmode()
66 if (ccdev->id.revision >= 10) ssb_chipco_set_clockmode()
79 if (ccdev->id.revision < 10) { ssb_chipco_set_clockmode()
93 if (ccdev->id.revision < 10) { ssb_chipco_set_clockmode()
124 if (cc->dev->id.revision < 6) { chipco_pctl_get_slowclksrc()
135 if (cc->dev->id.revision < 10) { chipco_pctl_get_slowclksrc()
158 if (cc->dev->id.revision < 6) { chipco_pctl_clockfreqlimit()
169 } else if (cc->dev->id.revision < 10) { chipco_pctl_clockfreqlimit()
225 if (cc->dev->id.revision >= 10) { chipco_powercontrol_init()
298 if (cc->dev->id.revision < 26) ssb_chipco_watchdog_get_max_timer()
301 nb = (cc->dev->id.revision >= 37) ? 32 : 24; ssb_chipco_watchdog_get_max_timer()
341 if (cc->dev->id.revision < 18) ssb_chipco_watchdog_ticks_per_ms()
355 if (cc->dev->id.revision >= 11) ssb_chipcommon_init()
359 if (cc->dev->id.revision >= 20) { ssb_chipcommon_init()
453 (dev->id.revision < 9)) ssb_chipco_timing_init()
456 (dev->id.revision < 9) || ssb_chipco_timing_init()
575 if (cc->dev->id.revision < 20) ssb_chipco_gpio_pullup()
590 if (cc->dev->id.revision < 20) ssb_chipco_gpio_pulldown()
610 unsigned int ccrev = cc->dev->id.revision; ssb_chipco_serial_init()
H A Dpci.c369 if (out->revision == 3) /* rev 3 moved MAC */ sprom_extract_r123()
377 if (out->revision < 3) { /* only rev 1-2 have et0, et1 */ sprom_extract_r123()
388 if (out->revision == 1) sprom_extract_r123()
419 out->antenna_gain.a0 = sprom_extract_antgain(out->revision, in, sprom_extract_r123()
423 out->antenna_gain.a1 = sprom_extract_antgain(out->revision, in, sprom_extract_r123()
427 if (out->revision >= 2) sprom_extract_r123()
483 if (out->revision == 4) sprom_extract_r45()
495 if (out->revision == 4) { sprom_extract_r45()
520 if (out->revision == 4) { sprom_extract_r45()
537 out->antenna_gain.a0 = sprom_extract_antgain(out->revision, in, sprom_extract_r45()
541 out->antenna_gain.a1 = sprom_extract_antgain(out->revision, in, sprom_extract_r45()
545 out->antenna_gain.a2 = sprom_extract_antgain(out->revision, in, sprom_extract_r45()
549 out->antenna_gain.a3 = sprom_extract_antgain(out->revision, in, sprom_extract_r45()
679 out->antenna_gain.a0 = sprom_extract_antgain(out->revision, in, sprom_extract_r8()
683 out->antenna_gain.a1 = sprom_extract_antgain(out->revision, in, sprom_extract_r8()
687 out->antenna_gain.a2 = sprom_extract_antgain(out->revision, in, sprom_extract_r8()
691 out->antenna_gain.a3 = sprom_extract_antgain(out->revision, in, sprom_extract_r8()
818 out->revision = in[size - 1] & 0x00FF; sprom_extract()
819 ssb_dbg("SPROM revision %d detected\n", out->revision); sprom_extract()
824 /* Workaround: The BCM44XX chip has a stupid revision sprom_extract()
827 out->revision = 1; sprom_extract()
828 ssb_dbg("SPROM treated as revision %d\n", out->revision); sprom_extract()
831 switch (out->revision) { sprom_extract()
845 ssb_warn("Unsupported SPROM revision %d detected. Will extract v1\n", sprom_extract()
846 out->revision); sprom_extract()
847 out->revision = 1; sprom_extract()
875 if (bus->chipco.dev->id.revision >= 31) ssb_pci_sprom_get()
894 /* try for a 440 byte SPROM - revision 4 and higher */ ssb_pci_sprom_get()
913 ssb_dbg("Using SPROM revision %d provided by platform\n", ssb_pci_sprom_get()
914 sprom->revision); ssb_pci_sprom_get()
H A Ddriver_pcicore.c464 if (pdev->id.revision < 5) { ssb_pcicore_pci_setup_workarounds()
472 } else if (pdev->id.revision >= 11) { ssb_pcicore_pci_setup_workarounds()
482 u8 rev = pc->dev->id.revision; ssb_pcicore_pcie_setup_workarounds()
612 if (pc->dev->id.revision >= 10) { ssb_pcie_mdio_read()
620 if (pc->dev->id.revision < 10) ssb_pcie_mdio_read()
652 if (pc->dev->id.revision >= 10) { ssb_pcie_mdio_write()
660 if (pc->dev->id.revision < 10) ssb_pcie_mdio_write()
698 if ((pdev->id.revision >= 6) || (pdev->id.coreid == SSB_DEV_PCIE)) { ssb_pcicore_dev_irqvecs_enable()
/linux-4.4.14/drivers/mfd/
H A Dmc13xxx-core.c181 static void mc13xxx_print_revision(struct mc13xxx *mc13xxx, u32 revision) mc13xxx_print_revision() argument
186 maskval(revision, MC13XXX_REVISION_REVFULL), mc13xxx_print_revision()
187 maskval(revision, MC13XXX_REVISION_REVMETAL), mc13xxx_print_revision()
188 maskval(revision, MC13XXX_REVISION_FIN), mc13xxx_print_revision()
189 maskval(revision, MC13XXX_REVISION_FAB), mc13xxx_print_revision()
190 maskval(revision, MC13XXX_REVISION_ICID), mc13xxx_print_revision()
191 maskval(revision, MC13XXX_REVISION_ICIDCODE)); mc13xxx_print_revision()
194 static void mc34708_print_revision(struct mc13xxx *mc13xxx, u32 revision) mc34708_print_revision() argument
198 maskval(revision, MC34708_REVISION_REVFULL), mc34708_print_revision()
199 maskval(revision, MC34708_REVISION_REVMETAL), mc34708_print_revision()
200 maskval(revision, MC34708_REVISION_FIN), mc34708_print_revision()
201 maskval(revision, MC34708_REVISION_FAB)); mc34708_print_revision()
411 u32 revision; mc13xxx_common_init() local
416 ret = mc13xxx_reg_read(mc13xxx, MC13XXX_REVISION, &revision); mc13xxx_common_init()
420 mc13xxx->variant->print_revision(mc13xxx, revision); mc13xxx_common_init()
H A Dsi476x-prop.c152 BUG_ON(core->revision > SI476X_REVISION_A30 || si476x_core_is_valid_property()
153 core->revision == -1); si476x_core_is_valid_property()
154 return is_valid_property[core->revision](core, property); si476x_core_is_valid_property()
161 BUG_ON(core->revision > SI476X_REVISION_A30 || si476x_core_is_readonly_property()
162 core->revision == -1); si476x_core_is_readonly_property()
164 switch (core->revision) { si476x_core_is_readonly_property()
H A Dmenf21bmc.c70 dev_err(&client->dev, "failed to get BMC major revision\n"); menf21bmc_probe()
76 dev_err(&client->dev, "failed to get BMC minor revision\n"); menf21bmc_probe()
82 dev_err(&client->dev, "failed to get BMC main revision\n"); menf21bmc_probe()
H A Dmc13xxx.h24 void (*print_revision)(struct mc13xxx *mc13xxx, u32 revision);
H A Dwm8994-core.c447 dev_err(wm8994->dev, "Failed to read revision register: %d\n", wm8994_device_init()
451 wm8994->revision = ret & WM8994_CHIP_REV_MASK; wm8994_device_init()
456 switch (wm8994->revision) { wm8994_device_init()
460 "revision %c not fully supported\n", wm8994_device_init()
461 'A' + wm8994->revision); wm8994_device_init()
473 switch (wm8994->revision) { wm8994_device_init()
485 if (wm8994->revision > 1) wm8994_device_init()
486 wm8994->revision++; wm8994_device_init()
496 dev_info(wm8994->dev, "%s revision %c CUST_ID %02x\n", devname, wm8994_device_init()
497 'A' + wm8994->revision, wm8994->cust_id); wm8994_device_init()
H A Dpm8921-core.c53 #define REG_HWREV 0x002 /* PMIC4 revision */
54 #define REG_HWREV_2 0x0E8 /* PMIC4 revision 2 */
336 /* Read PMIC chip revision */ pm8921_probe()
342 pr_info("PMIC revision 1: %02X\n", val); pm8921_probe()
345 /* Read PMIC chip revision 2 */ pm8921_probe()
352 pr_info("PMIC revision 2: %02X\n", val); pm8921_probe()
H A Dsi476x-cmd.c186 if (core->revision != SI476X_REVISION_A10) { si476x_core_parse_and_nag_about_error()
1487 BUG_ON(core->revision > SI476X_REVISION_A30 || si476x_core_cmd_power_up()
1488 core->revision == -1); si476x_core_cmd_power_up()
1489 return si476x_cmds_vtable[core->revision].power_up(core, args); si476x_core_cmd_power_up()
1496 BUG_ON(core->revision > SI476X_REVISION_A30 || si476x_core_cmd_power_down()
1497 core->revision == -1); si476x_core_cmd_power_down()
1498 return si476x_cmds_vtable[core->revision].power_down(core, args); si476x_core_cmd_power_down()
1505 BUG_ON(core->revision > SI476X_REVISION_A30 || si476x_core_cmd_fm_tune_freq()
1506 core->revision == -1); si476x_core_cmd_fm_tune_freq()
1507 return si476x_cmds_vtable[core->revision].fm_tune_freq(core, args); si476x_core_cmd_fm_tune_freq()
1514 BUG_ON(core->revision > SI476X_REVISION_A30 || si476x_core_cmd_am_tune_freq()
1515 core->revision == -1); si476x_core_cmd_am_tune_freq()
1516 return si476x_cmds_vtable[core->revision].am_tune_freq(core, args); si476x_core_cmd_am_tune_freq()
1525 BUG_ON(core->revision > SI476X_REVISION_A30 || si476x_core_cmd_fm_rsq_status()
1526 core->revision == -1); si476x_core_cmd_fm_rsq_status()
1527 return si476x_cmds_vtable[core->revision].fm_rsq_status(core, args, si476x_core_cmd_fm_rsq_status()
1536 BUG_ON(core->revision > SI476X_REVISION_A30 || si476x_core_cmd_agc_status()
1537 core->revision == -1); si476x_core_cmd_agc_status()
1538 return si476x_cmds_vtable[core->revision].agc_status(core, report); si476x_core_cmd_agc_status()
1546 BUG_ON(core->revision > SI476X_REVISION_A30 || si476x_core_cmd_intb_pin_cfg()
1547 core->revision == -1); si476x_core_cmd_intb_pin_cfg()
1549 return si476x_cmds_vtable[core->revision].intb_pin_cfg(core, intb, a1); si476x_core_cmd_intb_pin_cfg()
H A Dqcom-spmi-pmic.c99 * In early versions of PM8941 and PM8226, the major revision number pmic_spmi_show_revid()
101 * Increment the major revision number here if the chip is an early pmic_spmi_show_revid()
/linux-4.4.14/arch/cris/arch-v32/kernel/
H A Dsetup.c61 unsigned long revision; show_cpuinfo() local
66 revision = rdvr(); show_cpuinfo()
69 if (cpinfo[i].rev == revision) { show_cpuinfo()
78 "cpu revision\t: %lu\n" show_cpuinfo()
92 revision, show_cpuinfo()
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp5/
H A Dmdp5_cfg.c18 int revision; member in struct:mdp5_cfg_handler
469 { .revision = 0, .config = { .hw = &msm8x74v1_config } },
470 { .revision = 2, .config = { .hw = &msm8x74v2_config } },
471 { .revision = 3, .config = { .hw = &apq8084_config } },
472 { .revision = 6, .config = { .hw = &msm8x16_config } },
473 { .revision = 9, .config = { .hw = &msm8x94_config } },
474 { .revision = 7, .config = { .hw = &msm8x96_config } },
491 return cfg_handler->revision; mdp5_cfg_get_hw_rev()
523 if (cfg_handlers[i].revision != minor) mdp5_cfg_init()
530 dev_err(dev->dev, "unexpected MDP minor revision: v%d.%d\n", mdp5_cfg_init()
536 cfg_handler->revision = minor; mdp5_cfg_init()
/linux-4.4.14/arch/mips/include/asm/octeon/
H A Docteon-model.h34 * models match only that model. If a pass (revision) is specified,
35 * then only that revision will be matched. Care should be taken when
51 /* Ignores revision in model checks */
74 * CN7XXX models with new revision encoding
109 * CNF7XXX models with new revision encoding
118 * CN6XXX models with new revision encoding
164 * CN5XXX models with new revision encoding
224 * CN3XXX models with old revision enconding
276 /* The revision byte (low byte) has two different encodings.
282 * <3:0>: revision
289 * <5:3>: major revision
290 * <2:0>: minor revision
294 /* Masks used for the various types of model/family/revision matching */
300 /* CN5XXX and later use different layout of bits in the revision ID field */
H A Dcvmx-sysinfo.h137 * Board major revision
139 * Board minor revision
/linux-4.4.14/arch/powerpc/platforms/52xx/
H A Defika.c147 const char *revision; efika_show_cpuinfo() local
155 revision = of_get_property(root, "revision", NULL); efika_show_cpuinfo()
164 if (revision) efika_show_cpuinfo()
165 seq_printf(m, "revision\t: %s\n", revision); efika_show_cpuinfo()
/linux-4.4.14/arch/sparc/include/asm/
H A Dmbus.h54 #define ROSS_604_REV_F 0x1 /* revision f */
55 #define ROSS_605 0xf /* revision a, a.1, and a.2 */
56 #define ROSS_605_REV_B 0xe /* revision b */
/linux-4.4.14/arch/arm/mach-ux500/
H A Did.h15 * @revision: version code in the series
19 u8 revision; member in struct:dbx500_asic_id
32 return dbx500_id.revision; dbx500_revision()
H A Did.c113 dbx500_id.revision = asicid & 0xff; ux500_setup_id()
/linux-4.4.14/arch/arm/mach-at91/
H A Dsoc.c81 soc_dev_attr->revision = kasprintf(GFP_KERNEL, "%X", at91_soc_init()
85 kfree(soc_dev_attr->revision); at91_soc_init()
93 pr_info("Detected SoC: %s, revision %X\n", soc->name, at91_soc_init()
/linux-4.4.14/drivers/mcb/
H A Dmcb-internal.h30 * @revision: Revison of Chameleon table in FPGA
39 u8 revision; member in struct:chameleon_fpga_header
54 * @rev: the revision of the variant's implementation
89 * @rev: the revision of the variant's implementation
H A Dmcb-parse.c116 pr_debug("header->revision = %d\n", header->revision); chameleon_parse_cells()
/linux-4.4.14/include/linux/
H A Dsys_soc.h14 const char *revision; member in struct:soc_device_attribute
H A Datmel_pdc.h8 * Based on AT91RM9200 datasheet revision E.
H A Dtc.h51 s32 revision; /* Hardware revision level. */ member in struct:tcinfo
H A Dcper.h34 * CPER record header revision, used in revision field in struct
119 * CPER section header revision, used in revision field in struct
266 __u16 revision; /* must be CPER_RECORD_REV */ member in struct:cper_record_header
288 __u16 revision; /* must be CPER_RECORD_REV */ member in struct:cper_section_descriptor
/linux-4.4.14/include/media/
H A Dtveeprom.h52 * @revision: Card revision number
54 * @rev_str: Card revision converted to number
74 u32 revision; member in struct:tveeprom
H A Dmedia-entity.h70 u32 revision; /* Entity revision, driver specific */ member in struct:media_entity
/linux-4.4.14/arch/mips/loongson64/common/
H A Dplatform.c24 /* Only 2F revision and it's successors support CPUFreq */ loongson2_cpufreq_init()
/linux-4.4.14/arch/arm64/kernel/
H A Dacpi.c124 * and carry out revision and ACPI HW reduced compliancy tests acpi_fadt_sanity_check()
137 * Revision in table header is the FADT Major revision, and there acpi_fadt_sanity_check()
138 * is a minor revision of FADT which was introduced by ACPI 5.1, acpi_fadt_sanity_check()
139 * we only deal with ACPI 5.1 or newer revision to get GIC and SMP acpi_fadt_sanity_check()
142 if (table->revision < 5 || acpi_fadt_sanity_check()
143 (table->revision == 5 && fadt->minor_revision < 1)) { acpi_fadt_sanity_check()
144 pr_err("Unsupported FADT revision %d.%d, should be 5.1+\n", acpi_fadt_sanity_check()
145 table->revision, fadt->minor_revision); acpi_fadt_sanity_check()
168 * 3. check ACPI FADT revision
H A Defi.c108 if ((efi.systab->hdr.revision >> 16) < 2) uefi_init()
110 efi.systab->hdr.revision >> 16, uefi_init()
111 efi.systab->hdr.revision & 0xffff); uefi_init()
124 efi.systab->hdr.revision >> 16, uefi_init()
125 efi.systab->hdr.revision & 0xffff, vendor); uefi_init()
320 efi.runtime_version = efi.systab->hdr.revision; arm64_enable_runtime_services()
/linux-4.4.14/include/linux/mfd/
H A Dkempld.h58 * @major: PLD major revision
59 * @minor: PLD minor revision
63 * @spec_major: PLD FW specification major revision
64 * @spec_minor: PLD FW specification minor revision
/linux-4.4.14/drivers/scsi/mvsas/
H A Dmv_94xx.c70 if (mvi->pdev->revision == VANIR_A0_REV) set_phy_tuning()
119 if ((mvi->pdev->revision == VANIR_A0_REV) set_phy_ffe_tuning()
120 || (mvi->pdev->revision == VANIR_B0_REV)) set_phy_ffe_tuning()
231 switch (mvi->pdev->revision) { mvs_94xx_config_reg_from_hba()
313 u8 revision = 0; mvs_94xx_phy_enable() local
315 revision = mvi->pdev->revision; mvs_94xx_phy_enable()
316 if (revision == VANIR_A0_REV) { mvs_94xx_phy_enable()
320 if (revision == VANIR_B0_REV) { mvs_94xx_phy_enable()
338 u8 revision; mvs_94xx_init() local
340 revision = mvi->pdev->revision; mvs_94xx_init()
373 if (revision == VANIR_A0_REV) { mvs_94xx_init()
378 if (revision == VANIR_A0_REV || revision == VANIR_B0_REV) mvs_94xx_init()
385 if (revision == VANIR_B0_REV) { mvs_94xx_init()
402 if ((revision == VANIR_A0_REV) || mvs_94xx_init()
403 (revision == VANIR_B0_REV) || mvs_94xx_init()
404 (revision == VANIR_C0_REV)) { mvs_94xx_init()
965 if ((mvi->pdev->revision == VANIR_A0_REV) || mvs_94xx_fix_dma()
966 (mvi->pdev->revision == VANIR_B0_REV)) mvs_94xx_fix_dma()
/linux-4.4.14/arch/alpha/include/asm/
H A Derr_common.h84 u16 revision; /* header revision */ member in struct:el_subpacket
/linux-4.4.14/arch/mips/include/asm/xtalk/
H A Dxtalk.h7 * IRIX <sys/PCI/bridge.h>, revision 1.38.
27 typedef int xwidget_rev_num_t; /* xtalk widget revision number */
/linux-4.4.14/arch/sh/boards/mach-sdk7780/
H A Dsetup.c81 printk(KERN_INFO "Board version: %d (revision %d), " sdk7780_setup()
82 "FPGA version: %d (revision %d), datestamp : %d\n", sdk7780_setup()
/linux-4.4.14/arch/m68k/sun3/prom/
H A Dmisc.c82 /* Get the prom plugin-revision. */
89 /* Get the prom firmware print revision. */
/linux-4.4.14/arch/openrisc/kernel/
H A Dsetup.c114 unsigned int revision; print_cpuinfo() local
117 revision = (vr & SPR_VR_REV); print_cpuinfo()
119 printk(KERN_INFO "CPU: OpenRISC-%x (revision %d) @%d MHz\n", print_cpuinfo()
120 version, revision, cpuinfo.clock_frequency / 1000000); print_cpuinfo()
326 int version, revision; show_cpuinfo() local
330 revision = vr & SPR_VR_REV; show_cpuinfo()
334 "revision\t: %d\n" show_cpuinfo()
344 revision, show_cpuinfo()
/linux-4.4.14/arch/arm/mach-omap1/
H A Dgpio15xx.c41 .revision = USHRT_MAX,
82 .revision = USHRT_MAX,
H A Did.c35 u8 die_rev; /* Processor revision */
36 u32 omap_id; /* OMAP revision */
103 * Get OMAP revision from DIE_REV.
165 /* Check if we can find the die revision */ omap_check_revision()
206 printk(KERN_INFO " revision %i handled as %02xxx id: %08x%08x\n", omap_check_revision()
H A Dgpio16xx.c49 .revision = USHRT_MAX,
90 .revision = OMAP1610_GPIO_REVISION,
H A Dgpio7xx.c48 .revision = USHRT_MAX,
89 .revision = USHRT_MAX,
/linux-4.4.14/arch/mips/pci/
H A Dfixup-cobalt.c103 printk(KERN_INFO "Galileo: revision %u\n", dev->revision); qube_raq_galileo_fixup()
106 if (dev->revision >= 0x10) { qube_raq_galileo_fixup()
109 } else if (dev->revision == 0x1 || dev->revision == 0x2) qube_raq_galileo_fixup()
/linux-4.4.14/drivers/bcma/
H A Dsprom.c63 bcma_debug(bus, "Using SPROM revision %d provided by platform.\n", bcma_fill_sprom_with_fallback()
64 bus->sprom.revision); bcma_fill_sprom_with_fallback()
160 u16 revision; bcma_sprom_valid() local
167 revision = sprom[words - 1] & SSB_SPROM_REVISION_REV; bcma_sprom_valid()
168 if (revision != 8 && revision != 9 && revision != 10) { bcma_sprom_valid()
169 pr_err("Unsupported SPROM revision: %d\n", revision); bcma_sprom_valid()
173 bus->sprom.revision = revision; bcma_sprom_valid()
174 bcma_debug(bus, "Found SPROM revision %d\n", revision); bcma_sprom_valid()
/linux-4.4.14/drivers/staging/fsl-mc/include/
H A Ddpmng.h52 * @revision: Internal revision number: incremented on implementation changes
58 u32 revision; member in struct:mc_version
/linux-4.4.14/drivers/media/pci/mantis/
H A Dmantis_pci.c99 mantis->revision = pdev->revision; mantis_pci_init()
102 mantis->revision, mantis_pci_init()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
H A Dchip.h28 * @chiprev: chip revision.
31 * @pmurev: PMU revision.
53 * @rev: core revision.
H A Dfwil_types.h576 * @rev: revision specifier for ccode. on set, -1 indicates unspecified.
586 * struct brcmf_rev_info_le - device revision info.
590 * @radiorev: radio revision.
591 * @chiprev: chip revision.
592 * @corerev: core revision.
595 * @boardrev: board revision.
601 * @phyrev: phy revision.
604 * @nvramrev: nvram revision number.
/linux-4.4.14/drivers/base/
H A Dsoc.c37 static DEVICE_ATTR(revision, S_IRUGO, soc_info_get, NULL);
58 && (soc_dev->attr->revision != NULL)) soc_attribute_mode()
79 return sprintf(buf, "%s\n", soc_dev->attr->revision); soc_info_get()
/linux-4.4.14/arch/arm/mach-tegra/
H A Dtegra.c98 soc_dev_attr->revision = kasprintf(GFP_KERNEL, "%d", tegra_dt_init()
99 tegra_sku_info.revision); tegra_dt_init()
105 kfree(soc_dev_attr->revision); tegra_dt_init()
/linux-4.4.14/drivers/ata/
H A Dpata_ali.c437 * The chipset revision selects the driver operations and ali_init_chipset()
441 if (pdev->revision <= 0x20) { ali_init_chipset()
449 if (pdev->revision < 0xC2) ali_init_chipset()
454 if (pdev->revision >= 0xc2) ali_init_chipset()
463 if (pdev->revision >= 0xc7) ali_init_chipset()
474 if (pdev->revision == 0xC2) ali_init_chipset()
476 else if (pdev->revision > 0xC2 && pdev->revision < 0xC5) ali_init_chipset()
487 * An ALi IDE interface has been discovered. Figure out what revision
560 * The chipset revision selects the driver operations and ali_init_one()
564 if (pdev->revision < 0x20) { ali_init_one()
566 } else if (pdev->revision < 0xC2) { ali_init_one()
568 } else if (pdev->revision == 0xC2) { ali_init_one()
570 } else if (pdev->revision == 0xC3) { ali_init_one()
572 } else if (pdev->revision == 0xC4) { ali_init_one()
579 if (ali_isa_bridge && pdev->revision >= 0x20 && pdev->revision < 0xC2) { ali_init_one()
H A Dpata_sl82c105.c260 * providing it is a Winbond 553 reports the revision. If it cannot
261 * find a revision or the right device it returns -1
286 * We need to find function 0's revision, not function 1 sl82c105_bridge_revision()
289 return bridge->revision; sl82c105_bridge_revision()
331 "pata_sl82c105: Early bridge revision, no DMA available\n"); sl82c105_init_one()
/linux-4.4.14/drivers/media/pci/cx23885/
H A Dnetup-eeprom.h30 u8 rev;/* card revision */
/linux-4.4.14/drivers/net/wireless/b43/
H A Dpio.h12 /*** Registers for PIO queues up to revision 7. ***/
33 /*** Registers for PIO queues revision 8 and later. ***/
93 /* Shortcut to the 802.11 core revision. This is to
102 /* Shortcut to the 802.11 core revision. This is to
/linux-4.4.14/drivers/pci/
H A Dpci-acpi.c49 u32 revision = fields[1].integer.value; decode_type0_hpx_record() local
51 switch (revision) { decode_type0_hpx_record()
59 hpx->t0->revision = revision; decode_type0_hpx_record()
68 __func__, revision); decode_type0_hpx_record()
79 u32 revision = fields[1].integer.value; decode_type1_hpx_record() local
81 switch (revision) { decode_type1_hpx_record()
89 hpx->t1->revision = revision; decode_type1_hpx_record()
97 __func__, revision); decode_type1_hpx_record()
108 u32 revision = fields[1].integer.value; decode_type2_hpx_record() local
110 switch (revision) { decode_type2_hpx_record()
118 hpx->t2->revision = revision; decode_type2_hpx_record()
139 __func__, revision); decode_type2_hpx_record()
238 hpp->t0->revision = 1; acpi_run_hpp()
/linux-4.4.14/drivers/acpi/
H A Dreboot.c20 if (acpi_gbl_FADT.header.revision < 2) acpi_reboot()
/linux-4.4.14/net/bridge/netfilter/
H A Debt_dnat.c51 .revision = 0,
H A Debt_pkttype.c35 .revision = 0,
H A Debt_802_3.c51 .revision = 0,
H A Debt_arpreply.c75 .revision = 0,
H A Debt_mark_m.c72 .revision = 0,
H A Debt_nflog.c51 .revision = 0,
H A Debt_redirect.c57 .revision = 0,
H A Debt_snat.c64 .revision = 0,
/linux-4.4.14/arch/powerpc/platforms/86xx/
H A Dgef_sbc310.c98 /* Return the PCB revision */ gef_sbc310_get_board_id()
107 /* Return the PCB revision */ gef_sbc310_get_pcb_rev()
116 /* Return the board (software) revision */ gef_sbc310_get_board_rev()
125 /* Return the FPGA revision */ gef_sbc310_get_fpga_rev()
H A Dgef_ppc9a.c99 /* Return the PCB revision */ gef_ppc9a_get_pcb_rev()
108 /* Return the board (software) revision */ gef_ppc9a_get_board_rev()
117 /* Return the FPGA revision */ gef_ppc9a_get_fpga_rev()
H A Dgef_sbc610.c99 /* Return the PCB revision */ gef_sbc610_get_pcb_rev()
108 /* Return the board (software) revision */ gef_sbc610_get_board_rev()
117 /* Return the FPGA revision */ gef_sbc610_get_fpga_rev()
/linux-4.4.14/arch/mips/pmcs-msp71xx/
H A Dmsp_setup.c154 unsigned long revision; prom_init() local
168 revision = identify_revision(); prom_init()
172 if (FPGA_IS_MSP4200(revision)) { prom_init()
173 /* Old-style revision ID */ prom_init()
/linux-4.4.14/arch/avr32/boards/merisc/
H A Dmerisc_sysfs.c43 __ATTR(revision, S_IRUGO, merisc_revision_show, NULL),
H A Dsetup.c39 /* Holds the autodetected board model and revision */
252 printk(KERN_NOTICE "BOARD: Merisc %s revision %s\n", merisc_model(), merisc_init()
/linux-4.4.14/arch/arm/mach-s3c24xx/
H A Danubis.h22 /* IDREG - revision */
/linux-4.4.14/drivers/watchdog/
H A Dat91sam9_wdt.h8 * Based on AT91SAM9261 datasheet revision D.
H A Dit8712f_wdt.c56 static unsigned char revision; variable
170 if (revision >= 0x08) it8712f_wdt_update_margin()
214 if (revision >= 0x08) it8712f_wdt_disable()
388 revision = superio_inb(DEVREV) & 0x0f; it8712f_wdt_find()
391 if (revision >= 0x08) it8712f_wdt_find()
397 pr_info("Found IT%04xF chip revision %d - using DogFood address 0x%x\n", it8712f_wdt_find()
398 chip_type, revision, *address); it8712f_wdt_find()
H A Dpcwd.c105 /* Port 1 : Control Status #1 for the PC Watchdog card, revision A. */
111 /* Port 1 : Control Status #1 for the PC Watchdog card, revision C. */
178 int revision; /* The card's revision */ member in struct:__anon11286
335 if (pcwd_private.revision == PCWD_REVISION_A) pcwd_show_card_info()
338 else if (pcwd_private.revision == PCWD_REVISION_C) { pcwd_show_card_info()
379 if (pcwd_private.revision == PCWD_REVISION_A) { pcwd_timer_ping()
411 if (pcwd_private.revision == PCWD_REVISION_C) { pcwd_start()
437 if (pcwd_private.revision == PCWD_REVISION_C) { pcwd_stop()
487 if (pcwd_private.revision == PCWD_REVISION_A) pcwd_get_status()
502 if (pcwd_private.revision == PCWD_REVISION_A) { pcwd_get_status()
533 if (pcwd_private.revision == PCWD_REVISION_C) { pcwd_clear_status()
622 if (pcwd_private.revision == PCWD_REVISION_C) { pcwd_ioctl()
874 /* Check card's revision */ pcwd_isa_probe()
875 pcwd_private.revision = get_revision(); pcwd_isa_probe()
878 (pcwd_private.revision == PCWD_REVISION_A) ? 2 : 4, "PCWD")) { pcwd_isa_probe()
945 (pcwd_private.revision == PCWD_REVISION_A) ? 2 : 4); pcwd_isa_probe()
969 (pcwd_private.revision == PCWD_REVISION_A) ? 2 : 4); pcwd_isa_remove()
/linux-4.4.14/drivers/gpu/drm/bridge/
H A Ddw_hdmi-ahb-audio.c137 u8 revision; member in struct:snd_dw_hdmi
412 switch (dw->revision) { dw_hdmi_prepare()
539 unsigned revision; snd_dw_hdmi_probe() local
544 revision = readb_relaxed(data->base + HDMI_REVISION_ID); snd_dw_hdmi_probe()
545 if (revision != 0x0a && revision != 0x1a) { snd_dw_hdmi_probe()
546 dev_err(dev, "dw-hdmi-audio: unknown revision 0x%02x\n", snd_dw_hdmi_probe()
547 revision); snd_dw_hdmi_probe()
559 "%s rev 0x%02x, irq %d", card->shortname, revision, snd_dw_hdmi_probe()
565 dw->revision = revision; snd_dw_hdmi_probe()
/linux-4.4.14/drivers/video/fbdev/via/
H A Dvia_aux_edid.c47 spec->version = spec->revision = 0; query_edid()
50 valid = spec->version || spec->revision; query_edid()
/linux-4.4.14/arch/sparc/prom/
H A Dmisc_32.c115 /* Get the prom plugin-revision. */
122 /* Get the prom firmware print revision. */
/linux-4.4.14/include/uapi/scsi/fc/
H A Dfc_gs.h31 __u8 ct_rev; /* revision */
48 FC_CT_REV = 1 /* common transport revision */
/linux-4.4.14/arch/powerpc/include/asm/
H A Dmpc85xx.h16 #define SVR_MAJ(svr) (((svr) >> 4) & 0xF) /* Major revision field*/
17 #define SVR_MIN(svr) (((svr) >> 0) & 0xF) /* Minor revision field*/
/linux-4.4.14/arch/arm/mach-davinci/
H A Dcommon.c93 * revision check below. davinci_common_init()
99 * We want to check CPU revision early for cpu_is_xxxx() macros. davinci_common_init()
/linux-4.4.14/arch/mips/include/asm/
H A Dwar.h175 * MIPS 4K RTL revision <3.0, PRID revision <4
193 * MIPS 5Kc,5Kf RTL revision <2.3, PRID revision <8
194 * MIPS 20Kc RTL revision <4.0, PRID revision <?
/linux-4.4.14/arch/avr32/kernel/
H A Dcpu.c301 printk ("CPU: %s chip revision %c\n", get_chip_name(&boot_cpu_data), setup_processor()
303 printk ("CPU: %s [%02x] core revision %d (%s arch revision %d)\n", setup_processor()
350 seq_printf(m, "chip type\t: %s revision %c\n", c_show()
354 seq_printf(m, "cpu arch\t: %s revision %d\n", c_show()
358 seq_printf(m, "cpu core\t: %s revision %d\n", c_show()
/linux-4.4.14/drivers/net/ethernet/sfc/
H A Dnic.c175 #define REGISTER_REVISION_FZ 3 /* last Falcon arch revision */
177 #define REGISTER_REVISION_EZ 4 /* latest EF10 revision */
380 if (efx->type->revision >= reg->min_revision && efx_nic_get_regs_len()
381 efx->type->revision <= reg->max_revision) efx_nic_get_regs_len()
387 if (efx->type->revision >= table->min_revision && efx_nic_get_regs_len()
388 efx->type->revision <= table->max_revision) efx_nic_get_regs_len()
402 if (efx->type->revision >= reg->min_revision && efx_nic_get_regs()
403 efx->type->revision <= reg->max_revision) { efx_nic_get_regs()
414 if (!(efx->type->revision >= table->min_revision && efx_nic_get_regs()
415 efx->type->revision <= table->max_revision)) efx_nic_get_regs()
/linux-4.4.14/drivers/ide/
H A Dcmd64x.c245 * ASUS P55T2P4D with CMD646 chipset revision 0x01 requires the old
388 * tell me the details, the 0x03 revision cannot support cmd64x_init_one()
394 * So we only do UltraDMA on revision 0x05 and 0x07 chipsets. cmd64x_init_one()
396 if (dev->revision < 5) { cmd64x_init_one()
401 * PCI0646U (i.e. revision ID 3). cmd64x_init_one()
403 if (dev->revision < 3) { cmd64x_init_one()
406 if (dev->revision == 1) cmd64x_init_one()
/linux-4.4.14/include/linux/netfilter/
H A Dx_tables.h113 u_int8_t revision; member in struct:xt_match
152 u_int8_t revision; member in struct:xt_target
265 struct xt_match *xt_find_match(u8 af, const char *name, u8 revision);
266 struct xt_target *xt_find_target(u8 af, const char *name, u8 revision);
267 struct xt_match *xt_request_find_match(u8 af, const char *name, u8 revision);
268 struct xt_target *xt_request_find_target(u8 af, const char *name, u8 revision);
269 int xt_find_revision(u8 af, const char *name, u8 revision, int target,
429 u_int8_t revision; member in struct:compat_xt_entry_match::__anon13020::__anon13021
445 u_int8_t revision; member in struct:compat_xt_entry_target::__anon13023::__anon13024
/linux-4.4.14/drivers/gpu/drm/gma500/
H A Dmid_bios.c122 u8 revision; member in struct:mid_vbt_header
307 dev_dbg(dev->dev, "GCT revision is %02x\n", vbt_header.revision); mid_get_vbt_data()
309 switch (vbt_header.revision) { mid_get_vbt_data()
320 dev_err(dev->dev, "Unknown revision of GCT!\n"); mid_get_vbt_data()
/linux-4.4.14/arch/m68k/include/asm/
H A Ddvma.h124 /* DMA revision */
125 enum dvma_rev revision; member in struct:Linux_SBus_DMA
131 #define DMA_ISBROKEN(dma) ((dma)->revision == dvmarev1)
132 #define DMA_ISESC1(dma) ((dma)->revision == dvmaesc1)
233 if(dma->revision>dvmarev1) regs->cond_reg |= DMA_3CLKS; \
H A Dmvme16xhw.h81 /* Lower 8 bits must match the revision register in the MC2 chip */
/linux-4.4.14/drivers/media/dvb-frontends/
H A Ddib7000m.c51 u16 revision; member in struct:dib7000m_state
196 if (state->revision == 0x4003) { dib7000m_set_output_mode()
245 if (state->revision != 0x4000) dib7000m_set_power_mode()
248 if (state->revision == 0x4003) dib7000m_set_power_mode()
275 if (state->revision == 0x4000) { // workaround for PA/MA dib7000m_set_adc_state()
577 if (state->revision == 0x4000) dib7000m_demod_reset()
612 if (state->revision == 0x4000) dib7000m_demod_reset()
725 if (state->revision > 0x4000) { // settings for the MC dib7000m_set_agc_config()
926 if (1 == 1 || state->revision > 0x4000) dib7000m_set_channel()
1001 if (state->revision == 0x4000) dib7000m_autosearch_start()
1030 if (state->revision == 0x4000) dib7000m_autosearch_is_irq()
1128 state->revision = dib7000m_read_word(state, 897); dib7000m_identify()
1129 if (state->revision != 0x4000 && dib7000m_identify()
1130 state->revision != 0x4001 && dib7000m_identify()
1131 state->revision != 0x4002 && dib7000m_identify()
1132 state->revision != 0x4003) { dib7000m_identify()
1138 if (state->revision == 0x4000 && dib7000m_read_word(state, 769) == 0x4000) { dib7000m_identify()
1143 switch (state->revision) { dib7000m_identify()
1420 if (st->revision == 0x4000) dib7000m_attach()
H A Ddib0070.c59 u8 revision; member in struct:dib0070_state
360 switch (state->revision) { dib0070_tune_digital()
413 switch (state->revision) { dib0070_tune_digital()
449 if (state->revision == DIB0070S_P1A) { dib0070_tune_digital()
660 state->revision = (dib0070_read_reg(state, 0x1f) >> 8) & 0xff; dib0070_reset()
665 state->revision = DIB0070S_P1A; dib0070_reset()
668 dprintk("Revision: %x", state->revision); dib0070_reset()
670 if (state->revision == DIB0070_P1D) { dib0070_reset()
704 if (state->revision == DIB0070S_P1A) dib0070_reset()
H A Ddib8000.c88 u16 revision; member in struct:dib8000_state
492 if (state->revision == 0x8002) { dib8000_set_diversity_in()
508 if (state->revision != 0x8090) dib8000_set_power_mode()
521 if (state->revision != 0x8090) dib8000_set_power_mode()
527 if (state->revision != 0x8090) dib8000_set_power_mode()
550 if (state->revision != 0x8090) { dib8000_set_adc_state()
576 if (state->revision == 0x8090) { dib8000_set_adc_state()
639 if (state->revision == 0x8090) { dib8000_sad_calib()
671 if (state->revision != 0x8090) { dib8000_reset_pll_common()
685 if (state->revision != 0x8090) dib8000_reset_pll_common()
694 if (state->revision != 0x8090) { dib8000_reset_pll()
758 if (state->revision == 0x8090) { dib8000_update_pll()
1032 if ((state->revision = dib8000_identify(&state->i2c)) == 0) dib8000_reset()
1036 if (state->revision != 0x8090) dib8000_reset()
1039 if (state->revision == 0x8000) dib8000_reset()
1054 if (state->revision == 0x8090) dib8000_reset()
1068 if (state->revision != 0x8090) { dib8000_reset()
1079 if (state->revision != 0x8090) dib8000_reset()
1085 if ((state->revision != 0x8090) && dib8000_reset()
1116 if ((state->revision != 8090) && (state->cfg.div_cfg != 0)) dib8000_reset()
1126 if (state->revision != 0x8090) dib8000_reset()
1204 if (state->revision == 0x8090) { dib8000_set_agc_config()
1220 if (state->revision != 0x8090) dib8000_set_agc_config()
1273 if (state->revision != 0x8090) dib8000_agc_startup()
2474 if (state->revision == 0x8090) dib8000_wait_lock()
2495 if (state->revision == 0x8090) dib8000_autosearch_start()
2498 if ((state->revision >= 0x8002) && dib8000_autosearch_start()
2510 if (state->revision == 0x8090) dib8000_autosearch_start()
2522 if (state->revision == 0x8090) dib8000_autosearch_start()
2535 } else if ((state->revision >= 0x8002) && dib8000_autosearch_start()
2552 if (state->revision == 0x8090) dib8000_autosearch_start()
2559 if (state->revision == 0x8090) dib8000_autosearch_start()
2613 if (state->revision == 0x8090) dib8000_autosearch_start()
2620 if (state->revision == 0x8090) dib8000_autosearch_start()
2638 if ((state->revision >= 0x8002) && dib8000_autosearch_irq()
2678 if (state->revision == 0x8090) { dib8000_set_dds()
2885 if (state->revision == 0x8090) dib8000_read_lock()
3020 if (state->revision == 0x8090) dib8000_tune()
3038 if (state->revision != 0x8090) { dib8000_tune()
3064 if (state->revision == 0x8090) dib8000_tune()
3096 if (state->revision == 0x8090) { dib8000_tune()
3129 if (state->revision == 0x8090) dib8000_tune()
3136 if (state->revision == 0x8090) dib8000_tune()
3232 if ((state->revision == 0x8090) || ((dib8000_read_word(state, 1291) >> 9) & 0x1)) { /* fe capable of deinterleaving : esram */ dib8000_tune()
3318 if ((state->revision != 0x8090) && (state->agc1_max != 0)) { dib8000_tune()
3353 if (state->revision == 0x8090) dib8000_wakeup()
3377 if (state->revision != 0x8090) dib8000_sleep()
3431 if (state->revision == 0x8090) dib8000_get_frontend()
3595 if (state->revision != 0x8090) { dib8000_set_frontend()
3619 if (state->revision != 0x8090) dib8000_set_frontend()
3723 if (state->revision != 0x8090) dib8000_set_frontend()
3785 if (state->revision == 0x8090) dib8000_read_ber()
3799 if (state->revision == 0x8090) dib8000_read_unc_blocks()
3835 if (state->revision != 0x8090) dib8000_get_snr()
3845 if (state->revision != 0x8090) dib8000_get_snr()
4184 if (state->revision < 0x8002) dib8000_get_stats()
/linux-4.4.14/include/uapi/linux/netfilter/ipset/
H A Dip_set.h60 IPSET_ATTR_REVISION, /* 4: Settype revision */
235 * If changed, new revision of iptables match/target is required.
238 /* Backward compatibility: set match revision 2 */
/linux-4.4.14/include/linux/netfilter_bridge/
H A Debtables.h35 u_int8_t revision; member in struct:ebt_match
52 u_int8_t revision; member in struct:ebt_watcher
70 u_int8_t revision; member in struct:ebt_target
/linux-4.4.14/arch/powerpc/platforms/85xx/
H A Dge_imp3a.c136 /* Return the PCB revision */ ge_imp3a_get_pcb_rev()
145 /* Return the board (software) revision */ ge_imp3a_get_board_rev()
154 /* Return the FPGA revision */ ge_imp3a_get_fpga_rev()
/linux-4.4.14/drivers/hwmon/
H A Dthmc50.c325 unsigned revision; thmc50_detect() local
339 revision = i2c_smbus_read_byte_data(client, THMC50_REG_DIE_CODE); thmc50_detect()
341 if (revision < 0xc0 || (config & 0x10)) thmc50_detect()
366 pr_debug("thmc50: Detected %s (version %x, revision %x)\n", thmc50_detect()
367 type_name, (revision >> 4) - 0xc, revision & 0xf); thmc50_detect()
H A Dsch5636.c411 int i, err, val, revision[2]; sch5636_probe() local
450 revision[i] = val; sch5636_probe()
453 data->addr, revision[0], revision[1]); sch5636_probe()
512 (revision[0] << 8) | revision[1], sch5636_probe()
/linux-4.4.14/drivers/usb/serial/
H A Dio_edgeport.h96 __u8 CpuRev; /* CPU revision level (chg only if s/w visible) */
97 __u8 BoardRev; /* PCB revision level (chg only if s/w visible) */
/linux-4.4.14/drivers/usb/chipidea/
H A Dbits.h20 * For 1.x revision, bit24 - bit31 are reserved
21 * For 2.x revision, bit25 - bit28 are 0x2
/linux-4.4.14/drivers/soc/tegra/fuse/
H A Dtegra-apbmisc.c110 tegra_sku_info.revision = rev; tegra_init_revision()
131 /* APBMISC registers (chip revision, ...) */ tegra_init_apbmisc()
H A Dspeedo-tegra30.c126 switch (sku_info->revision) { rev_sku_to_speedo_ids()
238 pr_warn("Tegra Unknown chip rev %d\n", sku_info->revision); rev_sku_to_speedo_ids()
H A Dspeedo-tegra114.c49 enum tegra_revision rev = sku_info->revision; rev_sku_to_speedo_ids()
H A Dspeedo-tegra20.c74 if (SPEEDO_ID_SELECT_0(sku_info->revision)) tegra20_init_speedo_data()
/linux-4.4.14/drivers/scsi/csiostor/
H A Dcsio_hw_chip.h48 #define CHELSIO_CHIP_CODE(version, revision) (((version) << 4) | (revision))
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_chip_type.h50 #define CHELSIO_CHIP_CODE(version, revision) (((version) << 4) | (revision))
/linux-4.4.14/drivers/gpu/drm/i915/
H A Dintel_csr.c194 if (IS_SKYLAKE(dev) && (dev->pdev->revision < intel_get_stepping()
196 return skl_stepping_info[dev->pdev->revision].stepping; intel_get_stepping()
197 else if (IS_BROXTON(dev) && (dev->pdev->revision < intel_get_stepping()
199 return bxt_stepping_info[dev->pdev->revision].stepping; intel_get_stepping()
206 if (IS_SKYLAKE(dev) && (dev->pdev->revision < intel_get_substepping()
208 return skl_stepping_info[dev->pdev->revision].substepping; intel_get_substepping()
209 else if (IS_BROXTON(dev) && (dev->pdev->revision < intel_get_substepping()
211 return bxt_stepping_info[dev->pdev->revision].substepping; intel_get_substepping()
/linux-4.4.14/arch/mips/cavium-octeon/executive/
H A Dcvmx-sysinfo.c89 * Board major revision
91 * Board minor revision
/linux-4.4.14/arch/arm/include/uapi/asm/
H A Dsetup.h93 /* board revision */
155 struct tag_revision revision; member in union:tag::__anon194
/linux-4.4.14/arch/arm/mach-clps711x/
H A Ddevices.c128 soc_dev_attr->revision = kasprintf(GFP_KERNEL, "%u", system_rev); clps711x_soc_init()
133 kfree(soc_dev_attr->revision); clps711x_soc_init()
/linux-4.4.14/drivers/s390/virtio/
H A Dvirtio_ccw.c59 unsigned int revision; /* Transport revision */ member in struct:virtio_ccw_device
102 __u16 revision; member in struct:virtio_rev_info
107 /* the highest virtio-ccw revision we support */
440 if (vcdev->revision == 0) { virtio_ccw_del_vq()
542 if (vcdev->revision == 0) { virtio_ccw_setup_vq()
754 if (vcdev->revision == 0) virtio_ccw_get_features()
780 if (vcdev->revision >= 1 && virtio_ccw_finalize_features()
782 dev_err(&vdev->dev, "virtio: device uses revision 1 " virtio_ccw_finalize_features()
810 if (vcdev->revision == 0) virtio_ccw_finalize_features()
1169 /* Set transport revision */ virtio_ccw_set_transport_rev()
1175 vcdev->revision = VIRTIO_CCW_REV_MAX; virtio_ccw_set_transport_rev()
1177 rev->revision = vcdev->revision; virtio_ccw_set_transport_rev()
1183 if (vcdev->revision == 0) virtio_ccw_set_transport_rev()
1186 * the revision: let's operate it in legacy virtio_ccw_set_transport_rev()
1191 vcdev->revision--; virtio_ccw_set_transport_rev()
/linux-4.4.14/drivers/net/wireless/
H A Dadm8211.c148 if (priv->pdev->revision < ADM8211_REV_CA) adm8211_read_eeprom()
166 if (priv->pdev->revision < ADM8211_REV_CA) adm8211_read_eeprom()
206 if (priv->pdev->revision < ADM8211_REV_CA) adm8211_read_eeprom()
225 if (priv->pdev->revision == ADM8211_REV_BA) adm8211_read_eeprom()
227 else if (priv->pdev->revision == ADM8211_REV_CA) adm8211_read_eeprom()
229 else if (priv->pdev->revision == ADM8211_REV_AB) adm8211_read_eeprom()
251 (priv->pdev->revision < ADM8211_REV_BA ? adm8211_write_sram()
269 if (priv->pdev->revision < ADM8211_REV_BA) { adm8211_write_sram_bytes()
435 if (priv->pdev->revision < ADM8211_REV_CA) adm8211_interrupt_rci()
709 (priv->pdev->revision < ADM8211_REV_CA ? tx_power : 0)); adm8211_rf_set_channel()
728 adm8211_write_bbp(dev, 0x1c, priv->pdev->revision == ADM8211_REV_BA ? adm8211_rf_set_channel()
767 if (priv->pdev->revision >= ADM8211_REV_BA) adm8211_update_mode()
868 switch (priv->pdev->revision) { adm8211_hw_init_bbp()
926 if (priv->pdev->revision == ADM8211_REV_BA) adm8211_hw_init_bbp()
1057 if (priv->pdev->revision != ADM8211_REV_BA) { adm8211_set_rate()
1145 if (priv->pdev->revision < ADM8211_REV_CA) adm8211_hw_init()
1174 if (priv->pdev->revision < ADM8211_REV_CA) adm8211_hw_init()
1233 if (priv->pdev->revision == ADM8211_REV_BA && adm8211_hw_reset()
1239 } else if (priv->pdev->revision == ADM8211_REV_CA) { adm8211_hw_reset()
1880 if (pdev->revision >= ADM8211_REV_BA) { adm8211_probe()
1907 dev->wiphy->perm_addr, pdev->revision); adm8211_probe()
/linux-4.4.14/drivers/scsi/
H A Dgdth_ioctl.h246 u16 revision; /* revision */ member in struct:__anon9469::__anon9470::__anon9474
295 u16 revision; /* revision */ member in struct:__anon9481
H A Dips.c2157 if (ha->pcidev->revision <= IPS_REVID_SERVERAID) { ips_identify_controller()
2159 } else if (ha->pcidev->revision == IPS_REVID_SERVERAID2) { ips_identify_controller()
2161 } else if (ha->pcidev->revision == IPS_REVID_NAVAJO) { ips_identify_controller()
2163 } else if ((ha->pcidev->revision == IPS_REVID_SERVERAID2) ips_identify_controller()
2166 } else if ((ha->pcidev->revision >= IPS_REVID_CLARINETP1) && ips_identify_controller()
2167 (ha->pcidev->revision <= IPS_REVID_CLARINETP3)) { ips_identify_controller()
2172 } else if ((ha->pcidev->revision >= IPS_REVID_TROMBONE32) && ips_identify_controller()
2173 (ha->pcidev->revision <= IPS_REVID_TROMBONE64)) { ips_identify_controller()
2232 /* Get the BIOS revision number */
2261 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_get_bios_version()
2268 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_get_bios_version()
2276 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_get_bios_version()
2283 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_get_bios_version()
2289 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_get_bios_version()
2298 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_get_bios_version()
2305 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_get_bios_version()
2313 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_get_bios_version()
2320 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_get_bios_version()
2327 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_get_bios_version()
4784 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_init_copperhead()
4878 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_init_copperhead_memio()
6077 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_erase_bios()
6081 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_erase_bios()
6086 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_erase_bios()
6091 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_erase_bios()
6096 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_erase_bios()
6102 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) { ips_erase_bios()
6122 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_erase_bios()
6128 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) { ips_erase_bios()
6158 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_erase_bios()
6163 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_erase_bios()
6189 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_erase_bios_memio()
6193 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_erase_bios_memio()
6198 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_erase_bios_memio()
6203 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_erase_bios_memio()
6208 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_erase_bios_memio()
6214 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) { ips_erase_bios_memio()
6234 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_erase_bios_memio()
6240 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) { ips_erase_bios_memio()
6270 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_erase_bios_memio()
6275 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_erase_bios_memio()
6304 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_program_bios()
6308 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_program_bios()
6312 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_program_bios()
6318 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) { ips_program_bios()
6335 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_program_bios()
6339 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_program_bios()
6349 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_program_bios()
6353 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_program_bios()
6362 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_program_bios()
6366 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_program_bios()
6395 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_program_bios_memio()
6399 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_program_bios_memio()
6403 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_program_bios_memio()
6409 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) { ips_program_bios_memio()
6426 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_program_bios_memio()
6430 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_program_bios_memio()
6440 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_program_bios_memio()
6444 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_program_bios_memio()
6453 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_program_bios_memio()
6457 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_program_bios_memio()
6482 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_verify_bios()
6489 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_verify_bios()
6498 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_verify_bios()
6531 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_verify_bios_memio()
6538 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_verify_bios_memio()
6547 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) ips_verify_bios_memio()
/linux-4.4.14/drivers/input/misc/
H A Dpm8941-pwrkey.c53 unsigned int revision; member in struct:pm8941_pwrkey
66 /* PMICs with revision 0 have the enable bit in same register as ctrl */ pm8941_reboot_notify()
67 if (pwrkey->revision == 0) pm8941_reboot_notify()
197 &pwrkey->revision); pm8941_pwrkey_probe()
/linux-4.4.14/drivers/media/rc/
H A Dene_ir.h74 /* IRQ registers block (for revision B) */
86 /* IRQ registers block (for revision C,D) */
162 #define ENE_ECHV 0xFF00 /* hardware revision */
205 int hw_revision; /* hardware revision */
/linux-4.4.14/drivers/media/i2c/
H A Dak881x.c35 char revision; /* DEVICE_REVISION content */ member in struct:ak881x
258 ak881x->revision = reg_read(client, AK881X_DEVICE_REVISION); ak881x_probe()
292 dev_info(&client->dev, "Detected an ak881x chip ID %x, revision %x\n", ak881x_probe()
293 data, ak881x->revision); ak881x_probe()
/linux-4.4.14/drivers/platform/chrome/
H A Dcros_ec_sysfs.c210 r_chip->revision[sizeof(r_chip->revision) - 1] = '\0'; show_ec_version()
216 "Chip revision: %s\n", r_chip->revision); show_ec_version()
/linux-4.4.14/arch/x86/kernel/apic/
H A Dx2apic_phys.c25 if ((acpi_gbl_FADT.header.revision >= FADT2_REVISION_ID) && x2apic_fadt_phys()
/linux-4.4.14/arch/alpha/kernel/
H A Derr_impl.h20 u16 revision; member in struct:el_subpacket_annotation
/linux-4.4.14/include/soc/tegra/
H A Dfuse.h57 enum tegra_revision revision; member in struct:tegra_sku_info
/linux-4.4.14/include/uapi/linux/
H A Dmmtimer.h15 * 11/01/01 - jbarnes - initial revision
H A Dn_r3964.h42 * Initial revision
/linux-4.4.14/arch/mips/kernel/
H A Dcsrc-ioasic.c62 /* An early revision of the I/O ASIC didn't have the counter. */ dec_ioasic_clocksource_init()
/linux-4.4.14/arch/mips/lantiq/
H A Dprom.c30 * information about the specific soc type, revision and name
/linux-4.4.14/arch/ia64/include/asm/
H A Dfpswa.h66 unsigned int revision; member in struct:__anon1475
/linux-4.4.14/arch/arm/mach-omap2/
H A Ddma.c117 u8 revision = dma_read(REVISION, 0) & 0xff; omap2_show_dma_caps() local
118 printk(KERN_INFO "OMAP DMA hardware revision %d.%d\n", omap2_show_dma_caps()
119 revision >> 4, revision & 0xf); omap2_show_dma_caps()
H A Did.c345 * We cannot access revision registers on ES1.0. omap3xxx_check_revision()
346 * If the processor type is Cortex-A8 and the revision is 0x0 omap3xxx_check_revision()
360 * revision numbers as ES1.0 uses value 0. omap3xxx_check_revision()
390 /* Use the latest known revision as default */ omap3xxx_check_revision()
528 * revision numbers as ES1.0 uses value 0. omap4xxx_check_revision()
695 * detect the exact revision later on in omap2_detect_revision() once map_io
762 soc_dev_attr->revision = soc_rev; omap_soc_device_init()
H A Dgpio.c80 pdata->regs->revision = OMAP24XX_GPIO_REVISION; omap2_gpio_dev_init()
102 pdata->regs->revision = OMAP4_GPIO_REVISION; omap2_gpio_dev_init()
H A Di2c.c77 WARN(1, "Cannot reset I2C block %s: unsupported revision\n", omap_i2c_reset()
162 * pass the hwmod class's CPU-specific knowledge of I2C IP revision in omap_i2c_add_bus()
/linux-4.4.14/sound/pci/ac97/
H A Dac97_local.h5 * For more details look to AC '97 component specification revision 2.2
/linux-4.4.14/include/linux/mfd/syscon/
H A Datmel-st.h6 * Based on AT91RM9200 datasheet revision E.
/linux-4.4.14/drivers/misc/
H A Dics932s401.c418 int vendor, device, revision; ics932s401_detect() local
425 revision = vendor >> ICS932S401_REV_SHIFT; ics932s401_detect()
435 if (revision != ICS932S401_REV) ics932s401_detect()
436 dev_info(&adapter->dev, "Unknown revision %d\n", revision); ics932s401_detect()
/linux-4.4.14/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe_phy.c100 * pch_gbe_phy_get_id - Retrieve the PHY ID and revision
122 * PHY_ID2: [bit15-10:ID(5-0)][bit9-4:Model][bit3-0:revision] pch_gbe_phy_get_id()
126 phy->revision = (u32) (phy_id2 & 0x000F); pch_gbe_phy_get_id()
128 "phy->id : 0x%08x phy->revision : 0x%08x\n", pch_gbe_phy_get_id()
129 phy->id, phy->revision); pch_gbe_phy_get_id()
/linux-4.4.14/arch/x86/pci/
H A Dpcbios.c64 unsigned char revision; /* Revision level, 0 */ member in struct:bios32::__anon3218
164 printk(KERN_INFO "PCI: PCI BIOS revision %x.%02x entry at 0x%lx, last bus=%d\n", check_pcibios()
344 if (check->fields.revision != 0) { pci_find_bios()
345 printk("PCI: unsupported BIOS32 revision %d at 0x%p\n", pci_find_bios()
346 check->fields.revision, check); pci_find_bios()
/linux-4.4.14/drivers/char/hw_random/
H A Dxgene-rng.c94 u32 revision; member in struct:xgene_rng_dev
297 ctx->revision = readl(ctx->csr_base + RNG_EIP_REV); xgene_rng_init()
300 MAJOR_HW_REV_RD(ctx->revision), xgene_rng_init()
301 MINOR_HW_REV_RD(ctx->revision), xgene_rng_init()
302 HW_PATCH_LEVEL_RD(ctx->revision)); xgene_rng_init()
/linux-4.4.14/sound/oss/
H A Dmpu401.c52 unsigned char version, revision; member in struct:mpu_config
930 devc->version = devc->revision = 0; mpu401_chk_version()
943 devc->revision = tmp; mpu401_chk_version()
970 devc->revision = 0; attach_mpu401()
1051 if (devc->version == 0x20 && devc->revision >= 0x07) /* MusicQuest interface */ attach_mpu401()
1053 int ports = (devc->revision & 0x08) ? 32 : 16; attach_mpu401()
1058 revision_char = (devc->revision == 0x7f) ? 'M' : ' '; attach_mpu401()
1066 revision_char = devc->revision ? devc->revision + '@' : ' '; attach_mpu401()
1067 if ((int) devc->revision > ('Z' - '@')) attach_mpu401()
1723 * revision number. The Super-MPU returns 0. mpu_timer_init()
1726 if (devc->revision) mpu_timer_init()
1729 if (devc->revision & 0x02) mpu_timer_init()
1733 if (devc->revision & 0x40) mpu_timer_init()
/linux-4.4.14/drivers/usb/host/
H A Dxhci-pci.c90 pdev->revision == 0x0) { xhci_pci_quirks()
97 pdev->revision == 0x4) { xhci_pci_quirks()
100 "QUIRK: Fresco Logic xHC revision %u" xhci_pci_quirks()
102 pdev->revision); xhci_pci_quirks()
112 "QUIRK: Fresco Logic revision %u " xhci_pci_quirks()
114 pdev->revision); xhci_pci_quirks()
/linux-4.4.14/net/netfilter/ipset/
H A Dip_set_core.c84 find_set_type(const char *name, u8 family, u8 revision) find_set_type() argument
92 revision >= type->revision_min && find_set_type()
93 revision <= type->revision_max) find_set_type()
114 #define find_set_type_get(name, family, revision, found) \
115 __find_set_type_get(name, family, revision, found, false)
118 __find_set_type_get(const char *name, u8 family, u8 revision, __find_set_type_get() argument
128 *found = find_set_type(name, family, revision); __find_set_type_get()
134 * but we don't support the revision __find_set_type_get()
144 __find_set_type_get(name, family, revision, found, true); __find_set_type_get()
192 * the unique triple of name, family and revision.
200 pr_warn("ip_set type %s, family %s, revision %u:%u uses wrong protocol version %u (want %u)\n", ip_set_type_register()
210 pr_warn("ip_set type %s, family %s with revision min %u already registered!\n", ip_set_type_register()
217 pr_debug("type %s, family %s, revision %u:%u registered.\n", ip_set_type_register()
232 pr_warn("ip_set type %s, family %s with revision min %u not registered\n", ip_set_type_unregister()
239 pr_debug("type %s, family %s with revision min %u unregistered.\n", ip_set_type_unregister()
847 u8 family, revision; ip_set_create() local
863 revision = nla_get_u8(attr[IPSET_ATTR_REVISION]); ip_set_create()
864 pr_debug("setname: %s, typename: %s, family: %s, revision: %u\n", ip_set_create()
865 name, typename, family_name(family), revision); ip_set_create()
876 set->revision = revision; ip_set_create()
885 ret = find_set_type_get(typename, family, revision, &set->type); ip_set_create()
1358 set->revision)) ip_set_dump_start()
1680 nla_put_u8(skb2, IPSET_ATTR_REVISION, set->revision)) ip_set_header()
/linux-4.4.14/drivers/thunderbolt/
H A Dtb_regs.h127 u32 revision:8; member in struct:tb_regs_switch_header
165 u32 revision:8; member in struct:tb_regs_port_header
/linux-4.4.14/drivers/i2c/busses/
H A Di2c-via.c26 #define PM_CFG_REVID 0x08 /* silicon revision code */
118 /* later revision */ vt586b_probe()
/linux-4.4.14/drivers/media/i2c/soc_camera/
H A Dtw9910.c235 u32 revision; member in struct:tw9910_priv
391 if (1 == priv->revision) tw9910_set_hsync()
467 switch (priv->revision) { tw9910_s_stream()
475 dev_err(&client->dev, "un-supported revision\n"); tw9910_s_stream()
833 priv->revision = GET_REV(id); tw9910_video_probe()
837 0x01 < priv->revision) { tw9910_video_probe()
840 id, priv->revision); tw9910_video_probe()
846 "tw9910 Product ID %0x:%0x\n", id, priv->revision); tw9910_video_probe()
/linux-4.4.14/drivers/media/usb/pvrusb2/
H A Dpvrusb2-eeprom.c143 trace_eeprom("revision=%d",tvdata.revision); pvr2_eeprom_analyze()
/linux-4.4.14/drivers/media/common/
H A Dtveeprom.c459 ** revision: tag [00].09-0b or [06].04-06 tveeprom_hauppauge_analog()
541 tvee->revision = eeprom_data[i+10] + tveeprom_hauppauge_analog()
607 tvee->revision = tveeprom_hauppauge_analog()
676 if (tvee->revision != 0) { tveeprom_hauppauge_analog()
677 tvee->rev_str[0] = 32 + ((tvee->revision >> 18) & 0x3f); tveeprom_hauppauge_analog()
678 tvee->rev_str[1] = 32 + ((tvee->revision >> 12) & 0x3f); tveeprom_hauppauge_analog()
679 tvee->rev_str[2] = 32 + ((tvee->revision >> 6) & 0x3f); tveeprom_hauppauge_analog()
680 tvee->rev_str[3] = 32 + (tvee->revision & 0x3f); tveeprom_hauppauge_analog()
/linux-4.4.14/drivers/power/
H A Dqcom_smbb.c111 unsigned int revision; member in struct:smbb_charger
808 rc = regmap_read(chg->regmap, chg->addr + SMBB_MISC_REV2, &chg->revision); smbb_charger_probe()
810 dev_err(&pdev->dev, "unable to read revision\n"); smbb_charger_probe()
814 chg->revision += 1; smbb_charger_probe()
815 if (chg->revision != 2 && chg->revision != 3) { smbb_charger_probe()
819 dev_info(&pdev->dev, "Initializing SMBB rev %u", chg->revision); smbb_charger_probe()
906 if (r->rev_mask & BIT(chg->revision)) smbb_charger_probe()
/linux-4.4.14/arch/x86/kernel/cpu/mcheck/
H A Dmce-apei.c86 rcd.hdr.revision = CPER_RECORD_REV; apei_write_mce()
100 rcd.sec_hdr.revision = CPER_SEC_REV; apei_write_mce()
/linux-4.4.14/arch/x86/kernel/cpu/microcode/
H A Dintel.c237 * - if it has matching signature and newer revision compared to an existing
381 /* get the current revision from MSR 0x8B */ collect_cpu_info_early()
580 pr_info("CPU%d microcode updated early to revision 0x%x, date = %04x-%02x-%02x\n", print_ucode_info()
669 /* get the current revision from MSR 0x8B */ apply_microcode_early()
824 pr_info("CPU%d sig=0x%x, pf=0x%x, revision=0x%x\n", collect_cpu_info()
882 /* get the current revision from MSR 0x8B */ apply_microcode_intel()
886 pr_err("CPU%d update to revision 0x%x failed\n", apply_microcode_intel()
890 pr_info("CPU%d updated to revision 0x%x, date = %04x-%02x-%02x\n", apply_microcode_intel()
/linux-4.4.14/arch/arm/mach-omap1/include/mach/
H A Dsoc.h81 * CPU revision (See _REV_ defined in cpu.h) [15:08]
87 * Get the CPU revision for OMAP devices
/linux-4.4.14/drivers/staging/rtl8192e/rtl8192e/
H A Drtl_pci.c54 RevisionID = pdev->revision; rtl92e_check_adapter()
/linux-4.4.14/drivers/rtc/
H A Drtc-at91rm9200.h8 * Based on AT91RM9200 datasheet revision E.

Completed in 7658 milliseconds

12345678