Searched refs:tmp_report (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_dm.c | 633 u8 RF_Type, tmp_report[5] = {0, 0, 0, 0, 0}; in _rtl92e_dm_tx_power_tracking_callback_tssi() local 695 tmp_report[k] = rtl92e_readb(dev, in _rtl92e_dm_tx_power_tracking_callback_tssi() 698 tmp_report[k] = rtl92e_readb(dev, in _rtl92e_dm_tx_power_tracking_callback_tssi() 703 tmp_report[k]); in _rtl92e_dm_tx_power_tracking_callback_tssi() 705 if (tmp_report[k] <= 20) { in _rtl92e_dm_tx_power_tracking_callback_tssi() 717 tmp_report[k] = 0; in _rtl92e_dm_tx_power_tracking_callback_tssi() 722 Avg_TSSI_Meas_from_driver += tmp_report[k]; in _rtl92e_dm_tx_power_tracking_callback_tssi() 823 tmp_report[k] = 0; in _rtl92e_dm_tx_power_tracking_callback_tssi()
|
/Linux-v4.19/drivers/staging/rtl8192u/ |
D | r8192U_dm.c | 516 u8 RF_Type, tmp_report[5] = {0, 0, 0, 0, 0}; in dm_TXPowerTrackingCallback_TSSI() local 558 read_nic_byte(dev, 0x134+k, &tmp_report[k]); in dm_TXPowerTrackingCallback_TSSI() 560 read_nic_byte(dev, 0x13e, &tmp_report[k]); in dm_TXPowerTrackingCallback_TSSI() 561 RT_TRACE(COMP_POWER_TRACKING, "TSSI_report_value = %d\n", tmp_report[k]); in dm_TXPowerTrackingCallback_TSSI() 566 if (tmp_report[k] <= 20) { in dm_TXPowerTrackingCallback_TSSI() 576 tmp_report[k] = 0; in dm_TXPowerTrackingCallback_TSSI() 581 Avg_TSSI_Meas_from_driver += tmp_report[k]; in dm_TXPowerTrackingCallback_TSSI() 656 tmp_report[k] = 0; in dm_TXPowerTrackingCallback_TSSI()
|