Home
last modified time | relevance | path

Searched refs:mac_sc (Results 1 – 16 of 16) sorted by relevance

/freebsd-14.2/sys/gnu/dev/bwn/phy_n/
H A Dif_bwn_phy_n_tables.c3410 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()
3575 struct bwn_softc *sc = mac->mac_sc; in bwn_nphy_tables_get_antswlut()
3747 struct bwn_softc *sc = mac->mac_sc; 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()
3798 struct bwn_softc *sc = mac->mac_sc; in bwn_nphy_get_tx_gain_table()
3834 BWN_ERRPRINTF(mac->mac_sc, in bwn_nphy_get_tx_gain_table()
3858 BWN_ERRPRINTF(mac->mac_sc, in bwn_nphy_get_tx_gain_table()
3882 BWN_ERRPRINTF(mac->mac_sc, in bwn_ntab_get_rf_pwr_offset_table()
[all …]
H A Dif_bwn_phy_n_ppr.c142 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 Dif_bwn_phy_n_core.c335 BWN_ERRPRINTF(mac->mac_sc, in bwn_nphy_rf_ctl_override()
370 BWN_ERRPRINTF(mac->mac_sc, in bwn_nphy_rf_ctl_override()
515 BWN_ERRPRINTF(mac->mac_sc, in bwn_nphy_rf_ctl_intc_override()
534 BWN_ERRPRINTF(mac->mac_sc, in bwn_nphy_rf_ctl_intc_override()
596 struct bwn_softc *sc = mac->mac_sc; in bwn_nphy_classifier()
1223 struct bwn_softc *sc = mac->mac_sc; in bwn_radio_2056_setup()
1556 struct bwn_softc *sc = mac->mac_sc; in bwn_radio_init2055_post()
2616 struct bwn_softc *sc = mac->mac_sc; in bwn_nphy_gain_ctl_workarounds_rev3()
2822 struct bwn_softc *sc = mac->mac_sc; in bwn_nphy_workarounds_rev7plus()
3269 struct bwn_softc *sc = mac->mac_sc; in bwn_nphy_workarounds_rev3plus()
[all …]
H A Dif_bwn_radio_2057.c629 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 Dif_bwn_phy_n_sprom.c151 sc = mac->mac_sc; in bwn_nphy_get_core_power_info()
H A Dif_bwn_radio_2056.c10285 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-14.2/sys/dev/bwi/
H A Dbwimac.c120 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()
287 struct bwi_softc *sc = mac->mac_sc; in bwi_mac_init()
453 struct bwi_softc *sc = mac->mac_sc; in bwi_mac_reset()
541 struct bwi_softc *sc = mac->mac_sc; in bwi_mac_test()
592 struct bwi_softc *sc = mac->mac_sc; in bwi_mac_setup_tpctl()
699 struct bwi_softc *sc = mac->mac_sc; in bwi_mac_dummy_xmit()
[all …]
H A Dbwiphy.c137 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 Dbwirf.c199 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()
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()
1258 struct bwi_softc *sc = mac->mac_sc; in bwi_rf_lo_update_11g()
[all …]
H A Dif_bwivar.h462 struct bwi_softc *mac_sc; member
492 (mac)->mac_sc = (sc); \
/freebsd-14.2/sys/dev/bwn/
H A Dif_bwn_phy_common.c90 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 Dif_bwn.c616 mac->mac_sc = sc; in bwn_attach()
1505 sc = mac->mac_sc; in bwn_reset_core()
1707 BWN_ASSERT_LOCKED(mac->mac_sc); in bwn_shm_read_4()
1733 BWN_ASSERT_LOCKED(mac->mac_sc); in bwn_shm_read_2()
1768 BWN_ASSERT_LOCKED(mac->mac_sc); in bwn_shm_write_4()
2180 sc = mac->mac_sc; in bwn_core_forceclk()
3664 sc = mac->mac_sc; in bwn_gpio_control()
3696 sc = mac->mac_sc; in bwn_gpio_init()
4938 sc = mac->mac_sc; in bwn_phy_reset()
6944 sc = mac->mac_sc; in bwn_txpwr()
[all …]
H A Dif_bwnvar.h69 (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)))
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()
1115 struct ieee80211com *ic = &mac->mac_sc->sc_ic; in bwn_get_centre_freq()
1132 struct ieee80211com *ic = &mac->mac_sc->sc_ic; in bwn_get_chan()
1141 struct ieee80211com *ic = &mac->mac_sc->sc_ic; in bwn_get_channel()
[all …]
H A Dif_bwn_phy_n.c99 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 Dif_bwn_phy_lp.c409 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 Dif_bwn_phy_g.c151 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 …]