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
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 drivers: gpio: deprecate GPIO_PIN_ENABLE, GPIO_PIN_DISABLE 2017-11-02 18:46:30 -04:00
gpio_cc32xx.c cc3200: Remove TI cc3200 SOC and LaunchXL board support 2017-08-15 11:02:48 -05:00
gpio_cc2650.c drivers: gpio: deprecate GPIO_PIN_ENABLE, GPIO_PIN_DISABLE 2017-11-02 18:46:30 -04:00
gpio_cmsdk_ahb.c drivers: gpio: deprecate GPIO_PIN_ENABLE, GPIO_PIN_DISABLE 2017-11-02 18:46:30 -04:00
gpio_cmsdk_ahb.h drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
gpio_dw_registers.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
gpio_dw.c drivers/gpio: Use ifdef relevantly in DW drivers 2017-04-21 16:34:53 +00:00
gpio_dw.h drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
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 drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
gpio_gecko.c drivers: gpio: gecko: GPIO driver ignores pull-up/pull-down settings 2017-10-24 08:49:41 +02:00
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_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_mcux.c gpio: Refactor the mcux gpio driver to use dts 2018-04-20 08:54:11 -05:00
gpio_mmio32.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
gpio_nrf5.c gpio: nrf5: Make the init priority configurable 2018-04-09 17:09:06 -05:00
gpio_pcal9535a.c cleanup: Move #include directives 2017-09-11 12:41:07 -04:00
gpio_pcal9535a.h drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
gpio_pulpino.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
gpio_qmsi_ss.c drivers, net: Clean up semaphore initialization 2017-07-27 15:23:07 -04:00
gpio_qmsi.c drivers, net: Clean up semaphore initialization 2017-07-27 15:23:07 -04:00
gpio_sam0.c gpio: sam0: add pull up/pull down support. 2018-03-10 11:42:25 -06:00
gpio_sam.c drivers: GPIO Added GPIO for SAM family. 2018-03-10 11:42:25 -06:00
gpio_sch.c cleanup: rename fiber/task -> thread 2017-10-30 18:41:15 -04:00
gpio_sch.h drivers: use K_THREAD_STACK_DEFINE macros 2017-06-09 18:53:28 -04:00
gpio_stm32.c stm32: clean up after completion of transition to ll Clock control 2017-06-02 14:11:13 -04:00
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 drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05: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 arch: sam3x: update Kconfig options after move to SAM SoC family tree 2017-05-03 13:51:37 -04:00
Kconfig.cc32xx cc3200: Add a GPIO driver for the TI CC3200 LaunchXL 2016-12-20 09:14:48 -06:00
Kconfig.cc2650 cc2650: Add GPIO driver. 2017-06-16 16:18:12 -04:00
Kconfig.cmsdk_ahb license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
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 gpio: added support for the SiFive Freedom E310 GPIO driver 2017-04-02 15:15:25 +00:00
Kconfig.gecko drivers: gpio_gecko: Add gpio driver for Silabs EXX32 MCUs 2017-10-10 11:56:47 -05:00
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 spell: fix Kconfig help typos: /boards /drivers 2017-04-21 21:31:30 +00:00
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 license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
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 license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
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