Home
last modified time | relevance | path

Searched refs:vectors (Results 1 – 25 of 70) sorted by relevance

123

/Zephyr-Core-3.7.0/drivers/pcie/host/
Dmsi.c44 msi_vector_t *vectors, in arch_pcie_msi_vectors_allocate() argument
48 ARG_UNUSED(vectors); in arch_pcie_msi_vectors_allocate()
82 msi_vector_t *vectors, in map_msix_table_entries() argument
104 vectors[i].msix_vector = (struct msix_vector *) in map_msix_table_entries()
111 static void set_msix(msi_vector_t *vectors, in set_msix() argument
118 vectors[i].msix = msix; in set_msix()
141 msi_vector_t *vectors, in pcie_msi_vectors_allocate() argument
151 set_msix(vectors, n_vector, !msi); in pcie_msi_vectors_allocate()
156 vectors, n_vector)) { in pcie_msi_vectors_allocate()
171 vectors[req_vectors].bdf = bdf; in pcie_msi_vectors_allocate()
[all …]
Dpcie_ecam.c319 msi_vector_t *vectors, uint8_t n_vector) in pcie_ecam_msi_device_setup() argument
331 bdf = vectors[0].bdf; in pcie_ecam_msi_device_setup()
340 if (vectors[i].bdf != bdf) { in pcie_ecam_msi_device_setup()
354 vectors[i].arch.irq = its_alloc_intid(cfg->msi_parent); in pcie_ecam_msi_device_setup()
355 vectors[i].arch.address = its_get_msi_addr(cfg->msi_parent); in pcie_ecam_msi_device_setup()
356 vectors[i].arch.eventid = i; in pcie_ecam_msi_device_setup()
357 vectors[i].arch.priority = priority; in pcie_ecam_msi_device_setup()
360 vectors[i].arch.eventid, vectors[i].arch.irq); in pcie_ecam_msi_device_setup()
/Zephyr-Core-3.7.0/tests/arch/arm64/arm64_gicv3_its/src/
Dmain.c35 unsigned int vectors[ITS_TEST_NUM_DEVS][ITS_TEST_NUM_ITES]; variable
50 vectors[devn][event_id] = its_alloc_intid(dev); in ZTEST()
51 zassert_true(vectors[devn][event_id] >= 8192, ""); in ZTEST()
52 zassert_true(vectors[devn][event_id] < CONFIG_NUM_IRQS, ""); in ZTEST()
55 vectors[devn][event_id]) == 0, ""); in ZTEST()
70 unsigned int irqn = vectors[devn][event_id]; in ZTEST()
84 unsigned int irqn = vectors[0][0]; in ZTEST()
107 unsigned int irqn = vectors[0][0]; in ZTEST()
156 unsigned int irqn = vectors[devn][event_id]; in ZTEST()
/Zephyr-Core-3.7.0/arch/x86/
Dgen_idt.py138 vectors = [None for i in range(max_vec)]
151 if vectors[vec] is not None:
154 vectors[vec] = (handler, tss, dpl)
165 if vectors[vi] is None:
172 vectors[vec] = (handler, tss, dpl)
177 if vectors[i] is not None:
185 vectors[i] = (handler, 0, 0)
187 return vectors, irq_vec_map
271 def create_irq_vectors_allocated(vectors, spur_code, spur_nocode, filename): argument
276 num_chars = (len(vectors) + 7) // 8
[all …]
/Zephyr-Core-3.7.0/arch/x86/core/
Dpcie.c219 msi_vector_t *vectors, in arch_pcie_msi_vectors_allocate() argument
225 if (vectors == NULL || n_vector == 0) { in arch_pcie_msi_vectors_allocate()
244 vectors[i].arch.irte = irte; in arch_pcie_msi_vectors_allocate()
245 vectors[i].arch.remap = true; in arch_pcie_msi_vectors_allocate()
257 irq = pcie_get_irq(vectors->bdf); in arch_pcie_msi_vectors_allocate()
271 vectors[i].arch.irq = irq; in arch_pcie_msi_vectors_allocate()
272 vectors[i].arch.vector = vector; in arch_pcie_msi_vectors_allocate()
275 vtd_set_irte_vector(vtd, vectors[i].arch.irte, in arch_pcie_msi_vectors_allocate()
276 vectors[i].arch.vector); in arch_pcie_msi_vectors_allocate()
277 vtd_set_irte_irq(vtd, vectors[i].arch.irte, in arch_pcie_msi_vectors_allocate()
[all …]
/Zephyr-Core-3.7.0/tests/drivers/virtualization/ivshmem/plain/src/
Divshmem.c19 uint16_t vectors; in ZTEST() local
39 vectors = ivshmem_get_vectors(ivshmem); in ZTEST()
40 zassert_equal(vectors, 0, "ivshmem-plain cannot have vectors"); in ZTEST()
/Zephyr-Core-3.7.0/boards/seagate/faze/support/
Dopenocd.cfg17 # This ensures that the interrupt vectors (0x0000-0x0200) are re-mapped to
25 # 0x0 Boot Loader Mode. Interrupt vectors are re-mapped to
27 # 0x1 User RAM Mode. Interrupt vectors are re-mapped to
29 # 0x2 User Flash Mode. Interrupt vectors are not re-mapped
/Zephyr-Core-3.7.0/boards/nxp/lpcxpresso11u68/support/
Dopenocd.cfg20 # This ensures that the interrupt vectors (0x0000-0x0200) are re-mapped to
28 # 0x0 Boot Loader Mode. Interrupt vectors are re-mapped to
30 # 0x1 User RAM Mode. Interrupt vectors are re-mapped to
32 # 0x2 User Flash Mode. Interrupt vectors are not re-mapped
/Zephyr-Core-3.7.0/samples/drivers/virtualization/ivshmem/doorbell/src/
Divshmem.c47 uint16_t vectors; member
162 shmem_ctx.vectors = ivshmem_get_vectors(shmem_ctx.dev); in setup_ivshmem()
163 if (shmem_ctx.vectors == 0) { in setup_ivshmem()
177 for (i = 0; i < shmem_ctx.vectors; i++) { in setup_ivshmem()
/Zephyr-Core-3.7.0/soc/openisa/rv32m1/
Dvector.S32 SECTION_FUNC(vectors, ivt)
75 SECTION_FUNC(vectors, __start)
/Zephyr-Core-3.7.0/samples/drivers/ipm/ipm_ivshmem/
DREADME.rst29 #. Run ivshmem-server. For the ivshmem-server, both number of vectors and
31 For Zephyr, the number of vectors and shared memory size of ivshmem are
33 vectors == 2 for the project configuration in this sample. Here is an example:
37 # n = number of vectors
103 Notification vectors: 2
119 Notification vectors: 2
131 Notification vectors: 2
/Zephyr-Core-3.7.0/arch/riscv/core/
Dvector_table.ld7 KEEP(*(.vectors.*))
/Zephyr-Core-3.7.0/soc/qemu/malta/
Dvector.S16 SECTION_FUNC(vectors, __start)
/Zephyr-Core-3.7.0/include/zephyr/linker/
Disr-local-drop-unused.ld6 KEEP(*(.vectors))
/Zephyr-Core-3.7.0/include/zephyr/drivers/pcie/
Dmsi.h76 msi_vector_t *vectors,
134 msi_vector_t *vectors,
Dcontroller.h126 msi_vector_t *vectors, uint8_t n_vector);
312 msi_vector_t *vectors, uint8_t n_vector) in pcie_ctrl_msi_device_setup() argument
317 return api->msi_device_setup(dev, priority, vectors, n_vector); in pcie_ctrl_msi_device_setup()
/Zephyr-Core-3.7.0/lib/acpi/
DKconfig44 int "Interrupt vectors per device"
47 Maximum interrupt vectors per device.
/Zephyr-Core-3.7.0/samples/drivers/virtualization/ivshmem/doorbell/
DREADME.rst78 #. Run ivshmem-server. For the ivshmem-server, both number of vectors and
80 For Zephyr, the number of vectors and shared memory size of ivshmem are
83 - (Arm64) Use vectors == 2 for the project configuration in this sample.
88 # n = number of vectors
97 # n = number of vectors, l = shared memory size
101 - (Optional) If vectors != 2, you need to change ivshmem driver
157 int <peer> all: notify all vectors of a peer
158 int all: notify all vectors of all peers (excepting us)
170 received (in any of the ivshmem-vectors). Example of output for arm64:
/Zephyr-Core-3.7.0/drivers/virtualization/
Dvirt_ivshmem_shell.c70 uint16_t vectors; in cmd_ivshmem_shmem() local
78 vectors = ivshmem_get_vectors(ivshmem); in cmd_ivshmem_shmem()
85 mem, size, id, vectors); in cmd_ivshmem_shmem()
DKconfig36 int "How many notification vectors should be pre-allocated?"
42 with each other. These are know to be the notification vectors in
Dvirt_ivshmem.h52 msi_vector_t vectors[CONFIG_IVSHMEM_MSI_X_VECTORS]; member
/Zephyr-Core-3.7.0/doc/services/virtualization/
Divshmem.rst34 Because the doorbell version uses MSI-X vectors to support notification vectors,
36 vectors that will be needed.
/Zephyr-Core-3.7.0/tests/crypto/tinycrypt/src/
Dctr_prng.c59 struct prng_vector vectors[] = { variable
548 elements = (int)sizeof(vectors) / sizeof(vectors[0]); in ZTEST()
550 rc = test_prng_vector(&vectors[i]); in ZTEST()
/Zephyr-Core-3.7.0/soc/common/riscv-privileged/
Dvector.S19 SECTION_FUNC(vectors, __start)
/Zephyr-Core-3.7.0/soc/ite/ec/common/
Dvector.S18 SECTION_FUNC(vectors, __start)

123