/freebsd-current/sys/dev/isci/scil/ |
H A D | scic_sds_phy_registers.h | 60 * @brief This file contains the macros used by the phy object to read/write 75 * Macro to read the transport layer register associated with this phy 78 #define scu_transport_layer_read(phy, reg) \ 80 scic_sds_phy_get_controller(phy), \ 81 (phy)->transport_layer_registers->reg \ 85 * Macro to write the transport layer register associated with this phy 88 #define scu_transport_layer_write(phy, reg, value) \ 90 scic_sds_phy_get_controller(phy), \ 91 (phy)->transport_layer_registers->reg, \ 96 //* Transport Layer registers controlled by the phy objec [all...] |
H A D | scic_phy.h | 61 * by an SCIC user on a phy (SAS or SATA) object. 84 * supplied phy. This field may be set to SCI_INVALID_HANDLE 85 * if the phy is not currently contained in a port. 90 * This field specifies the maximum link rate for which this phy 96 * This field specifies the link rate at which the phy is 103 * transmitted to the connected phy. 108 * This field specifies the index of the phy in relation to other 118 * SAS phy, that can be retrieved. 139 * SATA phy, that can be retrieved. 151 * on the specified phy [all...] |
H A D | scic_sds_phy.h | 75 * This is the timeout value for the SATA phy to wait for a SIGNATURE FIS 160 * Debug code to record the state transitions for the phy object 177 * @brief This enumeration provides a named phy type for the state machine 182 * This is an unknown phy type since there is either nothing on the other 183 * end or we have not detected the phy type as yet. 204 * represent the core phy object and SCU hardware protocol engine. 211 * This field specifies the port object that owns/contains this phy. 216 * This field indicates whether the phy supports 1.5 Gb/s, 3.0 Gb/s, 222 * This member specifies the protocol being utilized on this phy. This 224 * a remote phy [all...] |
/freebsd-current/sys/dev/etherswitch/arswitch/ |
H A D | arswitch_phy.h | 31 extern int arswitch_readphy_external(device_t dev, int phy, int reg); 32 extern int arswitch_writephy_external(device_t dev, int phy, int reg, int data); 34 extern int arswitch_readphy_internal(device_t dev, int phy, int reg); 35 extern int arswitch_writephy_internal(device_t dev, int phy, int reg, int data);
|
H A D | arswitch_reg.c | 65 arswitch_split_setpage(device_t dev, uint32_t addr, uint16_t *phy, argument 72 *phy = (addr >> 6) & 0x7; 90 uint16_t phy, reg; local 92 arswitch_split_setpage(dev, addr, &phy, ®); 93 return (MDIO_READREG(device_get_parent(dev), 0x10 | phy, reg)); 102 uint16_t phy, reg; local 104 arswitch_split_setpage(dev, addr, &phy, ®); 105 return (MDIO_WRITEREG(device_get_parent(dev), 0x10 | phy, reg, data)); 109 arswitch_writedbg(device_t dev, int phy, uint16_t dbg_addr, argument 112 (void) MDIO_WRITEREG(device_get_parent(dev), phy, local 114 (void) MDIO_WRITEREG(device_get_parent(dev), phy, local 119 arswitch_writemmd(device_t dev, int phy, uint16_t dbg_addr, uint16_t dbg_data) argument 122 (void) MDIO_WRITEREG(device_get_parent(dev), phy, local 124 (void) MDIO_WRITEREG(device_get_parent(dev), phy, local 129 arswitch_reg_read32(device_t dev, int phy, int reg) argument 139 arswitch_reg_write32(device_t dev, int phy, int reg, uint32_t value) argument 167 uint16_t phy, reg; local 176 uint16_t phy, reg; local 221 uint16_t phy, reg; local 239 uint16_t phy, reg; local [all...] |
H A D | arswitch_phy.c | 71 arswitch_readphy_external(device_t dev, int phy, int reg) argument 79 ret = (MDIO_READREG(device_get_parent(dev), phy, reg)); 81 "%s: phy=0x%08x, reg=0x%08x, ret=0x%08x\n", 82 __func__, phy, reg, ret); 89 arswitch_writephy_external(device_t dev, int phy, int reg, int data) argument 96 (void) MDIO_WRITEREG(device_get_parent(dev), phy, local 99 "%s: phy=0x%08x, reg=0x%08x, data=0x%08x\n", 100 __func__, phy, reg, data); 111 arswitch_readphy_internal(device_t dev, int phy, int reg) argument 121 if (phy < 172 arswitch_writephy_internal(device_t dev, int phy, int reg, int data) argument [all...] |
/freebsd-current/sys/dev/etherswitch/ar40xx/ |
H A D | ar40xx_phy.c | 82 int phy; local 89 * Loop over; update phy port status here 91 for (phy = 0; phy < AR40XX_NUM_PHYS; phy++) { 95 reg = AR40XX_REG_READ(sc, AR40XX_REG_PORT_STATUS(phy + 1)); 97 mii = device_get_softc(sc->sc_phys.miibus[phy]); 101 * status. We may need to clear ATU / change phy config. 106 "%s: PHY %d: down -> up\n", __func__, phy); 107 ar40xx_hw_port_link_up(sc, phy 132 ar40xx_portforphy(int phy) argument 141 int phy; local 153 int phy; local 196 int phy, err = 0; local 240 int phy; local [all...] |
H A D | ar40xx_hw_psgmii.c | 121 ar40xx_hw_psgmii_single_phy_testing(struct ar40xx_softc *sc, int phy) argument 130 MDIO_WRITEREG(sc->sc_mdio_dev, phy, 0x0, 0x9000); 131 MDIO_WRITEREG(sc->sc_mdio_dev, phy, 0x0, 0x4140); 136 status = MDIO_READREG(sc->sc_mdio_dev, phy, 0x11); 151 ar40xx_hw_phy_mmd_write(sc, phy, 7, 0x8029, 0x0000); 152 ar40xx_hw_phy_mmd_write(sc, phy, 7, 0x8029, 0x0003); 155 ar40xx_hw_phy_mmd_write(sc, phy, 7, 0x8020, 0xa000); 163 tx_ok = ar40xx_hw_phy_mmd_read(sc, phy, 7, 0x802e); 164 tx_ok_high16 = ar40xx_hw_phy_mmd_read(sc, phy, 7, 0x802d); 165 tx_error = ar40xx_hw_phy_mmd_read(sc, phy, 191 int phy, j; local 322 uint32_t i, phy, reg; local 390 int phy; local [all...] |
/freebsd-current/sys/net80211/ |
H A D | ieee80211_phy.c | 79 [0] = { .phy = CCK, 1000, 0x00, B(2), 0 },/* 1 Mb */ 80 [1] = { .phy = CCK, 2000, 0x04, B(4), 1 },/* 2 Mb */ 81 [2] = { .phy = CCK, 5500, 0x04, B(11), 1 },/* 5.5 Mb */ 82 [3] = { .phy = CCK, 11000, 0x04, B(22), 1 },/* 11 Mb */ 83 [4] = { .phy = PBCC, 22000, 0x04, 44, 3 } /* 22 Mb */ 92 [0] = { .phy = CCK, 1000, 0x00, B(2), 0 }, 93 [1] = { .phy = CCK, 2000, 0x04, B(4), 1 }, 94 [2] = { .phy = CCK, 5500, 0x04, B(11), 2 }, 95 [3] = { .phy = CCK, 11000, 0x04, B(22), 3 }, 96 [4] = { .phy [all...] |
/freebsd-current/sys/dev/igc/ |
H A D | igc_phy.c | 20 struct igc_phy_info *phy = &hw->phy; local 24 phy->ops.init_params = igc_null_ops_generic; 25 phy->ops.acquire = igc_null_ops_generic; 26 phy->ops.check_reset_block = igc_null_ops_generic; 27 phy->ops.force_speed_duplex = igc_null_ops_generic; 28 phy->ops.get_info = igc_null_ops_generic; 29 phy->ops.set_page = igc_null_set_page; 30 phy->ops.read_reg = igc_null_read_reg; 31 phy 133 struct igc_phy_info *phy = &hw->phy; local 169 struct igc_phy_info *phy = &hw->phy; local 228 struct igc_phy_info *phy = &hw->phy; local 288 struct igc_phy_info *phy = &hw->phy; local 472 struct igc_phy_info *phy = &hw->phy; local 656 struct igc_phy_info *phy = &hw->phy; local 740 struct igc_phy_info *phy = &hw->phy; local 855 struct igc_phy_info *phy = &hw->phy; local [all...] |
/freebsd-current/sys/dev/e1000/ |
H A D | e1000_phy.c | 72 struct e1000_phy_info *phy = &hw->phy; local 76 phy->ops.init_params = e1000_null_ops_generic; 77 phy->ops.acquire = e1000_null_ops_generic; 78 phy->ops.check_polarity = e1000_null_ops_generic; 79 phy->ops.check_reset_block = e1000_null_ops_generic; 80 phy->ops.commit = e1000_null_ops_generic; 81 phy->ops.force_speed_duplex = e1000_null_ops_generic; 82 phy->ops.get_cfg_done = e1000_null_ops_generic; 83 phy 226 struct e1000_phy_info *phy = &hw->phy; local 292 struct e1000_phy_info *phy = &hw->phy; local 357 struct e1000_phy_info *phy = &hw->phy; local 423 struct e1000_phy_info *phy = &hw->phy; local 470 struct e1000_phy_info *phy = &hw->phy; local 1121 struct e1000_phy_info *phy = &hw->phy; local 1274 struct e1000_phy_info *phy = &hw->phy; local 1372 struct e1000_phy_info *phy = &hw->phy; local 1483 struct e1000_phy_info *phy = &hw->phy; local 1636 struct e1000_phy_info *phy = &hw->phy; local 1753 struct e1000_phy_info *phy = &hw->phy; local 1819 struct e1000_phy_info *phy = &hw->phy; local 1958 struct e1000_phy_info *phy = &hw->phy; local 2089 struct e1000_phy_info *phy = &hw->phy; local 2173 struct e1000_phy_info *phy = &hw->phy; local 2218 struct e1000_phy_info *phy = &hw->phy; local 2245 struct e1000_phy_info *phy = &hw->phy; local 2288 struct e1000_phy_info *phy = &hw->phy; local 2419 struct e1000_phy_info *phy = &hw->phy; local 2445 struct e1000_phy_info *phy = &hw->phy; local 2568 struct e1000_phy_info *phy = &hw->phy; local 2638 struct e1000_phy_info *phy = &hw->phy; local 2713 struct e1000_phy_info *phy = &hw->phy; local 2775 struct e1000_phy_info *phy = &hw->phy; local 2863 struct e1000_phy_info *phy = &hw->phy; local 3892 struct e1000_phy_info *phy = &hw->phy; local 3916 struct e1000_phy_info *phy = &hw->phy; local 3965 struct e1000_phy_info *phy = &hw->phy; local 4028 struct e1000_phy_info *phy = &hw->phy; local [all...] |
/freebsd-current/sys/dev/cxgb/common/ |
H A D | cxgb_aq100x.c | 66 #define AQ_WRITE_REGS(phy, regs) do { \ 69 (void) mdio_write(phy, regs[i].mmd, regs[i].reg, regs[i].val); \ 72 #define AQ_READ_REGS(phy, regs) do { \ 75 (void) mdio_read(phy, regs[i].mmd, regs[i].reg, &v); \ 83 aq100x_temperature(struct cphy *phy) argument 87 if (mdio_read(phy, MDIO_DEV_VEND1, AQ_THERMAL2, &v) || 91 if (mdio_read(phy, MDIO_DEV_VEND1, AQ_THERMAL1, &v)) 98 aq100x_set_defaults(struct cphy *phy) argument 100 return mdio_write(phy, MDIO_DEV_VEND1, AQ_THERMAL_THR, 0x6c00); 104 aq100x_reset(struct cphy *phy, in argument 114 aq100x_intr_enable(struct cphy *phy) argument 132 aq100x_intr_disable(struct cphy *phy) argument 150 aq100x_intr_clear(struct cphy *phy) argument 166 aq100x_vendor_intr(struct cphy *phy, int *rc) argument 202 aq100x_intr_handler(struct cphy *phy) argument 226 aq100x_power_down(struct cphy *phy, int off) argument 255 aq100x_autoneg_enable(struct cphy *phy) argument 268 aq100x_autoneg_restart(struct cphy *phy) argument 274 aq100x_advertise(struct cphy *phy, unsigned int advertise_map) argument 315 aq100x_set_loopback(struct cphy *phy, int mmd, int dir, int enable) argument 322 aq100x_set_speed_duplex(struct cphy *phy, int speed, int duplex) argument 352 aq100x_get_link_status(struct cphy *phy, int *link_state, int *speed, int *duplex, int *fc) argument 466 struct cphy *phy = &pinfo->phy; local [all...] |
H A D | cxgb_tn1010.c | 75 static int tn1010_reset(struct cphy *phy, int wait) argument 77 int err = t3_phy_reset(phy, MDIO_DEV_PMA_PMD, wait); 82 static int tn1010_power_down(struct cphy *phy, int enable) argument 84 return t3_mdio_change_bits(phy, MDIO_DEV_PMA_PMD, MII_BMCR, 88 static int tn1010_autoneg_enable(struct cphy *phy) argument 92 err = tn1010_power_down(phy, 0); 94 err = t3_mdio_change_bits(phy, MDIO_DEV_ANEG, MII_BMCR, 0, 99 static int tn1010_autoneg_restart(struct cphy *phy) argument 103 err = tn1010_power_down(phy, 0); 105 err = t3_mdio_change_bits(phy, MDIO_DEV_ANE 110 tn1010_advertise(struct cphy *phy, unsigned int advert) argument 131 tn1010_get_link_status(struct cphy *phy, int *link_state, int *speed, int *duplex, int *fc) argument 176 tn1010_set_speed_duplex(struct cphy *phy, int speed, int duplex) argument [all...] |
/freebsd-current/sys/contrib/dev/mediatek/mt76/mt7615/ |
H A D | main.c | 17 struct mt7615_phy *phy; local 22 phy = mt7615_ext_phy(dev); 24 return phy && test_bit(MT76_STATE_RUNNING, &phy->mt76->state); 30 struct mt7615_phy *phy = mt7615_hw_phy(hw); local 54 if (phy != &dev->phy) { 67 ret = mt76_connac_mcu_set_channel_domain(phy->mt76); 71 ret = mt76_connac_mcu_set_rate_txpower(phy->mt76); 76 ret = mt7615_mcu_set_chan_info(phy, MCU_EXT_CM 97 struct mt7615_phy *phy = mt7615_hw_phy(hw); local 184 struct mt7615_phy *phy = mt7615_hw_phy(hw); local 253 struct mt7615_phy *phy = mt7615_hw_phy(hw); local 285 mt7615_set_channel(struct mt7615_phy *phy) argument 348 struct mt7615_phy *phy = mt7615_hw_phy(hw); local 415 struct mt7615_phy *phy = mt7615_hw_phy(hw); local 438 struct mt7615_phy *phy = mt7615_hw_phy(hw); local 500 struct mt7615_phy *phy = mt7615_hw_phy(hw); local 587 struct mt7615_phy *phy = mt7615_hw_phy(hw); local 653 struct mt7615_phy *phy; local 695 struct mt7615_phy *phy; local 722 struct mt7615_phy *phy = mt7615_hw_phy(hw); local 804 struct mt7615_phy *phy = mt7615_hw_phy(hw); local 894 struct mt7615_phy *phy = mt7615_hw_phy(hw); local 991 struct mt7615_phy *phy = mt7615_hw_phy(hw); local 1004 struct mt7615_phy *phy = mt7615_hw_phy(hw); local 1035 struct mt7615_phy *phy = priv; local 1042 struct mt7615_phy *phy; local 1060 struct mt7615_phy *phy = from_timer(phy, timer, roc_timer); local 1067 struct mt7615_phy *phy; local 1176 struct mt7615_phy *phy = mt7615_hw_phy(hw); local 1205 struct mt7615_phy *phy = mt7615_hw_phy(hw); local 1245 struct mt7615_phy *phy = mt7615_hw_phy(hw); local 1274 struct mt7615_phy *phy = mt7615_hw_phy(hw); local [all...] |
H A D | testmode.c | 48 mt7615_tm_set_tx_power(struct mt7615_phy *phy) argument 50 struct mt7615_dev *dev = phy->dev; 51 struct mt76_phy *mphy = phy->mt76; 66 .dbdc_idx = phy != &dev->phy, 98 mt7615_tm_reg_backup_restore(struct mt7615_phy *phy) argument 100 struct mt7615_dev *dev = phy->dev; 101 u32 *b = phy->test.reg_backup; 106 if (phy->mt76->test.state == MT76_TM_STATE_OFF) { 124 phy 133 mt7615_tm_init(struct mt7615_phy *phy) argument 172 mt7615_tm_set_tx_antenna(struct mt7615_phy *phy, bool en) argument 225 mt7615_tm_set_tx_frames(struct mt7615_phy *phy, bool en) argument 242 mt7615_tm_update_params(struct mt7615_phy *phy, u32 changed) argument 261 struct mt7615_phy *phy = mphy->priv; local 300 struct mt7615_phy *phy = mphy->priv; local 326 struct mt7615_phy *phy = mphy->priv; local [all...] |
/freebsd-current/tools/tools/net80211/wlantxtime/ |
H A D | wlantxtime.c | 51 uint8_t phy; /* CCK/OFDM/TURBO */ member in struct:ieee80211_rate_table::__anon6382 102 [0] = { .phy = CCK, 1000, 0x00, B(2), 0 },/* 1 Mb */ 103 [1] = { .phy = CCK, 2000, 0x04, B(4), 1 },/* 2 Mb */ 104 [2] = { .phy = CCK, 5500, 0x04, B(11), 1 },/* 5.5 Mb */ 105 [3] = { .phy = CCK, 11000, 0x04, B(22), 1 },/* 11 Mb */ 106 [4] = { .phy = PBCC, 22000, 0x04, 44, 3 } /* 22 Mb */ 115 [0] = { .phy = CCK, 1000, 0x00, B(2), 0 }, 116 [1] = { .phy = CCK, 2000, 0x04, B(4), 1 }, 117 [2] = { .phy = CCK, 5500, 0x04, B(11), 2 }, 118 [3] = { .phy [all...] |
/freebsd-current/sys/dev/etherswitch/ip17x/ |
H A D | ip17x_phy.c | 54 ip17x_readphy(device_t dev, int phy, int reg) argument 62 if (phy < 0 || phy >= 32) 68 data = MDIO_READREG(device_get_parent(dev), phy, reg); 75 ip17x_writephy(device_t dev, int phy, int reg, int data) argument 83 if (phy < 0 || phy >= 32) 89 err = MDIO_WRITEREG(device_get_parent(dev), phy, reg, data); 96 ip17x_updatephy(device_t dev, int phy, int reg, int mask, int value) argument 100 val = ip17x_readphy(dev, phy, re [all...] |
/freebsd-current/sys/contrib/dev/mediatek/mt76/ |
H A D | mac80211.c | 206 static int mt76_led_init(struct mt76_phy *phy) argument 208 struct mt76_dev *dev = phy->dev; 209 struct ieee80211_hw *hw = phy->hw; 211 if (!phy->leds.cdev.brightness_set && !phy->leds.cdev.blink_set) 214 snprintf(phy->leds.name, sizeof(phy->leds.name), "mt76-%s", 217 phy->leds.cdev.name = phy->leds.name; 218 phy 244 mt76_led_cleanup(struct mt76_phy *phy) argument 253 mt76_init_stream_cap(struct mt76_phy *phy, struct ieee80211_supported_band *sband, bool vht) argument 295 mt76_set_stream_caps(struct mt76_phy *phy, bool vht) argument 307 mt76_init_sband(struct mt76_phy *phy, struct mt76_sband *msband, const struct ieee80211_channel *chan, int n_chan, struct ieee80211_rate *rates, int n_rates, bool ht, bool vht) argument 364 mt76_init_sband_2g(struct mt76_phy *phy, struct ieee80211_rate *rates, int n_rates) argument 375 mt76_init_sband_5g(struct mt76_phy *phy, struct ieee80211_rate *rates, int n_rates, bool vht) argument 386 mt76_init_sband_6g(struct mt76_phy *phy, struct ieee80211_rate *rates, int n_rates) argument 397 mt76_check_sband(struct mt76_phy *phy, struct mt76_sband *msband, enum nl80211_band band) argument 426 mt76_phy_init(struct mt76_phy *phy, struct ieee80211_hw *hw) argument 486 struct mt76_phy *phy; local 518 mt76_register_phy(struct mt76_phy *phy, bool vht, struct ieee80211_rate *rates, int n_rates) argument 569 mt76_unregister_phy(struct mt76_phy *phy) argument 633 struct mt76_phy *phy; local 708 struct mt76_phy *phy = &dev->phy; local 792 mt76_rx_release_amsdu(struct mt76_phy *phy, enum mt76_rxq_id q) argument 828 mt76_rx_release_burst(struct mt76_phy *phy, enum mt76_rxq_id q, struct sk_buff *skb) argument 854 struct mt76_phy *phy = mt76_dev_phy(dev, status->phy_idx); local 873 mt76_has_tx_pending(struct mt76_phy *phy) argument 889 mt76_channel_state(struct mt76_phy *phy, struct ieee80211_channel *c) argument 905 mt76_update_survey_active_time(struct mt76_phy *phy, ktime_t time) argument 915 mt76_update_survey(struct mt76_phy *phy) argument 937 mt76_set_channel(struct mt76_phy *phy) argument 966 struct mt76_phy *phy = hw->priv; local 1419 mt76_sta_add(struct mt76_phy *phy, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument 1489 struct mt76_phy *phy = hw->priv; local 1512 struct mt76_phy *phy = hw->priv; local 1527 struct mt76_phy *phy = hw->priv; local 1540 struct mt76_phy *phy = hw->priv; local 1563 mt76_get_sar_power(struct mt76_phy *phy, struct ieee80211_channel *chan, int power) argument 1686 struct mt76_phy *phy = hw->priv; local 1694 struct mt76_phy *phy = hw->priv; local 1702 struct mt76_phy *phy = hw->priv; local 1735 mt76_calculate_default_rate(struct mt76_phy *phy, int rateidx) argument 1805 mt76_phy_dfs_state(struct mt76_phy *phy) argument [all...] |
H A D | testmode.c | 31 void mt76_testmode_tx_pending(struct mt76_phy *phy) argument 33 struct mt76_testmode_data *td = &phy->test; 34 struct mt76_dev *dev = phy->dev; 45 q = phy->q_tx[qid]; 71 mt76_testmode_max_mpdu_len(struct mt76_phy *phy, u8 tx_rate_mode) argument 81 if (phy->sband_5g.sband.vht_cap.cap & 93 mt76_testmode_free_skb(struct mt76_phy *phy) argument 95 struct mt76_testmode_data *td = &phy->test; 101 int mt76_testmode_alloc_skb(struct mt76_phy *phy, u32 len) argument 106 struct mt76_testmode_data *td = &phy 178 mt76_testmode_tx_init(struct mt76_phy *phy) argument 270 mt76_testmode_tx_start(struct mt76_phy *phy) argument 282 mt76_testmode_tx_stop(struct mt76_phy *phy) argument 312 mt76_testmode_init_defaults(struct mt76_phy *phy) argument 330 __mt76_testmode_set_state(struct mt76_phy *phy, enum mt76_testmode_state state) argument 364 mt76_testmode_set_state(struct mt76_phy *phy, enum mt76_testmode_state state) argument 410 struct mt76_phy *phy = hw->priv; local 537 mt76_testmode_dump_stats(struct mt76_phy *phy, struct sk_buff *msg) argument 573 struct mt76_phy *phy = hw->priv; local [all...] |
/freebsd-current/sys/dev/ixgbe/ |
H A D | ixgbe_phy.c | 112 u32 swfw_mask = hw->phy.phy_semaphore_mask; 189 u32 swfw_mask = hw->phy.phy_semaphore_mask; 249 struct ixgbe_phy_info *phy = &hw->phy; local 254 phy->ops.identify = ixgbe_identify_phy_generic; 255 phy->ops.reset = ixgbe_reset_phy_generic; 256 phy->ops.read_reg = ixgbe_read_phy_reg_generic; 257 phy->ops.write_reg = ixgbe_write_phy_reg_generic; 258 phy->ops.read_reg_mdi = ixgbe_read_phy_reg_mdi; 259 phy [all...] |
/freebsd-current/sys/contrib/dev/mediatek/mt76/mt7915/ |
H A D | testmode.c | 38 mt7915_tm_set_tx_power(struct mt7915_phy *phy) argument 40 struct mt7915_dev *dev = phy->dev; 41 struct mt76_phy *mphy = phy->mt76; 54 .band_idx = phy->mt76->band_idx, 59 if (phy->mt76->test.state != MT76_TM_STATE_OFF) 60 tx_power = phy->mt76->test.tx_power; 74 mt7915_tm_set_freq_offset(struct mt7915_phy *phy, bool en, u32 val) argument 76 struct mt7915_dev *dev = phy->dev; 80 .param.freq.band = phy->mt76->band_idx, 106 mt7915_tm_set_trx(struct mt7915_phy *phy, in argument 122 mt7915_tm_clean_hwq(struct mt7915_phy *phy, u8 wcid) argument 137 mt7915_tm_set_slot_time(struct mt7915_phy *phy, u8 slot_time, u8 sifs) argument 155 mt7915_tm_set_tam_arb(struct mt7915_phy *phy, bool enable, bool mu) argument 171 mt7915_tm_set_wmm_qid(struct mt7915_phy *phy, u8 qid, u8 aifs, u8 cw_min, u16 cw_max, u16 txop) argument 190 mt7915_tm_set_ipg_params(struct mt7915_phy *phy, u32 ipg, u8 mode) argument 255 mt7915_tm_set_tx_len(struct mt7915_phy *phy, u32 tx_time) argument 335 mt7915_tm_reg_backup_restore(struct mt7915_phy *phy) argument 404 mt7915_tm_init(struct mt7915_phy *phy, bool en) argument 425 mt7915_tm_update_channel(struct mt7915_phy *phy) argument 435 mt7915_tm_set_tx_frames(struct mt7915_phy *phy, bool en) argument 483 mt7915_tm_set_rx_frames(struct mt7915_phy *phy, bool en) argument 510 mt7915_tm_set_tx_cont(struct mt7915_phy *phy, bool en) argument 636 mt7915_tm_update_params(struct mt7915_phy *phy, u32 changed) argument 651 struct mt7915_phy *phy = mphy->priv; local 694 struct mt7915_phy *phy = mphy->priv; local 723 struct mt7915_phy *phy = mphy->priv; local [all...] |
H A D | debugfs.c | 52 struct mt7915_phy *phy = file->private_data; local 53 struct mt7915_dev *dev = phy->dev; 54 bool band = phy->mt76->band_idx; 128 struct mt7915_phy *phy = file->private_data; local 129 struct mt7915_dev *dev = phy->dev; 252 struct mt7915_phy *phy = file->private; local 253 struct mt7915_dev *dev = phy->dev; 277 ret = mt7915_mcu_muru_debug_get(phy); 289 phy->mib.dl_cck_cnt, 290 phy 681 mt7915_ampdu_stat_read_phy(struct mt7915_phy *phy, struct seq_file *file) argument 712 mt7915_txbf_stat_read_phy(struct mt7915_phy *phy, struct seq_file *s) argument 761 struct mt7915_phy *phy = file->private; local 795 struct mt7915_phy *phy = s->private; local 853 struct mt7915_phy *phy = file->private; local 923 struct mt7915_phy *phy = file->private; local 975 struct mt7915_phy *phy = file->private_data; local 1052 struct mt7915_phy *phy = file->private_data; local 1206 mt7915_init_debugfs(struct mt7915_phy *phy) argument 1322 struct sta_phy phy = {}; local [all...] |
/freebsd-current/sys/dev/mii/ |
H A D | ukphy_subr.c | 59 ukphy_status(struct mii_softc *phy) argument 61 struct mii_data *mii = phy->mii_pdata; 68 bmsr = PHY_READ(phy, MII_BMSR) | PHY_READ(phy, MII_BMSR); 72 bmcr = PHY_READ(phy, MII_BMCR); 94 anlpar = PHY_READ(phy, MII_ANAR) & PHY_READ(phy, MII_ANLPAR); 95 if ((phy->mii_flags & MIIF_HAVE_GTCR) != 0 && 96 (phy->mii_extcapabilities & 98 gtcr = PHY_READ(phy, MII_100T2C [all...] |
/freebsd-current/sys/contrib/dev/rtw89/ |
H A D | rtw8852b_rfk.h | 15 void rtw8852b_dpk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy); 17 void rtw8852b_tssi(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, bool hwtx_en); 18 void rtw8852b_tssi_scan(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy);
|
H A D | rtw8852a_rfk.h | 15 void rtw8852a_dpk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy); 17 void rtw8852a_tssi(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy); 18 void rtw8852a_tssi_scan(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy);
|