Home
last modified time | relevance | path

Searched refs:duv (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/src/
Dmain.c37 ctl->duv->def = DELTA_UV_DEF; in light_default_var_init()
38 ctl->duv->target = ctl->duv->def; in light_default_var_init()
64 ctl->duv->current = ctl->duv->def; in light_default_status_init()
80 ctl->duv->current = ctl->duv->target; in light_default_status_init()
86 ctl->duv->target = ctl->duv->current; in light_default_status_init()
Dstorage.c38 settings_save_one("ps/dd", &ctl->duv->def, sizeof(ctl->duv->def)); in save_def_states()
56 settings_save_one("ps/dlt", &ctl->duv->target, in save_last_target_states()
57 sizeof(ctl->duv->target)); in save_last_target_states()
150 len = read_cb(cb_arg, &ctl->duv->def, in ps_set()
151 sizeof(ctl->duv->def)); in ps_set()
170 len = read_cb(cb_arg, &ctl->duv->target, in ps_set()
171 sizeof(ctl->duv->target)); in ps_set()
/Zephyr-latest/samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/src/mesh/
Dno_transition_work_handler.c57 if (ctl->duv->target != ctl->duv->current) { in no_transition_work_handler()
58 ctl->duv->current = ctl->duv->target; in no_transition_work_handler()
Dtransition.c129 ctl->duv->delta = in set_transition_values()
130 ((float) (ctl->duv->current - ctl->duv->target) / in set_transition_values()
143 ctl->duv->delta = in set_transition_values()
144 ((float) (ctl->duv->current - ctl->duv->target) / in set_transition_values()
377 ctl->duv->current -= ctl->duv->delta; in light_ctl_work_handler()
382 ctl->duv->current = ctl->duv->target; in light_ctl_work_handler()
408 ctl->duv->current -= ctl->duv->delta; in light_ctl_temp_work_handler()
412 ctl->duv->current = ctl->duv->target; in light_ctl_temp_work_handler()
Dstate_binding.c162 ctl->duv->target = *((int16_t *) dptr); in set_target()
199 return ctl->duv->current; in get_current()
227 return ctl->duv->target; in get_target()
Ddevice_composition.c47 struct delta_uv duv; variable
52 .duv = &duv,
1826 ctl->duv->target != ctl->duv->current) { in light_ctl_set_unack()
1836 ctl->duv->current = ctl->duv->target; in light_ctl_set_unack()
1906 ctl->duv->target != ctl->duv->current) { in light_ctl_set()
1917 ctl->duv->current = ctl->duv->target; in light_ctl_set()
1957 net_buf_simple_add_le16(msg, ctl->duv->def); in light_ctl_default_get()
1980 net_buf_simple_add_le16(msg, ctl->duv->def); in light_ctl_default_publish()
2007 ctl->duv->def != delta_uv) { in light_ctl_default_set_unack()
2010 ctl->duv->def = delta_uv; in light_ctl_default_set_unack()
[all …]
Ddevice_composition.h81 struct delta_uv *duv; member