Searched refs:oldconf (Results 1 – 2 of 2) sorted by relevance
281 struct inv_icm42600_sensor_conf *oldconf = &st->conf.accel; in inv_icm42600_set_accel_conf() local287 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 …]
823 u8 oldconf, conf; in gl520_init_client() local825 conf = oldconf = gl520_read_value(client, GL520_REG_CONF); in gl520_init_client()843 if (conf != oldconf) in gl520_init_client()