Home
last modified time | relevance | path

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

/linux/drivers/iio/light/
H A Das73211.c119 u8 creg1; member
230 return BIT(FIELD_GET(AS73211_CREG1_TIME_MASK, data->creg1)); in as73211_integration_time_1024cyc()
265 return BIT(AS73211_CREG1_GAIN_1 - FIELD_GET(AS73211_CREG1_GAIN_MASK, data->creg1)); in as73211_gain()
549 data->creg1 &= ~AS73211_CREG1_GAIN_MASK; in _as73211_write_raw()
550 data->creg1 |= FIELD_PREP(AS73211_CREG1_GAIN_MASK, reg_bits); in _as73211_write_raw()
552 ret = i2c_smbus_write_byte_data(data->client, AS73211_REG_CREG1, data->creg1); in _as73211_write_raw()
578 data->creg1 &= ~AS73211_CREG1_TIME_MASK; in _as73211_write_raw()
579 data->creg1 |= FIELD_PREP(AS73211_CREG1_TIME_MASK, reg_bits); in _as73211_write_raw()
581 ret = i2c_smbus_write_byte_data(data->client, AS73211_REG_CREG1, data->creg1); in _as73211_write_raw()
794 data->creg1 = ret; in as73211_probe()