Home
last modified time | relevance | path

Searched refs:mac_phy (Results 1 – 19 of 19) sorted by relevance

/freebsd-13.1/sys/gnu/dev/bwn/phy_n/
H A Dif_bwn_phy_n_core.c333 if (mac->mac_phy.rev >= 3) { in bwn_nphy_rf_ctl_override()
476 if (mac->mac_phy.rev >= 7) { in bwn_nphy_rf_ctl_intc_override()
482 if (mac->mac_phy.rev < 3) { in bwn_nphy_rf_ctl_intc_override()
485 mac->mac_phy.rev); in bwn_nphy_rf_ctl_intc_override()
1239 mac->mac_phy.rev); in bwn_radio_2056_setup()
1531 mac->mac_phy.rev); in bwn_radio_2055_setup()
2123 if (mac->mac_phy.rev < 2) in bwn_nphy_poll_rssi()
3553 if (mac->mac_phy.rev < 2) in bwn_nphy_workarounds_rev1_2()
4504 if (mac->mac_phy.rev < 3 || mac->mac_phy.rev >= 7) in bwn_nphy_tx_lpf_bw()
4786 mac->mac_phy.rev); in bwn_nphy_spur_workaround()
[all …]
H A Dif_bwn_phy_n_tables.c3619 if (mac->mac_phy.phy_do_full_init) { in bwn_nphy_tables_init_rev16()
3727 if (mac->mac_phy.rev >= 16) in bwn_nphy_tables_init()
3729 else if (mac->mac_phy.rev >= 7) in bwn_nphy_tables_init()
3731 else if (mac->mac_phy.rev >= 3) in bwn_nphy_tables_init()
3799 if (mac->mac_phy.rev < 3) in bwn_nphy_get_tx_gain_table()
3901 if (!ghz5 && mac->mac_phy.rev >= 6 && mac->mac_phy.rf_rev == 11) in bwn_nphy_get_gain_ctl_workaround_ent()
3904 KASSERT(mac->mac_phy.rev >= 3, in bwn_nphy_get_gain_ctl_workaround_ent()
3906 __func__, mac->mac_phy.rev)); in bwn_nphy_get_gain_ctl_workaround_ent()
3907 if (mac->mac_phy.rev >= 6) in bwn_nphy_get_gain_ctl_workaround_ent()
3909 else if (mac->mac_phy.rev == 5) in bwn_nphy_get_gain_ctl_workaround_ent()
[all …]
H A Dif_bwn_radio_2057.c592 struct bwn_phy *phy = &mac->mac_phy; in r2057_upload_inittabs()
648 struct bwn_phy *phy = &mac->mac_phy; in r2057_get_chantabent_rev7()
H A Dif_bwn_phy_n_ppr.c147 struct bwn_phy *phy = &mac->mac_phy; in bwn_ppr_load_max_from_sprom()
H A Dif_bwn_radio_2056.c10233 struct bwn_phy *phy = &mac->mac_phy; in bwn_nphy_get_inittabs_rev3()
10324 struct bwn_phy *phy = &mac->mac_phy; in bwn_nphy_get_chantabent_rev3()
/freebsd-13.1/sys/dev/bwn/
H A Dif_bwn_phy_lp.c458 if (mac->mac_phy.rev >= 2) { in bwn_phy_lp_init()
511 if (mac->mac_phy.rev >= 2) in bwn_phy_lp_rf_read()
671 if (mac->mac_phy.rev >= 2) in bwn_phy_lp_bbinit()
712 if (mac->mac_phy.rev >= 2) in bwn_phy_lp_calib()
735 if (mac->mac_phy.rev >= 2) in bwn_phy_lp_calib()
1040 if (mac->mac_phy.rev < 2) { in bwn_phy_lp_set_anafilter()
1146 if (mac->mac_phy.rev < 2) in bwn_phy_lp_set_txpctlmode()
1672 if (mac->mac_phy.rev > 0) in bwn_phy_lp_b2062_init()
1940 if (mac->mac_phy.rev == 1) in bwn_phy_lp_set_rccap()
3453 if (mac->mac_phy.rev != 0 && mac->mac_phy.rev != 1) { in bwn_phy_lp_tblinit_txgain()
[all …]
H A Dif_bwn.c639 mac->mac_phy.type, mac->mac_phy.rev, mac->mac_phy.rf_manuf, in bwn_attach()
640 mac->mac_phy.rf_ver, mac->mac_phy.rf_rev); in bwn_attach()
1454 mac->mac_phy.type); in bwn_attach_core()
3563 if ((mac->mac_phy.rf_ver == 0x2050) && (mac->mac_phy.rf_rev == 8)) in bwn_spu_setdelay()
3579 if (mac->mac_phy.type != BWN_PHYTYPE_B && !mac->mac_phy.gmode) in bwn_bt_enable()
3752 mac->mac_phy.chan = mac->mac_phy.get_default_chan(mac); in bwn_phy_init()
3768 if (mac->mac_phy.exit) in bwn_phy_init()
4916 mac->mac_phy.rf_on = 1; in bwn_rf_turnon()
4928 mac->mac_phy.rf_on = 0; in bwn_rf_turnoff()
6701 if (mac->mac_phy.gmode) in bwn_antenna_sanitize()
[all …]
H A Dif_bwn_phy_g.c145 if (mac->mac_phy.hwpctl == 0 || mac->mac_phy.use_hwpctl == NULL) in bwn_has_hwpctl()
154 struct bwn_phy *phy = &mac->mac_phy; in bwn_phy_g_attach()
241 struct bwn_phy *phy = &mac->mac_phy; in bwn_phy_g_init_pre()
274 struct bwn_phy *phy = &mac->mac_phy; in bwn_phy_g_prepare_hw()
445 struct bwn_phy *phy = &mac->mac_phy; in bwn_phy_g_txctl()
518 return (mac->mac_phy.rev >= 6); in bwn_phy_g_hwpctl()
524 struct bwn_phy *phy = &mac->mac_phy; in bwn_phy_g_rf_onoff()
579 struct bwn_phy *phy = &mac->mac_phy; in bwn_phy_g_set_antenna()
632 struct bwn_phy *phy = &mac->mac_phy; in bwn_phy_g_im()
648 struct bwn_phy *phy = &mac->mac_phy; in bwn_phy_g_recalc_txpwr()
[all …]
H A Dif_bwn_phy_n.c173 if (mac->mac_phy.rev < 7 && reg == 1) { in bwn_phy_n_rf_read()
177 if (mac->mac_phy.rev >= 7) in bwn_phy_n_rf_read()
191 if (mac->mac_phy.rev < 7 && reg == 1) { in bwn_phy_n_rf_write()
H A Dif_bwnvar.h93 #define BWN_RF_READ(mac, r) (mac->mac_phy.rf_read(mac, r))
94 #define BWN_RF_WRITE(mac, r, v) (mac->mac_phy.rf_write(mac, r, v))
101 #define BWN_PHY_READ(mac, r) (mac->mac_phy.phy_read(mac, r))
103 (mac->mac_phy.phy_write(mac, r, v))
105 if (mac->mac_phy.phy_maskset != NULL) { \
109 mac->mac_phy.phy_maskset(mac, offset, 0xffff, set); \
115 if (mac->mac_phy.phy_maskset != NULL) { \
119 mac->mac_phy.phy_maskset(mac, offset, mask, set); \
125 if (mac->mac_phy.phy_maskset != NULL) { \
129 mac->mac_phy.phy_maskset(mac, offset, mask, 0); \
[all …]
H A Dif_bwn_phy_common.c131 } else if (mac->mac_phy.type == BWN_PHYTYPE_LCN) { in bwn_mac_switch_freq()
/freebsd-13.1/sys/dev/bwi/
H A Dbwiphy.c158 struct bwi_phy *phy = &mac->mac_phy; in bwi_phy_attach()
227 struct bwi_phy *phy = &mac->mac_phy; in bwi_phy_set_bbp_atten()
246 struct bwi_phy *phy = &mac->mac_phy; in bwi_phy_calibrate()
268 struct bwi_phy *phy = &mac->mac_phy; in bwi_tbl_write_2()
280 struct bwi_phy *phy = &mac->mac_phy; in bwi_tbl_write_4()
316 struct bwi_phy *phy = &mac->mac_phy; in bwi_phy_init_11g()
509 struct bwi_phy *phy = &mac->mac_phy; in bwi_phy_init_11b_rev5()
611 struct bwi_phy *phy = &mac->mac_phy; in bwi_phy_init_11b_rev6()
751 struct bwi_phy *phy = &mac->mac_phy; in bwi_phy_config_11g()
883 struct bwi_phy *phy = &mac->mac_phy; in bwi_phy_config_agc()
[all …]
H A Dbwimac.c262 if (mac->mac_phy.phy_mode == IEEE80211_MODE_11A) in bwi_mac_lateattach()
295 bwi_phy_clear_state(&mac->mac_phy); in bwi_mac_init()
492 mac->mac_phy.phy_flags |= BWI_PHY_F_LINKED; in bwi_mac_reset()
496 mac->mac_phy.phy_flags &= ~BWI_PHY_F_LINKED; in bwi_mac_reset()
536 if (mac->mac_phy.phy_mode == IEEE80211_MODE_11G) in bwi_mac_set_tpctl_11bg()
596 struct bwi_phy *phy = &mac->mac_phy; in bwi_mac_setup_tpctl()
707 if (mac->mac_phy.phy_mode == IEEE80211_MODE_11A) { in bwi_mac_dummy_xmit()
761 struct bwi_phy *phy = &mac->mac_phy; in bwi_mac_init_tpctl_11bg()
1310 struct bwi_phy *phy = &mac->mac_phy; in bwi_mac_hostflags_init()
1339 struct bwi_phy *phy = &mac->mac_phy; in bwi_mac_bss_param_init()
[all …]
H A Dbwirf.c230 struct bwi_phy *phy = &mac->mac_phy; in bwi_rf_attach()
388 struct bwi_phy *phy = &mac->mac_phy; in bwi_rf_get_gains()
680 struct bwi_phy *phy = &mac->mac_phy; in bwi_phy812_value()
771 struct bwi_phy *phy = &mac->mac_phy; in bwi_rf_init_bcm2050()
1089 struct bwi_phy *phy = &mac->mac_phy; in bwi_rf_map_txpower()
1262 struct bwi_phy *phy = &mac->mac_phy; in bwi_rf_lo_update_11g()
1393 struct bwi_phy *phy = &mac->mac_phy; in bwi_rf_lo_devi_measure()
1649 struct bwi_phy *phy = &mac->mac_phy; in bwi_rf_calc_nrssi_slope_11b()
1768 struct bwi_phy *phy = &mac->mac_phy; in bwi_rf_set_nrssi_ofs_11g()
1921 struct bwi_phy *phy = &mac->mac_phy; in bwi_rf_calc_nrssi_slope_11g()
[all …]
H A Dbwiphy.h65 _mac->mac_phy.phy_init(_mac); in bwi_phy_init()
H A Dif_bwivar.h465 struct bwi_phy mac_phy; /* PHY I/F */ member
H A Dif_bwi.c442 phy = &mac->mac_phy; in bwi_attach()
1263 if (mac->mac_phy.phy_mode == IEEE80211_MODE_11G) in bwi_init_statechg()
1698 phy = &mac->mac_phy; in bwi_getradiocaps()
/freebsd-13.1/sys/contrib/octeon-sdk/
H A Dcvmx-helper-sgmii.c159 if (!pcsx_miscx_ctl_reg.s.mac_phy) in __cvmx_helper_sgmii_hardware_init_one_time()
162 pcsx_miscx_ctl_reg.s.mac_phy = 1; in __cvmx_helper_sgmii_hardware_init_one_time()
166 if (pcsx_miscx_ctl_reg.s.mac_phy) in __cvmx_helper_sgmii_hardware_init_one_time()
654 if (pcsx_miscx_ctl_reg.s.mac_phy) in __cvmx_helper_sgmii_link_get()
H A Dcvmx-pcsx-defs.h1007 uint64_t mac_phy : 1; /**< 0=MAC, 1=PHY decides the tx_config_reg value to be member
1031 uint64_t mac_phy : 1;