Searched refs:bh1780_write (Results 1 – 1 of 1) sorted by relevance
/drivers/iio/light/ |
D | bh1780.c | 43 static int bh1780_write(struct bh1780_data *bh1780, u8 reg, u8 val) in bh1780_write() function 88 return bh1780_write(bh1780, (u8)reg, (u8)writeval); in bh1780_debugfs_reg_access() 164 ret = bh1780_write(bh1780, BH1780_REG_CONTROL, BH1780_PON); in bh1780_probe() 215 ret = bh1780_write(bh1780, BH1780_REG_CONTROL, BH1780_POFF); in bh1780_remove() 228 ret = bh1780_write(bh1780, BH1780_REG_CONTROL, BH1780_POFF); in bh1780_runtime_suspend() 244 ret = bh1780_write(bh1780, BH1780_REG_CONTROL, BH1780_PON); in bh1780_runtime_resume()
|