zephyr/drivers/gpio
Andrzej Głąbek 414c773c48 drivers: gpio_nrfx: Replace atomic_set_bit_to() with atomic_and()
A call to atomic_set_bit_to() was used for clearing bits in an atomic_t
variable that stores information about allocated GPIOTE channels.
This caused an issue to be reported by Coverity, as the function treats
its first parameter as an array and it was provided with a pointer to
a singleton.
This commit replaces that call with atomic_and(), to prevent the issue
from being reported and for consistency with the way bits are set for
allocated GPIOTE channels (what is done with a call to atomic_or()).

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2020-07-06 16:47:03 +02:00
..
CMakeLists.txt
gpio_cc13xx_cc26xx.c gpio: remove deprecated API functions/macros 2020-06-16 19:13:05 +02:00
gpio_cc32xx.c gpio: remove deprecated API functions/macros 2020-06-16 19:13:05 +02:00
gpio_cmsdk_ahb.c gpio: remove deprecated API functions/macros 2020-06-16 19:13:05 +02:00
gpio_cmsdk_ahb.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_dw_registers.h
gpio_dw.c gpio: remove deprecated API functions/macros 2020-06-16 19:13:05 +02:00
gpio_dw.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_esp32.c gpio: remove deprecated API functions/macros 2020-06-16 19:13:05 +02:00
gpio_gecko.c gpio: remove deprecated API functions/macros 2020-06-16 19:13:05 +02:00
gpio_handlers.c gpio: remove deprecated API functions/macros 2020-06-16 19:13:05 +02:00
gpio_ht16k33.c gpio: remove deprecated API functions/macros 2020-06-16 19:13:05 +02:00
gpio_imx.c gpio: remove deprecated API functions/macros 2020-06-16 19:13:05 +02:00
gpio_intel_apl.c gpio: remove deprecated API functions/macros 2020-06-16 19:13:05 +02:00
gpio_litex.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_lmp90xxx.c
gpio_mchp_xec.c gpio: remove deprecated API functions/macros 2020-06-16 19:13:05 +02:00
gpio_mcp23s17.c gpio: mcp23s17: Add chip select flags 2020-07-01 16:40:03 -05:00
gpio_mcp23s17.h gpio: mcp23s17: Add chip select flags 2020-07-01 16:40:03 -05:00
gpio_mcux_igpio.c gpio: remove deprecated API functions/macros 2020-06-16 19:13:05 +02:00
gpio_mcux_lpc.c gpio: remove deprecated API functions/macros 2020-06-16 19:13:05 +02:00
gpio_mcux.c gpio: remove deprecated API functions/macros 2020-06-16 19:13:05 +02:00
gpio_mmio32.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_nrfx.c drivers: gpio_nrfx: Replace atomic_set_bit_to() with atomic_and() 2020-07-06 16:47:03 +02:00
gpio_pca95xx.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_rv32m1.c gpio: remove deprecated API functions/macros 2020-06-16 19:13:05 +02:00
gpio_sam.c gpio: remove deprecated API functions/macros 2020-06-16 19:13:05 +02:00
gpio_sam0.c gpio: remove deprecated API functions/macros 2020-06-16 19:13:05 +02:00
gpio_shell.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_sifive.c gpio: remove deprecated API functions/macros 2020-06-16 19:13:05 +02:00
gpio_stellaris.c gpio: remove deprecated API functions/macros 2020-06-16 19:13:05 +02:00
gpio_stm32.c gpio: remove deprecated API functions/macros 2020-06-16 19:13:05 +02:00
gpio_stm32.h gpio: remove deprecated API functions/macros 2020-06-16 19:13:05 +02:00
gpio_sx1509b.c gpio: remove deprecated API functions/macros 2020-06-16 19:13:05 +02:00
gpio_utils.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
Kconfig
Kconfig.cc13xx_cc26xx
Kconfig.cc32xx
Kconfig.cmsdk_ahb
Kconfig.dw
Kconfig.esp32
Kconfig.gecko
Kconfig.ht16k33
Kconfig.imx
Kconfig.intel
Kconfig.litex
Kconfig.lmp90xxx
Kconfig.mcp23s17
Kconfig.mcux
Kconfig.mcux_igpio
Kconfig.mcux_lpc
Kconfig.mmio32
Kconfig.nrfx
Kconfig.pca95xx
Kconfig.rv32m1
Kconfig.sam
Kconfig.sam0
Kconfig.sifive
Kconfig.stellaris
Kconfig.stm32
Kconfig.sx1509b
Kconfig.xec