Lines Matching refs:phy_stat

178 #define GET_PHY_STAT_P0_PWDB(phy_stat)                                         \
179 le32_get_bits(*((__le32 *)(phy_stat) + 0x00), GENMASK(15, 8))
180 #define GET_PHY_STAT_P0_VGA(phy_stat) \
181 le32_get_bits(*((__le32 *)(phy_stat) + 0x03), GENMASK(12, 8))
182 #define GET_PHY_STAT_P0_LNA_L(phy_stat) \
183 le32_get_bits(*((__le32 *)(phy_stat) + 0x03), GENMASK(15, 13))
184 #define GET_PHY_STAT_P0_LNA_H(phy_stat) \
185 le32_get_bits(*((__le32 *)(phy_stat) + 0x03), BIT(23))
190 #define GET_PHY_STAT_P1_PWDB_A(phy_stat) \
191 le32_get_bits(*((__le32 *)(phy_stat) + 0x00), GENMASK(15, 8))
192 #define GET_PHY_STAT_P1_PWDB_B(phy_stat) \
193 le32_get_bits(*((__le32 *)(phy_stat) + 0x00), GENMASK(23, 16))
194 #define GET_PHY_STAT_P1_RF_MODE(phy_stat) \
195 le32_get_bits(*((__le32 *)(phy_stat) + 0x03), GENMASK(29, 28))
196 #define GET_PHY_STAT_P1_L_RXSC(phy_stat) \
197 le32_get_bits(*((__le32 *)(phy_stat) + 0x01), GENMASK(11, 8))
198 #define GET_PHY_STAT_P1_HT_RXSC(phy_stat) \
199 le32_get_bits(*((__le32 *)(phy_stat) + 0x01), GENMASK(15, 12))
200 #define GET_PHY_STAT_P1_RXEVM_A(phy_stat) \
201 le32_get_bits(*((__le32 *)(phy_stat) + 0x04), GENMASK(7, 0))
202 #define GET_PHY_STAT_P1_RXEVM_B(phy_stat) \
203 le32_get_bits(*((__le32 *)(phy_stat) + 0x04), GENMASK(15, 8))
204 #define GET_PHY_STAT_P1_CFO_TAIL_A(phy_stat) \
205 le32_get_bits(*((__le32 *)(phy_stat) + 0x05), GENMASK(7, 0))
206 #define GET_PHY_STAT_P1_CFO_TAIL_B(phy_stat) \
207 le32_get_bits(*((__le32 *)(phy_stat) + 0x05), GENMASK(15, 8))
208 #define GET_PHY_STAT_P1_RXSNR_A(phy_stat) \
209 le32_get_bits(*((__le32 *)(phy_stat) + 0x06), GENMASK(7, 0))
210 #define GET_PHY_STAT_P1_RXSNR_B(phy_stat) \
211 le32_get_bits(*((__le32 *)(phy_stat) + 0x06), GENMASK(15, 8))