Searched refs:whoami (Results 1 – 6 of 6) sorted by relevance
/linux-4.19.296/drivers/misc/lis3lv02d/ |
D | lis3lv02d.c | 191 if (lis3->whoami == WAI_12B) { in lis3lv02d_get_xyz() 289 if (lis3->whoami == WAI_8B) { in lis3lv02d_selftest() 302 if ((lis3->whoami == WAI_3DC) || (lis3->whoami == WAI_3DLH)) { in lis3lv02d_selftest() 307 if (lis3->whoami == WAI_12B) in lis3lv02d_selftest() 336 if (lis3->whoami == WAI_8B) { in lis3lv02d_selftest() 431 if (lis3->whoami == WAI_12B) in lis3lv02d_poweron() 433 else if (lis3->whoami == WAI_3DLH) in lis3lv02d_poweron() 439 if (lis3->whoami == WAI_3DLH) { in lis3lv02d_poweron() 479 if (lis3->pdata && lis3->whoami == WAI_8B && lis3->idev) in lis3lv02d_joystick_open() 722 if (lis3->whoami == WAI_12B) { in lis3lv02d_joystick_enable() [all …]
|
D | lis3lv02d_i2c.c | 88 if (reg != lis3->whoami) in lis3_i2c_init() 96 if (lis3->whoami == WAI_3DLH) in lis3_i2c_init()
|
D | lis3lv02d.h | 289 u8 whoami; /* indicates measurement precision */ member
|
/linux-4.19.296/drivers/iio/imu/inv_mpu6050/ |
D | inv_mpu_core.c | 120 .whoami = INV_MPU6050_WHOAMI_VALUE, 128 .whoami = INV_MPU6500_WHOAMI_VALUE, 136 .whoami = INV_MPU6515_WHOAMI_VALUE, 144 .whoami = INV_MPU6000_WHOAMI_VALUE, 152 .whoami = INV_MPU9150_WHOAMI_VALUE, 160 .whoami = INV_MPU9250_WHOAMI_VALUE, 168 .whoami = INV_MPU9255_WHOAMI_VALUE, 176 .whoami = INV_ICM20608_WHOAMI_VALUE, 184 .whoami = INV_ICM20602_WHOAMI_VALUE, 990 if (regval != st->hw->whoami) { in inv_check_and_setup_chip() [all …]
|
D | inv_mpu_iio.h | 115 u8 whoami; member
|
/linux-4.19.296/drivers/iio/magnetometer/ |
D | ak8974.c | 469 unsigned int whoami; in ak8974_detect() local 475 ret = regmap_read(ak8974->map, AK8974_WHOAMI, &whoami); in ak8974_detect() 481 switch (whoami) { in ak8974_detect() 504 whoami); in ak8974_detect() 509 ak8974->variant = whoami; in ak8974_detect() 511 if (whoami == AK8974_WHOAMI_VALUE_AMI306) { in ak8974_detect()
|