Searched refs:tsl2563_write (Results 1 – 1 of 1) sorted by relevance
/linux-2.6.39/drivers/staging/iio/light/ |
D | tsl2563.c | 143 static int tsl2563_write(struct i2c_client *client, u8 reg, u8 value) in tsl2563_write() function 173 return tsl2563_write(client, TSL2563_REG_CTRL, cmd); in tsl2563_set_power() 197 ret = tsl2563_write(chip->client, TSL2563_REG_TIMING, in tsl2563_configure() 201 ret = tsl2563_write(chip->client, TSL2563_REG_HIGHLOW, in tsl2563_configure() 205 ret = tsl2563_write(chip->client, TSL2563_REG_HIGHHIGH, in tsl2563_configure() 209 ret = tsl2563_write(chip->client, TSL2563_REG_LOWLOW, in tsl2563_configure() 213 ret = tsl2563_write(chip->client, TSL2563_REG_LOWHIGH, in tsl2563_configure() 319 tsl2563_write(client, TSL2563_REG_TIMING, in tsl2563_adjust_gainlevel() 656 ret = tsl2563_write(chip->client, this_attr->address, val & 0xFF); in tsl2563_write_thresh() 659 ret = tsl2563_write(chip->client, this_attr->address + 1, in tsl2563_write_thresh() [all …]
|