Lines Matching refs:pmax

81 	int32_t pmax;  member
128 out->pmax = write_attr_pool[i].int_val; in update_attrs()
229 attrs->pmax = lwm2m_server_get_pmax(srv_obj_inst); in engine_observe_get_attributes()
248 attrs->pmax = 0; in engine_observe_get_attributes()
309 attrs->pmax = (attrs->pmax >= attrs->pmin) ? (uint32_t)attrs->pmax : 0UL; in engine_observe_get_attributes()
320 int32_t pmax = 0; in engine_observe_attribute_list_get() local
325 nattrs->pmax = 0; in engine_observe_attribute_list_get()
340 if (nattrs->pmax) { in engine_observe_attribute_list_get()
341 if (pmax == 0) { in engine_observe_attribute_list_get()
342 pmax = nattrs->pmax; in engine_observe_attribute_list_get()
344 pmax = MIN(pmax, nattrs->pmax); in engine_observe_attribute_list_get()
350 nattrs->pmax = pmax; in engine_observe_attribute_list_get()
641 engine_observe_node_init(obs, token, msg->ctx, tkl, format, attrs.pmax); in engine_add_observer()
727 engine_observe_node_init(obs, token, msg->ctx, tkl, format, attrs.pmax); in engine_add_composite_observer()
963 if (nattrs.pmax) { in lwm2m_engine_observer_timestamp_update()
965 timestamp = obs->last_timestamp + MSEC_PER_SEC * nattrs.pmax; in lwm2m_engine_observer_timestamp_update()
1059 if (period_s && attrs.pmax && attrs.pmax < period_s) { in lwm2m_update_observer_min_period()
1060 LOG_DBG("New pmin (%d) > pmax (%d)", period_s, attrs.pmax); in lwm2m_update_observer_min_period()
1086 if (nattrs.flags & BIT(LWM2M_ATTR_PMAX) && nattrs.pmax == period_s) { in lwm2m_update_observer_max_period()
1143 void *nattr_ptrs[NR_LWM2M_ATTR] = {&nattrs.pmin, &nattrs.pmax, &nattrs.gt, &nattrs.lt, in lwm2m_write_attr_handler()
1261 nattrs.pmin > nattrs.pmax) { in lwm2m_write_attr_handler()
1262 LOG_DBG("pmin (%d) > pmax (%d)", nattrs.pmin, nattrs.pmax); in lwm2m_write_attr_handler()
1445 if (attrs.pmax) { in engine_observe_shedule_next_event()
1446 t_s = timestamp + MSEC_PER_SEC * attrs.pmax; in engine_observe_shedule_next_event()