Home
last modified time | relevance | path

Searched refs:irq_key (Results 1 – 10 of 10) sorted by relevance

/Zephyr-latest/tests/benchmarks/cmsis_dsp/basicmath/src/
Dq15.c88 uint32_t irq_key, timestamp, timespan; in ZTEST() local
96 benchmark_begin(&irq_key, &timestamp); in ZTEST()
102 timespan = benchmark_end(irq_key, timestamp); in ZTEST()
113 uint32_t irq_key, timestamp, timespan; in ZTEST() local
121 benchmark_begin(&irq_key, &timestamp); in ZTEST()
127 timespan = benchmark_end(irq_key, timestamp); in ZTEST()
138 uint32_t irq_key, timestamp, timespan; in ZTEST() local
146 benchmark_begin(&irq_key, &timestamp); in ZTEST()
152 timespan = benchmark_end(irq_key, timestamp); in ZTEST()
163 uint32_t irq_key, timestamp, timespan; in ZTEST() local
[all …]
Dq31.c152 uint32_t irq_key, timestamp, timespan; in ZTEST() local
160 benchmark_begin(&irq_key, &timestamp); in ZTEST()
166 timespan = benchmark_end(irq_key, timestamp); in ZTEST()
177 uint32_t irq_key, timestamp, timespan; in ZTEST() local
185 benchmark_begin(&irq_key, &timestamp); in ZTEST()
191 timespan = benchmark_end(irq_key, timestamp); in ZTEST()
202 uint32_t irq_key, timestamp, timespan; in ZTEST() local
210 benchmark_begin(&irq_key, &timestamp); in ZTEST()
216 timespan = benchmark_end(irq_key, timestamp); in ZTEST()
227 uint32_t irq_key, timestamp, timespan; in ZTEST() local
[all …]
Dq7.c88 uint32_t irq_key, timestamp, timespan; in ZTEST() local
96 benchmark_begin(&irq_key, &timestamp); in ZTEST()
102 timespan = benchmark_end(irq_key, timestamp); in ZTEST()
113 uint32_t irq_key, timestamp, timespan; in ZTEST() local
121 benchmark_begin(&irq_key, &timestamp); in ZTEST()
127 timespan = benchmark_end(irq_key, timestamp); in ZTEST()
138 uint32_t irq_key, timestamp, timespan; in ZTEST() local
146 benchmark_begin(&irq_key, &timestamp); in ZTEST()
152 timespan = benchmark_end(irq_key, timestamp); in ZTEST()
163 uint32_t irq_key, timestamp, timespan; in ZTEST() local
[all …]
Df32.c152 uint32_t irq_key, timestamp, timespan; in ZTEST() local
160 benchmark_begin(&irq_key, &timestamp); in ZTEST()
168 timespan = benchmark_end(irq_key, timestamp); in ZTEST()
179 uint32_t irq_key, timestamp, timespan; in ZTEST() local
187 benchmark_begin(&irq_key, &timestamp); in ZTEST()
195 timespan = benchmark_end(irq_key, timestamp); in ZTEST()
206 uint32_t irq_key, timestamp, timespan; in ZTEST() local
214 benchmark_begin(&irq_key, &timestamp); in ZTEST()
222 timespan = benchmark_end(irq_key, timestamp); in ZTEST()
233 uint32_t irq_key, timestamp, timespan; in ZTEST() local
[all …]
/Zephyr-latest/tests/benchmarks/cmsis_dsp/common/
Dbenchmark_common.h18 static ALWAYS_INLINE void benchmark_begin(uint32_t *irq_key, uint32_t *timestamp) in benchmark_begin() argument
23 *irq_key = irq_lock(); in benchmark_begin()
30 static ALWAYS_INLINE uint32_t benchmark_end(uint32_t irq_key, uint32_t timestamp) in benchmark_end() argument
36 irq_unlock(irq_key); in benchmark_end()
47 static ALWAYS_INLINE void benchmark_begin(uint32_t *irq_key, uint32_t *timestamp) in benchmark_begin() argument
52 *irq_key = irq_lock(); in benchmark_begin()
61 static ALWAYS_INLINE uint32_t benchmark_end(uint32_t irq_key, uint32_t timestamp) in benchmark_end() argument
69 irq_unlock(irq_key); in benchmark_end()
/Zephyr-latest/drivers/flash/
Dsoc_flash_xmc4xxx.c74 uint32_t irq_key; in flash_xmc4xxx_write() local
105 irq_key = irq_lock(); in flash_xmc4xxx_write()
107 irq_unlock(irq_key); in flash_xmc4xxx_write()
121 uint32_t irq_key; in flash_xmc4xxx_erase() local
139 irq_key = irq_lock(); in flash_xmc4xxx_erase()
141 irq_unlock(irq_key); in flash_xmc4xxx_erase()
/Zephyr-latest/tests/kernel/spinlock/src/
Dmain.c162 unsigned int irq_key; in ZTEST() local
178 irq_key = arch_irq_lock(); in ZTEST()
181 zassert_false(arch_irq_unlocked(irq_key), in ZTEST()
184 arch_irq_unlock(irq_key); in ZTEST()
/Zephyr-latest/soc/ite/ec/it8xxx2/
Dilm.c104 int irq_key = irq_lock(); in it8xxx2_configure_ilm_block() local
121 irq_unlock(irq_key); in it8xxx2_configure_ilm_block()
/Zephyr-latest/tests/drivers/dma/loop_transfer/src/
Dtest_dma_loop.c233 unsigned int irq_key; in test_loop_suspend_resume() local
249 irq_key = irq_lock(); in test_loop_suspend_resume()
259 irq_unlock(irq_key); in test_loop_suspend_resume()
/Zephyr-latest/drivers/dma/
Ddma_xilinx_axi_dma.c592 const int irq_key = dma_xilinx_axi_dma_lock_irq(cfg, channel); in dma_xilinx_axi_dma_start() local
597 dma_xilinx_axi_dma_unlock_irq(cfg, channel, irq_key); in dma_xilinx_axi_dma_start()
692 dma_xilinx_axi_dma_unlock_irq(cfg, channel, irq_key); in dma_xilinx_axi_dma_start()
773 const int irq_key = dma_xilinx_axi_dma_lock_irq(cfg, channel); in dma_xilinx_axi_dma_transfer_block() local
791 dma_xilinx_axi_dma_unlock_irq(cfg, channel, irq_key); in dma_xilinx_axi_dma_transfer_block()
812 dma_xilinx_axi_dma_unlock_irq(cfg, channel, irq_key); in dma_xilinx_axi_dma_transfer_block()