drivers/interrupt_controller: Adopt file naming as other drivers

Pattern being <domain>_<model>.<c/h>.
Here interrupt_controller as a domain would be far too long so
shortening it to "intc", as DTS does actually.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
Tomasz Bursztyka 2019-12-18 09:31:56 +01:00 committed by Carles Cufí
parent ca6eee5444
commit c30600d4ab
25 changed files with 41 additions and 41 deletions

View file

@ -138,13 +138,13 @@
/drivers/i2s/i2s_ll_stm32* @avisconti /drivers/i2s/i2s_ll_stm32* @avisconti
/drivers/ieee802154/ @jukkar @tbursztyka /drivers/ieee802154/ @jukkar @tbursztyka
/drivers/interrupt_controller/ @andrewboie /drivers/interrupt_controller/ @andrewboie
/drivers/*/intc_vexriscv_litex.c @mateusz-holenko @kgugala @pgielda
/drivers/ipm/ipm_mhu* @karl-zh /drivers/ipm/ipm_mhu* @karl-zh
/drivers/ipm/Kconfig.nrfx @masz-nordic @ioannisg /drivers/ipm/Kconfig.nrfx @masz-nordic @ioannisg
/drivers/ipm/Kconfig.nrfx_ipc_channel @masz-nordic @ioannisg /drivers/ipm/Kconfig.nrfx_ipc_channel @masz-nordic @ioannisg
/drivers/ipm/ipm_nrfx_ipc.c @masz-nordic @ioannisg /drivers/ipm/ipm_nrfx_ipc.c @masz-nordic @ioannisg
/drivers/ipm/ipm_nrfx_ipc.h @masz-nordic @ioannisg /drivers/ipm/ipm_nrfx_ipc.h @masz-nordic @ioannisg
/drivers/ipm/ipm_stm32_ipcc.c @arnopo /drivers/ipm/ipm_stm32_ipcc.c @arnopo
/drivers/*/vexriscv_litex.c @mateusz-holenko @kgugala @pgielda
/drivers/led/ @Mani-Sadhasivam /drivers/led/ @Mani-Sadhasivam
/drivers/led_strip/ @mbolivar /drivers/led_strip/ @mbolivar
/drivers/modem/ @mike-scott /drivers/modem/ @mike-scott

View file

@ -8,7 +8,7 @@
#include <device.h> #include <device.h>
#include <drivers/gpio.h> #include <drivers/gpio.h>
#include <soc.h> #include <soc.h>
#include <interrupt_controller/sam0_eic.h> #include <interrupt_controller/intc_sam0_eic.h>
#include "gpio_utils.h" #include "gpio_utils.h"

View file

@ -14,7 +14,7 @@
#include <pinmux/stm32/pinmux_stm32.h> #include <pinmux/stm32/pinmux_stm32.h>
#include <drivers/pinmux.h> #include <drivers/pinmux.h>
#include <sys/util.h> #include <sys/util.h>
#include <interrupt_controller/exti_stm32.h> #include <interrupt_controller/intc_exti_stm32.h>
#include "gpio_stm32.h" #include "gpio_stm32.h"
#include "gpio_utils.h" #include "gpio_utils.h"

View file

@ -1,16 +1,16 @@
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
zephyr_sources_ifdef(CONFIG_ARCV2_INTERRUPT_UNIT arcv2_irq_unit.c) zephyr_sources_ifdef(CONFIG_ARCV2_INTERRUPT_UNIT intc_arcv2_irq_unit.c)
zephyr_sources_ifdef(CONFIG_GIC gic-400.c) zephyr_sources_ifdef(CONFIG_GIC intc_gic_400.c)
zephyr_sources_ifdef(CONFIG_IOAPIC ioapic_intr.c) zephyr_sources_ifdef(CONFIG_IOAPIC intc_ioapic.c)
zephyr_sources_ifdef(CONFIG_LOAPIC loapic_intr.c system_apic.c) zephyr_sources_ifdef(CONFIG_LOAPIC intc_loapic.c intc_system_apic.c)
zephyr_sources_ifdef(CONFIG_LOAPIC_SPURIOUS_VECTOR loapic_spurious.S) zephyr_sources_ifdef(CONFIG_LOAPIC_SPURIOUS_VECTOR intc_loapic_spurious.S)
zephyr_sources_ifdef(CONFIG_PLIC plic.c) zephyr_sources_ifdef(CONFIG_PLIC intc_plic.c)
zephyr_sources_ifdef(CONFIG_SHARED_IRQ shared_irq.c) zephyr_sources_ifdef(CONFIG_SHARED_IRQ intc_shared_irq.c)
zephyr_sources_ifdef(CONFIG_EXTI_STM32 exti_stm32.c) zephyr_sources_ifdef(CONFIG_EXTI_STM32 intc_exti_stm32.c)
zephyr_sources_ifdef(CONFIG_CAVS_ICTL cavs_ictl.c) zephyr_sources_ifdef(CONFIG_CAVS_ICTL intc_cavs.c)
zephyr_sources_ifdef(CONFIG_DW_ICTL dw_ictl.c) zephyr_sources_ifdef(CONFIG_DW_ICTL intc_dw.c)
zephyr_sources_ifdef(CONFIG_RV32M1_INTMUX rv32m1_intmux.c) zephyr_sources_ifdef(CONFIG_RV32M1_INTMUX intc_rv32m1_intmux.c)
zephyr_sources_ifdef(CONFIG_SAM0_EIC sam0_eic.c) zephyr_sources_ifdef(CONFIG_SAM0_EIC intc_sam0_eic.c)
zephyr_sources_ifdef(CONFIG_VEXRISCV_LITEX_IRQ vexriscv_litex.c) zephyr_sources_ifdef(CONFIG_VEXRISCV_LITEX_IRQ intc_vexriscv_litex.c)
zephyr_sources_ifdef(CONFIG_SWERV_PIC swerv_pic.c) zephyr_sources_ifdef(CONFIG_SWERV_PIC intc_swerv_pic.c)

View file

@ -6,7 +6,7 @@
#include <device.h> #include <device.h>
#include <irq_nextlevel.h> #include <irq_nextlevel.h>
#include "cavs_ictl.h" #include "intc_cavs.h"
static ALWAYS_INLINE void cavs_ictl_dispatch_child_isrs(u32_t intr_status, static ALWAYS_INLINE void cavs_ictl_dispatch_child_isrs(u32_t intr_status,
u32_t isr_base_offset) u32_t isr_base_offset)

View file

@ -4,8 +4,8 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#ifndef ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_CAVS_ICTL_H_ #ifndef ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_INTC_CAVS_H_
#define ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_CAVS_ICTL_H_ #define ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_INTC_CAVS_H_
#include <zephyr/types.h> #include <zephyr/types.h>
@ -36,4 +36,4 @@ struct cavs_registers {
} }
#endif #endif
#endif /* ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_CAVS_ICTL_H_ */ #endif /* ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_INTC_CAVS_H_ */

View file

@ -13,7 +13,7 @@
#include <device.h> #include <device.h>
#include <irq_nextlevel.h> #include <irq_nextlevel.h>
#include "dw_ictl.h" #include "intc_dw.h"
#include <soc.h> #include <soc.h>
static ALWAYS_INLINE void dw_ictl_dispatch_child_isrs(u32_t intr_status, static ALWAYS_INLINE void dw_ictl_dispatch_child_isrs(u32_t intr_status,

View file

@ -4,8 +4,8 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#ifndef ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_DW_ICTL_H_ #ifndef ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_INTC_DW_H_
#define ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_DW_ICTL_H_ #define ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_INTC_DW_H_
#include <zephyr/types.h> #include <zephyr/types.h>
@ -91,4 +91,4 @@ struct dw_ictl_registers {
} }
#endif #endif
#endif /* ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_DW_ICTL_H_ */ #endif /* ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_INTC_DW_H_ */

View file

@ -19,7 +19,7 @@
#include <device.h> #include <device.h>
#include <soc.h> #include <soc.h>
#include <sys/__assert.h> #include <sys/__assert.h>
#include "exti_stm32.h" #include "intc_exti_stm32.h"
#if defined(CONFIG_SOC_SERIES_STM32F0X) || \ #if defined(CONFIG_SOC_SERIES_STM32F0X) || \
defined(CONFIG_SOC_SERIES_STM32L0X) || \ defined(CONFIG_SOC_SERIES_STM32L0X) || \

View file

@ -18,8 +18,8 @@
* *
*/ */
#ifndef ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_EXTI_STM32_H_ #ifndef ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_INTC_EXTI_STM32_H_
#define ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_EXTI_STM32_H_ #define ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_INTC_EXTI_STM32_H_
#include <zephyr/types.h> #include <zephyr/types.h>
@ -78,4 +78,4 @@ int stm32_exti_set_callback(int line, int port, stm32_exti_callback_t cb,
*/ */
void stm32_exti_unset_callback(int line); void stm32_exti_unset_callback(int line);
#endif /* ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_EXTI_STM32_H_ */ #endif /* ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_INTC_EXTI_STM32_H_ */

View file

@ -60,7 +60,7 @@
#include <drivers/interrupt_controller/ioapic.h> /* public API declarations */ #include <drivers/interrupt_controller/ioapic.h> /* public API declarations */
#include <drivers/interrupt_controller/loapic.h> /* public API declarations and registers */ #include <drivers/interrupt_controller/loapic.h> /* public API declarations and registers */
#include "ioapic_priv.h" #include "intc_ioapic_priv.h"
#define BITS_PER_IRQ 3 #define BITS_PER_IRQ 3
#define IOAPIC_BITFIELD_HI_LO 0 #define IOAPIC_BITFIELD_HI_LO 0

View file

@ -7,8 +7,8 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#ifndef ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_IOAPIC_PRIV_H_ #ifndef ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_INTC_IOAPIC_PRIV_H_
#define ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_IOAPIC_PRIV_H_ #define ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_INTC_IOAPIC_PRIV_H_
/* IO APIC direct register offsets */ /* IO APIC direct register offsets */
@ -48,4 +48,4 @@
#define IOAPIC_VEC_MASK 0x000000ff #define IOAPIC_VEC_MASK 0x000000ff
#endif #endif /* ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_INTC_IOAPIC_PRIV_H_ */

View file

@ -6,8 +6,8 @@
#include <device.h> #include <device.h>
#include <soc.h> #include <soc.h>
#include "sam0_eic.h" #include "intc_sam0_eic.h"
#include "sam0_eic_priv.h" #include "intc_sam0_eic_priv.h"
struct sam0_eic_line_assignment { struct sam0_eic_line_assignment {
u8_t pin : 5; u8_t pin : 5;

View file

@ -5,8 +5,8 @@
*/ */
#ifndef ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_SAM0_EIC_H_ #ifndef ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_INTC_SAM0_EIC_H_
#define ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_SAM0_EIC_H_ #define ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_INTC_SAM0_EIC_H_
#include <zephyr/types.h> #include <zephyr/types.h>
@ -81,4 +81,4 @@ int sam0_eic_disable_interrupt(int port, int pin);
*/ */
u32_t sam0_eic_interrupt_pending(int por); u32_t sam0_eic_interrupt_pending(int por);
#endif /* ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_SAM0_EIC_H_ */ #endif /* ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_INTC_SAM0_EIC_H_ */

View file

@ -4,8 +4,8 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#ifndef ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_SAM0_EIC_PRIV_H_ #ifndef ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_INTC_SAM0_EIC_PRIV_H_
#define ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_SAM0_EIC_PRIV_H_ #define ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_INTC_SAM0_EIC_PRIV_H_
#include <zephyr/types.h> #include <zephyr/types.h>
#include <soc.h> #include <soc.h>
@ -697,4 +697,4 @@ static inline int sam0_eic_map_to_line(int port, int pin)
return ch; return ch;
} }
#endif /* ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_SAM0_EIC_PRIV_H_ */ #endif /* ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_INTC_SAM0_EIC_PRIV_H_ */