Lines Matching +full:0 +full:xffff
28 #define SSB_VERBOSE_PCICORESWITCH_DEBUG 0
35 int attempts = 0; in ssb_pci_switch_coreidx()
57 return 0; in ssb_pci_switch_coreidx()
91 return 0; in ssb_pci_xtal()
181 SPEX(_field[0], _offset + 0, _mask, _shift); \
189 } while (0)
196 0x00, 0xF7, 0xB9, 0x4E, 0x25, 0xD2, 0x9C, 0x6B, in ssb_crc8()
197 0x4A, 0xBD, 0xF3, 0x04, 0x6F, 0x98, 0xD6, 0x21, in ssb_crc8()
198 0x94, 0x63, 0x2D, 0xDA, 0xB1, 0x46, 0x08, 0xFF, in ssb_crc8()
199 0xDE, 0x29, 0x67, 0x90, 0xFB, 0x0C, 0x42, 0xB5, in ssb_crc8()
200 0x7F, 0x88, 0xC6, 0x31, 0x5A, 0xAD, 0xE3, 0x14, in ssb_crc8()
201 0x35, 0xC2, 0x8C, 0x7B, 0x10, 0xE7, 0xA9, 0x5E, in ssb_crc8()
202 0xEB, 0x1C, 0x52, 0xA5, 0xCE, 0x39, 0x77, 0x80, in ssb_crc8()
203 0xA1, 0x56, 0x18, 0xEF, 0x84, 0x73, 0x3D, 0xCA, in ssb_crc8()
204 0xFE, 0x09, 0x47, 0xB0, 0xDB, 0x2C, 0x62, 0x95, in ssb_crc8()
205 0xB4, 0x43, 0x0D, 0xFA, 0x91, 0x66, 0x28, 0xDF, in ssb_crc8()
206 0x6A, 0x9D, 0xD3, 0x24, 0x4F, 0xB8, 0xF6, 0x01, in ssb_crc8()
207 0x20, 0xD7, 0x99, 0x6E, 0x05, 0xF2, 0xBC, 0x4B, in ssb_crc8()
208 0x81, 0x76, 0x38, 0xCF, 0xA4, 0x53, 0x1D, 0xEA, in ssb_crc8()
209 0xCB, 0x3C, 0x72, 0x85, 0xEE, 0x19, 0x57, 0xA0, in ssb_crc8()
210 0x15, 0xE2, 0xAC, 0x5B, 0x30, 0xC7, 0x89, 0x7E, in ssb_crc8()
211 0x5F, 0xA8, 0xE6, 0x11, 0x7A, 0x8D, 0xC3, 0x34, in ssb_crc8()
212 0xAB, 0x5C, 0x12, 0xE5, 0x8E, 0x79, 0x37, 0xC0, in ssb_crc8()
213 0xE1, 0x16, 0x58, 0xAF, 0xC4, 0x33, 0x7D, 0x8A, in ssb_crc8()
214 0x3F, 0xC8, 0x86, 0x71, 0x1A, 0xED, 0xA3, 0x54, in ssb_crc8()
215 0x75, 0x82, 0xCC, 0x3B, 0x50, 0xA7, 0xE9, 0x1E, in ssb_crc8()
216 0xD4, 0x23, 0x6D, 0x9A, 0xF1, 0x06, 0x48, 0xBF, in ssb_crc8()
217 0x9E, 0x69, 0x27, 0xD0, 0xBB, 0x4C, 0x02, 0xF5, in ssb_crc8()
218 0x40, 0xB7, 0xF9, 0x0E, 0x65, 0x92, 0xDC, 0x2B, in ssb_crc8()
219 0x0A, 0xFD, 0xB3, 0x44, 0x2F, 0xD8, 0x96, 0x61, in ssb_crc8()
220 0x55, 0xA2, 0xEC, 0x1B, 0x70, 0x87, 0xC9, 0x3E, in ssb_crc8()
221 0x1F, 0xE8, 0xA6, 0x51, 0x3A, 0xCD, 0x83, 0x74, in ssb_crc8()
222 0xC1, 0x36, 0x78, 0x8F, 0xE4, 0x13, 0x5D, 0xAA, in ssb_crc8()
223 0x8B, 0x7C, 0x32, 0xC5, 0xAE, 0x59, 0x17, 0xE0, in ssb_crc8()
224 0x2A, 0xDD, 0x93, 0x64, 0x0F, 0xF8, 0xB6, 0x41, in ssb_crc8()
225 0x60, 0x97, 0xD9, 0x2E, 0x45, 0xB2, 0xFC, 0x0B, in ssb_crc8()
226 0xBE, 0x49, 0x07, 0xF0, 0x9B, 0x6C, 0x22, 0xD5, in ssb_crc8()
227 0xF4, 0x03, 0x4D, 0xBA, 0xD1, 0x26, 0x68, 0x9F, in ssb_crc8()
235 for (i = 0; i < 3; i++) { in sprom_get_mac()
244 u8 crc = 0xFF; in ssb_sprom_crc()
246 for (word = 0; word < size - 1; word++) { in ssb_sprom_crc()
247 crc = ssb_crc8(crc, sprom[word] & 0x00FF); in ssb_sprom_crc()
248 crc = ssb_crc8(crc, (sprom[word] & 0xFF00) >> 8); in ssb_sprom_crc()
250 crc = ssb_crc8(crc, sprom[size - 1] & 0x00FF); in ssb_sprom_crc()
251 crc ^= 0xFF; in ssb_sprom_crc()
268 return 0; in sprom_check_crc()
275 for (i = 0; i < bus->sprom_size; i++) in sprom_do_read()
278 return 0; in sprom_do_read()
296 pr_notice("[ 0%%"); in sprom_do_write()
298 for (i = 0; i < size; i++) { in sprom_do_write()
321 return 0; in sprom_do_write()
335 if (gain == 0xFF) in sprom_extract_antgain()
341 /* Q5.2 Fractional part is stored in 0xC0 */ in sprom_extract_antgain()
342 gain = ((gain & 0xC0) >> 6) | ((gain & 0x3F) << 2); in sprom_extract_antgain()
350 SPEX(boardflags_hi, SSB_SPROM2_BFLHI, 0xFFFF, 0); in sprom_extract_r23()
351 SPEX(opo, SSB_SPROM2_OPO, SSB_SPROM2_OPO_VALUE, 0); in sprom_extract_r23()
352 SPEX(pa1lob0, SSB_SPROM2_PA1LOB0, 0xFFFF, 0); in sprom_extract_r23()
353 SPEX(pa1lob1, SSB_SPROM2_PA1LOB1, 0xFFFF, 0); in sprom_extract_r23()
354 SPEX(pa1lob2, SSB_SPROM2_PA1LOB2, 0xFFFF, 0); in sprom_extract_r23()
355 SPEX(pa1hib0, SSB_SPROM2_PA1HIB0, 0xFFFF, 0); in sprom_extract_r23()
356 SPEX(pa1hib1, SSB_SPROM2_PA1HIB1, 0xFFFF, 0); in sprom_extract_r23()
357 SPEX(pa1hib2, SSB_SPROM2_PA1HIB2, 0xFFFF, 0); in sprom_extract_r23()
358 SPEX(maxpwr_ah, SSB_SPROM2_MAXP_A, SSB_SPROM2_MAXP_A_HI, 0); in sprom_extract_r23()
368 loc[0] = SSB_SPROM3_IL0MAC; in sprom_extract_r123()
370 loc[0] = SSB_SPROM1_IL0MAC; in sprom_extract_r123()
374 sprom_get_mac(out->il0mac, &in[SPOFF(loc[0])]); in sprom_extract_r123()
379 SPEX(et0phyaddr, SSB_SPROM1_ETHPHY, SSB_SPROM1_ETHPHY_ET0A, 0); in sprom_extract_r123()
384 SPEX(board_rev, SSB_SPROM1_BINF, SSB_SPROM1_BINF_BREV, 0); in sprom_extract_r123()
385 SPEX(board_type, SSB_SPROM1_SPID, 0xFFFF, 0); in sprom_extract_r123()
393 SPEX(pa0b0, SSB_SPROM1_PA0B0, 0xFFFF, 0); in sprom_extract_r123()
394 SPEX(pa0b1, SSB_SPROM1_PA0B1, 0xFFFF, 0); in sprom_extract_r123()
395 SPEX(pa0b2, SSB_SPROM1_PA0B2, 0xFFFF, 0); in sprom_extract_r123()
396 SPEX(pa1b0, SSB_SPROM1_PA1B0, 0xFFFF, 0); in sprom_extract_r123()
397 SPEX(pa1b1, SSB_SPROM1_PA1B1, 0xFFFF, 0); in sprom_extract_r123()
398 SPEX(pa1b2, SSB_SPROM1_PA1B2, 0xFFFF, 0); in sprom_extract_r123()
399 SPEX(gpio0, SSB_SPROM1_GPIOA, SSB_SPROM1_GPIOA_P0, 0); in sprom_extract_r123()
402 SPEX(gpio2, SSB_SPROM1_GPIOB, SSB_SPROM1_GPIOB_P2, 0); in sprom_extract_r123()
407 SPEX(maxpwr_bg, SSB_SPROM1_MAXPWR, SSB_SPROM1_MAXPWR_BG, 0); in sprom_extract_r123()
410 SPEX(itssi_bg, SSB_SPROM1_ITSSI, SSB_SPROM1_ITSSI_BG, 0); in sprom_extract_r123()
411 SPEX(boardflags_lo, SSB_SPROM1_BFLLO, 0xFFFF, 0); in sprom_extract_r123()
413 SPEX(alpha2[0], SSB_SPROM1_CCODE, 0xff00, 8); in sprom_extract_r123()
414 SPEX(alpha2[1], SSB_SPROM1_CCODE, 0x00ff, 0); in sprom_extract_r123()
432 SPEX(txpid2g[0], SSB_SPROM4_TXPID2G01, in sprom_extract_r458()
441 SPEX(txpid5gl[0], SSB_SPROM4_TXPID5GL01, in sprom_extract_r458()
450 SPEX(txpid5g[0], SSB_SPROM4_TXPID5G01, in sprom_extract_r458()
459 SPEX(txpid5gh[0], SSB_SPROM4_TXPID5GH01, in sprom_extract_r458()
488 SPEX(et0phyaddr, SSB_SPROM4_ETHPHY, SSB_SPROM4_ETHPHY_ET0A, 0); in sprom_extract_r45()
491 SPEX(board_rev, SSB_SPROM4_BOARDREV, 0xFFFF, 0); in sprom_extract_r45()
492 SPEX(board_type, SSB_SPROM1_SPID, 0xFFFF, 0); in sprom_extract_r45()
494 SPEX(alpha2[0], SSB_SPROM4_CCODE, 0xff00, 8); in sprom_extract_r45()
495 SPEX(alpha2[1], SSB_SPROM4_CCODE, 0x00ff, 0); in sprom_extract_r45()
496 SPEX(boardflags_lo, SSB_SPROM4_BFLLO, 0xFFFF, 0); in sprom_extract_r45()
497 SPEX(boardflags_hi, SSB_SPROM4_BFLHI, 0xFFFF, 0); in sprom_extract_r45()
498 SPEX(boardflags2_lo, SSB_SPROM4_BFL2LO, 0xFFFF, 0); in sprom_extract_r45()
499 SPEX(boardflags2_hi, SSB_SPROM4_BFL2HI, 0xFFFF, 0); in sprom_extract_r45()
501 SPEX(alpha2[0], SSB_SPROM5_CCODE, 0xff00, 8); in sprom_extract_r45()
502 SPEX(alpha2[1], SSB_SPROM5_CCODE, 0x00ff, 0); in sprom_extract_r45()
503 SPEX(boardflags_lo, SSB_SPROM5_BFLLO, 0xFFFF, 0); in sprom_extract_r45()
504 SPEX(boardflags_hi, SSB_SPROM5_BFLHI, 0xFFFF, 0); in sprom_extract_r45()
505 SPEX(boardflags2_lo, SSB_SPROM5_BFL2LO, 0xFFFF, 0); in sprom_extract_r45()
506 SPEX(boardflags2_hi, SSB_SPROM5_BFL2HI, 0xFFFF, 0); in sprom_extract_r45()
512 SPEX(maxpwr_bg, SSB_SPROM4_MAXP_BG, SSB_SPROM4_MAXP_BG_MASK, 0); in sprom_extract_r45()
515 SPEX(maxpwr_a, SSB_SPROM4_MAXP_A, SSB_SPROM4_MAXP_A_MASK, 0); in sprom_extract_r45()
519 SPEX(gpio0, SSB_SPROM4_GPIOA, SSB_SPROM4_GPIOA_P0, 0); in sprom_extract_r45()
522 SPEX(gpio2, SSB_SPROM4_GPIOB, SSB_SPROM4_GPIOB_P2, 0); in sprom_extract_r45()
526 SPEX(gpio0, SSB_SPROM5_GPIOA, SSB_SPROM5_GPIOA_P0, 0); in sprom_extract_r45()
529 SPEX(gpio2, SSB_SPROM5_GPIOB, SSB_SPROM5_GPIOB_P2, 0); in sprom_extract_r45()
553 for (i = 0; i < ARRAY_SIZE(pwr_info_offset); i++) { in sprom_extract_r45()
559 SSB_SPROM4_2G_MAXP, 0); in sprom_extract_r45()
561 SPEX(core_pwr_info[i].pa_2g[0], o + SSB_SPROM4_2G_PA_0, ~0, 0); in sprom_extract_r45()
562 SPEX(core_pwr_info[i].pa_2g[1], o + SSB_SPROM4_2G_PA_1, ~0, 0); in sprom_extract_r45()
563 SPEX(core_pwr_info[i].pa_2g[2], o + SSB_SPROM4_2G_PA_2, ~0, 0); in sprom_extract_r45()
564 SPEX(core_pwr_info[i].pa_2g[3], o + SSB_SPROM4_2G_PA_3, ~0, 0); in sprom_extract_r45()
569 SSB_SPROM4_5G_MAXP, 0); in sprom_extract_r45()
571 SSB_SPROM4_5GH_MAXP, 0); in sprom_extract_r45()
575 SPEX(core_pwr_info[i].pa_5gl[0], o + SSB_SPROM4_5GL_PA_0, ~0, 0); in sprom_extract_r45()
576 SPEX(core_pwr_info[i].pa_5gl[1], o + SSB_SPROM4_5GL_PA_1, ~0, 0); in sprom_extract_r45()
577 SPEX(core_pwr_info[i].pa_5gl[2], o + SSB_SPROM4_5GL_PA_2, ~0, 0); in sprom_extract_r45()
578 SPEX(core_pwr_info[i].pa_5gl[3], o + SSB_SPROM4_5GL_PA_3, ~0, 0); in sprom_extract_r45()
579 SPEX(core_pwr_info[i].pa_5g[0], o + SSB_SPROM4_5G_PA_0, ~0, 0); in sprom_extract_r45()
580 SPEX(core_pwr_info[i].pa_5g[1], o + SSB_SPROM4_5G_PA_1, ~0, 0); in sprom_extract_r45()
581 SPEX(core_pwr_info[i].pa_5g[2], o + SSB_SPROM4_5G_PA_2, ~0, 0); in sprom_extract_r45()
582 SPEX(core_pwr_info[i].pa_5g[3], o + SSB_SPROM4_5G_PA_3, ~0, 0); in sprom_extract_r45()
583 SPEX(core_pwr_info[i].pa_5gh[0], o + SSB_SPROM4_5GH_PA_0, ~0, 0); in sprom_extract_r45()
584 SPEX(core_pwr_info[i].pa_5gh[1], o + SSB_SPROM4_5GH_PA_1, ~0, 0); in sprom_extract_r45()
585 SPEX(core_pwr_info[i].pa_5gh[2], o + SSB_SPROM4_5GH_PA_2, ~0, 0); in sprom_extract_r45()
586 SPEX(core_pwr_info[i].pa_5gh[3], o + SSB_SPROM4_5GH_PA_3, ~0, 0); in sprom_extract_r45()
608 SPEX(board_rev, SSB_SPROM8_BOARDREV, 0xFFFF, 0); in sprom_extract_r8()
609 SPEX(board_type, SSB_SPROM1_SPID, 0xFFFF, 0); in sprom_extract_r8()
610 SPEX(alpha2[0], SSB_SPROM8_CCODE, 0xff00, 8); in sprom_extract_r8()
611 SPEX(alpha2[1], SSB_SPROM8_CCODE, 0x00ff, 0); in sprom_extract_r8()
612 SPEX(boardflags_lo, SSB_SPROM8_BFLLO, 0xFFFF, 0); in sprom_extract_r8()
613 SPEX(boardflags_hi, SSB_SPROM8_BFLHI, 0xFFFF, 0); in sprom_extract_r8()
614 SPEX(boardflags2_lo, SSB_SPROM8_BFL2LO, 0xFFFF, 0); in sprom_extract_r8()
615 SPEX(boardflags2_hi, SSB_SPROM8_BFL2HI, 0xFFFF, 0); in sprom_extract_r8()
620 SPEX(maxpwr_bg, SSB_SPROM8_MAXP_BG, SSB_SPROM8_MAXP_BG_MASK, 0); in sprom_extract_r8()
623 SPEX(maxpwr_a, SSB_SPROM8_MAXP_A, SSB_SPROM8_MAXP_A_MASK, 0); in sprom_extract_r8()
626 SPEX(maxpwr_ah, SSB_SPROM8_MAXP_AHL, SSB_SPROM8_MAXP_AH_MASK, 0); in sprom_extract_r8()
629 SPEX(gpio0, SSB_SPROM8_GPIOA, SSB_SPROM8_GPIOA_P0, 0); in sprom_extract_r8()
632 SPEX(gpio2, SSB_SPROM8_GPIOB, SSB_SPROM8_GPIOB_P2, 0); in sprom_extract_r8()
635 SPEX(tri2g, SSB_SPROM8_TRI25G, SSB_SPROM8_TRI2G, 0); in sprom_extract_r8()
638 SPEX(tri5gl, SSB_SPROM8_TRI5GHL, SSB_SPROM8_TRI5GL, 0); in sprom_extract_r8()
641 SPEX(rxpo2g, SSB_SPROM8_RXPO, SSB_SPROM8_RXPO2G, 0); in sprom_extract_r8()
644 SPEX(rssismf2g, SSB_SPROM8_RSSIPARM2G, SSB_SPROM8_RSSISMF2G, 0); in sprom_extract_r8()
651 SPEX(rssismf5g, SSB_SPROM8_RSSIPARM5G, SSB_SPROM8_RSSISMF5G, 0); in sprom_extract_r8()
658 SPEX(pa0b0, SSB_SPROM8_PA0B0, 0xFFFF, 0); in sprom_extract_r8()
659 SPEX(pa0b1, SSB_SPROM8_PA0B1, 0xFFFF, 0); in sprom_extract_r8()
660 SPEX(pa0b2, SSB_SPROM8_PA0B2, 0xFFFF, 0); in sprom_extract_r8()
661 SPEX(pa1b0, SSB_SPROM8_PA1B0, 0xFFFF, 0); in sprom_extract_r8()
662 SPEX(pa1b1, SSB_SPROM8_PA1B1, 0xFFFF, 0); in sprom_extract_r8()
663 SPEX(pa1b2, SSB_SPROM8_PA1B2, 0xFFFF, 0); in sprom_extract_r8()
664 SPEX(pa1lob0, SSB_SPROM8_PA1LOB0, 0xFFFF, 0); in sprom_extract_r8()
665 SPEX(pa1lob1, SSB_SPROM8_PA1LOB1, 0xFFFF, 0); in sprom_extract_r8()
666 SPEX(pa1lob2, SSB_SPROM8_PA1LOB2, 0xFFFF, 0); in sprom_extract_r8()
667 SPEX(pa1hib0, SSB_SPROM8_PA1HIB0, 0xFFFF, 0); in sprom_extract_r8()
668 SPEX(pa1hib1, SSB_SPROM8_PA1HIB1, 0xFFFF, 0); in sprom_extract_r8()
669 SPEX(pa1hib2, SSB_SPROM8_PA1HIB2, 0xFFFF, 0); in sprom_extract_r8()
670 SPEX(cck2gpo, SSB_SPROM8_CCK2GPO, 0xFFFF, 0); in sprom_extract_r8()
671 SPEX32(ofdm2gpo, SSB_SPROM8_OFDM2GPO, 0xFFFFFFFF, 0); in sprom_extract_r8()
672 SPEX32(ofdm5glpo, SSB_SPROM8_OFDM5GLPO, 0xFFFFFFFF, 0); in sprom_extract_r8()
673 SPEX32(ofdm5gpo, SSB_SPROM8_OFDM5GPO, 0xFFFFFFFF, 0); in sprom_extract_r8()
674 SPEX32(ofdm5ghpo, SSB_SPROM8_OFDM5GHPO, 0xFFFFFFFF, 0); in sprom_extract_r8()
695 for (i = 0; i < ARRAY_SIZE(pwr_info_offset); i++) { in sprom_extract_r8()
700 SSB_SPROM8_2G_MAXP, 0); in sprom_extract_r8()
702 SPEX(core_pwr_info[i].pa_2g[0], o + SSB_SROM8_2G_PA_0, ~0, 0); in sprom_extract_r8()
703 SPEX(core_pwr_info[i].pa_2g[1], o + SSB_SROM8_2G_PA_1, ~0, 0); in sprom_extract_r8()
704 SPEX(core_pwr_info[i].pa_2g[2], o + SSB_SROM8_2G_PA_2, ~0, 0); in sprom_extract_r8()
709 SSB_SPROM8_5G_MAXP, 0); in sprom_extract_r8()
711 SSB_SPROM8_5GH_MAXP, 0); in sprom_extract_r8()
715 SPEX(core_pwr_info[i].pa_5gl[0], o + SSB_SROM8_5GL_PA_0, ~0, 0); in sprom_extract_r8()
716 SPEX(core_pwr_info[i].pa_5gl[1], o + SSB_SROM8_5GL_PA_1, ~0, 0); in sprom_extract_r8()
717 SPEX(core_pwr_info[i].pa_5gl[2], o + SSB_SROM8_5GL_PA_2, ~0, 0); in sprom_extract_r8()
718 SPEX(core_pwr_info[i].pa_5g[0], o + SSB_SROM8_5G_PA_0, ~0, 0); in sprom_extract_r8()
719 SPEX(core_pwr_info[i].pa_5g[1], o + SSB_SROM8_5G_PA_1, ~0, 0); in sprom_extract_r8()
720 SPEX(core_pwr_info[i].pa_5g[2], o + SSB_SROM8_5G_PA_2, ~0, 0); in sprom_extract_r8()
721 SPEX(core_pwr_info[i].pa_5gh[0], o + SSB_SROM8_5GH_PA_0, ~0, 0); in sprom_extract_r8()
722 SPEX(core_pwr_info[i].pa_5gh[1], o + SSB_SROM8_5GH_PA_1, ~0, 0); in sprom_extract_r8()
723 SPEX(core_pwr_info[i].pa_5gh[2], o + SSB_SROM8_5GH_PA_2, ~0, 0); in sprom_extract_r8()
761 SPEX(opo, SSB_SPROM8_OFDM2GPO, 0x00ff, 0); in sprom_extract_r8()
763 SPEX_ARRAY8(mcs2gpo, SSB_SPROM8_2G_MCSPO, ~0, 0); in sprom_extract_r8()
764 SPEX_ARRAY8(mcs5gpo, SSB_SPROM8_5G_MCSPO, ~0, 0); in sprom_extract_r8()
765 SPEX_ARRAY8(mcs5glpo, SSB_SPROM8_5GL_MCSPO, ~0, 0); in sprom_extract_r8()
766 SPEX_ARRAY8(mcs5ghpo, SSB_SPROM8_5GH_MCSPO, ~0, 0); in sprom_extract_r8()
789 SPEX(bw40po, SSB_SPROM8_BW40PO, ~0, 0); in sprom_extract_r8()
790 SPEX(cddpo, SSB_SPROM8_CDDPO, ~0, 0); in sprom_extract_r8()
791 SPEX(stbcpo, SSB_SPROM8_STBCPO, ~0, 0); in sprom_extract_r8()
792 SPEX(bwduppo, SSB_SPROM8_BWDUPPO, ~0, 0); in sprom_extract_r8()
814 memset(out, 0, sizeof(*out)); in sprom_extract()
816 out->revision = in[size - 1] & 0x00FF; in sprom_extract()
818 memset(out->et0mac, 0xFF, 6); /* preset et0 and et1 mac */ in sprom_extract()
819 memset(out->et1mac, 0xFF, 6); in sprom_extract()
821 if ((bus->chip_id & 0xFF00) == 0x4400) { in sprom_extract()
849 if (out->boardflags_lo == 0xFFFF) in sprom_extract()
850 out->boardflags_lo = 0; /* per specs */ in sprom_extract()
851 if (out->boardflags_hi == 0xFFFF) in sprom_extract()
852 out->boardflags_hi = 0; /* per specs */ in sprom_extract()
854 return 0; in sprom_extract()
870 * chipcommon rev >= 31 or chip ID is 0x4312 and in ssb_pci_sprom_get()
875 else if (bus->chip_id == 0x4312 && in ssb_pci_sprom_get()
876 (bus->chipco.status & 0x03) == 2) in ssb_pci_sprom_get()
883 pr_debug("SPROM offset is 0x%x\n", bus->sprom_offset); in ssb_pci_sprom_get()
914 err = 0; in ssb_pci_sprom_get()
950 return 0; in ssb_pci_assert_buspower()
966 return 0xFF; in ssb_pci_read8()
969 return 0xFF; in ssb_pci_read8()
979 return 0xFFFF; in ssb_pci_read16()
982 return 0xFFFF; in ssb_pci_read16()
992 return 0xFFFFFFFF; in ssb_pci_read32()
995 return 0xFFFFFFFF; in ssb_pci_read32()
1031 memset(buffer, 0xFF, count); in ssb_pci_block_read()
1166 return 0; in ssb_pci_init()