zephyr/subsys
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
..
bluetooth Bluetooth: audio: Remove BT_CODEC_META_CONTEXT_* defines 2022-03-16 10:25:31 +01:00
canbus kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
console console: Kconfig: Remove EXPERIMENTAL marker 2021-10-22 09:46:22 -04:00
cpp kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
debug lib: os: assert: Avoid including printk.h in __assert.h 2022-03-16 10:27:20 +01:00
demand_paging
dfu kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
disk
emul i2c: emul: Add get_config function 2021-11-02 16:46:33 +01:00
fb samples: use chosen property to get default display controller 2021-12-10 12:47:30 +01:00
fs kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
ipc ipc_service: Start the wq only once 2022-03-07 10:52:51 +01:00
jwt
logging logging: backend_uart: configurable buffer size 2022-03-14 16:44:17 -05:00
lorawan lorawan: make unconfirmed message type explicit 2022-03-15 10:37:36 +01:00
mgmt subsys/mgmt/hawkbit: update http response handling 2022-03-16 10:25:38 +01:00
modbus kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
net net: tcp: Verify if IPv4/IPv6 is enabled before processing addr family 2022-03-16 04:21:34 -07:00
pm pm: policy: move constraints to policy API 2022-03-16 15:26:47 +01:00
portability portability: cmsis: use correct type for atomics 2021-11-15 09:59:01 -05:00
random random: rand32_xoshiro128: obtain entropy device using DEVICE_DT_GET 2022-03-11 15:27:05 -08:00
settings kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
shell shell: Add MQTT backend 2022-03-15 10:01:12 +01:00
stats stats: fixed implicit integer sign extension in stats_get_off() 2021-10-28 15:15:56 -04:00
storage kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
task_wdt task_wdt: fix overflow in current_ticks making wdt get stuck 2021-11-22 20:22:11 -05:00
testsuite testsuite: ztress: Delay start of the test 2022-03-15 13:19:28 -04:00
timing
tracing kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
usb kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
CMakeLists.txt
Kconfig