Lines Matching refs:MAX_INSTANCE_COUNT
31 #define MAX_INSTANCE_COUNT CONFIG_LWM2M_UCIFI_BATTERY_INSTANCE_COUNT macro
37 static uint8_t battery_level[MAX_INSTANCE_COUNT];
38 static uint32_t supply_loss_counter[MAX_INSTANCE_COUNT];
56 static struct lwm2m_engine_obj_inst inst[MAX_INSTANCE_COUNT];
57 static struct lwm2m_engine_res res[MAX_INSTANCE_COUNT][BATTERY_MAX_ID];
58 static struct lwm2m_engine_res_inst res_inst[MAX_INSTANCE_COUNT][RESOURCE_INSTANCE_COUNT];
72 for (i = 0; i < MAX_INSTANCE_COUNT; i++) { in supply_loss_counter_reset_cb()
87 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in battery_create()
96 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in battery_create()
102 if (index >= MAX_INSTANCE_COUNT) { in battery_create()
146 battery.max_instance_count = MAX_INSTANCE_COUNT; in ucifi_battery_init()