Searched refs:si1145_param_set (Results 1 – 1 of 1) sorted by relevance
/drivers/iio/light/ |
D | si1145.c | 328 static int si1145_param_set(struct si1145_data *data, u8 param, u8 value) in si1145_param_set() function 545 ret = si1145_param_set(data, in si1145_set_chlist() 556 ret = si1145_param_set(data, SI1145_PARAM_CHLIST, reg); in si1145_set_chlist() 758 ret = si1145_param_set(data, reg1, val); in si1145_write_raw() 764 ret = si1145_param_set(data, reg2, (~val & 0x07) << 4); in si1145_write_raw() 1067 ret = si1145_param_set(data, SI1145_PARAM_PS_ADC_MISC, in si1145_initialize() 1072 ret = si1145_param_set(data, SI1145_PARAM_PS_ADC_GAIN, 0x01); in si1145_initialize() 1077 ret = si1145_param_set(data, SI1145_PARAM_PS_ADC_COUNTER, 0x06 << 4); in si1145_initialize() 1082 ret = si1145_param_set(data, SI1145_PARAM_ALSVIS_ADC_MISC, in si1145_initialize() 1087 ret = si1145_param_set(data, SI1145_PARAM_ALSVIS_ADC_GAIN, 0x03); in si1145_initialize() [all …]
|