zephyr/drivers/gpio
Simon Hein d0921018fc drivers: Fix coding guidelines MISRAC:2012 Rule 14.4 do-whiles/Zero checks
MISRA C:2012 Rule 14.4 (The controlling expression of an if statement
and the controlling expression of an iteration-statement shall have
essentially Boolean type.)

Use `do { ... } while (false)' instead of `do { ... } while (0)'.
Use comparisons with zero instead of implicitly testing integers.

The commit is a subset of the original auditable-branch commit:
5d02614e34

Signed-off-by: Simon Hein <SHein@baumer.com>
2022-07-26 15:30:24 -04:00
..
CMakeLists.txt drivers: gpio: ti: add gpio extender sn74hc595 2022-07-04 16:10:37 +02:00
Kconfig gpio: add function to get current configuration 2022-07-12 19:19:09 +02:00
Kconfig.andes_atcgpio100 drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.b91 drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.cc13xx_cc26xx drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.cc32xx drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.cmsdk_ahb drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.creg_gpio drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.cy8c95xx drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.dw drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.emul drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.eos_s3 drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.esp32 drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.fxl6408 drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.gd32 drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.gecko drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.imx drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.intel drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.it8xxx2 drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.litex drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.lmp90xxx drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.lpc11u6x drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.mcp23s17 drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.mcp23xxx drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.mcux drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.mcux_igpio drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.mcux_lpc drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.mmio32
Kconfig.nct38xx drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.neorv32 drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.npcx drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.nrfx drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.pca95xx drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.pca953x drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.pcal6408a drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.psoc6 drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.rcar drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.rpi_pico drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.rv32m1 drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.sam drivers: gpio: sam: Fix Kconfig default for SAM4L 2022-07-26 08:49:38 +02:00
Kconfig.sam0 drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.sifive drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.sn74hc595 drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.stellaris drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.stm32 drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.stmpe1600 drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.sx1509b drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.test drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.xec drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.xlnx drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
Kconfig.xlnx_ps drivers: gpio: Update drivers to use devicetree Kconfig symbol 2022-07-23 09:26:09 -05:00
gpio_andes_atcgpio100.c
gpio_b91.c
gpio_cc13xx_cc26xx.c drivers: adjust cc13xx_cc26xx drivers for hal_ti update 2022-07-08 09:37:43 +02:00
gpio_cc32xx.c
gpio_cmsdk_ahb.c drivers: clock_control: beetle: Use devicetree for clock control 2022-07-14 10:31:50 +02:00
gpio_cmsdk_ahb.h
gpio_creg_gpio.c
gpio_cy8c95xx.c drivers: gpio: gpio_cy8c95xx.c: move driver to use i2c_dt_spec 2022-07-18 18:43:17 +02:00
gpio_dw.c drivers: gpio: dw: rework init to use DT_INST_FOREACH_STATUS_OKAY 2022-07-14 10:31:42 +02:00
gpio_dw.h drivers: gpio: dw: Remove dead clock gate code 2022-07-14 10:31:42 +02:00
gpio_dw_registers.h
gpio_emul.c gpio: implement pin_get_config in emul driver 2022-07-12 19:19:09 +02:00
gpio_eos_s3.c drivers: gpio: eos_s3: support port_get_direction 2022-06-24 16:19:58 +02:00
gpio_esp32.c
gpio_fxl6408.c drivers: gpio: gpio_fxl6408: move driver to use i2c_dt_spec 2022-07-21 06:07:02 -05:00
gpio_gd32.c
gpio_gecko.c gpio: implement pin_get_config in gecko driver 2022-07-12 19:19:09 +02:00
gpio_handlers.c gpio: add function to get current configuration 2022-07-12 19:19:09 +02:00
gpio_imx.c
gpio_intel.c
gpio_ite_it8xxx2.c gpio: implement pin_get_config in ite driver 2022-07-12 19:19:09 +02:00
gpio_litex.c drivers: Fix coding guidelines MISRAC:2012 Rule 14.4 do-whiles/Zero checks 2022-07-26 15:30:24 -04:00
gpio_lmp90xxx.c
gpio_lpc11u6x.c drivers: Fix coding guidelines MISRAC:2012 Rule 14.4 do-whiles/Zero checks 2022-07-26 15:30:24 -04:00
gpio_mchp_xec.c
gpio_mchp_xec_v2.c
gpio_mcp23s17.c
gpio_mcp23s17.h
gpio_mcp23sxx.c
gpio_mcp23xxx.c
gpio_mcp23xxx.h
gpio_mcp230xx.c
gpio_mcux.c drivers: Fix coding guidelines MISRAC:2012 Rule 14.4 do-whiles/Zero checks 2022-07-26 15:30:24 -04:00
gpio_mcux_igpio.c drivers: Fix coding guidelines MISRAC:2012 Rule 14.4 do-whiles/Zero checks 2022-07-26 15:30:24 -04:00
gpio_mcux_lpc.c drivers: Fix coding guidelines MISRAC:2012 Rule 14.4 do-whiles/Zero checks 2022-07-26 15:30:24 -04:00
gpio_mmio32.c
gpio_nct38xx.c
gpio_nct38xx.h
gpio_nct38xx_alert.c drivers: add mising braces to single line if statements 2022-07-06 11:00:45 -04:00
gpio_nct38xx_port.c
gpio_neorv32.c
gpio_npcx.c driver: gpio: npcx: Support GPIO_VOLTAGE_1P8 flag 2022-07-22 10:33:03 +02:00
gpio_nrfx.c drivers: gpio: nrfx: ensure ch variable stays allocated during use 2022-07-25 09:40:22 +02:00
gpio_pca95xx.c
gpio_pca953x.c drivers: gpio: gpio_pca953x: move driver to use i2c_dt_spec 2022-07-18 18:43:03 +02:00
gpio_pcal6408a.c drivers: gpio: gpio_pcal6408a: move driver to use i2c_dt_spec 2022-07-19 22:53:37 +00:00
gpio_psoc6.c
gpio_rcar.c drivers: clock: rcar: Rename global includes file 2022-06-28 18:11:44 +02:00
gpio_rpi_pico.c
gpio_rv32m1.c
gpio_sam.c
gpio_sam0.c
gpio_sam4l.c drivers: Fix coding guidelines MISRAC:2012 Rule 14.4 do-whiles/Zero checks 2022-07-26 15:30:24 -04:00
gpio_shell.c gpio_shell: support for input pull down/up 2022-07-15 17:43:54 -05:00
gpio_sifive.c drivers: gpio: sifive: support port_get_direction 2022-06-24 16:19:58 +02:00
gpio_sn74hc595.c drivers: gpio: ti: add gpio extender sn74hc595 2022-07-04 16:10:37 +02:00
gpio_stellaris.c
gpio_stm32.c gpio: implement pin_get_config in stm32 driver 2022-07-12 19:19:09 +02:00
gpio_stm32.h
gpio_stmpe1600.c drivers: gpio: stmpe1600: move driver to use i2c_dt_spec 2022-07-15 10:00:44 +02:00
gpio_sx1509b.c
gpio_test.c
gpio_utils.h
gpio_xlnx_axi.c
gpio_xlnx_ps.c
gpio_xlnx_ps.h
gpio_xlnx_ps_bank.c
gpio_xlnx_ps_bank.h