zephyr/drivers/gpio
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
..
CMakeLists.txt
Kconfig
Kconfig.altera_nios2 kconfig: gpio: Remove lots of redundant GPIO dependencies 2019-03-07 20:28:04 -05:00
Kconfig.atmel_sam3 kconfig: gpio: Remove lots of redundant GPIO dependencies 2019-03-07 20:28:04 -05:00
Kconfig.cc32xx kconfig: gpio: Remove lots of redundant GPIO dependencies 2019-03-07 20:28:04 -05:00
Kconfig.cc2650 kconfig: gpio: Remove lots of redundant GPIO dependencies 2019-03-07 20:28:04 -05:00
Kconfig.cmsdk_ahb kconfig: gpio: Remove lots of redundant GPIO dependencies 2019-03-07 20:28:04 -05:00
Kconfig.dw kconfig: gpio: Remove lots of redundant GPIO dependencies 2019-03-07 20:28:04 -05:00
Kconfig.esp32 kconfig: gpio: Remove lots of redundant GPIO dependencies 2019-03-07 20:28:04 -05:00
Kconfig.gecko kconfig: gpio: Remove lots of redundant GPIO dependencies 2019-03-07 20:28:04 -05:00
Kconfig.imx kconfig: gpio: Remove lots of redundant GPIO dependencies 2019-03-07 20:28:04 -05:00
Kconfig.intel kconfig: gpio: Remove lots of redundant GPIO dependencies 2019-03-07 20:28:04 -05:00
Kconfig.mcux kconfig: gpio: Remove lots of redundant GPIO dependencies 2019-03-07 20:28:04 -05:00
Kconfig.mcux_igpio kconfig: gpio: Remove lots of redundant GPIO dependencies 2019-03-07 20:28:04 -05:00
Kconfig.mcux_lpc kconfig: gpio: Remove lots of redundant GPIO dependencies 2019-03-07 20:28:04 -05:00
Kconfig.mmio32
Kconfig.nrfx
Kconfig.pcal9535a kconfig: gpio: Remove lots of redundant GPIO dependencies 2019-03-07 20:28:04 -05:00
Kconfig.qmsi kconfig: gpio: Remove lots of redundant GPIO dependencies 2019-03-07 20:28:04 -05:00
Kconfig.rv32m1 kconfig: gpio: Remove lots of redundant GPIO dependencies 2019-03-07 20:28:04 -05:00
Kconfig.sam kconfig: gpio: Remove lots of redundant GPIO dependencies 2019-03-07 20:28:04 -05:00
Kconfig.sam0 kconfig: gpio: Remove lots of redundant GPIO dependencies 2019-03-07 20:28:04 -05:00
Kconfig.sch kconfig: gpio: Remove lots of redundant GPIO dependencies 2019-03-07 20:28:04 -05:00
Kconfig.sifive kconfig: gpio: Remove lots of redundant GPIO dependencies 2019-03-07 20:28:04 -05:00
Kconfig.stellaris kconfig: gpio: Remove lots of redundant GPIO dependencies 2019-03-07 20:28:04 -05:00
Kconfig.stm32 kconfig: gpio: Remove lots of redundant GPIO dependencies 2019-03-07 20:28:04 -05:00
Kconfig.sx1509b kconfig: gpio: Remove lots of redundant GPIO dependencies 2019-03-07 20:28:04 -05:00
gpio_altera_nios2.c
gpio_atmel_sam3.c
gpio_cc32xx.c
gpio_cc2650.c
gpio_cmsdk_ahb.c gpio: gpio_cmsdk_ahb: Return error for not supported flag 2019-03-08 05:38:27 -06:00
gpio_cmsdk_ahb.h
gpio_dw.c device: Extend device_set_power_state API to support async requests 2019-03-14 14:26:15 +01:00
gpio_dw.h
gpio_dw_registers.h
gpio_esp32.c drivers: gpio: esp32: correct constant test for interrupt trigger 2019-02-07 22:46:37 -06:00
gpio_gecko.c
gpio_handlers.c all: Update reserved function names 2019-03-11 13:48:42 -04:00
gpio_imx.c
gpio_intel_apl.c gpio_intel_apl: bounds sanitize pins 2019-03-11 09:54:04 -07:00
gpio_mcux.c drivers: gpio: Fix mcux driver to init successfully with no irq 2019-02-23 08:30:21 -06:00
gpio_mcux_igpio.c
gpio_mcux_lpc.c
gpio_mmio32.c
gpio_nrfx.c
gpio_pcal9535a.c
gpio_pcal9535a.h
gpio_qmsi.c device: Extend device_set_power_state API to support async requests 2019-03-14 14:26:15 +01:00
gpio_qmsi_ss.c device: Extend device_set_power_state API to support async requests 2019-03-14 14:26:15 +01:00
gpio_rv32m1.c drivers: gpio: Fix build warnings in rv32m1 driver 2019-03-05 08:18:52 -05:00
gpio_sam.c
gpio_sam0.c
gpio_sch.c gpio: gpio_sch: fix check for interrupt trigger 2019-02-07 22:47:11 -06:00
gpio_sch.h
gpio_shell.c shell: Modify subcommands to use SHELL_STATIC_SUBCMD_SET_CREATE 2019-02-20 07:31:35 -05:00
gpio_sifive.c drivers: gpio: sifive: cleanup irq initialzation code 2019-03-05 12:42:54 -05:00
gpio_stellaris.c
gpio_stm32.c drivers/gpio: stm32: Return errors on not supported config 2019-02-12 09:44:02 -05:00
gpio_stm32.h
gpio_sx1509b.c drivers: gpio: sx1509b: convert to DT_<COMPAT>_<INSTANCE> defines 2019-02-27 10:19:30 -06:00
gpio_utils.h drivers: gpio: fix mis-use of slist API in callback processing 2019-02-05 12:33:25 -06:00