Lines Matching full:1000
74 gain = (val * 1000) - (val2 / 1000); in gain_dB_to_code()
76 gain = (val * 1000) + (val2 / 1000); in gain_dB_to_code()
94 *code = ~((abs(gain) / 1000) & 0xF); in hmc540s_gain_dB_to_code()
123 *val = (~code * -500) / 1000; in hmc425a_code_to_gain_dB()
124 *val2 = ((~code * -500) % 1000) * 1000; in hmc425a_code_to_gain_dB()
130 *val = (~code * -1000) / 1000; in hmc540s_code_to_gain_dB()
131 *val2 = ((~code * -1000) % 1000) * 1000; in hmc540s_code_to_gain_dB()
142 *val = (code * -2000) / 1000; in adrf5740_code_to_gain_dB()
143 *val2 = ((code * -2000) % 1000) * 1000; in adrf5740_code_to_gain_dB()
152 *val = gain / 1000; in ltc6373_code_to_gain_dB()
153 *val2 = (gain % 1000) * 1000; in ltc6373_code_to_gain_dB()