Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Dds1621.c144 u8 conf, new_conf, sreg, resol; in ds1621_init_client() local
168 resol = (new_conf & DS1621_REG_CONFIG_RESOL) >> in ds1621_init_client()
170 data->update_interval = ds1721_convrates[resol]; in ds1621_init_client()
171 data->zbits = 7 - resol; in ds1621_init_client()
283 int resol = 0; in update_interval_store() local
290 while (resol < (ARRAY_SIZE(ds1721_convrates) - 1) && in update_interval_store()
291 convrate > ds1721_convrates[resol]) in update_interval_store()
292 resol++; in update_interval_store()
297 data->conf |= (resol << DS1621_REG_CONFIG_RESOL_SHIFT); in update_interval_store()
299 data->update_interval = ds1721_convrates[resol]; in update_interval_store()
[all …]