Home
last modified time | relevance | path

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

/drivers/iio/light/
Dbh1780.c43 static int bh1780_write(struct bh1780_data *bh1780, u8 reg, u8 val) in bh1780_write() argument
45 int ret = i2c_smbus_write_byte_data(bh1780->client, in bh1780_write()
49 dev_err(&bh1780->client->dev, in bh1780_write()
56 static int bh1780_read(struct bh1780_data *bh1780, u8 reg) in bh1780_read() argument
58 int ret = i2c_smbus_read_byte_data(bh1780->client, in bh1780_read()
61 dev_err(&bh1780->client->dev, in bh1780_read()
68 static int bh1780_read_word(struct bh1780_data *bh1780, u8 reg) in bh1780_read_word() argument
70 int ret = i2c_smbus_read_word_data(bh1780->client, in bh1780_read_word()
73 dev_err(&bh1780->client->dev, in bh1780_read_word()
84 struct bh1780_data *bh1780 = iio_priv(indio_dev); in bh1780_debugfs_reg_access() local
[all …]
DMakefile16 obj-$(CONFIG_BH1780) += bh1780.o
DKconfig122 be called bh1780.