Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/imu/st_lsm6dsx/
H A Dst_lsm6dsx_core.c103 static const struct st_lsm6dsx_settings st_lsm6dsx_sensor_settings[] = { variable
1553 for (i = 0; i < ARRAY_SIZE(st_lsm6dsx_sensor_settings); i++) { in st_lsm6dsx_check_whoami()
1555 if (st_lsm6dsx_sensor_settings[i].id[j].name && in st_lsm6dsx_check_whoami()
1556 id == st_lsm6dsx_sensor_settings[i].id[j].hw_id) in st_lsm6dsx_check_whoami()
1563 if (i == ARRAY_SIZE(st_lsm6dsx_sensor_settings)) { in st_lsm6dsx_check_whoami()
1574 if (data != st_lsm6dsx_sensor_settings[i].id[j].wai) { in st_lsm6dsx_check_whoami()
1579 *name = st_lsm6dsx_sensor_settings[i].id[j].name; in st_lsm6dsx_check_whoami()
1580 hw->settings = &st_lsm6dsx_sensor_settings[i]; in st_lsm6dsx_check_whoami()