Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_core.c118 .odr_avl[0] = { 10, 0x01 },
119 .odr_avl[1] = { 50, 0x02 },
120 .odr_avl[2] = { 119, 0x03 },
121 .odr_avl[3] = { 238, 0x04 },
122 .odr_avl[4] = { 476, 0x05 },
123 .odr_avl[5] = { 952, 0x06 },
130 .odr_avl[0] = { 15, 0x01 },
131 .odr_avl[1] = { 60, 0x02 },
132 .odr_avl[2] = { 119, 0x03 },
133 .odr_avl[3] = { 238, 0x04 },
[all …]
Dst_lsm6dsx_shub.c54 .odr_avl[0] = { 10, 0x0 },
55 .odr_avl[1] = { 20, 0x1 },
56 .odr_avl[2] = { 50, 0x2 },
57 .odr_avl[3] = { 100, 0x3 },
327 if (settings->odr_table.odr_avl[i].hz == odr) in st_lsm6dsx_shub_get_odr_val()
333 *val = settings->odr_table.odr_avl[i].val; in st_lsm6dsx_shub_get_odr_val()
541 u16 val = settings->odr_table.odr_avl[i].hz; in st_lsm6dsx_shub_sampling_freq_avail()
610 sensor->odr = info->odr_table.odr_avl[0].hz; in st_lsm6dsx_shub_alloc_iiodev()
Dst_lsm6dsx.h91 struct st_lsm6dsx_odr odr_avl[ST_LSM6DSX_ODR_LIST_SIZE]; member
/Linux-v5.4/drivers/iio/accel/
Dst_accel_core.c111 .odr_avl = {
193 .odr_avl = {
272 .odr_avl = {
362 .odr_avl = {
434 .odr_avl = {
506 .odr_avl = {
576 .odr_avl = {
634 .odr_avl = {
709 .odr_avl = {
789 .odr_avl = {
[all …]
/Linux-v5.4/drivers/iio/pressure/
Dst_pressure_core.c248 .odr_avl = {
321 .odr_avl = {
373 .odr_avl = {
442 .odr_avl = {
509 .odr_avl = {
716 press_data->odr = press_data->sensor_settings->odr.odr_avl[0].hz; in st_press_common_probe()
/Linux-v5.4/drivers/iio/magnetometer/
Dst_magn_core.c116 .odr_avl = {
195 .odr_avl = {
274 .odr_avl = {
346 .odr_avl = {
512 mdata->odr = mdata->sensor_settings->odr.odr_avl[0].hz; in st_magn_common_probe()
/Linux-v5.4/drivers/iio/gyro/
Dst_gyro_core.c69 .odr_avl = {
148 .odr_avl = {
222 .odr_avl = {
410 gdata->odr = gdata->sensor_settings->odr.odr_avl[0].hz; in st_gyro_common_probe()
/Linux-v5.4/drivers/iio/common/st_sensors/
Dst_sensors_core.c62 if (sensor_settings->odr.odr_avl[i].hz == 0) in st_sensors_match_odr()
65 if (sensor_settings->odr.odr_avl[i].hz == odr) { in st_sensors_match_odr()
66 odr_out->hz = sensor_settings->odr.odr_avl[i].hz; in st_sensors_match_odr()
67 odr_out->value = sensor_settings->odr.odr_avl[i].value; in st_sensors_match_odr()
667 if (sdata->sensor_settings->odr.odr_avl[i].hz == 0) in st_sensors_sysfs_sampling_frequency_avail()
671 sdata->sensor_settings->odr.odr_avl[i].hz); in st_sensors_sysfs_sampling_frequency_avail()
/Linux-v5.4/include/linux/iio/common/
Dst_sensors.h84 struct st_sensor_odr_avl odr_avl[ST_SENSORS_ODR_LIST_MAX]; member