Lines Matching refs:param
189 uint16_t param = 0; in veml7700_build_als_conf_param() local
192 param |= data->gain << 11; in veml7700_build_als_conf_param()
195 param |= veml7700_it_values[data->it] << 6; in veml7700_build_als_conf_param()
198 param |= data->int_mode << 4; in veml7700_build_als_conf_param()
200 param |= BIT(1); in veml7700_build_als_conf_param()
205 param |= BIT(0); in veml7700_build_als_conf_param()
207 *return_value = param; in veml7700_build_als_conf_param()
246 uint16_t param; in veml7700_write_als_conf() local
249 ret = veml7700_build_als_conf_param(data, ¶m); in veml7700_write_als_conf()
253 LOG_DBG("Writing ALS configuration: 0x%04x", param); in veml7700_write_als_conf()
254 return veml7700_write(dev, VEML7700_CMDCODE_ALS_CONF, param); in veml7700_write_als_conf()