zephyr/samples
Gerard Marull-Paretas 5a71eeb35c pm: policy: move constraints to policy API
The pm_constraint_* APIs were effectively used by the policy manager
only. This patch renames the API to the policy namespace and makes its
naming more explicit:

- pm_constraint_set -> pm_policy_state_lock_get()
- pm_constraint_release -> pm_policy_state_lock_put()
- pm_constraint_get -> pm_policy_state_lock_is_active()

The reason for these changes is that constraints can be of many types:
allow/disallow states, impose latency requirements, etc. The new naming
also makes explicit that the API calls will influence the PM policy
behavior.

All drivers and documentation have been updated accordingly.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-03-16 15:26:47 +01:00
..
application_development kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
arch kconfig: Rename the TEST_EXTRA stack size option to align with the rest 2022-02-22 08:23:05 -05:00
basic samples: pwm for stm32l073 and stm32f091 nucleo boards 2022-03-10 13:25:54 -05:00
bluetooth Bluetooth: audio: Remove BT_CODEC_META_CONTEXT_* defines 2022-03-16 10:25:31 +01:00
boards pm: policy: move constraints to policy API 2022-03-16 15:26:47 +01:00
compression samples/compression/l4z: Increase min_ram 2022-01-28 10:07:00 +01:00
drivers samples: drivers: DAC testcase running on more stm32 boards 2022-03-10 13:30:06 -05:00
hello_world tests: uefi: move uefi test out of hello world 2021-10-22 06:36:51 -04:00
kernel samples: fix the metairq_dispatch sample sporadically failed on ehl_crb 2022-03-09 14:09:12 -05:00
modules samples: nanopb: Add .options file to the sample 2022-03-07 10:48:06 +01:00
net samples: net: gsm: should be able to start/stop freely 2022-03-14 22:04:11 -04:00
philosophers doc: use :kconfig:option: domain role 2022-03-02 09:28:37 +01:00
posix doc: use :kconfig:option: domain role 2022-03-02 09:28:37 +01:00
sensor drivers: gpio: move non-standard dts flags to be soc specific 2022-03-10 13:46:34 -05:00
shields drivers: sensor: Const sensor trigger data in trigger handler 2021-10-27 15:09:35 -04:00
subsys fs: littlefs: sample: Generate fname[12] strings after mount 2022-03-15 10:01:54 +01:00
synchronization cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
tfm_integration kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
userspace boards/intel_adsp_cavs25: Improve test coverage 2022-01-21 14:36:49 -05:00
classic.rst doc: fix top samples doc index 2021-03-09 17:48:18 -05:00
index.rst samples: compression: lz4: lz4 sample application 2021-06-12 17:21:55 +02:00