sprom 35 arch/mips/include/asm/mach-bcm47xx/bcm47xx.h void bcm47xx_fill_sprom(struct ssb_sprom *sprom, const char *prefix, sprom 221 drivers/bcma/driver_chipcommon.c if (cc->core->bus->sprom.leddc_on_time && sprom 222 drivers/bcma/driver_chipcommon.c cc->core->bus->sprom.leddc_off_time) { sprom 223 drivers/bcma/driver_chipcommon.c leddc_on = cc->core->bus->sprom.leddc_on_time; sprom 224 drivers/bcma/driver_chipcommon.c leddc_off = cc->core->bus->sprom.leddc_off_time; sprom 397 drivers/bcma/driver_pci_host.c if (bus->sprom.boardflags_lo & BCMA_CORE_PCI_BFL_NOPCI) { sprom 64 drivers/bcma/sprom.c bus->sprom.revision); sprom 75 drivers/bcma/sprom.c static void bcma_sprom_read(struct bcma_bus *bus, u16 offset, u16 *sprom, sprom 80 drivers/bcma/sprom.c sprom[i] = bcma_read16(bus->drv_cc.core, offset + (i * 2)); sprom 127 drivers/bcma/sprom.c static u8 bcma_sprom_crc(const u16 *sprom, size_t words) sprom 133 drivers/bcma/sprom.c crc = bcma_crc8(crc, sprom[word] & 0x00FF); sprom 134 drivers/bcma/sprom.c crc = bcma_crc8(crc, (sprom[word] & 0xFF00) >> 8); sprom 136 drivers/bcma/sprom.c crc = bcma_crc8(crc, sprom[words - 1] & 0x00FF); sprom 142 drivers/bcma/sprom.c static int bcma_sprom_check_crc(const u16 *sprom, size_t words) sprom 148 drivers/bcma/sprom.c crc = bcma_sprom_crc(sprom, words); sprom 149 drivers/bcma/sprom.c tmp = sprom[words - 1] & SSB_SPROM_REVISION_CRC; sprom 157 drivers/bcma/sprom.c static int bcma_sprom_valid(struct bcma_bus *bus, const u16 *sprom, sprom 163 drivers/bcma/sprom.c err = bcma_sprom_check_crc(sprom, words); sprom 167 drivers/bcma/sprom.c revision = sprom[words - 1] & SSB_SPROM_REVISION_REV; sprom 173 drivers/bcma/sprom.c bus->sprom.revision = revision; sprom 186 drivers/bcma/sprom.c bus->sprom._field = ((sprom[SPOFF(_offset)] & (_mask)) >> (_shift)) sprom 189 drivers/bcma/sprom.c bus->sprom._field = ((((u32)sprom[SPOFF((_offset)+2)] << 16 | \ sprom 190 drivers/bcma/sprom.c sprom[SPOFF(_offset)]) & (_mask)) >> (_shift)) sprom 221 drivers/bcma/sprom.c static void bcma_sprom_extract_r8(struct bcma_bus *bus, const u16 *sprom) sprom 230 drivers/bcma/sprom.c ARRAY_SIZE(bus->sprom.core_pwr_info)); sprom 233 drivers/bcma/sprom.c v = sprom[SPOFF(SSB_SPROM8_IL0MAC) + i]; sprom 234 drivers/bcma/sprom.c *(((__be16 *)bus->sprom.il0mac) + i) = cpu_to_be16(v); sprom 401 drivers/bcma/sprom.c bus->sprom.antenna_gain.a0 = sprom_extract_antgain(sprom, sprom 405 drivers/bcma/sprom.c bus->sprom.antenna_gain.a1 = sprom_extract_antgain(sprom, sprom 409 drivers/bcma/sprom.c bus->sprom.antenna_gain.a2 = sprom_extract_antgain(sprom, sprom 413 drivers/bcma/sprom.c bus->sprom.antenna_gain.a3 = sprom_extract_antgain(sprom, sprom 580 drivers/bcma/sprom.c u16 *sprom; sprom 610 drivers/bcma/sprom.c err = bcma_fill_sprom_with_fallback(bus, &bus->sprom); sprom 623 drivers/bcma/sprom.c sprom = kcalloc(words, sizeof(u16), GFP_KERNEL); sprom 624 drivers/bcma/sprom.c if (!sprom) sprom 627 drivers/bcma/sprom.c bcma_sprom_read(bus, offset, sprom, words); sprom 628 drivers/bcma/sprom.c err = bcma_sprom_valid(bus, sprom, words); sprom 632 drivers/bcma/sprom.c kfree(sprom); sprom 641 drivers/bcma/sprom.c err = bcma_fill_sprom_with_fallback(bus, &bus->sprom); sprom 643 drivers/bcma/sprom.c bcma_sprom_extract_r8(bus, sprom); sprom 644 drivers/bcma/sprom.c kfree(sprom); sprom 175 drivers/firmware/broadcom/bcm47xx_sprom.c if (_revmask & BIT(sprom->revision)) \ sprom 176 drivers/firmware/broadcom/bcm47xx_sprom.c nvram_read_ ## _type(_prefix, NULL, _name, &sprom->_val, \ sprom 187 drivers/firmware/broadcom/bcm47xx_sprom.c static void bcm47xx_sprom_fill_auto(struct ssb_sprom *sprom, sprom 408 drivers/firmware/broadcom/bcm47xx_sprom.c static void bcm47xx_fill_sprom_path_r4589(struct ssb_sprom *sprom, sprom 414 drivers/firmware/broadcom/bcm47xx_sprom.c for (i = 0; i < ARRAY_SIZE(sprom->core_pwr_info); i++) { sprom 417 drivers/firmware/broadcom/bcm47xx_sprom.c pwr_info = &sprom->core_pwr_info[i]; sprom 459 drivers/firmware/broadcom/bcm47xx_sprom.c static void bcm47xx_fill_sprom_path_r45(struct ssb_sprom *sprom, sprom 465 drivers/firmware/broadcom/bcm47xx_sprom.c for (i = 0; i < ARRAY_SIZE(sprom->core_pwr_info); i++) { sprom 468 drivers/firmware/broadcom/bcm47xx_sprom.c pwr_info = &sprom->core_pwr_info[i]; sprom 509 drivers/firmware/broadcom/bcm47xx_sprom.c static void bcm47xx_fill_sprom_ethernet(struct ssb_sprom *sprom, sprom 514 drivers/firmware/broadcom/bcm47xx_sprom.c nvram_read_macaddr(prefix, "et0macaddr", sprom->et0mac, fallback); sprom 515 drivers/firmware/broadcom/bcm47xx_sprom.c nvram_read_u8(prefix, NULL, "et0mdcport", &sprom->et0mdcport, 0, sprom 517 drivers/firmware/broadcom/bcm47xx_sprom.c nvram_read_u8(prefix, NULL, "et0phyaddr", &sprom->et0phyaddr, 0, sprom 520 drivers/firmware/broadcom/bcm47xx_sprom.c nvram_read_macaddr(prefix, "et1macaddr", sprom->et1mac, fallback); sprom 521 drivers/firmware/broadcom/bcm47xx_sprom.c nvram_read_u8(prefix, NULL, "et1mdcport", &sprom->et1mdcport, 0, sprom 523 drivers/firmware/broadcom/bcm47xx_sprom.c nvram_read_u8(prefix, NULL, "et1phyaddr", &sprom->et1phyaddr, 0, sprom 526 drivers/firmware/broadcom/bcm47xx_sprom.c nvram_read_macaddr(prefix, "et2macaddr", sprom->et2mac, fb); sprom 527 drivers/firmware/broadcom/bcm47xx_sprom.c nvram_read_u8(prefix, NULL, "et2mdcport", &sprom->et2mdcport, 0, fb); sprom 528 drivers/firmware/broadcom/bcm47xx_sprom.c nvram_read_u8(prefix, NULL, "et2phyaddr", &sprom->et2phyaddr, 0, fb); sprom 530 drivers/firmware/broadcom/bcm47xx_sprom.c nvram_read_macaddr(prefix, "macaddr", sprom->il0mac, fallback); sprom 531 drivers/firmware/broadcom/bcm47xx_sprom.c nvram_read_macaddr(prefix, "il0macaddr", sprom->il0mac, fallback); sprom 539 drivers/firmware/broadcom/bcm47xx_sprom.c if (!bcm47xx_is_valid_mac(sprom->il0mac)) { sprom 547 drivers/firmware/broadcom/bcm47xx_sprom.c ether_addr_copy(sprom->il0mac, mac); sprom 554 drivers/firmware/broadcom/bcm47xx_sprom.c static void bcm47xx_fill_board_data(struct ssb_sprom *sprom, const char *prefix, sprom 557 drivers/firmware/broadcom/bcm47xx_sprom.c nvram_read_u32_2(prefix, "boardflags", &sprom->boardflags_lo, sprom 558 drivers/firmware/broadcom/bcm47xx_sprom.c &sprom->boardflags_hi, fallback); sprom 559 drivers/firmware/broadcom/bcm47xx_sprom.c nvram_read_u32_2(prefix, "boardflags2", &sprom->boardflags2_lo, sprom 560 drivers/firmware/broadcom/bcm47xx_sprom.c &sprom->boardflags2_hi, fallback); sprom 563 drivers/firmware/broadcom/bcm47xx_sprom.c void bcm47xx_fill_sprom(struct ssb_sprom *sprom, const char *prefix, sprom 566 drivers/firmware/broadcom/bcm47xx_sprom.c bcm47xx_fill_sprom_ethernet(sprom, prefix, fallback); sprom 567 drivers/firmware/broadcom/bcm47xx_sprom.c bcm47xx_fill_board_data(sprom, prefix, fallback); sprom 569 drivers/firmware/broadcom/bcm47xx_sprom.c nvram_read_u8(prefix, NULL, "sromrev", &sprom->revision, 0, fallback); sprom 572 drivers/firmware/broadcom/bcm47xx_sprom.c nvram_read_alpha2(prefix, "ccode", sprom->alpha2, fallback); sprom 573 drivers/firmware/broadcom/bcm47xx_sprom.c if (sprom->revision >= 3) sprom 574 drivers/firmware/broadcom/bcm47xx_sprom.c nvram_read_leddc(prefix, "leddc", &sprom->leddc_on_time, sprom 575 drivers/firmware/broadcom/bcm47xx_sprom.c &sprom->leddc_off_time, fallback); sprom 577 drivers/firmware/broadcom/bcm47xx_sprom.c switch (sprom->revision) { sprom 580 drivers/firmware/broadcom/bcm47xx_sprom.c bcm47xx_fill_sprom_path_r4589(sprom, prefix, fallback); sprom 581 drivers/firmware/broadcom/bcm47xx_sprom.c bcm47xx_fill_sprom_path_r45(sprom, prefix, fallback); sprom 585 drivers/firmware/broadcom/bcm47xx_sprom.c bcm47xx_fill_sprom_path_r4589(sprom, prefix, fallback); sprom 589 drivers/firmware/broadcom/bcm47xx_sprom.c bcm47xx_sprom_fill_auto(sprom, prefix, fallback); sprom 2169 drivers/net/ethernet/broadcom/b44.c addr = sdev->bus->sprom.et1mac; sprom 2170 drivers/net/ethernet/broadcom/b44.c bp->phy_addr = sdev->bus->sprom.et1phyaddr; sprom 2172 drivers/net/ethernet/broadcom/b44.c addr = sdev->bus->sprom.et0mac; sprom 2173 drivers/net/ethernet/broadcom/b44.c bp->phy_addr = sdev->bus->sprom.et0phyaddr; sprom 2259 drivers/net/ethernet/broadcom/b44.c struct ssb_sprom *sprom = &sdev->bus->sprom; sprom 2286 drivers/net/ethernet/broadcom/b44.c (sprom->boardflags_lo & (B44_BOARDFLAG_ROBO | B44_BOARDFLAG_ADM))) { sprom 115 drivers/net/ethernet/broadcom/bgmac-bcma.c struct ssb_sprom *sprom = &core->bus->sprom; sprom 138 drivers/net/ethernet/broadcom/bgmac-bcma.c mac = sprom->et0mac; sprom 141 drivers/net/ethernet/broadcom/bgmac-bcma.c mac = sprom->et1mac; sprom 144 drivers/net/ethernet/broadcom/bgmac-bcma.c mac = sprom->et2mac; sprom 167 drivers/net/ethernet/broadcom/bgmac-bcma.c bgmac->phyaddr = sprom->et0phyaddr; sprom 170 drivers/net/ethernet/broadcom/bgmac-bcma.c bgmac->phyaddr = sprom->et1phyaddr; sprom 173 drivers/net/ethernet/broadcom/bgmac-bcma.c bgmac->phyaddr = sprom->et2phyaddr; sprom 208 drivers/net/ethernet/broadcom/bgmac-bcma.c bgmac->has_robosw = !!(sprom->boardflags_lo & BGMAC_BFL_ENETROBO); sprom 212 drivers/net/ethernet/broadcom/bgmac-bcma.c if (sprom->boardflags_lo & BGMAC_BFL_ENETADM) sprom 669 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c switch (xcvr->sprom[0]) { sprom 681 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c xcvr->sprom[0]); sprom 695 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c char tbuf[sizeof(xcvr->sprom)]; sprom 703 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c len = min_t(u32, sizeof(xcvr->sprom), ee->len); sprom 706 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c memcpy(data, xcvr->sprom, len); sprom 707 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c memcpy(tbuf, xcvr->sprom, len); sprom 1045 drivers/net/ethernet/pensando/ionic/ionic_if.h u8 sprom[256]; sprom 109 drivers/net/wireless/broadcom/b43/bus.c dev->board_rev = core->bus->sprom.board_rev; sprom 115 drivers/net/wireless/broadcom/b43/bus.c dev->bus_sprom = &core->bus->sprom; sprom 208 drivers/net/wireless/broadcom/b43/bus.c dev->board_rev = sdev->bus->sprom.board_rev; sprom 214 drivers/net/wireless/broadcom/b43/bus.c dev->bus_sprom = &sdev->bus->sprom; sprom 205 drivers/net/wireless/broadcom/b43/leds.c u8 sprom[4]; sprom 207 drivers/net/wireless/broadcom/b43/leds.c sprom[0] = dev->dev->bus_sprom->gpio0; sprom 208 drivers/net/wireless/broadcom/b43/leds.c sprom[1] = dev->dev->bus_sprom->gpio1; sprom 209 drivers/net/wireless/broadcom/b43/leds.c sprom[2] = dev->dev->bus_sprom->gpio2; sprom 210 drivers/net/wireless/broadcom/b43/leds.c sprom[3] = dev->dev->bus_sprom->gpio3; sprom 212 drivers/net/wireless/broadcom/b43/leds.c if ((sprom[0] & sprom[1] & sprom[2] & sprom[3]) == 0xff) { sprom 241 drivers/net/wireless/broadcom/b43/leds.c if (sprom[led_index] == 0xff) sprom 244 drivers/net/wireless/broadcom/b43/leds.c *behaviour = sprom[led_index] & B43_LED_BEHAVIOUR; sprom 245 drivers/net/wireless/broadcom/b43/leds.c *activelow = !!(sprom[led_index] & B43_LED_ACTIVELOW); sprom 375 drivers/net/wireless/broadcom/b43/lo.c struct ssb_sprom *sprom = dev->dev->bus_sprom; sprom 414 drivers/net/wireless/broadcom/b43/lo.c (sprom->boardflags_lo & B43_BFL_EXTLNA)) { sprom 4688 drivers/net/wireless/broadcom/b43/main.c struct ssb_sprom *sprom = dev->dev->bus_sprom; sprom 4693 drivers/net/wireless/broadcom/b43/main.c if (!(sprom->boardflags_lo & B43_BFL_BTCOEXIST)) sprom 4699 drivers/net/wireless/broadcom/b43/main.c if (sprom->boardflags_lo & B43_BFL_BTCMOD) sprom 4809 drivers/net/wireless/broadcom/b43/main.c struct ssb_sprom *sprom = dev->dev->bus_sprom; sprom 4860 drivers/net/wireless/broadcom/b43/main.c if (sprom->boardflags_lo & B43_BFL_PACTRL) sprom 4869 drivers/net/wireless/broadcom/b43/main.c if (sprom->boardflags_lo & B43_BFL_XTAL_NOSLOW) sprom 4936 drivers/net/wireless/broadcom/b43/main.c b43_bus_powerup(dev, !(sprom->boardflags_lo & B43_BFL_XTAL_NOSLOW)); sprom 5527 drivers/net/wireless/broadcom/b43/main.c bus->chip_id == 0x4301 && bus->sprom.board_rev == 0x74) sprom 5528 drivers/net/wireless/broadcom/b43/main.c bus->sprom.boardflags_lo |= B43_BFL_BTCOEXIST; sprom 5530 drivers/net/wireless/broadcom/b43/main.c bus->boardinfo.type == 0x4E && bus->sprom.board_rev > 0x40) sprom 5531 drivers/net/wireless/broadcom/b43/main.c bus->sprom.boardflags_lo |= B43_BFL_PACTRL; sprom 5541 drivers/net/wireless/broadcom/b43/main.c bus->sprom.boardflags_lo &= ~B43_BFL_BTCOEXIST; sprom 5556 drivers/net/wireless/broadcom/b43/main.c struct ssb_sprom *sprom = dev->bus_sprom; sprom 5589 drivers/net/wireless/broadcom/b43/main.c if (is_valid_ether_addr(sprom->et1mac)) sprom 5590 drivers/net/wireless/broadcom/b43/main.c SET_IEEE80211_PERM_ADDR(hw, sprom->et1mac); sprom 5592 drivers/net/wireless/broadcom/b43/main.c SET_IEEE80211_PERM_ADDR(hw, sprom->il0mac); sprom 1105 drivers/net/wireless/broadcom/b43/phy_g.c struct ssb_sprom *sprom = dev->dev->bus_sprom; sprom 1140 drivers/net/wireless/broadcom/b43/phy_g.c !(sprom->boardflags_lo & B43_BFL_EXTLNA)) { sprom 1180 drivers/net/wireless/broadcom/b43/phy_g.c !(sprom->boardflags_lo & B43_BFL_EXTLNA)) { sprom 624 drivers/net/wireless/broadcom/b43/phy_ht.c struct ssb_sprom *sprom = dev->dev->bus_sprom; sprom 635 drivers/net/wireless/broadcom/b43/phy_ht.c target[c] = sprom->core_pwr_info[c].maxpwr_2g; sprom 636 drivers/net/wireless/broadcom/b43/phy_ht.c a1[c] = sprom->core_pwr_info[c].pa_2g[0]; sprom 637 drivers/net/wireless/broadcom/b43/phy_ht.c b0[c] = sprom->core_pwr_info[c].pa_2g[1]; sprom 638 drivers/net/wireless/broadcom/b43/phy_ht.c b1[c] = sprom->core_pwr_info[c].pa_2g[2]; sprom 642 drivers/net/wireless/broadcom/b43/phy_ht.c target[c] = sprom->core_pwr_info[c].maxpwr_5gl; sprom 643 drivers/net/wireless/broadcom/b43/phy_ht.c a1[c] = sprom->core_pwr_info[c].pa_5gl[0]; sprom 644 drivers/net/wireless/broadcom/b43/phy_ht.c b0[c] = sprom->core_pwr_info[c].pa_5gl[1]; sprom 645 drivers/net/wireless/broadcom/b43/phy_ht.c b1[c] = sprom->core_pwr_info[c].pa_5gl[2]; sprom 649 drivers/net/wireless/broadcom/b43/phy_ht.c target[c] = sprom->core_pwr_info[c].maxpwr_5g; sprom 650 drivers/net/wireless/broadcom/b43/phy_ht.c a1[c] = sprom->core_pwr_info[c].pa_5g[0]; sprom 651 drivers/net/wireless/broadcom/b43/phy_ht.c b0[c] = sprom->core_pwr_info[c].pa_5g[1]; sprom 652 drivers/net/wireless/broadcom/b43/phy_ht.c b1[c] = sprom->core_pwr_info[c].pa_5g[2]; sprom 656 drivers/net/wireless/broadcom/b43/phy_ht.c target[c] = sprom->core_pwr_info[c].maxpwr_5gh; sprom 657 drivers/net/wireless/broadcom/b43/phy_ht.c a1[c] = sprom->core_pwr_info[c].pa_5gh[0]; sprom 658 drivers/net/wireless/broadcom/b43/phy_ht.c b0[c] = sprom->core_pwr_info[c].pa_5gh[1]; sprom 659 drivers/net/wireless/broadcom/b43/phy_ht.c b1[c] = sprom->core_pwr_info[c].pa_5gh[2]; sprom 76 drivers/net/wireless/broadcom/b43/phy_lp.c struct ssb_sprom *sprom = dev->dev->bus_sprom; sprom 83 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->tx_isolation_med_band = sprom->tri2g; sprom 84 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->bx_arch = sprom->bxa2g; sprom 85 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->rx_pwr_offset = sprom->rxpo2g; sprom 86 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->rssi_vf = sprom->rssismf2g; sprom 87 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->rssi_vc = sprom->rssismc2g; sprom 88 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->rssi_gs = sprom->rssisav2g; sprom 89 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->txpa[0] = sprom->pa0b0; sprom 90 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->txpa[1] = sprom->pa0b1; sprom 91 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->txpa[2] = sprom->pa0b2; sprom 92 drivers/net/wireless/broadcom/b43/phy_lp.c maxpwr = sprom->maxpwr_bg; sprom 94 drivers/net/wireless/broadcom/b43/phy_lp.c cckpo = sprom->cck2gpo; sprom 96 drivers/net/wireless/broadcom/b43/phy_lp.c ofdmpo = sprom->ofdm2gpo; sprom 102 drivers/net/wireless/broadcom/b43/phy_lp.c ofdmpo = sprom->ofdm2gpo; sprom 109 drivers/net/wireless/broadcom/b43/phy_lp.c u8 opo = sprom->opo; sprom 116 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->tx_isolation_low_band = sprom->tri5gl; sprom 117 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->tx_isolation_med_band = sprom->tri5g; sprom 118 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->tx_isolation_hi_band = sprom->tri5gh; sprom 119 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->bx_arch = sprom->bxa5g; sprom 120 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->rx_pwr_offset = sprom->rxpo5g; sprom 121 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->rssi_vf = sprom->rssismf5g; sprom 122 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->rssi_vc = sprom->rssismc5g; sprom 123 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->rssi_gs = sprom->rssisav5g; sprom 124 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->txpa[0] = sprom->pa1b0; sprom 125 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->txpa[1] = sprom->pa1b1; sprom 126 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->txpa[2] = sprom->pa1b2; sprom 127 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->txpal[0] = sprom->pa1lob0; sprom 128 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->txpal[1] = sprom->pa1lob1; sprom 129 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->txpal[2] = sprom->pa1lob2; sprom 130 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->txpah[0] = sprom->pa1hib0; sprom 131 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->txpah[1] = sprom->pa1hib1; sprom 132 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->txpah[2] = sprom->pa1hib2; sprom 133 drivers/net/wireless/broadcom/b43/phy_lp.c maxpwr = sprom->maxpwr_al; sprom 134 drivers/net/wireless/broadcom/b43/phy_lp.c ofdmpo = sprom->ofdm5glpo; sprom 140 drivers/net/wireless/broadcom/b43/phy_lp.c maxpwr = sprom->maxpwr_a; sprom 141 drivers/net/wireless/broadcom/b43/phy_lp.c ofdmpo = sprom->ofdm5gpo; sprom 147 drivers/net/wireless/broadcom/b43/phy_lp.c maxpwr = sprom->maxpwr_ah; sprom 148 drivers/net/wireless/broadcom/b43/phy_lp.c ofdmpo = sprom->ofdm5ghpo; sprom 200 drivers/net/wireless/broadcom/b43/phy_lp.c struct ssb_sprom *sprom = dev->dev->bus_sprom; sprom 228 drivers/net/wireless/broadcom/b43/phy_lp.c if ((sprom->boardflags_lo & B43_BFL_FEM) && sprom 230 drivers/net/wireless/broadcom/b43/phy_lp.c (sprom->boardflags_hi & B43_BFH_PAREF))) { sprom 246 drivers/net/wireless/broadcom/b43/phy_lp.c if (sprom->boardflags_hi & B43_BFH_RSSIINV) sprom 254 drivers/net/wireless/broadcom/b43/phy_lp.c (sprom->boardflags_hi & B43_BFH_FEM_BT)) { sprom 273 drivers/net/wireless/broadcom/b43/phy_lp.c (dev->phy.rev == 0 && (sprom->boardflags_lo & B43_BFL_FEM))) { sprom 283 drivers/net/wireless/broadcom/b43/phy_lp.c (sprom->boardflags_lo & B43_BFL_FEM)) { sprom 302 drivers/net/wireless/broadcom/b43/phy_lp.c if (dev->phy.rev == 1 && (sprom->boardflags_hi & B43_BFH_PAREF)) { sprom 308 drivers/net/wireless/broadcom/b43/phy_lp.c if ((sprom->boardflags_hi & B43_BFH_FEM_BT) && sprom 1125 drivers/net/wireless/broadcom/b43/phy_n.c struct ssb_sprom *sprom = dev->dev->bus_sprom; sprom 1145 drivers/net/wireless/broadcom/b43/phy_n.c if (sprom->boardflags2_lo & B43_BFL2_GPLL_WAR && sprom 1158 drivers/net/wireless/broadcom/b43/phy_n.c if (sprom->boardflags2_hi & B43_BFH2_GPLL_WAR2 && sprom 1165 drivers/net/wireless/broadcom/b43/phy_n.c if (sprom->boardflags2_lo & B43_BFL2_APLL_WAR && sprom 1438 drivers/net/wireless/broadcom/b43/phy_n.c struct ssb_sprom *sprom = dev->dev->bus_sprom; sprom 1441 drivers/net/wireless/broadcom/b43/phy_n.c if (sprom->revision < 4) sprom 1447 drivers/net/wireless/broadcom/b43/phy_n.c !(sprom->boardflags2_lo & B43_BFL2_RXBB_INT_REG_DIS); sprom 2491 drivers/net/wireless/broadcom/b43/phy_n.c struct ssb_sprom *sprom = dev->dev->bus_sprom; sprom 2503 drivers/net/wireless/broadcom/b43/phy_n.c ext_lna = ghz5 ? sprom->boardflags_hi & B43_BFH_EXTLNA_5GHZ : sprom 2504 drivers/net/wireless/broadcom/b43/phy_n.c sprom->boardflags_lo & B43_BFL_EXTLNA; sprom 2698 drivers/net/wireless/broadcom/b43/phy_n.c struct ssb_sprom *sprom = dev->dev->bus_sprom; sprom 2958 drivers/net/wireless/broadcom/b43/phy_n.c if (sprom->revision && sprom 2959 drivers/net/wireless/broadcom/b43/phy_n.c sprom->boardflags2_hi & B43_BFH2_IPALVLSHIFT_3P3) { sprom 3144 drivers/net/wireless/broadcom/b43/phy_n.c struct ssb_sprom *sprom = dev->dev->bus_sprom; sprom 3232 drivers/net/wireless/broadcom/b43/phy_n.c pdet_range = sprom->fem.ghz2.pdet_range; sprom 3234 drivers/net/wireless/broadcom/b43/phy_n.c pdet_range = sprom->fem.ghz5.pdet_range; sprom 3312 drivers/net/wireless/broadcom/b43/phy_n.c if ((sprom->boardflags2_lo & B43_BFL2_APLL_WAR && sprom 3314 drivers/net/wireless/broadcom/b43/phy_n.c (sprom->boardflags2_lo & B43_BFL2_GPLL_WAR && sprom 3345 drivers/net/wireless/broadcom/b43/phy_n.c if (dev->phy.rev >= 6 && sprom->boardflags2_lo & B43_BFL2_SINGLEANT_CCK) sprom 3351 drivers/net/wireless/broadcom/b43/phy_n.c struct ssb_sprom *sprom = dev->dev->bus_sprom; sprom 3361 drivers/net/wireless/broadcom/b43/phy_n.c if (sprom->boardflags2_lo & B43_BFL2_SKWRKFEM_BRD || sprom 3740 drivers/net/wireless/broadcom/b43/phy_n.c struct ssb_sprom *sprom = dev->dev->bus_sprom; sprom 3757 drivers/net/wireless/broadcom/b43/phy_n.c } else if (sprom->revision < 4) { sprom 3762 drivers/net/wireless/broadcom/b43/phy_n.c txpi[0] = sprom->txpid2g[0]; sprom 3763 drivers/net/wireless/broadcom/b43/phy_n.c txpi[1] = sprom->txpid2g[1]; sprom 3765 drivers/net/wireless/broadcom/b43/phy_n.c txpi[0] = sprom->txpid5gl[0]; sprom 3766 drivers/net/wireless/broadcom/b43/phy_n.c txpi[1] = sprom->txpid5gl[1]; sprom 3768 drivers/net/wireless/broadcom/b43/phy_n.c txpi[0] = sprom->txpid5g[0]; sprom 3769 drivers/net/wireless/broadcom/b43/phy_n.c txpi[1] = sprom->txpid5g[1]; sprom 3771 drivers/net/wireless/broadcom/b43/phy_n.c txpi[0] = sprom->txpid5gh[0]; sprom 3772 drivers/net/wireless/broadcom/b43/phy_n.c txpi[1] = sprom->txpid5gh[1]; sprom 4047 drivers/net/wireless/broadcom/b43/phy_n.c struct ssb_sprom *sprom = dev->dev->bus_sprom; sprom 4081 drivers/net/wireless/broadcom/b43/phy_n.c if (sprom->revision < 4) { sprom 4092 drivers/net/wireless/broadcom/b43/phy_n.c target[c] = sprom->core_pwr_info[c].maxpwr_2g; sprom 4093 drivers/net/wireless/broadcom/b43/phy_n.c a1[c] = sprom->core_pwr_info[c].pa_2g[0]; sprom 4094 drivers/net/wireless/broadcom/b43/phy_n.c b0[c] = sprom->core_pwr_info[c].pa_2g[1]; sprom 4095 drivers/net/wireless/broadcom/b43/phy_n.c b1[c] = sprom->core_pwr_info[c].pa_2g[2]; sprom 4100 drivers/net/wireless/broadcom/b43/phy_n.c target[c] = sprom->core_pwr_info[c].maxpwr_5gl; sprom 4101 drivers/net/wireless/broadcom/b43/phy_n.c a1[c] = sprom->core_pwr_info[c].pa_5gl[0]; sprom 4102 drivers/net/wireless/broadcom/b43/phy_n.c b0[c] = sprom->core_pwr_info[c].pa_5gl[1]; sprom 4103 drivers/net/wireless/broadcom/b43/phy_n.c b1[c] = sprom->core_pwr_info[c].pa_5gl[2]; sprom 4108 drivers/net/wireless/broadcom/b43/phy_n.c target[c] = sprom->core_pwr_info[c].maxpwr_5g; sprom 4109 drivers/net/wireless/broadcom/b43/phy_n.c a1[c] = sprom->core_pwr_info[c].pa_5g[0]; sprom 4110 drivers/net/wireless/broadcom/b43/phy_n.c b0[c] = sprom->core_pwr_info[c].pa_5g[1]; sprom 4111 drivers/net/wireless/broadcom/b43/phy_n.c b1[c] = sprom->core_pwr_info[c].pa_5g[2]; sprom 4116 drivers/net/wireless/broadcom/b43/phy_n.c target[c] = sprom->core_pwr_info[c].maxpwr_5gh; sprom 4117 drivers/net/wireless/broadcom/b43/phy_n.c a1[c] = sprom->core_pwr_info[c].pa_5gh[0]; sprom 4118 drivers/net/wireless/broadcom/b43/phy_n.c b0[c] = sprom->core_pwr_info[c].pa_5gh[1]; sprom 4119 drivers/net/wireless/broadcom/b43/phy_n.c b1[c] = sprom->core_pwr_info[c].pa_5gh[2]; sprom 4138 drivers/net/wireless/broadcom/b43/phy_n.c if (sprom->fem.ghz2.tssipos) sprom 5910 drivers/net/wireless/broadcom/b43/phy_n.c hw_gain += sprom->antenna_gain.a0; sprom 5912 drivers/net/wireless/broadcom/b43/phy_n.c hw_gain += sprom->antenna_gain.a1; sprom 6026 drivers/net/wireless/broadcom/b43/phy_n.c struct ssb_sprom *sprom = dev->dev->bus_sprom; sprom 6038 drivers/net/wireless/broadcom/b43/phy_n.c (sprom->boardflags_lo & B43_BFL_EXTLNA) && sprom 6058 drivers/net/wireless/broadcom/b43/phy_n.c sprom->boardflags2_hi & B43_BFH2_INTERNDET_TXIQCAL); sprom 6105 drivers/net/wireless/broadcom/b43/phy_n.c if (sprom->boardflags2_lo & B43_BFL2_SKWRKFEM_BRD || sprom 6479 drivers/net/wireless/broadcom/b43/phy_n.c struct ssb_sprom *sprom = dev->dev->bus_sprom; sprom 6503 drivers/net/wireless/broadcom/b43/phy_n.c } else if (sprom->revision >= 4) { sprom 6505 drivers/net/wireless/broadcom/b43/phy_n.c (sprom->boardflags2_lo & B43_BFL2_TXPWRCTRL_EN)) { sprom 6517 drivers/net/wireless/broadcom/b43/phy_n.c } else if (sprom->boardflags2_lo & B43_BFL2_5G_PWRGAIN) { sprom 6523 drivers/net/wireless/broadcom/b43/phy_n.c nphy->ipa2g_on = sprom->fem.ghz2.extpa_gain == 2; sprom 6524 drivers/net/wireless/broadcom/b43/phy_n.c nphy->ipa5g_on = sprom->fem.ghz5.extpa_gain == 2; sprom 72 drivers/net/wireless/broadcom/b43/ppr.c struct ssb_sprom *sprom = dev->dev->bus_sprom; sprom 82 drivers/net/wireless/broadcom/b43/ppr.c maxpwr = min(sprom->core_pwr_info[0].maxpwr_2g, sprom 83 drivers/net/wireless/broadcom/b43/ppr.c sprom->core_pwr_info[1].maxpwr_2g); sprom 84 drivers/net/wireless/broadcom/b43/ppr.c sprom_ofdm_po = sprom->ofdm2gpo; sprom 85 drivers/net/wireless/broadcom/b43/ppr.c sprom_mcs_po = sprom->mcs2gpo; sprom 86 drivers/net/wireless/broadcom/b43/ppr.c extra_cdd_po = (sprom->cddpo >> 0) & 0xf; sprom 87 drivers/net/wireless/broadcom/b43/ppr.c extra_stbc_po = (sprom->stbcpo >> 0) & 0xf; sprom 90 drivers/net/wireless/broadcom/b43/ppr.c maxpwr = min(sprom->core_pwr_info[0].maxpwr_5gl, sprom 91 drivers/net/wireless/broadcom/b43/ppr.c sprom->core_pwr_info[1].maxpwr_5gl); sprom 92 drivers/net/wireless/broadcom/b43/ppr.c sprom_ofdm_po = sprom->ofdm5glpo; sprom 93 drivers/net/wireless/broadcom/b43/ppr.c sprom_mcs_po = sprom->mcs5glpo; sprom 94 drivers/net/wireless/broadcom/b43/ppr.c extra_cdd_po = (sprom->cddpo >> 8) & 0xf; sprom 95 drivers/net/wireless/broadcom/b43/ppr.c extra_stbc_po = (sprom->stbcpo >> 8) & 0xf; sprom 98 drivers/net/wireless/broadcom/b43/ppr.c maxpwr = min(sprom->core_pwr_info[0].maxpwr_5g, sprom 99 drivers/net/wireless/broadcom/b43/ppr.c sprom->core_pwr_info[1].maxpwr_5g); sprom 100 drivers/net/wireless/broadcom/b43/ppr.c sprom_ofdm_po = sprom->ofdm5gpo; sprom 101 drivers/net/wireless/broadcom/b43/ppr.c sprom_mcs_po = sprom->mcs5gpo; sprom 102 drivers/net/wireless/broadcom/b43/ppr.c extra_cdd_po = (sprom->cddpo >> 4) & 0xf; sprom 103 drivers/net/wireless/broadcom/b43/ppr.c extra_stbc_po = (sprom->stbcpo >> 4) & 0xf; sprom 106 drivers/net/wireless/broadcom/b43/ppr.c maxpwr = min(sprom->core_pwr_info[0].maxpwr_5gh, sprom 107 drivers/net/wireless/broadcom/b43/ppr.c sprom->core_pwr_info[1].maxpwr_5gh); sprom 108 drivers/net/wireless/broadcom/b43/ppr.c sprom_ofdm_po = sprom->ofdm5ghpo; sprom 109 drivers/net/wireless/broadcom/b43/ppr.c sprom_mcs_po = sprom->mcs5ghpo; sprom 110 drivers/net/wireless/broadcom/b43/ppr.c extra_cdd_po = (sprom->cddpo >> 12) & 0xf; sprom 111 drivers/net/wireless/broadcom/b43/ppr.c extra_stbc_po = (sprom->stbcpo >> 12) & 0xf; sprom 120 drivers/net/wireless/broadcom/b43/ppr.c off = ((sprom->cck2gpo >> (i * 4)) & 0xf) * 2; sprom 2405 drivers/net/wireless/broadcom/b43/tables_lpphy.c struct ssb_sprom *sprom = dev->dev->bus_sprom; sprom 2409 drivers/net/wireless/broadcom/b43/tables_lpphy.c if ((sprom->boardflags_hi & B43_BFH_NOPA) || sprom 2410 drivers/net/wireless/broadcom/b43/tables_lpphy.c (sprom->boardflags_lo & B43_BFL_HGPA)) sprom 2421 drivers/net/wireless/broadcom/b43/tables_lpphy.c if ((sprom->boardflags_hi & B43_BFH_NOPA) || sprom 2422 drivers/net/wireless/broadcom/b43/tables_lpphy.c (sprom->boardflags_lo & B43_BFL_HGPA)) sprom 2433 drivers/net/wireless/broadcom/b43/tables_lpphy.c if (sprom->boardflags_hi & B43_BFH_NOPA) sprom 3482 drivers/net/wireless/broadcom/b43/tables_nphy.c struct ssb_sprom *sprom = dev->dev->bus_sprom; sprom 3493 drivers/net/wireless/broadcom/b43/tables_nphy.c antswlut = sprom->fem.ghz5.antswlut; sprom 3495 drivers/net/wireless/broadcom/b43/tables_nphy.c antswlut = sprom->fem.ghz2.antswlut; sprom 3553 drivers/net/wireless/broadcom/b43/tables_nphy.c struct ssb_sprom *sprom = dev->dev->bus_sprom; sprom 3557 drivers/net/wireless/broadcom/b43/tables_nphy.c antswlut = sprom->fem.ghz5.antswlut; sprom 3559 drivers/net/wireless/broadcom/b43/tables_nphy.c antswlut = sprom->fem.ghz2.antswlut; sprom 3689 drivers/net/wireless/broadcom/b43/tables_nphy.c struct ssb_sprom *sprom = dev->dev->bus_sprom; sprom 3704 drivers/net/wireless/broadcom/b43/tables_nphy.c return sprom->fem.ghz5.extpa_gain == 3 ? sprom 3718 drivers/net/wireless/broadcom/b43/tables_nphy.c if (sprom->fem.ghz2.extpa_gain == 3) sprom 687 drivers/net/wireless/broadcom/b43/tables_phy_lcn.c struct ssb_sprom *sprom = dev->dev->bus_sprom; sprom 692 drivers/net/wireless/broadcom/b43/tables_phy_lcn.c if (sprom->boardflags_lo & B43_BFL_FEM) sprom 700 drivers/net/wireless/broadcom/b43/tables_phy_lcn.c if (sprom->boardflags_lo & B43_BFL_FEM && sprom 701 drivers/net/wireless/broadcom/b43/tables_phy_lcn.c !(sprom->boardflags_hi & B43_BFH_FEM_BT)) sprom 302 drivers/net/wireless/broadcom/b43/wa.c struct ssb_sprom *sprom = dev->dev->bus_sprom; sprom 314 drivers/net/wireless/broadcom/b43/wa.c if ((sprom->boardflags_lo & B43_BFL_EXTLNA) && sprom 326 drivers/net/wireless/broadcom/b43/wa.c if (sprom->boardflags_lo & B43_BFL_FEM) { sprom 179 drivers/net/wireless/broadcom/b43legacy/leds.c u8 sprom[4]; sprom 184 drivers/net/wireless/broadcom/b43legacy/leds.c sprom[0] = bus->sprom.gpio0; sprom 185 drivers/net/wireless/broadcom/b43legacy/leds.c sprom[1] = bus->sprom.gpio1; sprom 186 drivers/net/wireless/broadcom/b43legacy/leds.c sprom[2] = bus->sprom.gpio2; sprom 187 drivers/net/wireless/broadcom/b43legacy/leds.c sprom[3] = bus->sprom.gpio3; sprom 190 drivers/net/wireless/broadcom/b43legacy/leds.c if (sprom[i] == 0xFF) { sprom 217 drivers/net/wireless/broadcom/b43legacy/leds.c behaviour = sprom[i] & B43legacy_LED_BEHAVIOUR; sprom 218 drivers/net/wireless/broadcom/b43legacy/leds.c activelow = !!(sprom[i] & B43legacy_LED_ACTIVELOW); sprom 1898 drivers/net/wireless/broadcom/b43legacy/main.c if (dev->dev->bus->sprom.boardflags_lo & B43legacy_BFL_PACTRL) { sprom 2273 drivers/net/wireless/broadcom/b43legacy/main.c if (dev->dev->bus->sprom.boardflags_lo & B43legacy_BFL_RSSI) { sprom 3253 drivers/net/wireless/broadcom/b43legacy/main.c struct ssb_sprom *sprom = &dev->dev->bus->sprom; sprom 3298 drivers/net/wireless/broadcom/b43legacy/main.c if (sprom->boardflags_lo & B43legacy_BFL_PACTRL) sprom 3772 drivers/net/wireless/broadcom/b43legacy/main.c bus->sprom.board_rev > 0x40) sprom 3773 drivers/net/wireless/broadcom/b43legacy/main.c bus->sprom.boardflags_lo |= B43legacy_BFL_PACTRL; sprom 3787 drivers/net/wireless/broadcom/b43legacy/main.c struct ssb_sprom *sprom = &dev->bus->sprom; sprom 3815 drivers/net/wireless/broadcom/b43legacy/main.c if (is_valid_ether_addr(sprom->et1mac)) sprom 3816 drivers/net/wireless/broadcom/b43legacy/main.c SET_IEEE80211_PERM_ADDR(hw, sprom->et1mac); sprom 3818 drivers/net/wireless/broadcom/b43legacy/main.c SET_IEEE80211_PERM_ADDR(hw, sprom->il0mac); sprom 386 drivers/net/wireless/broadcom/b43legacy/phy.c (dev->dev->bus->sprom.board_rev == 0x0017)) sprom 402 drivers/net/wireless/broadcom/b43legacy/phy.c (dev->dev->bus->sprom.board_rev == 0x0017)) sprom 417 drivers/net/wireless/broadcom/b43legacy/phy.c if (dev->dev->bus->sprom.boardflags_lo & B43legacy_BFL_PACTRL) sprom 519 drivers/net/wireless/broadcom/b43legacy/phy.c if (dev->dev->bus->sprom.boardflags_lo & B43legacy_BFL_RSSI) { sprom 677 drivers/net/wireless/broadcom/b43legacy/phy.c if (dev->dev->bus->sprom.boardflags_lo & 0x8000) { sprom 775 drivers/net/wireless/broadcom/b43legacy/phy.c if (dev->dev->bus->sprom.boardflags_lo & sprom 899 drivers/net/wireless/broadcom/b43legacy/phy.c if (dev->dev->bus->sprom.boardflags_lo & B43legacy_BFL_EXTLNA) { sprom 1054 drivers/net/wireless/broadcom/b43legacy/phy.c if (dev->dev->bus->sprom.boardflags_lo & sprom 1069 drivers/net/wireless/broadcom/b43legacy/phy.c if (!(dev->dev->bus->sprom.boardflags_lo & B43legacy_BFL_RSSI)) { sprom 1817 drivers/net/wireless/broadcom/b43legacy/phy.c max_pwr = dev->dev->bus->sprom.maxpwr_bg; sprom 1819 drivers/net/wireless/broadcom/b43legacy/phy.c if ((dev->dev->bus->sprom.boardflags_lo sprom 1827 drivers/net/wireless/broadcom/b43legacy/phy.c dev->dev->bus->sprom.maxpwr_bg = max_pwr; sprom 1838 drivers/net/wireless/broadcom/b43legacy/phy.c - dev->dev->bus->sprom.antenna_gain.a0 sprom 1898 drivers/net/wireless/broadcom/b43legacy/phy.c } else if (dev->dev->bus->sprom.boardflags_lo sprom 1980 drivers/net/wireless/broadcom/b43legacy/phy.c pab0 = (s16)(dev->dev->bus->sprom.pa0b0); sprom 1981 drivers/net/wireless/broadcom/b43legacy/phy.c pab1 = (s16)(dev->dev->bus->sprom.pa0b1); sprom 1982 drivers/net/wireless/broadcom/b43legacy/phy.c pab2 = (s16)(dev->dev->bus->sprom.pa0b2); sprom 1993 drivers/net/wireless/broadcom/b43legacy/phy.c if ((s8)dev->dev->bus->sprom.itssi_bg != 0 && sprom 1994 drivers/net/wireless/broadcom/b43legacy/phy.c (s8)dev->dev->bus->sprom.itssi_bg != -1) sprom 1995 drivers/net/wireless/broadcom/b43legacy/phy.c phy->idle_tssi = (s8)(dev->dev->bus->sprom. sprom 814 drivers/net/wireless/broadcom/b43legacy/radio.c if (!(dev->dev->bus->sprom.boardflags_lo & sprom 844 drivers/net/wireless/broadcom/b43legacy/radio.c !(dev->dev->bus->sprom.boardflags_lo & sprom 1393 drivers/net/wireless/broadcom/b43legacy/radio.c if (phy->rev < 7 || !(dev->dev->bus->sprom.boardflags_lo sprom 1446 drivers/net/wireless/broadcom/b43legacy/radio.c if (phy->rev >= 7 && dev->dev->bus->sprom.boardflags_lo sprom 1537 drivers/net/wireless/broadcom/b43legacy/radio.c !(dev->dev->bus->sprom.boardflags_lo sprom 1754 drivers/net/wireless/broadcom/b43legacy/radio.c if (dev->dev->bus->sprom.country_code == 5) /* JAPAN) */ sprom 1965 drivers/net/wireless/broadcom/b43legacy/radio.c dev->dev->bus->sprom.board_rev >= 30) sprom 1975 drivers/net/wireless/broadcom/b43legacy/radio.c dev->dev->bus->sprom.board_rev >= 30) sprom 1985 drivers/net/wireless/broadcom/b43legacy/radio.c dev->dev->bus->sprom.board_rev >= 30) sprom 2019 drivers/net/wireless/broadcom/b43legacy/radio.c if (dev->dev->bus->sprom.board_rev < 0x43) sprom 2021 drivers/net/wireless/broadcom/b43legacy/radio.c else if (dev->dev->bus->sprom.board_rev < 0x51) sprom 377 drivers/net/wireless/broadcom/b43legacy/xmit.c if (dev->dev->bus->sprom.boardflags_lo sprom 112 drivers/net/wireless/broadcom/brcm80211/brcmsmac/antsel.c struct ssb_sprom *sprom = &wlc->hw->d11core->bus->sprom; sprom 122 drivers/net/wireless/broadcom/brcm80211/brcmsmac/antsel.c asi->antsel_antswitch = sprom->antswitch; sprom 132 drivers/net/wireless/broadcom/brcm80211/brcmsmac/antsel.c if ((sprom->ant_available_bg == 7) || sprom 133 drivers/net/wireless/broadcom/brcm80211/brcmsmac/antsel.c (sprom->ant_available_a == 7)) { sprom 136 drivers/net/wireless/broadcom/brcm80211/brcmsmac/antsel.c sprom->ant_available_bg == 3 || sprom 137 drivers/net/wireless/broadcom/brcm80211/brcmsmac/antsel.c sprom->ant_available_a == 3) { sprom 151 drivers/net/wireless/broadcom/brcm80211/brcmsmac/antsel.c (sprom->ant_available_bg == 7) && sprom 152 drivers/net/wireless/broadcom/brcm80211/brcmsmac/antsel.c (sprom->ant_available_a == 0)) { sprom 330 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c struct ssb_sprom *sprom = &wlc->hw->d11core->bus->sprom; sprom 331 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c const char *ccode = sprom->alpha2; sprom 332 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c int ccode_len = sizeof(sprom->alpha2); sprom 59 drivers/net/wireless/broadcom/brcm80211/brcmsmac/led.c struct ssb_sprom *sprom = &wl->wlc->hw->d11core->bus->sprom; sprom 60 drivers/net/wireless/broadcom/brcm80211/brcmsmac/led.c u8 *leds[] = { &sprom->gpio0, sprom 61 drivers/net/wireless/broadcom/brcm80211/brcmsmac/led.c &sprom->gpio1, sprom 62 drivers/net/wireless/broadcom/brcm80211/brcmsmac/led.c &sprom->gpio2, sprom 63 drivers/net/wireless/broadcom/brcm80211/brcmsmac/led.c &sprom->gpio3 }; sprom 1905 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c struct ssb_sprom *sprom = &wlc_hw->d11core->bus->sprom; sprom 1908 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (!is_zero_ether_addr(sprom->il0mac)) { sprom 1909 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c memcpy(etheraddr, sprom->il0mac, ETH_ALEN); sprom 1914 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c memcpy(etheraddr, sprom->et1mac, ETH_ALEN); sprom 1916 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c memcpy(etheraddr, sprom->il0mac, ETH_ALEN); sprom 4414 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c struct ssb_sprom *sprom = &core->bus->sprom; sprom 4493 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c j = sprom->board_rev; sprom 4506 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_hw->sromrev = sprom->revision; sprom 4507 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_hw->boardflags = sprom->boardflags_lo + (sprom->boardflags_hi << 16); sprom 4508 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_hw->boardflags2 = sprom->boardflags2_lo + (sprom->boardflags2_hi << 16); sprom 4715 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c struct ssb_sprom *sprom = &wlc->hw->d11core->bus->sprom; sprom 4722 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c aa = sprom->ant_available_a; sprom 4724 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c aa = sprom->ant_available_bg; sprom 4744 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc->band->antgain = sprom->antenna_gain.a1; sprom 4746 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc->band->antgain = sprom->antenna_gain.a0; sprom 4867 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c struct ssb_sprom *sprom = &pi->d11core->bus->sprom; sprom 4873 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c pi_lcn->lcnphy_tr_isolation_mid = sprom->fem.ghz2.tr_iso; sprom 4875 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c pi_lcn->lcnphy_rx_power_offset = sprom->rxpo2g; sprom 4877 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c pi->txpa_2g[0] = sprom->pa0b0; sprom 4878 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c pi->txpa_2g[1] = sprom->pa0b1; sprom 4879 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c pi->txpa_2g[2] = sprom->pa0b2; sprom 4881 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c pi_lcn->lcnphy_rssi_vf = sprom->rssismf2g; sprom 4882 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c pi_lcn->lcnphy_rssi_vc = sprom->rssismc2g; sprom 4883 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c pi_lcn->lcnphy_rssi_gs = sprom->rssisav2g; sprom 4893 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c txpwr = sprom->core_pwr_info[0].maxpwr_2g; sprom 4901 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c cckpo = sprom->cck2gpo; sprom 4902 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c offset_ofdm = sprom->ofdm2gpo; sprom 4921 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c opo = sprom->opo; sprom 4931 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c offset_mcs = sprom->mcs2gpo[1] << 16; sprom 4932 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c offset_mcs |= sprom->mcs2gpo[0]; sprom 4942 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c pi_lcn->lcnphy_rawtempsense = sprom->rawtempsense; sprom 4943 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c pi_lcn->lcnphy_measPower = sprom->measpower; sprom 4944 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c pi_lcn->lcnphy_tempsense_slope = sprom->tempsense_slope; sprom 4945 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c pi_lcn->lcnphy_hw_iqcal_en = sprom->hw_iqcal_en; sprom 4946 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c pi_lcn->lcnphy_iqcal_swp_dis = sprom->iqcal_swp_dis; sprom 4947 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c pi_lcn->lcnphy_tempcorrx = sprom->tempcorrx; sprom 4948 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c pi_lcn->lcnphy_tempsense_option = sprom->tempsense_option; sprom 4949 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c pi_lcn->lcnphy_freqoffset_corr = sprom->freqoffset_corr; sprom 4950 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c if (sprom->ant_available_bg > 1) sprom 4952 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c sprom->ant_available_bg); sprom 14378 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c struct ssb_sprom *sprom = &pi->d11core->bus->sprom; sprom 14383 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c bw40po = sprom->bw40po; sprom 14389 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c cddpo = sprom->cddpo; sprom 14395 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c stbcpo = sprom->stbcpo; sprom 14401 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c bwduppo = sprom->bwduppo; sprom 14412 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c sprom->core_pwr_info[0].maxpwr_2g; sprom 14414 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c sprom->core_pwr_info[1].maxpwr_2g; sprom 14416 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c sprom->core_pwr_info[0].pa_2g[0]; sprom 14418 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c sprom->core_pwr_info[1].pa_2g[0]; sprom 14420 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c sprom->core_pwr_info[0].pa_2g[1]; sprom 14422 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c sprom->core_pwr_info[1].pa_2g[1]; sprom 14424 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c sprom->core_pwr_info[0].pa_2g[2]; sprom 14426 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c sprom->core_pwr_info[1].pa_2g[2]; sprom 14428 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c sprom->core_pwr_info[0].itssi_2g; sprom 14430 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c sprom->core_pwr_info[1].itssi_2g; sprom 14432 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->cck2gpo = sprom->cck2gpo; sprom 14434 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->ofdm2gpo = sprom->ofdm2gpo; sprom 14436 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->mcs2gpo[0] = sprom->mcs2gpo[0]; sprom 14437 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->mcs2gpo[1] = sprom->mcs2gpo[1]; sprom 14438 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->mcs2gpo[2] = sprom->mcs2gpo[2]; sprom 14439 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->mcs2gpo[3] = sprom->mcs2gpo[3]; sprom 14440 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->mcs2gpo[4] = sprom->mcs2gpo[4]; sprom 14441 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->mcs2gpo[5] = sprom->mcs2gpo[5]; sprom 14442 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->mcs2gpo[6] = sprom->mcs2gpo[6]; sprom 14443 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->mcs2gpo[7] = sprom->mcs2gpo[7]; sprom 14448 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c sprom->core_pwr_info[0].maxpwr_5g; sprom 14450 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c sprom->core_pwr_info[1].maxpwr_5g; sprom 14452 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c sprom->core_pwr_info[0].pa_5g[0]; sprom 14454 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c sprom->core_pwr_info[1].pa_5g[0]; sprom 14456 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c sprom->core_pwr_info[0].pa_5g[1]; sprom 14458 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c sprom->core_pwr_info[1].pa_5g[1]; sprom 14460 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c sprom->core_pwr_info[0].pa_5g[2]; sprom 14462 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c sprom->core_pwr_info[1].pa_5g[2]; sprom 14464 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c sprom->core_pwr_info[0].itssi_5g; sprom 14466 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c sprom->core_pwr_info[1].itssi_5g; sprom 14468 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->ofdm5gpo = sprom->ofdm5gpo; sprom 14470 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->mcs5gpo[0] = sprom->mcs5gpo[0]; sprom 14471 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->mcs5gpo[1] = sprom->mcs5gpo[1]; sprom 14472 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->mcs5gpo[2] = sprom->mcs5gpo[2]; sprom 14473 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->mcs5gpo[3] = sprom->mcs5gpo[3]; sprom 14474 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->mcs5gpo[4] = sprom->mcs5gpo[4]; sprom 14475 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->mcs5gpo[5] = sprom->mcs5gpo[5]; sprom 14476 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->mcs5gpo[6] = sprom->mcs5gpo[6]; sprom 14477 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->mcs5gpo[7] = sprom->mcs5gpo[7]; sprom 14482 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c sprom->core_pwr_info[0].maxpwr_5gl; sprom 14484 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c sprom->core_pwr_info[1].maxpwr_5gl; sprom 14486 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c sprom->core_pwr_info[0].pa_5gl[0]; sprom 14488 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c sprom->core_pwr_info[1].pa_5gl[0]; sprom 14490 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c sprom->core_pwr_info[0].pa_5gl[1]; sprom 14492 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c sprom->core_pwr_info[1].pa_5gl[1]; sprom 14494 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c sprom->core_pwr_info[0].pa_5gl[2]; sprom 14496 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c sprom->core_pwr_info[1].pa_5gl[2]; sprom 14500 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->ofdm5glpo = sprom->ofdm5glpo; sprom 14502 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->mcs5glpo[0] = sprom->mcs5glpo[0]; sprom 14503 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->mcs5glpo[1] = sprom->mcs5glpo[1]; sprom 14504 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->mcs5glpo[2] = sprom->mcs5glpo[2]; sprom 14505 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->mcs5glpo[3] = sprom->mcs5glpo[3]; sprom 14506 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->mcs5glpo[4] = sprom->mcs5glpo[4]; sprom 14507 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->mcs5glpo[5] = sprom->mcs5glpo[5]; sprom 14508 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->mcs5glpo[6] = sprom->mcs5glpo[6]; sprom 14509 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->mcs5glpo[7] = sprom->mcs5glpo[7]; sprom 14514 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c sprom->core_pwr_info[0].maxpwr_5gh; sprom 14516 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c sprom->core_pwr_info[1].maxpwr_5gh; sprom 14518 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c sprom->core_pwr_info[0].pa_5gh[0]; sprom 14520 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c sprom->core_pwr_info[1].pa_5gh[0]; sprom 14522 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c sprom->core_pwr_info[0].pa_5gh[1]; sprom 14524 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c sprom->core_pwr_info[1].pa_5gh[1]; sprom 14526 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c sprom->core_pwr_info[0].pa_5gh[2]; sprom 14528 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c sprom->core_pwr_info[1].pa_5gh[2]; sprom 14532 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->ofdm5ghpo = sprom->ofdm5ghpo; sprom 14534 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->mcs5ghpo[0] = sprom->mcs5ghpo[0]; sprom 14535 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->mcs5ghpo[1] = sprom->mcs5ghpo[1]; sprom 14536 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->mcs5ghpo[2] = sprom->mcs5ghpo[2]; sprom 14537 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->mcs5ghpo[3] = sprom->mcs5ghpo[3]; sprom 14538 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->mcs5ghpo[4] = sprom->mcs5ghpo[4]; sprom 14539 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->mcs5ghpo[5] = sprom->mcs5ghpo[5]; sprom 14540 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->mcs5ghpo[6] = sprom->mcs5ghpo[6]; sprom 14541 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->mcs5ghpo[7] = sprom->mcs5ghpo[7]; sprom 14551 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c struct ssb_sprom *sprom = &pi->d11core->bus->sprom; sprom 14553 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->antswitch = sprom->antswitch; sprom 14554 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->aa2g = sprom->ant_available_bg; sprom 14555 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->aa5g = sprom->ant_available_a; sprom 14557 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->srom_fem2g.tssipos = sprom->fem.ghz2.tssipos; sprom 14558 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->srom_fem2g.extpagain = sprom->fem.ghz2.extpa_gain; sprom 14559 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->srom_fem2g.pdetrange = sprom->fem.ghz2.pdet_range; sprom 14560 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->srom_fem2g.triso = sprom->fem.ghz2.tr_iso; sprom 14561 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->srom_fem2g.antswctrllut = sprom->fem.ghz2.antswlut; sprom 14563 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->srom_fem5g.tssipos = sprom->fem.ghz5.tssipos; sprom 14564 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->srom_fem5g.extpagain = sprom->fem.ghz5.extpa_gain; sprom 14565 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->srom_fem5g.pdetrange = sprom->fem.ghz5.pdet_range; sprom 14566 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->srom_fem5g.triso = sprom->fem.ghz5.tr_iso; sprom 14567 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c if (sprom->fem.ghz5.antswlut) sprom 14568 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->srom_fem5g.antswctrllut = sprom->fem.ghz5.antswlut; sprom 14570 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->srom_fem5g.antswctrllut = sprom->fem.ghz2.antswlut; sprom 14574 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->phy_txcore_disable_temp = sprom->tempthresh; sprom 14578 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->phy_tempsense_offset = sprom->tempoffset; sprom 14593 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->phycal_tempdelta = sprom->phycal_tempdelta; sprom 375 drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.c struct ssb_sprom *sprom = &wlc->hw->d11core->bus->sprom; sprom 378 drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.c wlc->stf->hw_txchain = sprom->txchain; sprom 379 drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.c wlc->stf->hw_rxchain = sprom->rxchain; sprom 404 drivers/ssb/driver_pcicore.c if (bus->sprom.boardflags_lo & SSB_PCICORE_BFL_NOPCI) sprom 203 drivers/ssb/host_soc.c memset(&iv->sprom, 0, sizeof(struct ssb_sprom)); sprom 204 drivers/ssb/host_soc.c ssb_fill_sprom_with_fallback(bus, &iv->sprom); sprom 610 drivers/ssb/main.c memcpy(&bus->sprom, &iv.sprom, sizeof(iv.sprom)); sprom 241 drivers/ssb/pci.c static u8 ssb_sprom_crc(const u16 *sprom, u16 size) sprom 247 drivers/ssb/pci.c crc = ssb_crc8(crc, sprom[word] & 0x00FF); sprom 248 drivers/ssb/pci.c crc = ssb_crc8(crc, (sprom[word] & 0xFF00) >> 8); sprom 250 drivers/ssb/pci.c crc = ssb_crc8(crc, sprom[size - 1] & 0x00FF); sprom 256 drivers/ssb/pci.c static int sprom_check_crc(const u16 *sprom, size_t size) sprom 262 drivers/ssb/pci.c crc = ssb_sprom_crc(sprom, size); sprom 263 drivers/ssb/pci.c tmp = sprom[size - 1] & SSB_SPROM_REVISION_CRC; sprom 271 drivers/ssb/pci.c static int sprom_do_read(struct ssb_bus *bus, u16 *sprom) sprom 276 drivers/ssb/pci.c sprom[i] = ioread16(bus->mmio + bus->sprom_offset + (i * 2)); sprom 281 drivers/ssb/pci.c static int sprom_do_write(struct ssb_bus *bus, const u16 *sprom) sprom 307 drivers/ssb/pci.c writew(sprom[i], bus->mmio + bus->sprom_offset + (i * 2)); sprom 858 drivers/ssb/pci.c struct ssb_sprom *sprom) sprom 906 drivers/ssb/pci.c err = ssb_fill_sprom_with_fallback(bus, sprom); sprom 913 drivers/ssb/pci.c sprom->revision); sprom 920 drivers/ssb/pci.c err = sprom_extract(bus, sprom, buf, bus->sprom_size); sprom 939 drivers/ssb/pci.c err = ssb_pci_sprom_get(bus, &iv->sprom); sprom 525 drivers/ssb/pcmcia.c static int ssb_pcmcia_sprom_read_all(struct ssb_bus *bus, u16 *sprom) sprom 530 drivers/ssb/pcmcia.c err = ssb_pcmcia_sprom_read(bus, i, &sprom[i]); sprom 539 drivers/ssb/pcmcia.c static int ssb_pcmcia_sprom_write_all(struct ssb_bus *bus, const u16 *sprom) sprom 562 drivers/ssb/pcmcia.c err = ssb_pcmcia_sprom_write(bus, i, sprom[i]); sprom 583 drivers/ssb/pcmcia.c static int ssb_pcmcia_sprom_check_crc(const u16 *sprom, size_t size) sprom 600 drivers/ssb/pcmcia.c struct ssb_sprom *sprom = priv; sprom 608 drivers/ssb/pcmcia.c memcpy(sprom->il0mac, &tuple->TupleData[2], ETH_ALEN); sprom 617 drivers/ssb/pcmcia.c struct ssb_sprom *sprom = &iv->sprom; sprom 633 drivers/ssb/pcmcia.c sprom->board_rev = tuple->TupleData[1]; sprom 639 drivers/ssb/pcmcia.c sprom->pa0b0 = tuple->TupleData[1] | sprom 641 drivers/ssb/pcmcia.c sprom->pa0b1 = tuple->TupleData[3] | sprom 643 drivers/ssb/pcmcia.c sprom->pa0b2 = tuple->TupleData[5] | sprom 645 drivers/ssb/pcmcia.c sprom->itssi_a = tuple->TupleData[7]; sprom 646 drivers/ssb/pcmcia.c sprom->itssi_bg = tuple->TupleData[7]; sprom 647 drivers/ssb/pcmcia.c sprom->maxpwr_a = tuple->TupleData[8]; sprom 648 drivers/ssb/pcmcia.c sprom->maxpwr_bg = tuple->TupleData[8]; sprom 656 drivers/ssb/pcmcia.c sprom->country_code = tuple->TupleData[1]; sprom 661 drivers/ssb/pcmcia.c sprom->ant_available_a = tuple->TupleData[1]; sprom 662 drivers/ssb/pcmcia.c sprom->ant_available_bg = tuple->TupleData[1]; sprom 667 drivers/ssb/pcmcia.c sprom->antenna_gain.a0 = tuple->TupleData[1]; sprom 668 drivers/ssb/pcmcia.c sprom->antenna_gain.a1 = tuple->TupleData[1]; sprom 669 drivers/ssb/pcmcia.c sprom->antenna_gain.a2 = tuple->TupleData[1]; sprom 670 drivers/ssb/pcmcia.c sprom->antenna_gain.a3 = tuple->TupleData[1]; sprom 676 drivers/ssb/pcmcia.c sprom->boardflags_lo = tuple->TupleData[1] | sprom 682 drivers/ssb/pcmcia.c sprom->gpio0 = tuple->TupleData[1]; sprom 683 drivers/ssb/pcmcia.c sprom->gpio1 = tuple->TupleData[2]; sprom 684 drivers/ssb/pcmcia.c sprom->gpio2 = tuple->TupleData[3]; sprom 685 drivers/ssb/pcmcia.c sprom->gpio3 = tuple->TupleData[4]; sprom 700 drivers/ssb/pcmcia.c struct ssb_sprom *sprom = &iv->sprom; sprom 703 drivers/ssb/pcmcia.c memset(sprom, 0xFF, sizeof(*sprom)); sprom 704 drivers/ssb/pcmcia.c sprom->revision = 1; sprom 705 drivers/ssb/pcmcia.c sprom->boardflags_lo = 0; sprom 706 drivers/ssb/pcmcia.c sprom->boardflags_hi = 0; sprom 710 drivers/ssb/pcmcia.c ssb_pcmcia_get_mac, sprom); sprom 475 drivers/ssb/sdio.c struct ssb_sprom *sprom = &iv->sprom; sprom 481 drivers/ssb/sdio.c memset(sprom, 0xFF, sizeof(*sprom)); sprom 482 drivers/ssb/sdio.c sprom->boardflags_lo = 0; sprom 483 drivers/ssb/sdio.c sprom->boardflags_hi = 0; sprom 496 drivers/ssb/sdio.c memcpy(sprom->il0mac, mac, ETH_ALEN); sprom 497 drivers/ssb/sdio.c memcpy(sprom->et1mac, mac, ETH_ALEN); sprom 508 drivers/ssb/sdio.c sprom->revision = tuple->data[1]; sprom 520 drivers/ssb/sdio.c sprom->board_rev = tuple->data[1]; sprom 526 drivers/ssb/sdio.c sprom->pa0b0 = tuple->data[1] | sprom 528 drivers/ssb/sdio.c sprom->pa0b1 = tuple->data[3] | sprom 530 drivers/ssb/sdio.c sprom->pa0b2 = tuple->data[5] | sprom 532 drivers/ssb/sdio.c sprom->itssi_a = tuple->data[7]; sprom 533 drivers/ssb/sdio.c sprom->itssi_bg = tuple->data[7]; sprom 534 drivers/ssb/sdio.c sprom->maxpwr_a = tuple->data[8]; sprom 535 drivers/ssb/sdio.c sprom->maxpwr_bg = tuple->data[8]; sprom 543 drivers/ssb/sdio.c sprom->country_code = tuple->data[1]; sprom 548 drivers/ssb/sdio.c sprom->ant_available_a = tuple->data[1]; sprom 549 drivers/ssb/sdio.c sprom->ant_available_bg = tuple->data[1]; sprom 554 drivers/ssb/sdio.c sprom->antenna_gain.a0 = tuple->data[1]; sprom 555 drivers/ssb/sdio.c sprom->antenna_gain.a1 = tuple->data[1]; sprom 556 drivers/ssb/sdio.c sprom->antenna_gain.a2 = tuple->data[1]; sprom 557 drivers/ssb/sdio.c sprom->antenna_gain.a3 = tuple->data[1]; sprom 563 drivers/ssb/sdio.c sprom->boardflags_lo = tuple->data[1] | sprom 569 drivers/ssb/sdio.c sprom->gpio0 = tuple->data[1]; sprom 570 drivers/ssb/sdio.c sprom->gpio1 = tuple->data[2]; sprom 571 drivers/ssb/sdio.c sprom->gpio2 = tuple->data[3]; sprom 572 drivers/ssb/sdio.c sprom->gpio3 = tuple->data[4]; sprom 23 drivers/ssb/sprom.c static int sprom2hex(const u16 *sprom, char *buf, size_t buf_len, sprom 30 drivers/ssb/sprom.c "%04X", swab16(sprom[i]) & 0xFFFF); sprom 36 drivers/ssb/sprom.c static int hex2sprom(u16 *sprom, const char *dump, size_t len, sprom 60 drivers/ssb/sprom.c sprom[cnt++] = swab16((u16)parsed); sprom 68 drivers/ssb/sprom.c int (*sprom_read)(struct ssb_bus *bus, u16 *sprom)) sprom 70 drivers/ssb/sprom.c u16 *sprom; sprom 75 drivers/ssb/sprom.c sprom = kcalloc(sprom_size_words, sizeof(u16), GFP_KERNEL); sprom 76 drivers/ssb/sprom.c if (!sprom) sprom 85 drivers/ssb/sprom.c err = sprom_read(bus, sprom); sprom 89 drivers/ssb/sprom.c count = sprom2hex(sprom, buf, PAGE_SIZE, sprom_size_words); sprom 92 drivers/ssb/sprom.c kfree(sprom); sprom 100 drivers/ssb/sprom.c int (*sprom_check_crc)(const u16 *sprom, size_t size), sprom 101 drivers/ssb/sprom.c int (*sprom_write)(struct ssb_bus *bus, const u16 *sprom)) sprom 103 drivers/ssb/sprom.c u16 *sprom; sprom 108 drivers/ssb/sprom.c sprom = kcalloc(bus->sprom_size, sizeof(u16), GFP_KERNEL); sprom 109 drivers/ssb/sprom.c if (!sprom) sprom 111 drivers/ssb/sprom.c err = hex2sprom(sprom, buf, count, sprom_size_words); sprom 116 drivers/ssb/sprom.c err = sprom_check_crc(sprom, sprom_size_words); sprom 133 drivers/ssb/sprom.c res = sprom_write(bus, sprom); sprom 140 drivers/ssb/sprom.c kfree(sprom); sprom 149 drivers/ssb/ssb_private.h int (*sprom_read)(struct ssb_bus *bus, u16 *sprom)); sprom 153 drivers/ssb/ssb_private.h int (*sprom_check_crc)(const u16 *sprom, size_t size), sprom 154 drivers/ssb/ssb_private.h int (*sprom_write)(struct ssb_bus *bus, const u16 *sprom)); sprom 364 include/linux/bcma/bcma.h struct ssb_sprom sprom; sprom 486 include/linux/ssb/ssb.h struct ssb_sprom sprom; sprom 518 include/linux/ssb/ssb.h struct ssb_sprom sprom; sprom 77 include/linux/ssb/ssb_driver_gige.h return !!(dev->dev->bus->sprom.boardflags_lo & sprom 108 include/linux/ssb/ssb_driver_gige.h memcpy(macaddr, dev->dev->bus->sprom.et0mac, 6); sprom 119 include/linux/ssb/ssb_driver_gige.h return dev->dev->bus->sprom.et0phyaddr;