Searched refs:ret_sig (Results 1 – 2 of 2) sorted by relevance
26 s32 ret_sig = 0; in odm_signal_scale_mapping() local30 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()
667 s32 ret_sig; in r8712_signal_scale_mapping() local670 ret_sig = 100; in r8712_signal_scale_mapping()672 ret_sig = 80 + ((cur_sig - 40) * 2); in r8712_signal_scale_mapping()674 ret_sig = 66 + (cur_sig - 30); in r8712_signal_scale_mapping()676 ret_sig = 54 + (cur_sig - 20); in r8712_signal_scale_mapping()678 ret_sig = 42 + (((cur_sig - 10) * 2) / 3); in r8712_signal_scale_mapping()680 ret_sig = 22 + (((cur_sig - 5) * 3) / 2); in r8712_signal_scale_mapping()682 ret_sig = 6 + (((cur_sig - 1) * 3) / 2); in r8712_signal_scale_mapping()684 ret_sig = cur_sig; in r8712_signal_scale_mapping()685 return ret_sig; in r8712_signal_scale_mapping()