Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/misc/lis3lv02d/
Dlis3lv02d.c191 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 …]
Dlis3lv02d_i2c.c88 if (reg != lis3->whoami) in lis3_i2c_init()
96 if (lis3->whoami == WAI_3DLH) in lis3_i2c_init()
Dlis3lv02d.h289 u8 whoami; /* indicates measurement precision */ member
/linux-4.19.296/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_core.c120 .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 …]
Dinv_mpu_iio.h115 u8 whoami; member
/linux-4.19.296/drivers/iio/magnetometer/
Dak8974.c469 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()