/freebsd/sys/gnu/dev/bwn/phy_n/ |
H A D | if_bwn_phy_n_tables.c | 3410 struct bwn_softc *sc = mac->mac_sc; in bwn_ntab_read_bulk() 3498 struct bwn_softc *sc = mac->mac_sc; in bwn_ntab_write_bulk() 3574 struct ieee80211com *ic = &mac->mac_sc->sc_ic; in bwn_nphy_tables_get_antswlut() 3575 struct bwn_softc *sc = mac->mac_sc; in bwn_nphy_tables_get_antswlut() 3586 BWN_ERRPRINTF(mac->mac_sc, "NVRAM variable %s unreadable: %d", in bwn_nphy_tables_get_antswlut() 3618 BWN_ERRPRINTF(mac->mac_sc, "Unsupported antswlut: %d\n", antswlut); in bwn_nphy_tables_init_rev7_volatile() 3747 struct bwn_softc *sc = mac->mac_sc; in bwn_nphy_get_ipa_gain_table() 3748 struct ieee80211com *ic = &mac->mac_sc->sc_ic; in bwn_nphy_get_ipa_gain_table() 3776 BWN_ERRPRINTF(mac->mac_sc, in bwn_nphy_get_ipa_gain_table() 3789 BWN_ERRPRINTF(mac->mac_sc, in bwn_nphy_get_ipa_gain_table() [all …]
|
H A D | if_bwn_phy_n_ppr.c | 142 struct bwn_softc *sc = mac->mac_sc; in bwn_ppr_load_max_from_sprom() 159 BWN_ERRPRINTF(mac->mac_sc, in bwn_ppr_load_max_from_sprom() 168 BWN_ERRPRINTF(mac->mac_sc, "NVRAM variable %s unreadable: %d\n", in bwn_ppr_load_max_from_sprom() 175 BWN_ERRPRINTF(mac->mac_sc, "NVRAM variable %s unreadable: %d\n", in bwn_ppr_load_max_from_sprom() 215 device_printf(mac->mac_sc->sc_dev, "%s: invalid band (%d)\n", in bwn_ppr_load_max_from_sprom()
|
H A D | if_bwn_phy_n_core.c | 196 BWN_WARNPRINTF(mac->mac_sc, "%s: seq %d > max", __func__, seq); in bwn_nphy_force_rf_sequence() 207 BWN_ERRPRINTF(mac->mac_sc, "RF sequence status timeout\n"); in bwn_nphy_force_rf_sequence() 235 BWN_WARNPRINTF(mac->mac_sc, "%s: phy rev %d out of range\n", in bwn_nphy_rf_ctl_override_rev7() 246 BWN_ERRPRINTF(mac->mac_sc, "Invalid override value %d\n", override); in bwn_nphy_rf_ctl_override_rev7() 277 BWN_ERRPRINTF(mac->mac_sc, "%s: phy rev %d out of range\n", in bwn_nphy_rf_ctl_override_one_to_many() 326 BWN_ERRPRINTF(mac->mac_sc, "%s: field 0x%04x has >1 bit set\n", in bwn_nphy_rf_ctl_override() 335 BWN_ERRPRINTF(mac->mac_sc, in bwn_nphy_rf_ctl_override() 370 BWN_ERRPRINTF(mac->mac_sc, in bwn_nphy_rf_ctl_override() 481 BWN_ERRPRINTF(mac->mac_sc, "%s: phy rev %d out of range\n", in bwn_nphy_rf_ctl_intc_override() 515 BWN_ERRPRINTF(mac->mac_sc, in bwn_nphy_rf_ctl_intc_override() [all …]
|
H A D | if_bwn_radio_2057.c | 629 device_printf(mac->mac_sc->sc_dev, in r2057_upload_inittabs() 692 device_printf(mac->mac_sc->sc_dev, in r2057_get_chantabent_rev7()
|
H A D | if_bwn_phy_n_sprom.c | 150 sc = mac->mac_sc; in bwn_nphy_get_core_power_info()
|
H A D | if_bwn_radio_2056.c | 10285 device_printf(mac->mac_sc->sc_dev, "%s: pts=NULL\n", in b2056_upload_inittabs() 10309 device_printf(mac->mac_sc->sc_dev, "%s: pts=NULL\n", in b2056_upload_syn_pll_cp2() 10359 device_printf(mac->mac_sc->sc_dev, in bwn_nphy_get_chantabent_rev3()
|
/freebsd/sys/dev/bwi/ |
H A D | bwimac.c | 120 struct bwi_softc *sc = mac->mac_sc; in bwi_tmplt_write_4() 163 struct bwi_softc *sc = mac->mac_sc; in bwi_memobj_read_2() 180 struct bwi_softc *sc = mac->mac_sc; in bwi_memobj_read_4() 206 struct bwi_softc *sc = mac->mac_sc; in bwi_memobj_write_2() 224 struct bwi_softc *sc = mac->mac_sc; in bwi_memobj_write_4() 247 CSR_READ_4(mac->mac_sc, BWI_STATE_HI); /* dummy read */ in bwi_mac_lateattach() 278 CSR_WRITE_2(mac->mac_sc, BWI_BBP_ATTEN, BWI_BBP_ATTEN_MAGIC); in bwi_mac_lateattach() 279 bwi_regwin_disable(mac->mac_sc, &mac->mac_regwin, 0); in bwi_mac_lateattach() 287 struct bwi_softc *sc = mac->mac_sc; in bwi_mac_init() 453 struct bwi_softc *sc = mac->mac_sc; in bwi_mac_reset() [all …]
|
H A D | bwiphy.c | 137 struct bwi_softc *sc = mac->mac_sc; in bwi_phy_write() 146 struct bwi_softc *sc = mac->mac_sc; in bwi_phy_read() 155 struct bwi_softc *sc = mac->mac_sc; in bwi_phy_attach() 229 CSR_FILT_SETBITS_2(mac->mac_sc, BWI_BBP_ATTEN, ~mask, in bwi_phy_set_bbp_atten() 247 CSR_READ_4(mac->mac_sc, BWI_MAC_STATUS); in bwi_phy_calibrate() 313 struct bwi_softc *sc = mac->mac_sc; in bwi_phy_init_11g() 429 device_printf(mac->mac_sc->sc_dev, in bwi_phy_init_11b_rev2() 436 struct bwi_softc *sc = mac->mac_sc; in bwi_phy_init_11b_rev4() 505 struct bwi_softc *sc = mac->mac_sc; in bwi_phy_init_11b_rev5() 607 struct bwi_softc *sc = mac->mac_sc; in bwi_phy_init_11b_rev6() [all …]
|
H A D | bwirf.c | 199 struct bwi_softc *sc = mac->mac_sc; in bwi_rf_write() 209 struct bwi_softc *sc = mac->mac_sc; in bwi_rf_read() 227 struct bwi_softc *sc = mac->mac_sc; in bwi_rf_attach() 342 struct bwi_softc *sc = mac->mac_sc; in bwi_rf_set_chan() 385 struct bwi_softc *sc = mac->mac_sc; in bwi_rf_get_gains() 517 DPRINTF(mac->mac_sc, BWI_DBG_RF | BWI_DBG_INIT, in bwi_rf_get_gains() 568 struct bwi_softc *sc = mac->mac_sc; in bwi_rf_work_around() 677 struct bwi_softc *sc = mac->mac_sc; in bwi_phy812_value() 768 struct bwi_softc *sc = mac->mac_sc; in bwi_rf_init_bcm2050() 1085 struct bwi_softc *sc = mac->mac_sc; in bwi_rf_map_txpower() [all …]
|
H A D | if_bwivar.h | 462 struct bwi_softc *mac_sc; member 492 (mac)->mac_sc = (sc); \
|
/freebsd/sys/dev/bwn/ |
H A D | if_bwn_phy_common.c | 90 struct bwn_softc *sc = mac->mac_sc; in bwn_mac_switch_freq() 155 sc = mac->mac_sc; in bwn_phy_force_clock() 197 sc = mac->mac_sc; in bwn_mac_phy_clock_set() 222 sc = mac->mac_sc; in bwn_wireless_core_phy_pll_reset()
|
H A D | if_bwn.c | 616 mac->mac_sc = sc; in bwn_attach() 1082 struct bwn_softc *sc = mac->mac_sc; in bwn_pio_tx_start() 1181 struct bwn_softc *sc = mac->mac_sc; in bwn_dma_tx_start() 1284 struct bwn_softc *sc = mac->mac_sc; in bwn_attach_core() 1505 sc = mac->mac_sc; in bwn_reset_core() 1563 struct bwn_softc *sc = mac->mac_sc; in bwn_phy_getinfo() 1627 struct bwn_softc *sc = mac->mac_sc; in bwn_chiptest() 1669 struct bwn_softc *sc = mac->mac_sc; in bwn_setup_channels() 1707 BWN_ASSERT_LOCKED(mac->mac_sc); in bwn_shm_read_4() 1733 BWN_ASSERT_LOCKED(mac->mac_sc); in bwn_shm_read_2() [all …]
|
H A D | if_bwnvar.h | 69 (bus_read_2((mac)->mac_sc->sc_mem_res, (o))) 71 (bus_read_4((mac)->mac_sc->sc_mem_res, (o))) 73 (bus_write_2((mac)->mac_sc->sc_mem_res, (o), (v))) 81 (bus_write_4((mac)->mac_sc->sc_mem_res, (o), (v))) 85 ((bhnd_get_hwrev(mac->mac_sc->sc_dev) >= 11) ? 0x18 : 0) 87 ((bhnd_get_hwrev(mac->mac_sc->sc_dev) >= 11) ? 0x38 : 8) 156 bus_barrier((mac)->mac_sc->sc_mem_res, (offset), (length), (flags)) 928 struct bwn_softc *mac_sc; member 1096 struct ieee80211com *ic = &mac->mac_sc->sc_ic; in bwn_current_band() 1106 struct ieee80211com *ic = &mac->mac_sc->sc_ic; in bwn_is_40mhz() [all …]
|
H A D | if_bwn_phy_n.c | 99 device_printf(mac->mac_sc->sc_dev, in bwn_phy_n_attach() 172 BWN_ERRPRINTF(mac->mac_sc, "%s: bad reg access\n", __func__); in bwn_phy_n_rf_read() 190 BWN_ERRPRINTF(mac->mac_sc, "%s: bad reg access\n", __func__); in bwn_phy_n_rf_write()
|
H A D | if_bwn_phy_lp.c | 409 struct bwn_softc *sc = mac->mac_sc; in bwn_phy_lp_init() 577 struct bwn_softc *sc = mac->mac_sc; in bwn_phy_lp_get_default_chan() 610 struct bwn_softc *sc = mac->mac_sc; in bwn_phy_lp_readsprom() 680 struct bwn_softc *sc = mac->mac_sc; in bwn_phy_lp_txpctl_init() 692 struct bwn_softc *sc = mac->mac_sc; in bwn_phy_lp_calib() 816 struct bwn_softc *sc = mac->mac_sc; in bwn_phy_lp_b2063_switch_channel() 952 struct bwn_softc *sc = mac->mac_sc; in bwn_phy_lp_b2062_switch_channel() 1052 struct bwn_softc *sc = mac->mac_sc; in bwn_phy_lp_set_gaintbl() 1103 struct bwn_softc *sc = mac->mac_sc; in bwn_phy_lp_get_txpctlmode() 1184 struct bwn_softc *sc = mac->mac_sc; in bwn_phy_lp_bugfix() [all …]
|
H A D | if_bwn_phy_g.c | 151 struct bwn_softc *sc = mac->mac_sc; in bwn_phy_g_attach() 274 struct bwn_softc *sc = mac->mac_sc; in bwn_phy_g_prepare_hw() 648 struct bwn_softc *sc = mac->mac_sc; in bwn_phy_g_recalc_txpwr() 700 struct bwn_softc *sc = mac->mac_sc; in bwn_phy_g_set_txpwr() 759 struct bwn_softc *sc = mac->mac_sc; in bwn_phy_g_task_15s() 817 struct bwn_softc *sc = mac->mac_sc; in bwn_phy_g_task_60s() 844 struct bwn_softc *sc = mac->mac_sc; in bwn_phy_g_init_sub() 951 struct bwn_softc *sc = mac->mac_sc; in bwn_phy_init_b5() 1047 struct bwn_softc *sc = mac->mac_sc; in bwn_loopback_calcgain() 1426 struct bwn_softc *sc = mac->mac_sc; in bwn_phy_init_b6() [all …]
|