Lines Matching refs:revision
367 if (out->revision == 3) /* rev 3 moved MAC */ in sprom_extract_r123()
375 if (out->revision < 3) { /* only rev 1-2 have et0, et1 */ in sprom_extract_r123()
386 if (out->revision == 1) in sprom_extract_r123()
417 out->antenna_gain.a0 = sprom_extract_antgain(out->revision, in, in sprom_extract_r123()
421 out->antenna_gain.a1 = sprom_extract_antgain(out->revision, in, in sprom_extract_r123()
425 if (out->revision >= 2) in sprom_extract_r123()
481 if (out->revision == 4) in sprom_extract_r45()
493 if (out->revision == 4) { in sprom_extract_r45()
518 if (out->revision == 4) { in sprom_extract_r45()
535 out->antenna_gain.a0 = sprom_extract_antgain(out->revision, in, in sprom_extract_r45()
539 out->antenna_gain.a1 = sprom_extract_antgain(out->revision, in, in sprom_extract_r45()
543 out->antenna_gain.a2 = sprom_extract_antgain(out->revision, in, in sprom_extract_r45()
547 out->antenna_gain.a3 = sprom_extract_antgain(out->revision, in, in sprom_extract_r45()
677 out->antenna_gain.a0 = sprom_extract_antgain(out->revision, in, in sprom_extract_r8()
681 out->antenna_gain.a1 = sprom_extract_antgain(out->revision, in, in sprom_extract_r8()
685 out->antenna_gain.a2 = sprom_extract_antgain(out->revision, in, in sprom_extract_r8()
689 out->antenna_gain.a3 = sprom_extract_antgain(out->revision, in, in sprom_extract_r8()
816 out->revision = in[size - 1] & 0x00FF; in sprom_extract()
817 pr_debug("SPROM revision %d detected\n", out->revision); in sprom_extract()
825 out->revision = 1; in sprom_extract()
826 pr_debug("SPROM treated as revision %d\n", out->revision); in sprom_extract()
829 switch (out->revision) { in sprom_extract()
844 out->revision); in sprom_extract()
845 out->revision = 1; in sprom_extract()
873 if (bus->chipco.dev->id.revision >= 31) in ssb_pci_sprom_get()
913 sprom->revision); in ssb_pci_sprom_get()