zephyr/drivers/timer
Ramakrishna Pallala e1639b5345 device: Extend device_set_power_state API to support async requests
The existing device_set_power_state() API works only in synchronous
mode and this is not desirable for devices(ex: Gyro) which take
longer time (few 100 mSec) to suspend/resume.

To support async mode, a new callback argument is added to the API.
The device drivers can asynchronously suspend/resume and call the
callback function upon completion of the async request.

This commit adds the missing callback parameter to all the drivers
to make it compliant with the new API.

Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
2019-03-14 14:26:15 +01:00
..
altera_avalon_timer_hal.c all: Update reserved function names 2019-03-11 13:48:42 -04:00
arcv2_timer0.c all: Update reserved function names 2019-03-11 13:48:42 -04:00
CMakeLists.txt boards: remove pulpino board 2019-01-31 22:47:18 -05:00
cortex_m_systick.c all: Update reserved function names 2019-03-11 13:48:42 -04:00
hpet.c drivers/timer/hpet: Add noop SMP initialization function 2019-03-13 19:15:20 +01:00
Kconfig drivers: nrf5: Don't force specific drivers from soc/arm/nordic_nrf 2019-03-12 19:42:40 +01:00
legacy_api.h kernel: New timeout implementation 2018-10-16 15:03:10 -04:00
loapic_timer.c device: Extend device_set_power_state API to support async requests 2019-03-14 14:26:15 +01:00
native_posix_timer.c all: Update reserved function names 2019-03-11 13:48:42 -04:00
nrf_rtc_timer.c all: Update reserved function names 2019-03-11 13:48:42 -04:00
riscv_machine_timer.c all: Update reserved function names 2019-03-11 13:48:42 -04:00
rv32m1_lptmr_timer.c all: Update reserved function names 2019-03-11 13:48:42 -04:00
sam0_rtc_timer.c all: Update reserved function names 2019-03-11 13:48:42 -04:00
sys_clock_init.c device: Extend device_set_power_state API to support async requests 2019-03-14 14:26:15 +01:00
xtensa_sys_timer.c all: Update reserved function names 2019-03-11 13:48:42 -04:00