Home
last modified time | relevance | path

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

/linux/drivers/iio/imu/inv_icm42600/
H A Dinv_icm42600_core.c281 struct inv_icm42600_sensor_conf *oldconf = &st->conf.accel; in inv_icm42600_set_accel_conf() local
287 conf->mode = oldconf->mode; in inv_icm42600_set_accel_conf()
289 conf->fs = oldconf->fs; in inv_icm42600_set_accel_conf()
291 conf->odr = oldconf->odr; in inv_icm42600_set_accel_conf()
293 conf->filter = oldconf->filter; in inv_icm42600_set_accel_conf()
313 if (conf->fs != oldconf->fs || conf->odr != oldconf->odr) { in inv_icm42600_set_accel_conf()
319 oldconf->fs = conf->fs; in inv_icm42600_set_accel_conf()
320 oldconf->odr = conf->odr; in inv_icm42600_set_accel_conf()
324 if (conf->filter != oldconf->filter) { in inv_icm42600_set_accel_conf()
330 oldconf->filter = conf->filter; in inv_icm42600_set_accel_conf()
[all …]
/linux/drivers/hwmon/
H A Dgl520sm.c823 u8 oldconf, conf; in gl520_init_client() local
825 conf = oldconf = gl520_read_value(client, GL520_REG_CONF); in gl520_init_client()
843 if (conf != oldconf) in gl520_init_client()