Searched refs:theta (Results 1 – 9 of 9) sorted by relevance
/drivers/net/wireless/broadcom/b43/ |
D | phy_common.c | 609 struct b43_c32 b43_cordic(int theta) in b43_cordic() argument 622 while (theta > (180 << 16)) in b43_cordic() 623 theta -= (360 << 16); in b43_cordic() 624 while (theta < -(180 << 16)) in b43_cordic() 625 theta += (360 << 16); in b43_cordic() 627 if (theta > (90 << 16)) { in b43_cordic() 628 theta -= (180 << 16); in b43_cordic() 630 } else if (theta < -(90 << 16)) { in b43_cordic() 631 theta += (180 << 16); in b43_cordic() 636 if (theta > angle) { in b43_cordic()
|
D | phy_common.h | 452 struct b43_c32 b43_cordic(int theta);
|
/drivers/media/i2c/ |
D | ov7670.c | 1208 static int ov7670_sine(int theta) in ov7670_sine() argument 1213 if (theta < 0) { in ov7670_sine() 1214 theta = -theta; in ov7670_sine() 1217 if (theta <= 90) in ov7670_sine() 1218 sine = ov7670_sin_table[theta/SIN_STEP]; in ov7670_sine() 1220 theta -= 90; in ov7670_sine() 1221 sine = 1000 - ov7670_sin_table[theta/SIN_STEP]; in ov7670_sine() 1226 static int ov7670_cosine(int theta) in ov7670_cosine() argument 1228 theta = 90 - theta; in ov7670_cosine() 1229 if (theta > 180) in ov7670_cosine() [all …]
|
/drivers/net/wireless/ath/ath9k/ |
D | ar9003_paprd.c | 422 int x_est[NUM_BIN + 1], Y[NUM_BIN + 1], theta[NUM_BIN + 1]; in create_pa_curve() local 442 memset(theta, 0, sizeof(theta)); in create_pa_curve() 485 theta[max_index] = in create_pa_curve() 495 theta_low_bin += theta[i]; in create_pa_curve() 499 theta[i] = theta_low_bin; in create_pa_curve() 502 theta[0] = theta_low_bin; in create_pa_curve() 504 theta[i] -= theta_low_bin; in create_pa_curve() 675 ((theta[i + I] << M) + y_est[i + I]) / y_est[i + I]; in create_pa_curve()
|
/drivers/staging/lustre/include/linux/libcfs/ |
D | libcfs_hash.h | 773 static inline int __cfs_hash_theta_int(int theta) in __cfs_hash_theta_int() argument 775 return (theta >> CFS_HASH_THETA_BITS); in __cfs_hash_theta_int() 779 static inline int __cfs_hash_theta_frac(int theta) in __cfs_hash_theta_frac() argument 781 return ((theta * 1000) >> CFS_HASH_THETA_BITS) - in __cfs_hash_theta_frac() 782 (__cfs_hash_theta_int(theta) * 1000); in __cfs_hash_theta_frac()
|
/drivers/staging/lustre/lnet/libcfs/ |
D | hash.c | 2031 int theta; in cfs_hash_debug_str() local 2035 theta = __cfs_hash_theta(hs); in cfs_hash_debug_str() 2041 __cfs_hash_theta_int(theta), __cfs_hash_theta_frac(theta), in cfs_hash_debug_str() 2071 dist[min(fls(bd.bd_bucket->hsb_count / max(theta, 1)), 7)]++; in cfs_hash_debug_str()
|
/drivers/gpu/drm/vmwgfx/device_include/ |
D | svga3d_cmd.h | 406 float theta; member
|
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
D | phy_lcn.c | 3417 s32 theta = 0, rot = 0; in wlc_lcnphy_start_tx_tone() local 3447 theta = 0; in wlc_lcnphy_start_tx_tone() 3451 tone_samp = cordic_calc_iq(theta); in wlc_lcnphy_start_tx_tone() 3453 theta += rot; in wlc_lcnphy_start_tx_tone()
|
D | phy_n.c | 23144 s32 theta = 0, rot = 0; in wlc_phy_gen_load_samples_nphy() local 23167 theta = 0; in wlc_phy_gen_load_samples_nphy() 23171 tone_buf[t] = cordic_calc_iq(theta); in wlc_phy_gen_load_samples_nphy() 23173 theta += rot; in wlc_phy_gen_load_samples_nphy()
|