Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/iio/chemical/
Dsunrise_co2.c53 struct sunrise_dev *sunrise = i2c_get_clientdata(client); in sunrise_regmap_read() local
71 sunrise->ignore_nak ? I2C_M_IGNORE_NAK : 0, in sunrise_regmap_read()
90 struct sunrise_dev *sunrise = i2c_get_clientdata(client); in sunrise_regmap_write() local
103 sunrise->ignore_nak ? I2C_M_IGNORE_NAK : 0, in sunrise_regmap_write()
118 static int sunrise_read_byte(struct sunrise_dev *sunrise, u8 reg) in sunrise_read_byte() argument
120 const struct i2c_client *client = sunrise->client; in sunrise_read_byte()
126 ret = regmap_read(sunrise->regmap, reg, &val); in sunrise_read_byte()
136 static int sunrise_read_word(struct sunrise_dev *sunrise, u8 reg, u16 *val) in sunrise_read_word() argument
138 const struct i2c_client *client = sunrise->client; in sunrise_read_word()
144 ret = regmap_bulk_read(sunrise->regmap, reg, &be_val, sizeof(be_val)); in sunrise_read_word()
[all …]
/Linux-v6.6/
DMAINTAINERS19336 F: Documentation/ABI/testing/sysfs-bus-iio-chemical-sunrise-co2
19337 F: Documentation/devicetree/bindings/iio/chemical/senseair,sunrise.yaml