Lines Matching refs:osr
100 u8 osr; member
242 data->osr &= ~AS73211_OSR_DOS_MASK; in as73211_req_data()
243 data->osr |= AS73211_OSR_DOS_MEASURE | AS73211_OSR_SS; in as73211_req_data()
245 smbus_data.byte = data->osr; in as73211_req_data()
258 data->osr &= ~AS73211_OSR_SS; in as73211_req_data()
535 if ((data->osr & AS73211_OSR_DOS_MASK) != AS73211_OSR_DOS_CONFIG) { in as73211_write_raw()
536 data->osr &= ~AS73211_OSR_DOS_MASK; in as73211_write_raw()
537 data->osr |= AS73211_OSR_DOS_CONFIG; in as73211_write_raw()
539 ret = i2c_smbus_write_byte_data(data->client, AS73211_REG_OSR, data->osr); in as73211_write_raw()
643 data->osr &= ~AS73211_OSR_PD; in as73211_power()
645 data->osr |= AS73211_OSR_PD; in as73211_power()
647 ret = i2c_smbus_write_byte_data(data->client, AS73211_REG_OSR, data->osr); in as73211_power()
691 data->osr = ret; in as73211_probe()
694 data->osr |= AS73211_OSR_SW_RES; in as73211_probe()
695 ret = i2c_smbus_write_byte_data(data->client, AS73211_REG_OSR, data->osr); in as73211_probe()
702 data->osr = ret; in as73211_probe()