Searched refs:tssi_offset (Results 1 – 11 of 11) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/net/wireless/mediatek/mt76/mt76x0/ |
| H A D | phy.c | 701 int tssi_offset, tssi_db, ret; in mt76x0_phy_get_delta_power() local 720 tssi_offset = val >> 8; in mt76x0_phy_get_delta_power() 721 if ((tssi_offset >= 64 && tssi_offset <= 127) || in mt76x0_phy_get_delta_power() 722 (tssi_offset & BIT(7))) in mt76x0_phy_get_delta_power() 723 tssi_offset -= BIT(8); in mt76x0_phy_get_delta_power() 727 tssi_offset = val >> 8; in mt76x0_phy_get_delta_power() 728 if (tssi_offset & BIT(7)) in mt76x0_phy_get_delta_power() 729 tssi_offset -= BIT(8); in mt76x0_phy_get_delta_power() 776 tssi_db += ((tssi_offset - 50) << 10); /* offset s4.3 */ in mt76x0_phy_get_delta_power() 783 tssi_db += (tssi_offset << 9); /* offset s3.4 */ in mt76x0_phy_get_delta_power()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/mediatek/mt76/mt76x2/ |
| H A D | eeprom.h | 29 s8 tssi_offset; member
|
| H A D | phy.c | 229 t.offset0 = txp.chain[0].tssi_offset; in mt76x2_phy_tssi_compensate() 231 t.offset1 = txp.chain[1].tssi_offset; in mt76x2_phy_tssi_compensate()
|
| H A D | eeprom.c | 367 t->chain[chain].tssi_offset = data[1]; in mt76x2_get_power_info_2g() 419 t->chain[chain].tssi_offset = data[1]; in mt76x2_get_power_info_5g()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/mediatek/mt7601u/ |
| H A D | phy.c | 877 char tssi_offset; in mt7601u_tssi_cal() local 902 tssi_offset = dev->ee->tssi_data.offset[0]; in mt7601u_tssi_cal() 904 tssi_offset = dev->ee->tssi_data.offset[1]; in mt7601u_tssi_cal() 906 tssi_offset = dev->ee->tssi_data.offset[2]; in mt7601u_tssi_cal() 911 curr_pwr = tssi_db * dev->ee->tssi_data.slope + (tssi_offset << 9); in mt7601u_tssi_cal()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/rf/halrf_8852b/ |
| H A D | halrf_tssi_8852b.c | 2348 u32 tssi_offset; in halrf_get_online_tssi_de_8852b() local 2354 tssi_offset = halrf_rreg(rf, 0x5838, 0x003ff000); in halrf_get_online_tssi_de_8852b() 2362 tssi_offset = halrf_rreg(rf, 0x7838, 0x003ff000); in halrf_get_online_tssi_de_8852b() 2371 if (tssi_offset & BIT(9)) in halrf_get_online_tssi_de_8852b() 2372 s_tssi_offset = tssi_offset | 0xfffffc00; in halrf_get_online_tssi_de_8852b() 2374 s_tssi_offset = tssi_offset; in halrf_get_online_tssi_de_8852b()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/rf/halrf_8852b/ |
| H A D | halrf_tssi_8852b.c | 2348 u32 tssi_offset; in halrf_get_online_tssi_de_8852b() local 2354 tssi_offset = halrf_rreg(rf, 0x5838, 0x003ff000); in halrf_get_online_tssi_de_8852b() 2362 tssi_offset = halrf_rreg(rf, 0x7838, 0x003ff000); in halrf_get_online_tssi_de_8852b() 2371 if (tssi_offset & BIT(9)) in halrf_get_online_tssi_de_8852b() 2372 s_tssi_offset = tssi_offset | 0xfffffc00; in halrf_get_online_tssi_de_8852b() 2374 s_tssi_offset = tssi_offset; in halrf_get_online_tssi_de_8852b()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/ |
| H A D | rtw_mp.c | 3466 u8 rtw_mp_set_tssi_offset(_adapter *padapter, u32 tssi_offset, u8 rf_path) in rtw_mp_set_tssi_offset() argument 3475 ptxpwr_arg.tssi_de_offset = tssi_offset; in rtw_mp_set_tssi_offset()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/include/ |
| H A D | rtw_mp.h | 1558 u8 rtw_mp_set_tssi_offset(_adapter *padapter, u32 tssi_offset, u8 rf_path);
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/include/ |
| H A D | rtw_mp.h | 1575 u8 rtw_mp_set_tssi_offset(_adapter *padapter, u32 tssi_offset, u8 rf_path);
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/ |
| H A D | rtw_mp.c | 3611 u8 rtw_mp_set_tssi_offset(_adapter *padapter, u32 tssi_offset, u8 rf_path) in rtw_mp_set_tssi_offset() argument 3620 ptxpwr_arg.tssi_de_offset = tssi_offset; in rtw_mp_set_tssi_offset()
|