Home
last modified time | relevance | path

Searched refs:BNO055_PG1 (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/drivers/iio/imu/bno055/
Dbno055.c101 #define BNO055_PG1(x) ((x) | 0x80) macro
102 #define BNO055_ACC_CONFIG_REG BNO055_PG1(0x8)
105 #define BNO055_MAG_CONFIG_REG BNO055_PG1(0x9)
108 #define BNO055_GYR_CONFIG_REG BNO055_PG1(0xA)
111 #define BNO055_GYR_AM_SET_REG BNO055_PG1(0x1F)
112 #define BNO055_UID_LOWER_REG BNO055_PG1(0x50)
113 #define BNO055_UID_HIGHER_REG BNO055_PG1(0x5F)
237 if ((reg < BNO055_PG1(0) && reg > BNO055_CALDATA_END) || in bno055_regmap_readable()
242 if (reg > BNO055_PG1(BNO055_UID_HIGHER_REG) || in bno055_regmap_readable()
243 (reg < BNO055_PG1(BNO055_UID_LOWER_REG) && reg > BNO055_PG1(BNO055_GYR_AM_SET_REG)) || in bno055_regmap_readable()
[all …]