| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/phydm/ |
| H A D | phydm_math_lib.c | 150 if (i <= 2 && (value << FRAC_BITS) <= db_invert_table[i][7]) in odm_convert_to_db() 157 if (i <= 2 && (value << FRAC_BITS) <= db_invert_table[i][j]) in odm_convert_to_db() 169 value - (db_invert_table[2][7] >> FRAC_BITS)) { in odm_convert_to_db() 177 value = value << FRAC_BITS; /*@elements of row 0~2 shift left*/ in odm_convert_to_db() 220 linear = linear << FRAC_BITS; in phydm_db_2_linear()
|
| H A D | phydm_math_lib.h | 80 #define FRAC_BITS 3 macro
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/phydm/ |
| H A D | phydm_math_lib.c | 149 if (i <= 2 && (value << FRAC_BITS) <= db_invert_table[i][7]) in odm_convert_to_db() 156 if (i <= 2 && (value << FRAC_BITS) <= db_invert_table[i][j]) in odm_convert_to_db() 168 value - (db_invert_table[2][7] >> FRAC_BITS)) { in odm_convert_to_db() 176 value = value << FRAC_BITS; /*@elements of row 0~2 shift left*/ in odm_convert_to_db() 219 linear = linear << FRAC_BITS; in phydm_db_2_linear()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/hal/phydm/ |
| H A D | phydm_math_lib.c | 149 if (i <= 2 && (value << FRAC_BITS) <= db_invert_table[i][7]) in odm_convert_to_db() 156 if (i <= 2 && (value << FRAC_BITS) <= db_invert_table[i][j]) in odm_convert_to_db() 168 value - (db_invert_table[2][7] >> FRAC_BITS)) { in odm_convert_to_db() 176 value = value << FRAC_BITS; /*@elements of row 0~2 shift left*/ in odm_convert_to_db() 219 linear = linear << FRAC_BITS; in phydm_db_2_linear()
|
| H A D | phydm_math_lib.h | 79 #define FRAC_BITS 3 macro
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/hal/phydm/ |
| H A D | phydm_math_lib.c | 149 if (i <= 2 && (value << FRAC_BITS) <= db_invert_table[i][7]) in odm_convert_to_db() 156 if (i <= 2 && (value << FRAC_BITS) <= db_invert_table[i][j]) in odm_convert_to_db() 168 value - (db_invert_table[2][7] >> FRAC_BITS)) { in odm_convert_to_db() 176 value = value << FRAC_BITS; /*@elements of row 0~2 shift left*/ in odm_convert_to_db() 219 linear = linear << FRAC_BITS; in phydm_db_2_linear()
|
| H A D | phydm_math_lib.h | 79 #define FRAC_BITS 3 macro
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/phydm/ |
| H A D | phydm_math_lib.c | 149 if (i <= 2 && (value << FRAC_BITS) <= db_invert_table[i][7]) in odm_convert_to_db() 156 if (i <= 2 && (value << FRAC_BITS) <= db_invert_table[i][j]) in odm_convert_to_db() 168 value - (db_invert_table[2][7] >> FRAC_BITS)) { in odm_convert_to_db() 176 value = value << FRAC_BITS; /*@elements of row 0~2 shift left*/ in odm_convert_to_db() 219 linear = linear << FRAC_BITS; in phydm_db_2_linear()
|
| H A D | phydm_math_lib.h | 79 #define FRAC_BITS 3 macro
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/hal/phydm/ |
| H A D | phydm_math_lib.c | 149 if (i <= 2 && (value << FRAC_BITS) <= db_invert_table[i][7]) in odm_convert_to_db() 156 if (i <= 2 && (value << FRAC_BITS) <= db_invert_table[i][j]) in odm_convert_to_db() 168 value - (db_invert_table[2][7] >> FRAC_BITS)) { in odm_convert_to_db() 176 value = value << FRAC_BITS; /*@elements of row 0~2 shift left*/ in odm_convert_to_db() 219 linear = linear << FRAC_BITS; in phydm_db_2_linear()
|
| H A D | phydm_math_lib.h | 79 #define FRAC_BITS 3 macro
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/hal/phydm/ |
| H A D | phydm_math_lib.c | 149 if (i <= 2 && (value << FRAC_BITS) <= db_invert_table[i][7]) in odm_convert_to_db() 156 if (i <= 2 && (value << FRAC_BITS) <= db_invert_table[i][j]) in odm_convert_to_db() 168 value - (db_invert_table[2][7] >> FRAC_BITS)) { in odm_convert_to_db() 176 value = value << FRAC_BITS; /*@elements of row 0~2 shift left*/ in odm_convert_to_db() 219 linear = linear << FRAC_BITS; in phydm_db_2_linear()
|
| H A D | phydm_math_lib.h | 79 #define FRAC_BITS 3 macro
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/bb/ |
| H A D | halbb_math_lib.c | 144 if (i <= 2 && (val << FRAC_BITS) <= db_invert_table[i][7]) in halbb_convert_to_db() 151 if (i <= 2 && (val << FRAC_BITS) <= db_invert_table[i][j]) in halbb_convert_to_db() 163 val - (db_invert_table[2][7] >> FRAC_BITS)) { in halbb_convert_to_db() 171 val = val << FRAC_BITS; /*@elements of row 0~2 shift left*/ in halbb_convert_to_db() 214 linear = linear << FRAC_BITS; in halbb_db_2_linear()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/bb/ |
| H A D | halbb_math_lib.c | 144 if (i <= 2 && (val << FRAC_BITS) <= db_invert_table[i][7]) in halbb_convert_to_db() 151 if (i <= 2 && (val << FRAC_BITS) <= db_invert_table[i][j]) in halbb_convert_to_db() 163 val - (db_invert_table[2][7] >> FRAC_BITS)) { in halbb_convert_to_db() 171 val = val << FRAC_BITS; /*@elements of row 0~2 shift left*/ in halbb_convert_to_db() 214 linear = linear << FRAC_BITS; in halbb_db_2_linear()
|
| /OK3568_Linux_fs/kernel/drivers/thermal/ |
| H A D | gov_power_allocator.c | 22 #define FRAC_BITS 10 macro 23 #define int_to_frac(x) ((x) << FRAC_BITS) 24 #define frac_to_int(x) ((x) >> FRAC_BITS) 36 return (x * y) >> FRAC_BITS; in mul_frac() 49 return div_s64(x << FRAC_BITS, y); in div_frac() 395 weight = 1 << FRAC_BITS; in allocate_power()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/hal/phydm/ |
| H A D | phydm_math_lib.c | 152 if (i <= 2 && (value << FRAC_BITS) <= db_invert_table[i][7]) in odm_convert_to_db() 159 if (i <= 2 && (value << FRAC_BITS) <= db_invert_table[i][j]) in odm_convert_to_db() 212 linear = linear << FRAC_BITS; in phydm_db_2_linear()
|
| H A D | phydm_math_lib.h | 79 #define FRAC_BITS 3 macro
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/hal/phydm/ |
| H A D | phydm_math_lib.c | 150 if (i <= 2 && (value << FRAC_BITS) <= db_invert_table[i][7]) in odm_convert_to_db() 157 if (i <= 2 && (value << FRAC_BITS) <= db_invert_table[i][j]) in odm_convert_to_db() 215 linear = linear << FRAC_BITS; in phydm_db_2_linear()
|
| H A D | phydm_math_lib.h | 80 #define FRAC_BITS 3 macro
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/phydm/ |
| H A D | phydm_math_lib.c | 150 if (i <= 2 && (value << FRAC_BITS) <= db_invert_table[i][7]) in odm_convert_to_db() 157 if (i <= 2 && (value << FRAC_BITS) <= db_invert_table[i][j]) in odm_convert_to_db() 215 linear = linear << FRAC_BITS; in phydm_db_2_linear()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/phydm/ |
| H A D | phydm_math_lib.c | 149 if (i <= 2 && (value << FRAC_BITS) <= db_invert_table[i][7]) in odm_convert_to_db() 156 if (i <= 2 && (value << FRAC_BITS) <= db_invert_table[i][j]) in odm_convert_to_db() 214 linear = linear << FRAC_BITS; in phydm_db_2_linear()
|
| H A D | phydm_math_lib.h | 79 #define FRAC_BITS 3 macro
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/hal/phydm/ |
| H A D | phydm_math_lib.c | 150 if (i <= 2 && (value << FRAC_BITS) <= db_invert_table[i][7]) in odm_convert_to_db() 157 if (i <= 2 && (value << FRAC_BITS) <= db_invert_table[i][j]) in odm_convert_to_db() 215 linear = linear << FRAC_BITS; in phydm_db_2_linear()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/radeon/ |
| H A D | radeon_legacy_tv.c | 68 #define FRAC_BITS 0xe macro 615 tmp |= (vert_space * (1 << FRAC_BITS) / 10000); in radeon_legacy_tv_mode_set() 645 tv_y_saw_tooth_cntl = (vert_space * SLOPE_value[i] * (1 << (FRAC_BITS - 1)) + in radeon_legacy_tv_mode_set() 647 (1 << (FRAC_BITS - 1)) / 8) << 16); in radeon_legacy_tv_mode_set() 650 RADEON_Y_FALL_PING_PONG | (272 * SLOPE_value[i] / 8) * (1 << (FRAC_BITS - 1)) / in radeon_legacy_tv_mode_set() 653 (flicker_removal * 1024 - 272) * SLOPE_value[i] / 8 * (1 << (FRAC_BITS - 1)) / 1024; in radeon_legacy_tv_mode_set()
|