Home
last modified time | relevance | path

Searched refs:vector (Results 1 – 25 of 479) sorted by relevance

12345678910>>...20

/Zephyr-latest/arch/x86/include/ia32/
Dexception.h14 #define _EXCEPTION_INTLIST(vector, dpl) \ argument
15 ".pushsection .gnu.linkonce.intList.exc_" #vector "\n\t" \
19 ".long " STRINGIFY(vector) "\n\t" /* ISR_LIST.vec */ \
44 #define __EXCEPTION_CONNECT(handler, vector, dpl, codepush) \ argument
46 _EXCEPTION_INTLIST(vector, dpl) \
47 ".pushsection .gnu.linkonce.t.exc_" STRINGIFY(vector) \
49 ".global " STRINGIFY(_EXCEPTION_STUB_NAME(handler, vector)) "\n\t" \
50 STRINGIFY(_EXCEPTION_STUB_NAME(handler, vector)) ":\n\t" \
68 #define _EXCEPTION_CONNECT_NOCODE(handler, vector, dpl) \ argument
69 __EXCEPTION_CONNECT(handler, vector, dpl, "push $0\n\t")
[all …]
/Zephyr-latest/arch/x86/core/intel64/
Dirq.c53 int vector = prev_vector; in z_x86_allocate_vector() local
60 if (vector == -1) { in z_x86_allocate_vector()
61 vector = (priority * VECTORS_PER_PRIORITY) + IV_IRQS; in z_x86_allocate_vector()
64 for (i = 0; i < VECTORS_PER_PRIORITY; ++i, ++vector) { in z_x86_allocate_vector()
65 if (prev_vector != 1 && vector == prev_vector) { in z_x86_allocate_vector()
70 if (vector == CONFIG_IRQ_OFFLOAD_VECTOR) { in z_x86_allocate_vector()
74 if (vector == Z_X86_OOPS_VECTOR) { in z_x86_allocate_vector()
78 if (x86_irq_funcs[vector - IV_IRQS] == irq_spurious) { in z_x86_allocate_vector()
79 return vector; in z_x86_allocate_vector()
87 uint8_t vector, in z_x86_irq_connect_on_vector() argument
[all …]
Dfatal.c25 switch (esf->vector) { in z_x86_exception()
34 z_x86_unhandled_cpu_exception(esf->vector, esf); in z_x86_exception()
39 z_x86_unhandled_cpu_exception(esf->vector, esf); in z_x86_exception()
/Zephyr-latest/arch/x86/core/ia32/
Dfatal.c35 int vector = z_irq_controller_isr_vector_get(); in z_x86_spurious_irq() local
37 if (vector >= 0) { in z_x86_spurious_irq()
38 LOG_ERR("IRQ vector: %d", vector); in z_x86_spurious_irq()
68 FUNC_NORETURN static void generic_exc_handle(unsigned int vector, in generic_exc_handle() argument
72 z_x86_exception_vector = vector; in generic_exc_handle()
75 z_x86_unhandled_cpu_exception(vector, pEsf); in generic_exc_handle()
78 #define _EXC_FUNC(vector) \ argument
80 FUNC_NORETURN __used static void handle_exc_##vector(const struct arch_esf *pEsf) \
82 generic_exc_handle(vector, pEsf); \
85 #define Z_EXC_FUNC_CODE(vector, dpl) \ argument
[all …]
Dirq_manage.c110 unsigned int vector; in priority_to_free_vector() local
158 vector = (entry << 5) + fsb; in priority_to_free_vector()
160 return vector; in priority_to_free_vector()
193 static void idt_vector_install(int vector, void *irq_handler) in idt_vector_install() argument
198 z_init_irq_gate(&z_x86_idt.entries[vector], CODE_SEG, in idt_vector_install()
207 int vector, stub_idx, key; in arch_irq_connect_dynamic() local
211 vector = priority_to_free_vector(priority); in arch_irq_connect_dynamic()
215 _irq_to_interrupt_vector[irq] = vector; in arch_irq_connect_dynamic()
216 z_irq_controller_irq_config(vector, irq, flags); in arch_irq_connect_dynamic()
224 idt_vector_install(vector, get_dynamic_stub(stub_idx)); in arch_irq_connect_dynamic()
[all …]
/Zephyr-latest/arch/x86/core/
Dpcie.c176 msi_vector_t *vector, in pcie_msi_map() argument
184 if (vector != NULL && n_vector > 0) { in pcie_msi_map()
185 return vtd_remap_msi(vtd, vector, n_vector); in pcie_msi_map()
199 msi_vector_t *vector) in pcie_msi_mdr() argument
201 if (vector != NULL) { in pcie_msi_mdr()
207 if (vector->msix) { in pcie_msi_mdr()
208 return 0x4000U | vector->arch.vector; in pcie_msi_mdr()
223 int i, irq, vector; in arch_pcie_msi_vectors_allocate() local
266 vector = z_x86_allocate_vector(priority, prev_vector); in arch_pcie_msi_vectors_allocate()
267 if (vector < 0) { in arch_pcie_msi_vectors_allocate()
[all …]
/Zephyr-latest/samples/modules/tflite-micro/tflm_ethosu/src/
Dinference_process.hpp30 std::vector<DataPtr> input;
31 std::vector<DataPtr> output;
32 std::vector<DataPtr> expectedOutput;
36 const std::vector<DataPtr> &input, const std::vector<DataPtr> &output,
37 const std::vector<DataPtr> &expectedOutput);
/Zephyr-latest/drivers/virtualization/
Dvirt_ivshmem_shell.c35 int vector; in doorbell_notification_thread() local
39 k_poll_signal_check(&doorbell_sig, &signaled, &vector); in doorbell_notification_thread()
46 (unsigned int)vector); in doorbell_notification_thread()
124 int vector; in cmd_ivshmem_int() local
137 vector = strtol(argv[2], NULL, 10); in cmd_ivshmem_int()
139 ret = ivshmem_int_peer(ivshmem, (uint16_t)peer_id, (uint16_t)vector); in cmd_ivshmem_int()
143 peer_id, vector, ret); in cmd_ivshmem_int()
149 peer_id, vector); in cmd_ivshmem_int()
158 int vector; in cmd_ivshmem_get_notified() local
164 vector = strtol(argv[1], NULL, 10); in cmd_ivshmem_get_notified()
[all …]
Dvirt_ivshmem_handlers.c38 uint32_t peer_id, uint16_t vector) in z_vrfy_ivshmem_int_peer() argument
42 return z_impl_ivshmem_int_peer(dev, peer_id, vector); in z_vrfy_ivshmem_int_peer()
48 uint16_t vector) in z_vrfy_ivshmem_register_handler() argument
53 return z_impl_ivshmem_register_handler(dev, signal, vector); in z_vrfy_ivshmem_register_handler()
Dvirt_ivshmem.c30 LOG_DBG("Interrupt received on vector %u", param->vector); in ivshmem_doorbell()
33 k_poll_signal_raise(param->signal, param->vector); in ivshmem_doorbell()
62 data->params[i].vector = i; in ivshmem_configure_msi_x_interrupts()
112 data->params[0].vector = 0; in ivshmem_configure_int_x_interrupts()
133 uint16_t vector) in register_signal() argument
137 data->params[vector].signal = signal; in register_signal()
359 uint32_t peer_id, uint16_t vector) in ivshmem_api_int_peer() argument
364 uint32_t doorbell = IVSHMEM_GEN_DOORBELL(peer_id, vector); in ivshmem_api_int_peer()
366 if (vector >= data->n_vectors) { in ivshmem_api_int_peer()
398 uint16_t vector) in ivshmem_api_register_handler() argument
[all …]
/Zephyr-latest/include/zephyr/drivers/interrupt_controller/
Dintel_vtd.h15 msi_vector_t *vector,
20 uint16_t vector,
26 uint16_t vector);
29 uint16_t vector);
90 msi_vector_t *vector, in vtd_remap_msi() argument
96 return api->remap_msi(dev, vector, n_vector); in vtd_remap_msi()
112 uint16_t vector, in vtd_remap() argument
119 return api->remap(dev, irte_idx, vector, flags, src_id); in vtd_remap()
133 uint16_t vector) in vtd_set_irte_vector() argument
138 return api->set_irte_vector(dev, irte_idx, vector); in vtd_set_irte_vector()
[all …]
Dioapic.h43 void z_ioapic_int_vec_set(unsigned int irq, unsigned int vector);
44 void z_ioapic_irq_set(unsigned int irq, unsigned int vector, uint32_t flags);
Dloapic.h65 void z_loapic_int_vec_set(unsigned int irq, unsigned int vector);
163 static inline void z_loapic_ipi(uint8_t apic_id, uint32_t ipi, uint8_t vector) in z_loapic_ipi() argument
165 ipi |= vector; in z_loapic_ipi()
/Zephyr-latest/arch/arc/core/
Dfault.c275 static void dump_exception_info(uint32_t vector, uint32_t cause, uint32_t parameter) in dump_exception_info() argument
277 if (vector >= 0x10 && vector <= 0xFF) { in dump_exception_info()
278 ARC_EXCEPTION_DUMP("interrupt %u", vector); in dump_exception_info()
285 switch (vector) { in dump_exception_info()
351 uint32_t vector, cause, parameter; in _Fault() local
367 vector = Z_ARC_V2_ECR_VECTOR(ecr); in _Fault()
372 if (vector == ARC_EV_TRAP && parameter == _TRAP_S_CALL_RUNTIME_EXCEPT) { in _Fault()
390 vector, cause, parameter); in _Fault()
393 dump_exception_info(vector, cause, parameter); in _Fault()
402 if (vector == ARC_EV_PROT_V && parameter & 0x2) { in _Fault()
[all …]
/Zephyr-latest/tests/crypto/tinycrypt/
DREADME.txt32 Performing CCM test #1 (RFC 3610 test vector #1):
35 Performing CCM test #2 (RFC 3610 test vector #2):
38 Performing CCM test #3 (RFC 3610 test vector #3):
41 Performing CCM test #4 (RFC 3610 test vector #7):
44 Performing CCM test #5 (RFC 3610 test vector #8):
47 Performing CCM test #6 (RFC 3610 test vector #9):
/Zephyr-latest/tests/lib/cpp/libcxx/src/
Dmain.cpp17 std::vector<int> vector; variable
33 zassert_equal(vector.size(), 0, "vector init nonzero"); in ZTEST()
35 vector.push_back(v); in ZTEST()
37 zassert_equal(vector.size(), array.size(), "vector store failed"); in ZTEST()
/Zephyr-latest/drivers/interrupt_controller/
Dintc_system_apic.c46 void z_irq_controller_irq_config(unsigned int vector, unsigned int irq, in z_irq_controller_irq_config() argument
52 z_ioapic_irq_set(irq, vector, flags); in z_irq_controller_irq_config()
54 z_loapic_int_vec_set(irq - z_loapic_irq_base(), vector); in z_irq_controller_irq_config()
DKconfig.loapic26 vector. Dispensing the spurious-interrupt vector does not affect
27 the ISR, so the handler for this vector should return without an EOI.
31 int "LOAPIC spurious vector ID"
35 IDT vector to use for spurious LOAPIC interrupts. Note that some
Dintc_ioapic.c360 void z_ioapic_irq_set(unsigned int irq, unsigned int vector, uint32_t flags) argument
371 irte_idx = vtd_get_irte_by_vector(vtd, vector);
387 (vector & IOAPIC_VEC_MASK) |
392 vtd_remap(vtd, irte_idx, vector, flags, ioapic_id);
402 (vector & IOAPIC_VEC_MASK) | flags;
418 void z_ioapic_int_vec_set(unsigned int irq, unsigned int vector) argument
420 IoApicRedUpdateLo(irq, vector, IOAPIC_VEC_MASK);
/Zephyr-latest/include/zephyr/drivers/virtualization/
Divshmem.h37 uint32_t peer_id, uint16_t vector);
41 uint16_t vector);
154 uint32_t peer_id, uint16_t vector);
157 uint32_t peer_id, uint16_t vector) in z_impl_ivshmem_int_peer() argument
162 return api->int_peer(dev, peer_id, vector); in z_impl_ivshmem_int_peer()
182 uint16_t vector);
186 uint16_t vector) in z_impl_ivshmem_register_handler() argument
191 return api->register_handler(dev, signal, vector); in z_impl_ivshmem_register_handler()
/Zephyr-latest/arch/arm/core/cortex_m/
Dvector_table_pad.ld8 * Padding inserted after the (first-stage) vector table, so that the
11 * vector table section is higher than the upper end of the reserved
16 * first stage vector table.
/Zephyr-latest/tests/arch/arm/arm_irq_vector_table/
Dirq-vector-table.ld6 * Some ARM platforms require this symbol to be placed after the IRQ vector
8 * arch/arm/core/vector_table.ld when the IRQ vector table is enabled.
/Zephyr-latest/include/zephyr/linker/
Dirq-vector-table-section.ld9 * Some ARM platforms require this symbol to be placed after the IRQ vector
11 * arch/arm/core/vector_table.ld when the IRQ vector table is enabled.
/Zephyr-latest/include/zephyr/drivers/pcie/
Dmsi.h91 msi_vector_t *vector,
109 msi_vector_t *vector,
122 msi_vector_t *vector);
/Zephyr-latest/drivers/pcie/host/
Dcontroller.c415 uint32_t pcie_msi_map(unsigned int irq, msi_vector_t *vector, uint8_t n_vector) in pcie_msi_map() argument
419 return vector->arch.address; in pcie_msi_map()
422 uint16_t pcie_msi_mdr(unsigned int irq, msi_vector_t *vector) in pcie_msi_mdr() argument
426 return vector->arch.eventid; in pcie_msi_mdr()
444 bool arch_pcie_msi_vector_connect(msi_vector_t *vector, in arch_pcie_msi_vector_connect() argument
449 if (irq_connect_dynamic(vector->arch.irq, vector->arch.priority, routine, in arch_pcie_msi_vector_connect()
450 parameter, flags) != vector->arch.irq) { in arch_pcie_msi_vector_connect()
454 irq_enable(vector->arch.irq); in arch_pcie_msi_vector_connect()

12345678910>>...20