Searched refs:bh1780 (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/iio/light/ |
H A D | bh1780.c | 43 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 in bh1780_debugfs_reg_access() local 103 struct bh1780_data *bh1780 = iio_priv(indio_dev); bh1780_read_raw() local 148 struct bh1780_data *bh1780; bh1780_probe() local 208 struct bh1780_data *bh1780 = iio_priv(indio_dev); bh1780_remove() local 229 struct bh1780_data *bh1780 = iio_priv(indio_dev); bh1780_runtime_suspend() local 245 struct bh1780_data *bh1780 = iio_priv(indio_dev); bh1780_runtime_resume() local [all...] |
/kernel/linux/linux-6.6/drivers/iio/light/ |
H A D | bh1780.c | 43 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 in bh1780_debugfs_reg_access() local 103 struct bh1780_data *bh1780 = iio_priv(indio_dev); bh1780_read_raw() local 147 struct bh1780_data *bh1780; bh1780_probe() local 207 struct bh1780_data *bh1780 = iio_priv(indio_dev); bh1780_remove() local 224 struct bh1780_data *bh1780 = iio_priv(indio_dev); bh1780_runtime_suspend() local 240 struct bh1780_data *bh1780 = iio_priv(indio_dev); bh1780_runtime_resume() local [all...] |
Completed in 2 milliseconds