Searched refs:bh1780 (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/iio/light/ |
| H A D | bh1780.c | 42 static int bh1780_write(struct bh1780_data *bh1780, u8 reg, u8 val) in bh1780_write() argument 44 int ret = i2c_smbus_write_byte_data(bh1780->client, in bh1780_write() 48 dev_err(&bh1780->client->dev, in bh1780_write() 55 static int bh1780_read(struct bh1780_data *bh1780, u8 reg) in bh1780_read() argument 57 int ret = i2c_smbus_read_byte_data(bh1780->client, in bh1780_read() 60 dev_err(&bh1780->client->dev, in bh1780_read() 67 static int bh1780_read_word(struct bh1780_data *bh1780, u8 reg) in bh1780_read_word() argument 69 int ret = i2c_smbus_read_word_data(bh1780->client, in bh1780_read_word() 72 dev_err(&bh1780->client->dev, in bh1780_read_word() 83 struct bh1780_data *bh1780 = iio_priv(indio_dev); in bh1780_debugfs_reg_access() local [all …]
|
| H A D | Kconfig | 186 be called bh1780.
|