zephyr/drivers/interrupt_controller
ferar alashkar 9d9386307a drivers: intc: stm32: use BIT macro with type cast argument
1. use 'BIT' macro instead of explicit left shift operations, since
'BIT' macro implicitly adds unsigned type suffix, avoiding possible
[shiftTooManyBitsSigned] scenarios, and

2. add an explicit uint32_t cast to 'BIT' macro argument, complying with
required [misra-c2012-10.1] rule which states; operands shall not be of
an inappropriate essential type.

Found as a coding guideline violation (Rule 10.1) by static code
scanning tool.

Note: Tested on STM32L5 Nucleo-144 board (stm32l552xx).

Signed-off-by: ferar alashkar <ferar.alashkar@gmail.com>
2023-06-06 09:41:31 -04:00
..
CMakeLists.txt ITE drivers/interrupt_controller: add intc_ite_it8xxx2_v2 driver 2023-04-19 03:48:38 -04:00
intc_arcv2_irq_unit.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
intc_cavs.c drivers: remove references to old CAVS platforms 2023-04-06 18:51:56 +02:00
intc_cavs.h
intc_dw_ace.c
intc_dw.c
intc_dw.h
intc_eirq_nxp_s32.c
intc_esp32.c
intc_esp32c3.c
intc_exti_stm32.c drivers: intc: stm32: use BIT macro with type cast argument 2023-06-06 09:41:31 -04:00
intc_gd32_exti.c
intc_gic_common_priv.h
intc_gic.c drivers: gic: Add irq pending check and clear function 2023-05-25 08:25:11 +00:00
intc_gicv3_its.c barriers: Move __DSB() to the new API 2023-05-24 13:13:57 -04:00
intc_gicv3_priv.h
intc_gicv3.c drivers: gic: Add irq pending check and clear function 2023-05-25 08:25:11 +00:00
intc_intel_vtd.c drivers/interrupt_controller: Move VT-D to new cache API 2023-02-06 10:07:53 +01:00
intc_intel_vtd.h
intc_ioapic_priv.h
intc_ioapic.c
intc_irqmp.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
intc_ite_it8xxx2_v2.c ITE drivers/interrupt_controller: add intc_ite_it8xxx2_v2 driver 2023-04-19 03:48:38 -04:00
intc_ite_it8xxx2.c ITE drivers/interrupt_controller: add intc_ite_it8xxx2_v2 driver 2023-04-19 03:48:38 -04:00
intc_ite_it8xxx2.h
intc_loapic_spurious.S
intc_loapic.c
intc_mchp_ecia_xec.c drivers: intc: mchp_ecia_xec: Ensure correct device init order 2023-04-06 11:50:13 +02:00
intc_miwu.c intc: miwu: npcx: improve interrupt latency of miwu input events 2023-05-17 09:48:54 +02:00
intc_nuclei_eclic.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
intc_nxp_pint.c drivers: interrupt_controller: introduce PINT driver 2023-04-18 16:14:57 -05:00
intc_plic.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
intc_rv32m1_intmux.c
intc_sam0_eic_priv.h
intc_sam0_eic.c
intc_shared_irq.c
intc_swerv_pic.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
intc_system_apic.c
intc_vexriscv_litex.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
intc_xmc4xxx.c
Kconfig drivers: interrupt_controller: introduce PINT driver 2023-04-18 16:14:57 -05:00
Kconfig.cavs
Kconfig.clic
Kconfig.dw
Kconfig.esp32 drivers: interrupt: add esp32s3 interrupt controller 2023-02-27 19:41:33 +01:00
Kconfig.esp32c3
Kconfig.gd32_exti
Kconfig.gic drivers: interrupt_controller: imply the need for dynamic memory in ITS 2023-04-07 13:26:01 +02:00
Kconfig.intel_vtd
Kconfig.it8xxx2 ITE drivers/interrupt_controller: add intc_ite_it8xxx2_v2 driver 2023-04-19 03:48:38 -04:00
Kconfig.loapic
Kconfig.multilevel
Kconfig.multilevel.aggregator_template
Kconfig.npcx
Kconfig.nxp_pint drivers: interrupt_controller: introduce PINT driver 2023-04-18 16:14:57 -05:00
Kconfig.nxp_s32
Kconfig.plic
Kconfig.rv32m1
Kconfig.sam0
Kconfig.shared_irq
Kconfig.stm32 drivers: interrupt_controller: stm32: Generate irq_table and isr from dt 2023-01-19 17:20:48 +00:00
Kconfig.xec
Kconfig.xmc4xxx
wuc_ite_it8xxx2.c device: remove redundant init functions 2023-04-19 10:00:25 +02:00