Searched refs:IIO_DEGREE_TO_RAD (Results 1 – 5 of 5) sorted by relevance
/linux-4.1.27/drivers/iio/gyro/ |
D | st_gyro_core.c | 57 #define ST_GYRO_1_FS_AVL_250_GAIN IIO_DEGREE_TO_RAD(8750) 58 #define ST_GYRO_1_FS_AVL_500_GAIN IIO_DEGREE_TO_RAD(17500) 59 #define ST_GYRO_1_FS_AVL_2000_GAIN IIO_DEGREE_TO_RAD(70000) 81 #define ST_GYRO_2_FS_AVL_250_GAIN IIO_DEGREE_TO_RAD(8750) 82 #define ST_GYRO_2_FS_AVL_500_GAIN IIO_DEGREE_TO_RAD(17500) 83 #define ST_GYRO_2_FS_AVL_2000_GAIN IIO_DEGREE_TO_RAD(70000) 105 #define ST_GYRO_3_FS_AVL_250_GAIN IIO_DEGREE_TO_RAD(8750) 106 #define ST_GYRO_3_FS_AVL_500_GAIN IIO_DEGREE_TO_RAD(17500) 107 #define ST_GYRO_3_FS_AVL_2000_GAIN IIO_DEGREE_TO_RAD(70000)
|
D | adis16260.c | 158 *val2 = IIO_DEGREE_TO_RAD(18320); in adis16260_read_raw() 161 *val2 = IIO_DEGREE_TO_RAD(73260); in adis16260_read_raw() 166 *val2 = IIO_DEGREE_TO_RAD(36630); in adis16260_read_raw()
|
D | adis16136.c | 480 .precision = IIO_DEGREE_TO_RAD(1200), 484 .precision = IIO_DEGREE_TO_RAD(300), 488 .precision = IIO_DEGREE_TO_RAD(450),
|
/linux-4.1.27/drivers/iio/imu/ |
D | adis16400_core.c | 700 .gyro_scale_micro = IIO_DEGREE_TO_RAD(50000), /* 0.05 deg/s */ 712 .gyro_scale_micro = IIO_DEGREE_TO_RAD(50000), /* 0.05 deg/s */ 722 .gyro_scale_micro = IIO_DEGREE_TO_RAD(73260), /* 0.07326 deg/s */ 735 .gyro_scale_micro = IIO_DEGREE_TO_RAD(50000), /* 0.05 deg/s */ 747 .gyro_scale_micro = IIO_DEGREE_TO_RAD(50000), /* 0.05 deg/s */ 759 .gyro_scale_micro = IIO_DEGREE_TO_RAD(50000), /* 0.05 deg/s */ 770 .gyro_scale_micro = IIO_DEGREE_TO_RAD(50000), /* 0.05 deg/s */ 783 .gyro_scale_micro = IIO_DEGREE_TO_RAD(40000), /* 0.04 deg/s */
|
/linux-4.1.27/include/linux/iio/ |
D | iio.h | 642 #define IIO_DEGREE_TO_RAD(deg) (((deg) * 314159ULL + 9000000ULL) / 18000000ULL) macro
|