Home
last modified time | relevance | path

Searched refs:ret_sig (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/staging/rtl8723bs/hal/
Dodm_HWConfig.c26 s32 ret_sig = 0; in odm_signal_scale_mapping() local
30 ret_sig = 100; in odm_signal_scale_mapping()
32 ret_sig = 80 + ((curr_sig - 40)*2); in odm_signal_scale_mapping()
34 ret_sig = 66 + (curr_sig - 30); in odm_signal_scale_mapping()
36 ret_sig = 54 + (curr_sig - 20); in odm_signal_scale_mapping()
38 ret_sig = 42 + (((curr_sig - 10) * 2) / 3); in odm_signal_scale_mapping()
40 ret_sig = 22 + (((curr_sig - 5) * 3) / 2); in odm_signal_scale_mapping()
42 ret_sig = 6 + (((curr_sig - 1) * 3) / 2); in odm_signal_scale_mapping()
44 ret_sig = curr_sig; in odm_signal_scale_mapping()
47 return ret_sig; in odm_signal_scale_mapping()
/Linux-v6.6/drivers/staging/rtl8712/
Drtl8712_recv.c672 s32 ret_sig; in r8712_signal_scale_mapping() local
675 ret_sig = 100; in r8712_signal_scale_mapping()
677 ret_sig = 80 + ((cur_sig - 40) * 2); in r8712_signal_scale_mapping()
679 ret_sig = 66 + (cur_sig - 30); in r8712_signal_scale_mapping()
681 ret_sig = 54 + (cur_sig - 20); in r8712_signal_scale_mapping()
683 ret_sig = 42 + (((cur_sig - 10) * 2) / 3); in r8712_signal_scale_mapping()
685 ret_sig = 22 + (((cur_sig - 5) * 3) / 2); in r8712_signal_scale_mapping()
687 ret_sig = 6 + (((cur_sig - 1) * 3) / 2); in r8712_signal_scale_mapping()
689 ret_sig = cur_sig; in r8712_signal_scale_mapping()
690 return ret_sig; in r8712_signal_scale_mapping()