/SCP-firmware-master/framework/include/ |
A D | fwk_arch.h | 58 int (*is_enabled)(unsigned int interrupt, bool *enabled); 68 int (*enable)(unsigned int interrupt); 78 int (*disable)(unsigned int interrupt); 89 int (*is_pending)(unsigned int interrupt, bool *pending); 99 int (*set_pending)(unsigned int interrupt); 109 int (*clear_pending)(unsigned int interrupt); 120 int (*set_isr_irq)(unsigned int interrupt, void (*isr)(void)); 133 int (*set_isr_irq_param)(unsigned int interrupt, 180 int (*get_current)(unsigned int *interrupt); 210 int (*interrupt)(const struct fwk_arch_interrupt_driver **driver); member
|
A D | fwk_interrupt.h | 107 int fwk_interrupt_is_enabled(unsigned int interrupt, bool *enabled); 118 int fwk_interrupt_enable(unsigned int interrupt); 129 int fwk_interrupt_disable(unsigned int interrupt); 141 int fwk_interrupt_is_pending(unsigned int interrupt, bool *pending); 152 int fwk_interrupt_set_pending(unsigned int interrupt); 163 int fwk_interrupt_clear_pending(unsigned int interrupt); 176 int fwk_interrupt_set_isr(unsigned int interrupt, void (*isr)(void)); 191 int fwk_interrupt_set_isr_param(unsigned int interrupt, 210 int fwk_interrupt_get_current(unsigned int *interrupt);
|
/SCP-firmware-master/arch/arm/arm-m/src/ |
A D | arch_nvic.c | 87 if (interrupt >= irq_count) { in is_enabled() 98 if (interrupt >= irq_count) { in enable() 109 if (interrupt >= irq_count) { in disable() 120 if (interrupt >= irq_count) { in is_pending() 131 if (interrupt >= irq_count) { in set_pending() 142 if (interrupt >= irq_count) { in clear_pending() 153 if (interrupt >= irq_count) { in set_isr_irq() 163 unsigned int interrupt, in set_isr_irq_param() argument 168 if (interrupt >= irq_count) { in set_isr_irq_param() 213 *interrupt = __get_IPSR(); in get_current() [all …]
|
A D | arch_main.c | 39 .interrupt = arch_nvic_init,
|
/SCP-firmware-master/framework/src/ |
A D | fwk_interrupt.c | 91 int fwk_interrupt_enable(unsigned int interrupt) in fwk_interrupt_enable() argument 97 return fwk_interrupt_driver->enable(interrupt); in fwk_interrupt_enable() 100 int fwk_interrupt_disable(unsigned int interrupt) in fwk_interrupt_disable() argument 106 return fwk_interrupt_driver->disable(interrupt); in fwk_interrupt_disable() 122 int fwk_interrupt_set_pending(unsigned int interrupt) in fwk_interrupt_set_pending() argument 131 int fwk_interrupt_clear_pending(unsigned int interrupt) in fwk_interrupt_clear_pending() argument 150 if (interrupt == FWK_INTERRUPT_NMI) { in fwk_interrupt_set_isr() 157 int fwk_interrupt_set_isr_param(unsigned int interrupt, in fwk_interrupt_set_isr_param() argument 169 if (interrupt == FWK_INTERRUPT_NMI) { in fwk_interrupt_set_isr_param() 176 int fwk_interrupt_get_current(unsigned int *interrupt) in fwk_interrupt_get_current() argument [all …]
|
A D | fwk_arch.c | 66 if (driver->interrupt == NULL) { in fwk_arch_init() 83 status = fwk_arch_interrupt_init(driver->interrupt); in fwk_arch_init()
|
/SCP-firmware-master/unit_test/unity_mocks/mocks/ |
A D | Mockfwk_interrupt.h | 51 …is_enabled_ExpectAndReturn(interrupt, enabled, cmock_retval) fwk_interrupt_is_enabled_CMockExpectA… argument 73 …interrupt_enable_ExpectAndReturn(interrupt, cmock_retval) fwk_interrupt_enable_CMockExpectAndRetur… argument 87 …nterrupt_disable_ExpectAndReturn(interrupt, cmock_retval) fwk_interrupt_disable_CMockExpectAndRetu… argument 101 …is_pending_ExpectAndReturn(interrupt, pending, cmock_retval) fwk_interrupt_is_pending_CMockExpectA… argument 123 …pt_set_pending_ExpectAndReturn(interrupt, cmock_retval) fwk_interrupt_set_pending_CMockExpectAndRe… argument 137 …clear_pending_ExpectAndReturn(interrupt, cmock_retval) fwk_interrupt_clear_pending_CMockExpectAndR… argument 151 …rrupt_set_isr_ExpectAndReturn(interrupt, isr, cmock_retval) fwk_interrupt_set_isr_CMockExpectAndRe… argument 185 …pt_get_current_ExpectAndReturn(interrupt, cmock_retval) fwk_interrupt_get_current_CMockExpectAndRe… argument 193 …current_ReturnThruPtr_interrupt(interrupt) fwk_interrupt_get_current_CMockReturnMemThruPtr_interru… argument 194 …_interrupt(interrupt, cmock_len) fwk_interrupt_get_current_CMockReturnMemThruPtr_interrupt(__LINE_… argument [all …]
|
A D | Mockfwk_interrupt.c | 581 cmock_call_instance->Expected_interrupt = interrupt; in CMockExpectParameters_fwk_interrupt_is_enabled() 689 int fwk_interrupt_enable(unsigned int interrupt) in fwk_interrupt_enable() argument 732 cmock_call_instance->Expected_interrupt = interrupt; in CMockExpectParameters_fwk_interrupt_enable() 806 int fwk_interrupt_disable(unsigned int interrupt) in fwk_interrupt_disable() argument 849 cmock_call_instance->Expected_interrupt = interrupt; in CMockExpectParameters_fwk_interrupt_disable() 980 cmock_call_instance->Expected_interrupt = interrupt; in CMockExpectParameters_fwk_interrupt_is_pending() 1088 int fwk_interrupt_set_pending(unsigned int interrupt) in fwk_interrupt_set_pending() argument 1131 cmock_call_instance->Expected_interrupt = interrupt; in CMockExpectParameters_fwk_interrupt_set_pending() 1248 cmock_call_instance->Expected_interrupt = interrupt; in CMockExpectParameters_fwk_interrupt_clear_pending() 1370 cmock_call_instance->Expected_interrupt = interrupt; in CMockExpectParameters_fwk_interrupt_set_isr() [all …]
|
/SCP-firmware-master/arch/none/host/src/ |
A D | arch_interrupt.c | 27 static int is_enabled(unsigned int interrupt, bool *state) in is_enabled() argument 32 static int enable(unsigned int interrupt) in enable() argument 37 static int disable(unsigned int interrupt) in disable() argument 42 static int is_pending(unsigned int interrupt, bool *state) in is_pending() argument 47 static int set_pending(unsigned int interrupt) in set_pending() argument 52 static int clear_pending(unsigned int interrupt) in clear_pending() argument 57 static int set_isr_irq(unsigned int interrupt, void (*isr)(void)) in set_isr_irq() argument 63 unsigned int interrupt, in set_isr_irq_param() argument 85 static int get_current(unsigned int *interrupt) in get_current() argument
|
A D | arch_main.c | 27 .interrupt = arch_interrupt_init,
|
/SCP-firmware-master/arch/none/optee/src/ |
A D | arch_interrupt.c | 29 static int is_enabled(unsigned int interrupt, bool *state) in is_enabled() argument 34 static int enable(unsigned int interrupt) in enable() argument 39 static int disable(unsigned int interrupt) in disable() argument 44 static int is_pending(unsigned int interrupt, bool *state) in is_pending() argument 49 static int set_pending(unsigned int interrupt) in set_pending() argument 54 static int clear_pending(unsigned int interrupt) in clear_pending() argument 59 static int set_isr_irq(unsigned int interrupt, void (*isr)(void)) in set_isr_irq() argument 65 unsigned int interrupt, in set_isr_irq_param() argument 87 static int get_current(unsigned int *interrupt) in get_current() argument
|
A D | arch_main.c | 28 .interrupt = arch_interrupt_init,
|
/SCP-firmware-master/arch/arm/armv8-a/src/ |
A D | arch_gic.c | 374 if (!IS_SUPPORT_INT(interrupt)) in is_enabled() 384 if (!IS_SUPPORT_INT(interrupt)) in enable() 394 if (!IS_SUPPORT_INT(interrupt)) in disable() 409 bit = interrupt % 32; in is_pending() 424 bit = interrupt % 32; in set_pending() 437 bit = interrupt % 32; in clear_pending() 492 if ((MIN_IRQ > interrupt) || (MAX_IRQ <= interrupt)) in set_isr_irq() 509 unsigned int interrupt, in set_isr_irq_param() argument 516 if ((MIN_IRQ > interrupt) || (MAX_IRQ <= interrupt)) in set_isr_irq_param() 546 *interrupt = c_interrupt; in get_current() [all …]
|
A D | arch_main.c | 41 .interrupt = arm_gic_init,
|
/SCP-firmware-master/framework/test/ |
A D | test_fwk_interrupt.c | 62 static int enable(unsigned int interrupt) in enable() argument 67 static int disable(unsigned int interrupt) in disable() argument 77 static int set_pending(unsigned int interrupt) in set_pending() argument 82 static int clear_pending(unsigned int interrupt) in clear_pending() argument 92 static int set_isr_param(unsigned int interrupt, in set_isr_param() argument 114 static int get_current(unsigned int *interrupt) in get_current() argument 163 unsigned int interrupt = 1; in test_fwk_interrupt_before_init() local 169 result = fwk_interrupt_enable(interrupt); in test_fwk_interrupt_before_init() 172 result = fwk_interrupt_disable(interrupt); in test_fwk_interrupt_before_init() 178 result = fwk_interrupt_set_pending(interrupt); in test_fwk_interrupt_before_init() [all …]
|
/SCP-firmware-master/product/rdv1/module/platform_system/src/ |
A D | mod_platform_system.c | 63 unsigned int interrupt; member 163 [0] = { .interrupt = PPU_CORES0_IRQ, .handler = ppu_cores_isr_0 }, 164 [1] = { .interrupt = PPU_CORES1_IRQ, .handler = ppu_cores_isr_1 }, 165 [2] = { .interrupt = PPU_CORES2_IRQ, .handler = ppu_cores_isr_2 }, 166 [3] = { .interrupt = PPU_CORES3_IRQ, .handler = ppu_cores_isr_3 }, 167 [4] = { .interrupt = PPU_CLUSTERS_IRQ, .handler = ppu_clusters_isr }, 201 status = fwk_interrupt_set_isr(isr->interrupt, isr->handler); in platform_system_mod_init()
|
/SCP-firmware-master/product/sgi575/module/sgi575_system/src/ |
A D | mod_sgi575_system.c | 64 unsigned int interrupt; member 157 [0] = { .interrupt = PPU_CORES0_IRQ, 159 [1] = { .interrupt = PPU_CORES1_IRQ, 161 [2] = { .interrupt = PPU_CORES2_IRQ, 163 [3] = { .interrupt = PPU_CORES3_IRQ, 165 [4] = { .interrupt = PPU_CLUSTERS_IRQ, 199 status = fwk_interrupt_set_isr(isr->interrupt, isr->handler); in sgi575_system_mod_init()
|
/SCP-firmware-master/product/rdv1mc/module/platform_system/src/ |
A D | mod_platform_system.c | 66 unsigned int interrupt; member 166 [0] = { .interrupt = PPU_CORES0_IRQ, .handler = ppu_cores_isr_0 }, 167 [1] = { .interrupt = PPU_CORES1_IRQ, .handler = ppu_cores_isr_1 }, 168 [2] = { .interrupt = PPU_CORES2_IRQ, .handler = ppu_cores_isr_2 }, 169 [3] = { .interrupt = PPU_CORES3_IRQ, .handler = ppu_cores_isr_3 }, 170 [4] = { .interrupt = PPU_CLUSTERS_IRQ, .handler = ppu_clusters_isr }, 204 status = fwk_interrupt_set_isr(isr->interrupt, isr->handler); in platform_system_mod_init()
|
/SCP-firmware-master/product/rcar/module/rcar_mfismh/src/ |
A D | mod_rcar_mfismh.c | 69 unsigned int interrupt; in mfismh_isr() local 76 status = fwk_interrupt_get_current(&interrupt); in mfismh_isr() 80 if (!IS_MFIS_IRQ(interrupt)) in mfismh_isr() 85 if (device_ctx->config->irq == interrupt) in mfismh_isr() 92 reg = (struct mfismh_reg *)&mfis_regs[MFIS_IRQ2NO(interrupt)]; in mfismh_isr()
|
/SCP-firmware-master/product/rdn1e1/module/rdn1e1_system/src/ |
A D | mod_rdn1e1_system.c | 72 unsigned int interrupt; member 168 [0] = { .interrupt = PPU_CORES0_IRQ, 170 [1] = { .interrupt = PPU_CORES1_IRQ, 172 [2] = { .interrupt = PPU_CORES2_IRQ, 174 [3] = { .interrupt = PPU_CORES3_IRQ, 176 [4] = { .interrupt = PPU_CLUSTERS_IRQ, 210 status = fwk_interrupt_set_isr(isr->interrupt, isr->handler); in rdn1e1_system_mod_init()
|
/SCP-firmware-master/product/morello/module/morello_mhu/src/ |
A D | mod_mhu.c | 68 unsigned int interrupt; in mhu_isr() local 75 status = fwk_interrupt_get_current(&interrupt); in mhu_isr() 81 if (device_ctx->config->irq == interrupt) in mhu_isr()
|
/SCP-firmware-master/product/n1sdp/module/n1sdp_mhu/src/ |
A D | mod_mhu.c | 68 unsigned int interrupt; in mhu_isr() local 75 status = fwk_interrupt_get_current(&interrupt); in mhu_isr() 81 if (device_ctx->config->irq == interrupt) in mhu_isr()
|
/SCP-firmware-master/module/mhu/src/ |
A D | mod_mhu.c | 69 unsigned int interrupt; in mhu_isr() local 76 status = fwk_interrupt_get_current(&interrupt); in mhu_isr() 83 if (device_ctx->config->irq == interrupt) { in mhu_isr()
|
/SCP-firmware-master/product/rdn2/module/platform_system/src/ |
A D | mod_platform_system.c | 78 unsigned int interrupt; member 295 [0] = { .interrupt = PPU_CORES0_IRQ, .handler = ppu_cores_isr_0 }, 296 [1] = { .interrupt = PPU_CORES1_IRQ, .handler = ppu_cores_isr_1 }, 297 [2] = { .interrupt = PPU_CORES2_IRQ, .handler = ppu_cores_isr_2 }, 298 [3] = { .interrupt = PPU_CORES3_IRQ, .handler = ppu_cores_isr_3 }, 299 [4] = { .interrupt = PPU_CLUSTERS_IRQ, .handler = ppu_clusters_isr }, 349 status = fwk_interrupt_set_isr(isr->interrupt, isr->handler); in platform_system_mod_init()
|
/SCP-firmware-master/product/morello/module/morello_system/src/ |
A D | mod_morello_system.c | 133 unsigned int interrupt; member 182 [0] = { .interrupt = PPU_CORES0_IRQ, .handler = ppu_cores_isr }, 183 [1] = { .interrupt = PPU_CLUSTERS_IRQ, .handler = ppu_clusters_isr }, 475 status = fwk_interrupt_set_isr(isr->interrupt, isr->handler); in morello_system_mod_init()
|