Home
last modified time | relevance | path

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

/drivers/iio/imu/inv_icm42600/
Dinv_icm42600_core.c206 struct inv_icm42600_sensor_conf *oldconf = &st->conf.accel; in inv_icm42600_set_accel_conf() local
212 conf->mode = oldconf->mode; in inv_icm42600_set_accel_conf()
214 conf->fs = oldconf->fs; in inv_icm42600_set_accel_conf()
216 conf->odr = oldconf->odr; in inv_icm42600_set_accel_conf()
218 conf->filter = oldconf->filter; in inv_icm42600_set_accel_conf()
221 if (conf->fs != oldconf->fs || conf->odr != oldconf->odr) { in inv_icm42600_set_accel_conf()
227 oldconf->fs = conf->fs; in inv_icm42600_set_accel_conf()
228 oldconf->odr = conf->odr; in inv_icm42600_set_accel_conf()
232 if (conf->filter != oldconf->filter) { in inv_icm42600_set_accel_conf()
238 oldconf->filter = conf->filter; in inv_icm42600_set_accel_conf()
[all …]
/drivers/md/
Dmd-linear.c176 struct linear_conf *newconf, *oldconf; in linear_add() local
196 oldconf = rcu_dereference_protected(mddev->private, in linear_add()
205 kfree_rcu(oldconf, rcu); in linear_add()
/drivers/hwmon/
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()