Home
last modified time | relevance | path

Searched refs:constrain_lightness (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/src/mesh/
Dstate_binding.c42 uint16_t constrain_lightness(uint16_t light) in constrain_lightness() function
130 ctl->light->target = constrain_lightness(ctl->light->target); in set_target()
141 ctl->light->target = constrain_lightness(ctl->light->target); in set_target()
145 ctl->light->target = constrain_lightness(ctl->light->target); in set_target()
149 ctl->light->target = constrain_lightness(ctl->light->target); in set_target()
Dstate_binding.h27 uint16_t constrain_lightness(uint16_t light);
Ddevice_composition.c1516 lightness = constrain_lightness(lightness); in light_lightness_default_set_unack()
1535 lightness = constrain_lightness(lightness); in light_lightness_default_set()
2003 lightness = constrain_lightness(lightness); in light_ctl_default_set_unack()
2034 lightness = constrain_lightness(lightness); in light_ctl_default_set()
/Zephyr-latest/samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/src/
Dmain.c56 ctl->light->last = constrain_lightness(ctl->light->last); in light_default_status_init()
57 ctl->light->def = constrain_lightness(ctl->light->def); in light_default_status_init()
58 ctl->light->target = constrain_lightness(ctl->light->target); in light_default_status_init()