Searched refs:IIO_DEGREE_TO_RAD (Results 1 – 5 of 5) sorted by relevance
/linux-4.4.14/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 | adis16136.c | 481 .precision = IIO_DEGREE_TO_RAD(1200), 485 .precision = IIO_DEGREE_TO_RAD(300), 489 .precision = IIO_DEGREE_TO_RAD(450), 493 .precision = IIO_DEGREE_TO_RAD(1000),
|
D | adis16260.c | 216 *val2 = IIO_DEGREE_TO_RAD(36630); in adis16260_read_raw()
|
/linux-4.4.14/drivers/iio/imu/ |
D | adis16400_core.c | 714 .gyro_scale_micro = IIO_DEGREE_TO_RAD(50000), /* 0.05 deg/s */ 726 .gyro_scale_micro = IIO_DEGREE_TO_RAD(50000), /* 0.05 deg/s */ 736 .gyro_scale_micro = IIO_DEGREE_TO_RAD(73260), /* 0.07326 deg/s */ 749 .gyro_scale_micro = IIO_DEGREE_TO_RAD(50000), /* 0.05 deg/s */ 761 .gyro_scale_micro = IIO_DEGREE_TO_RAD(50000), /* 0.05 deg/s */ 773 .gyro_scale_micro = IIO_DEGREE_TO_RAD(50000), /* 0.05 deg/s */ 785 .gyro_scale_micro = IIO_DEGREE_TO_RAD(2000), /* 0.2 deg/s */ 796 .gyro_scale_micro = IIO_DEGREE_TO_RAD(50000), /* 0.05 deg/s */ 809 .gyro_scale_micro = IIO_DEGREE_TO_RAD(10000), /* 0.01 deg/s */ 822 .gyro_scale_micro = IIO_DEGREE_TO_RAD(40000), /* 0.04 deg/s */
|
/linux-4.4.14/include/linux/iio/ |
D | iio.h | 648 #define IIO_DEGREE_TO_RAD(deg) (((deg) * 314159ULL + 9000000ULL) / 18000000ULL) macro
|