Home
last modified time | relevance | path

Searched full:vector (Results 1 – 25 of 683) sorted by relevance

12345678910>>...28

/Zephyr-latest/include/zephyr/dsp/
Dbasicmath.h27 * @addtogroup math_dsp_basic_mult Vector Multiplication
38 * @brief Q7 vector multiplication.
44 * @param[in] src_a points to the first input vector
45 * @param[in] src_b points to the second input vector
46 * @param[out] dst points to the output vector
47 * @param[in] block_size number of samples in each vector
53 * @brief Q15 vector multiplication.
59 * @param[in] src_a points to the first input vector
60 * @param[in] src_b points to the second input vector
61 * @param[out] dst points to the output vector
[all …]
Dbasicmath_f16.h26 * @brief Floating-point vector multiplication.
27 * @param[in] src_a points to the first input vector
28 * @param[in] src_b points to the second input vector
29 * @param[out] dst points to the output vector
30 * @param[in] block_size number of samples in each vector
37 * @brief Floating-point vector addition.
38 * @param[in] src_a points to the first input vector
39 * @param[in] src_b points to the second input vector
40 * @param[out] dst points to the output vector
41 * @param[in] block_size number of samples in each vector
[all …]
/Zephyr-latest/modules/cmsis-dsp/
DKconfig22 * Vector Absolute Value
23 * Vector Addition
24 * Vector Subtraction
25 * Vector Multiplication
26 * Vector Dot Product
27 * Vector Absolute Value
28 * Vector Negate
29 * Vector Offset
30 * Vector Scale
31 * Vector Shift
[all …]
/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 */ \
39 * first one of these it encounters for a particular vector. In this
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" \
62 * Assign an exception handler to a particular vector in the IDT.
[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);
81 * @brief Generate the MSI Message Address data for the given vector
84 * @param vector A valid allocated MSI vector array
85 * @param n_vector the size of the vector array
90 msi_vector_t *vector, in vtd_remap_msi() argument
96 return api->remap_msi(dev, vector, n_vector); in vtd_remap_msi()
100 * @brief Remap the given vector
[all …]
/Zephyr-latest/arch/x86/core/intel64/
Dirq.c37 LOG_ERR("Spurious interrupt, vector %d\n", (uint32_t)(uint64_t)arg); in irq_spurious()
53 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()
[all …]
/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.c52 * run time, with a 1 bit indicating a free vector. The variable itself is
82 * @brief Allocate a free interrupt vector given <priority>
84 * This routine scans the z_interrupt_vectors_allocated[] array for a free vector
88 * interrupt vector is :
90 * priority = (vector / 16) - 2;
93 * the priority scheme. The first vector used for priority level 0 will be 32.
97 * interrupt requests on a per-vector level as opposed to a per-priority level.
101 * @return allocated interrupt vector
110 unsigned int vector; in priority_to_free_vector() local
121 * Atomically allocate a vector from the in priority_to_free_vector()
[all …]
/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()
45 "Received a notification on vector %u\n", 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()
148 "Notification sent to peer %u on vector %u\n", in cmd_ivshmem_int()
149 peer_id, vector); in cmd_ivshmem_int()
[all …]
/Zephyr-latest/tests/arch/arm/arm_sw_vector_relay/src/
Darm_sw_vector_relay.c23 /* Verify that the vector relay table entries (except first two in ZTEST()
33 "vector relay table not pointing to the relay handler: 0x%x, 0x%x\n", in ZTEST()
42 /* Verify that the forwarding vector table and the real in ZTEST()
43 * interrupt vector table respect the VTOR.TBLOFF alignment in ZTEST()
49 "vector table not properly aligned: 0x%x\n", in ZTEST()
52 "vector relay table not properly aligned: 0x%x\n", in ZTEST()
55 /* Verify that the VTOR points to the real vector table, in ZTEST()
59 "VTOR not pointing to the real vector table\n"); in ZTEST()
65 "vector table pointer not pointing to vector start, 0x%x, 0x%x\n", in ZTEST()
/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/boards/nxp/adsp/number_crunching/
DREADME.rst9 Number crunching sample does vector operations, Fast Fourier Transformation and filtering.
72 [Library Test] == Vector Sum test ==
74 [Library Test] Vector Sum takes 6886 cycles
75 [Library Test] == Vector Sum test end with 1 ==
77 [Library Test] == Vector power sum test ==
79 [Library Test] Vector power sum takes 6659 cycles
80 [Library Test] == Vector power sum test end with 1 ==
82 [Library Test] == Vector power sum test ==
84 [Library Test] Vector power sum takes 3681 cycles
85 [Library Test] == Vector power sum test end ==
[all …]
/Zephyr-latest/samples/modules/tflite-micro/tflm_ethosu/src/
Dinference_process.hpp13 #include <vector>
30 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/include/zephyr/arch/arc/v2/vpx/
Darc_vpx.h13 * @brief Obtain a cooperative lock on the VPX vector registers
16 * VPX vector registers before the calling thread uses them. Callers
31 * @brief Release cooperative lock on the VPX vector registers
34 * VPX vector registers. It is called after the current thread no longer needs
35 * to use the VPX vector registers, thereby allowing another thread to use them.
42 * @brief Release cooperative lock on a CPU's VPX vector registers
45 * VPX vector registers. This routine should not be used except by a system
50 * @param cpu_id CPU ID of the VPX vector register set to be unlocked
/Zephyr-latest/samples/boards/nxp/adsp/number_crunching/include/
Dmath_ops.h9 /* test vector sum on int16_t elements */
12 * @brief Vector Sum - makes pair wise saturated summation of vectors
14 * @param[in] *input1 - points to the first input vector
15 * @param[in] *input2 - points to the second input vector
16 * @param[out] *output - points to the output vector
17 * @param[in] length - number of samples in each vector
24 /* test sum of the squares of the int16_t vector elements */
27 * @brief Power of a Vector - makes sum of the squares of the elements of
28 * an int16_t vector
30 * @param[in] *input - points to the input vector
[all …]
/Zephyr-latest/soc/st/stm32/stm32f0x/
Dsoc.c25 * @brief Relocate vector table to SRAM.
27 * On Cortex-M0 platforms, the Vector Base address cannot be changed.
30 * vector table to SRAM to be able to replace the vectors pointing to the
34 * vector table.
38 * adds a vector table relay handler and a vector relay table, to relay
39 * interrupts based on a vector table pointer.
44 * pretend to be a bootloader if the SRAM vector table is not needed.
/Zephyr-latest/include/zephyr/drivers/pcie/
Dmsi.h65 * @brief Allocate vector(s) for the endpoint MSI message(s)
80 * @brief Connect the MSI vector to the handler
83 * @param vector the MSI vector to connect
91 msi_vector_t *vector,
104 * @param vector The vector for which you want the address (or NULL)
105 * @param n_vector the size of the vector array
109 msi_vector_t *vector,
118 * @param vector The vector for which you want the data (or NULL)
122 msi_vector_t *vector);
128 * @param vectors an array of allocated vector(s)
[all …]
/Zephyr-latest/arch/arm/core/cortex_m/
Dirq_relay.S10 * @brief IRQ relay vector table and relay handler for Cortex-M0 or
13 * In certain ARMv6-M and Armv8-M baseline cores the vector table address can
14 * not be changed. Once the * vector table is occupied by bootloader, there
42 * The size of IRQ vector is 4 bytes, the offset within vector table
44 * the offset of real vector table, thus the (r1 = r1 + r0 << 2) will
45 * be the real irq handle vector.
Dexc_exit.c13 * interrupts that are installed directly in the vector table (i.e. that are not
24 * directly in vector table
26 * Kernel allows installing interrupt handlers (ISRs) directly into the vector
32 * in the vector table must invoke z_arm_int_exit() as the *very last* action
50 * directly in vector table
/Zephyr-latest/arch/common/
Disr_tables.c27 * the vector and sw isr tables,
49 /* Some arches don't use a vector table, they have a common exception entry
53 /* When both the IRQ vector table and the software ISR table are used, populate
54 * the IRQ vector table with the common software ISR by default, such that all
56 * otherwise, populate the IRQ vector table with z_irq_spurious so that all
74 /* The IRQ vector table contains the jump opcodes towards the vector routine */
80 /* The IRQ vector table is an array of vector addresses */
/Zephyr-latest/tests/lib/cpp/libcxx/src/
Dmain.cpp10 #include <vector>
17 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/
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_system_apic.c28 * This routine programs the interrupt controller with the given vector
41 * @param vector the vector number
46 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()
/Zephyr-latest/arch/arm/
DKconfig41 Relocates the rom_start region containing the boot-vector data and
46 such that it is able to load the correct boot-vector (contained in rom_start)
50 Most SOCs include an alias for the boot-vector at address 0x00000000
55 is not placed into the boot-vector memory area.
63 for code location. But the boot-vector must be placed into OCRAM_S for the
76 to the right memory region of the boot-vector.
79 -IMX7D the boot-vector is OCRAM_S (0x00180000, aliased at 0x0).
80 -IMX6SX the boot-vector is TCML (0x007F8000, aliased at 0x0).
81 -IMX8MQ the boot-vector is TCML (0x007E0000, aliased at 0x0).
82 -IMX8MN the boot-vector is ITCM (0x007E0000, aliased at 0x0).
[all …]
/Zephyr-latest/include/zephyr/drivers/virtualization/
Divshmem.h37 uint32_t peer_id, uint16_t vector);
41 uint16_t vector);
149 * @param vector The interrupt vector to use
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()
166 * @brief Register a vector notification (interrupt) handler
171 * registered for the given vector.
172 * @param vector The interrupt vector to get notification from
174 * Note: The returned status, if positive, to a raised signal is the vector
[all …]

12345678910>>...28