Lines Matching refs:res
75 static struct lwm2m_engine_res res[MAX_INSTANCE_COUNT][TEMP_MAX_ID]; variable
166 (void)memset(res[index], 0, in temp_sensor_create()
167 sizeof(res[index][0]) * ARRAY_SIZE(res[index])); in temp_sensor_create()
171 INIT_OBJ_RES(SENSOR_VALUE_RID, res[index], i, in temp_sensor_create()
175 INIT_OBJ_RES_DATA_LEN(SENSOR_UNITS_RID, res[index], i, res_inst[index], j, in temp_sensor_create()
177 INIT_OBJ_RES_DATA(MIN_MEASURED_VALUE_RID, res[index], i, in temp_sensor_create()
180 INIT_OBJ_RES_DATA(MAX_MEASURED_VALUE_RID, res[index], i, in temp_sensor_create()
183 INIT_OBJ_RES_DATA(MIN_RANGE_VALUE_RID, res[index], i, in temp_sensor_create()
186 INIT_OBJ_RES_DATA(MAX_RANGE_VALUE_RID, res[index], i, in temp_sensor_create()
190 res[index], i, reset_min_max_measured_values_cb); in temp_sensor_create()
192 INIT_OBJ_RES_OPTDATA(APPLICATION_TYPE_RID, res[index], i, in temp_sensor_create()
194 INIT_OBJ_RES_OPTDATA(TIMESTAMP_RID, res[index], i, res_inst[index], j); in temp_sensor_create()
195 INIT_OBJ_RES_OPTDATA(FRACTIONAL_TIMESTAMP_RID, res[index], i, in temp_sensor_create()
197 INIT_OBJ_RES_OPTDATA(MEASUREMENT_QUALITY_INDICATOR_RID, res[index], in temp_sensor_create()
199 INIT_OBJ_RES_OPTDATA(MEASUREMENT_QUALITY_LEVEL_RID, res[index], i, in temp_sensor_create()
203 inst[index].resources = res[index]; in temp_sensor_create()