Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/iio/light/
Das73211.c101 u8 creg1; member
185 return BIT(FIELD_GET(AS73211_CREG1_TIME_MASK, data->creg1)); in as73211_integration_time_1024cyc()
220 return BIT(AS73211_CREG1_GAIN_1 - FIELD_GET(AS73211_CREG1_GAIN_MASK, data->creg1)); in as73211_gain()
479 data->creg1 &= ~AS73211_CREG1_GAIN_MASK; in _as73211_write_raw()
480 data->creg1 |= FIELD_PREP(AS73211_CREG1_GAIN_MASK, reg_bits); in _as73211_write_raw()
482 ret = i2c_smbus_write_byte_data(data->client, AS73211_REG_CREG1, data->creg1); in _as73211_write_raw()
508 data->creg1 &= ~AS73211_CREG1_TIME_MASK; in _as73211_write_raw()
509 data->creg1 |= FIELD_PREP(AS73211_CREG1_TIME_MASK, reg_bits); in _as73211_write_raw()
511 ret = i2c_smbus_write_byte_data(data->client, AS73211_REG_CREG1, data->creg1); in _as73211_write_raw()
720 data->creg1 = ret; in as73211_probe()