zephyr/drivers/gpio
Adithya Baglody b0db28b512 drivers: Cmake: Add __ZEPHYR_SUPERVISOR__ macro for driver files.
Normally a syscall would check the current privilege level and then
decide to go to _impl_<syscall> directly or go through a
_handler_<syscall>.
__ZEPHYR_SUPERVISOR__ is a compiler optimization flag which will
make all the system calls from the driver files directly link
to the _impl_<syscall>. Thereby reducing the overhead of checking the
privileges.

In the previous implementation all the source files would be compiled
by zephyr_source() rule. This means that zephyr_* is a catchall CMake
library for source files that can be built purely with the include
paths, defines, and other compiler flags that all zephyr source
files uses. This states that adding one extra compiler flag for only
one complete directory would fail.
This limitation can be overcome by using zephyr_libray* APIs. This
creates a library for the required directories and it also supports
directory level properties.
Hence we use zephyr_library* to create a new library with
macro _ZEPHYR_SUPERVISOR_ for the optimization.

Signed-off-by: Adithya Baglody <adithya.nagaraj.baglody@intel.com>
2018-05-15 17:48:18 +03:00
..
CMakeLists.txt drivers: Cmake: Add __ZEPHYR_SUPERVISOR__ macro for driver files. 2018-05-15 17:48:18 +03:00
Kconfig gpio: Add a driver for SX1509B 2018-03-13 12:31:16 -05:00
Kconfig.altera_nios2 drivers: gpio: add support for Altera Nios-II PIO controller 2017-12-21 12:02:24 -08:00
Kconfig.atmel_sam3
Kconfig.cc32xx
Kconfig.cc2650
Kconfig.cmsdk_ahb
Kconfig.dw dts: optimize and bug fixes the dts of em_starterkit 2018-05-15 09:48:11 +02:00
Kconfig.esp32 kconfig: fix more help spacing issues 2018-02-15 23:20:55 -05:00
Kconfig.fe310
Kconfig.gecko
Kconfig.imx gpio: Add imx gpio driver shim 2018-05-02 12:48:14 -05:00
Kconfig.mcux gpio: dts: Introduce Kconfig symbols to convey GPIO dts support 2018-05-10 15:43:42 -05:00
Kconfig.mcux_igpio gpio: Introduce mcux igpio shim driver 2017-11-15 09:09:58 -06:00
Kconfig.mcux_lpc lpc: Add gpio mcux driver for lpc 2018-01-23 09:18:32 -06:00
Kconfig.mmio32
Kconfig.nrf5 gpio: nrf5: Make the init priority configurable 2018-04-09 17:09:06 -05:00
Kconfig.pcal9535a kconfig: fix more help spacing issues 2018-02-15 23:20:55 -05:00
Kconfig.pulpino
Kconfig.qmsi kconfig: fix more help spacing issues 2018-02-15 23:20:55 -05:00
Kconfig.sam drivers: GPIO Added GPIO for SAM family. 2018-03-10 11:42:25 -06:00
Kconfig.sam0 gpio: add a GPIO driver for the SAM0 family. 2018-01-04 13:18:25 -05:00
Kconfig.sch
Kconfig.stm32 gpio: dts: Introduce Kconfig symbols to convey GPIO dts support 2018-05-10 15:43:42 -05:00
Kconfig.sx1509b gpio: Add a driver for SX1509B 2018-03-13 12:31:16 -05:00
gpio_altera_nios2.c drivers: gpio: Nios-II: Fix condition on gpio_nios2_config_oput_port() 2018-02-19 20:49:20 -05:00
gpio_atmel_sam3.c
gpio_cc32xx.c
gpio_cc2650.c
gpio_cmsdk_ahb.c
gpio_cmsdk_ahb.h
gpio_dw.c
gpio_dw.h
gpio_dw_registers.h
gpio_esp32.c drivers: gpio: esp32: Check return value of pinmux_pin_input_enable() 2017-12-11 09:21:53 -05:00
gpio_fe310.c
gpio_gecko.c
gpio_handlers.c drivers: Perform a runtime check if a driver is capable of an operation 2018-04-26 02:57:12 +05:30
gpio_imx.c gpio: Add imx gpio driver shim 2018-05-02 12:48:14 -05:00
gpio_mcux.c gpio: Refactor the mcux gpio driver to use dts 2018-04-20 08:54:11 -05:00
gpio_mcux_igpio.c ext: mcux: Reorganize imported drivers into soc family subfolders 2018-04-24 07:55:48 -05:00
gpio_mcux_lpc.c ext: mcux: Reorganize imported drivers into soc family subfolders 2018-04-24 07:55:48 -05:00
gpio_mmio32.c
gpio_nrf5.c gpio: nrf5: Make the init priority configurable 2018-04-09 17:09:06 -05:00
gpio_pcal9535a.c
gpio_pcal9535a.h
gpio_pulpino.c
gpio_qmsi.c
gpio_qmsi_ss.c
gpio_sam.c drivers: GPIO Added GPIO for SAM family. 2018-03-10 11:42:25 -06:00
gpio_sam0.c gpio: sam0: add pull up/pull down support. 2018-03-10 11:42:25 -06:00
gpio_sch.c
gpio_sch.h
gpio_stm32.c
gpio_stm32.h drivers: gpio: Provide GPIO driver for stm32l0x 2018-03-10 11:42:25 -06:00
gpio_sx1509b.c gpio: Add a driver for SX1509B 2018-03-13 12:31:16 -05:00
gpio_utils.h