Home
last modified time | relevance | path

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

/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()
/drivers/staging/rtl8712/
Drtl8712_recv.c671 s32 ret_sig; in r8712_signal_scale_mapping() local
674 ret_sig = 100; in r8712_signal_scale_mapping()
676 ret_sig = 80 + ((cur_sig - 40) * 2); in r8712_signal_scale_mapping()
678 ret_sig = 66 + (cur_sig - 30); in r8712_signal_scale_mapping()
680 ret_sig = 54 + (cur_sig - 20); in r8712_signal_scale_mapping()
682 ret_sig = 42 + (((cur_sig - 10) * 2) / 3); in r8712_signal_scale_mapping()
684 ret_sig = 22 + (((cur_sig - 5) * 3) / 2); in r8712_signal_scale_mapping()
686 ret_sig = 6 + (((cur_sig - 1) * 3) / 2); in r8712_signal_scale_mapping()
688 ret_sig = cur_sig; in r8712_signal_scale_mapping()
689 return ret_sig; in r8712_signal_scale_mapping()