Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/light/
H A Das73211.c103 u8 creg3; member
201 return BIT(3 - FIELD_GET(AS73211_CREG3_CCLK_MASK, data->creg3)) * in as73211_integration_time_us()
385 *val = BIT(FIELD_GET(AS73211_CREG3_CCLK_MASK, data->creg3)) * in as73211_read_raw()
458 data->creg3 &= ~AS73211_CREG3_CCLK_MASK; in _as73211_write_raw()
459 data->creg3 |= FIELD_PREP(AS73211_CREG3_CCLK_MASK, reg_bits); in _as73211_write_raw()
462 ret = i2c_smbus_write_byte_data(data->client, AS73211_REG_CREG3, data->creg3); in _as73211_write_raw()
494 int f_samp_1_024mhz = BIT(FIELD_GET(AS73211_CREG3_CCLK_MASK, data->creg3)); in _as73211_write_raw()
730 data->creg3 = ret; in as73211_probe()