zephyr/drivers/clock_control
Peter Bigot 647062adcd drivers: clock_control: nrf_power_clock: use unsigned reference count
The implementation did not account for the incrementing the reference
count past the maximum positive value.  Doing so on a signed integer
results in undefined behavior.  Switch to an unsigned integer where
such an increment results in a zero count, and add an assert that this
has not happened.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2019-12-09 12:54:06 -05:00
..
beetle_clock_control.c
clock_control_mcux_ccm.c
clock_control_mcux_mcg.c
clock_control_mcux_pcc.c
clock_control_mcux_scg.c
clock_control_mcux_sim.c
clock_control_rv32m1_pcc.c
clock_stm32_ll_common.c drivers: clock_control: Add STM32G4X clock support 2019-10-04 18:44:24 -07:00
clock_stm32_ll_common.h
clock_stm32_ll_h7.c
clock_stm32_ll_mp1.c
clock_stm32f1.c
clock_stm32f2_f4_f7.c
clock_stm32f0_f3.c
clock_stm32g4.c drivers: clock_control: Add STM32G4X clock support 2019-10-04 18:44:24 -07:00
clock_stm32g0.c
clock_stm32l4_wb.c drivers: clock: stm32wb: enable PWR only if exists 2019-10-17 14:02:40 -05:00
clock_stm32l0_l1.c
CMakeLists.txt drivers: clock_control: Add STM32G4X clock support 2019-10-04 18:44:24 -07:00
Kconfig kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.beetle kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.mcux_ccm kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.mcux_mcg kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.mcux_pcc kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.mcux_scg kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.mcux_sim kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.nrf kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.rv32m1 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32f1 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32f2_f4_f7 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32f0_f3 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32g0 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32g4 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32h7 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32l4_wb kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32l0_l1 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
nrf_clock_calibration.c drivers: nrf_clock_calibration: wait for sensor initialization 2019-11-28 14:21:49 -05:00
nrf_clock_calibration.h drivers: clock_control: nrf: reimplementation including API updates 2019-10-04 17:15:39 +02:00
nrf_power_clock.c drivers: clock_control: nrf_power_clock: use unsigned reference count 2019-12-09 12:54:06 -05:00