/Zephyr-Core-3.4.0/subsys/dsp/cmsis/public/ |
D | zdsp_backend.h | 20 uint32_t block_size) in zdsp_mult_q7() argument 22 arm_mult_q7(src_a, src_b, dst, block_size); in zdsp_mult_q7() 25 uint32_t block_size) in zdsp_mult_q15() argument 27 arm_mult_q15(src_a, src_b, dst, block_size); in zdsp_mult_q15() 30 uint32_t block_size) in zdsp_mult_q31() argument 32 arm_mult_q31(src_a, src_b, dst, block_size); in zdsp_mult_q31() 35 uint32_t block_size) in zdsp_mult_f32() argument 37 arm_mult_f32(src_a, src_b, dst, block_size); in zdsp_mult_f32() 40 static inline void zdsp_add_q7(const q7_t *src_a, const q7_t *src_b, q7_t *dst, uint32_t block_size) in zdsp_add_q7() argument 42 arm_add_q7(src_a, src_b, dst, block_size); in zdsp_add_q7() [all …]
|
D | zdsp_backend_f16.h | 20 uint32_t block_size) in zdsp_mult_f16() argument 22 arm_mult_f16(src_a, src_b, dst, block_size); in zdsp_mult_f16() 26 uint32_t block_size) in zdsp_add_f16() argument 28 arm_add_f16(src_a, src_b, dst, block_size); in zdsp_add_f16() 32 uint32_t block_size) in zdsp_sub_f16() argument 34 arm_sub_f16(src_a, src_b, dst, block_size); in zdsp_sub_f16() 38 uint32_t block_size) in zdsp_scale_f16() argument 40 arm_scale_f16(src, scale, dst, block_size); in zdsp_scale_f16() 43 static inline void zdsp_abs_f16(const float16_t *src, float16_t *dst, uint32_t block_size) in zdsp_abs_f16() argument 45 arm_abs_f16(src, dst, block_size); in zdsp_abs_f16() [all …]
|
/Zephyr-Core-3.4.0/subsys/dsp/arcmwdt/public/ |
D | zdsp_backend.h | 23 DSP_DATA q7_t *dst, uint32_t block_size) in zdsp_mult_q7() argument 25 dsp_mult_q7(src_a, src_b, dst, block_size); in zdsp_mult_q7() 28 DSP_DATA q15_t *dst, uint32_t block_size) in zdsp_mult_q15() argument 30 dsp_mult_q15(src_a, src_b, dst, block_size); in zdsp_mult_q15() 33 DSP_DATA q31_t *dst, uint32_t block_size) in zdsp_mult_q31() argument 35 dsp_mult_q31(src_a, src_b, dst, block_size); in zdsp_mult_q31() 38 DSP_DATA float32_t *dst, uint32_t block_size) in zdsp_mult_f32() argument 40 dsp_mult_f32(src_a, src_b, dst, block_size); in zdsp_mult_f32() 44 DSP_DATA q7_t *dst, uint32_t block_size) in zdsp_add_q7() argument 46 dsp_add_q7(src_a, src_b, dst, block_size); in zdsp_add_q7() [all …]
|
/Zephyr-Core-3.4.0/include/zephyr/dsp/ |
D | basicmath.h | 50 DSP_DATA q7_t *dst, uint32_t block_size); 65 DSP_DATA q15_t *dst, uint32_t block_size); 80 DSP_DATA q31_t *dst, uint32_t block_size); 90 DSP_DATA float32_t *dst, uint32_t block_size); 116 DSP_DATA float32_t *dst, uint32_t block_size); 131 DSP_DATA q7_t *dst, uint32_t block_size); 146 DSP_DATA q15_t *dst, uint32_t block_size); 161 DSP_DATA q31_t *dst, uint32_t block_size); 187 DSP_DATA float32_t *dst, uint32_t block_size); 202 DSP_DATA q7_t *dst, uint32_t block_size); [all …]
|
D | basicmath_f16.h | 33 uint32_t block_size); 44 uint32_t block_size); 55 uint32_t block_size); 66 uint32_t block_size); 75 DSP_FUNC_SCOPE void zdsp_abs_f16(const float16_t *src, float16_t *dst, uint32_t block_size); 86 uint32_t block_size, float16_t *result); 97 uint32_t block_size); 106 DSP_FUNC_SCOPE void zdsp_negate_f16(const float16_t *src, float16_t *dst, uint32_t block_size);
|
/Zephyr-Core-3.4.0/tests/lib/cmsis_dsp/filtering/src/ |
D | biquad_f16.c | 24 size_t block_size = length / 2; in ZTEST() local 59 arm_biquad_cascade_df1_f16(&inst, input, output, block_size); in ZTEST() 62 input += block_size; in ZTEST() 63 output += block_size; in ZTEST() 85 size_t block_size = length / 2; in ZTEST() local 109 arm_biquad_cascade_df2T_f16(&inst, input, output, block_size); in ZTEST() 112 input += block_size; in ZTEST() 113 output += block_size; in ZTEST() 133 size_t sample_index, stage_count, block_size; in ZTEST() local 164 block_size = config[1]; in ZTEST() [all …]
|
D | biquad_f32.c | 23 size_t block_size = length / 2; in ZTEST() local 58 arm_biquad_cascade_df1_f32(&inst, input, output, block_size); in ZTEST() 61 input += block_size; in ZTEST() 62 output += block_size; in ZTEST() 83 size_t block_size = length / 2; in ZTEST() local 107 arm_biquad_cascade_df2T_f32(&inst, input, output, block_size); in ZTEST() 110 input += block_size; in ZTEST() 111 output += block_size; in ZTEST() 130 size_t sample_index, stage_count, block_size; in ZTEST() local 161 block_size = config[1]; in ZTEST() [all …]
|
D | biquad_f64.c | 23 size_t block_size = length / 2; in ZTEST() local 48 &inst, input, output, block_size); in ZTEST() 51 input += block_size; in ZTEST() 52 output += block_size; in ZTEST() 71 size_t sample_index, stage_count, block_size; in ZTEST() local 94 block_size = config[1]; in ZTEST() 104 &inst, input, output, block_size); in ZTEST() 107 input += block_size; in ZTEST() 108 output += block_size; in ZTEST()
|
D | decim_q15.c | 23 size_t sample_index, block_size, ref_size; in ZTEST() local 48 block_size = config[2]; in ZTEST() 54 block_size); in ZTEST() 60 arm_fir_decimate_q15(&inst, input, output, block_size); in ZTEST() 63 input += block_size; in ZTEST() 87 size_t sample_index, block_size, ref_size; in ZTEST() local 112 block_size = config[2]; in ZTEST() 118 state, block_size); in ZTEST() 124 arm_fir_interpolate_q15(&inst, input, output, block_size); in ZTEST() 127 input += block_size; in ZTEST()
|
D | decim_q31.c | 23 size_t sample_index, block_size, ref_size; in ZTEST() local 48 block_size = config[2]; in ZTEST() 54 block_size); in ZTEST() 60 arm_fir_decimate_q31(&inst, input, output, block_size); in ZTEST() 63 input += block_size; in ZTEST() 87 size_t sample_index, block_size, ref_size; in ZTEST() local 112 block_size = config[2]; in ZTEST() 118 state, block_size); in ZTEST() 124 arm_fir_interpolate_q31(&inst, input, output, block_size); in ZTEST() 127 input += block_size; in ZTEST()
|
D | decim_f32.c | 23 size_t sample_index, block_size, ref_size; in ZTEST() local 48 block_size = config[2]; in ZTEST() 54 block_size); in ZTEST() 60 arm_fir_decimate_f32(&inst, input, output, block_size); in ZTEST() 63 input += block_size; in ZTEST() 86 size_t sample_index, block_size, ref_size; in ZTEST() local 111 block_size = config[2]; in ZTEST() 117 state, block_size); in ZTEST() 123 arm_fir_interpolate_f32(&inst, input, output, block_size); in ZTEST() 126 input += block_size; in ZTEST()
|
D | biquad_q31.c | 26 size_t block_size = length / 2; in ZTEST() local 48 arm_biquad_cascade_df1_q31(&inst, input, output, block_size); in ZTEST() 51 input += block_size; in ZTEST() 52 output += block_size; in ZTEST() 74 size_t block_size = length / 2; in ZTEST() local 97 arm_biquad_cas_df1_32x64_q31(&inst, input, output, block_size); in ZTEST() 100 input += block_size; in ZTEST() 101 output += block_size; in ZTEST()
|
D | fir_f16.c | 24 size_t block_size, tap_count; in ZTEST() local 50 block_size = config[0]; in ZTEST() 67 arm_fir_init_f16(&inst, tap_count, coeff_padded, state, block_size); in ZTEST() 69 arm_fir_init_f16(&inst, tap_count, coeff, state, block_size); in ZTEST() 78 arm_fir_f16(&inst, input, output, block_size); in ZTEST() 81 input += block_size; in ZTEST() 82 output += block_size; in ZTEST()
|
D | fir_f32.c | 24 size_t block_size, tap_count; in ZTEST() local 50 block_size = config[0]; in ZTEST() 67 arm_fir_init_f32(&inst, tap_count, coeff_padded, state, block_size); in ZTEST() 69 arm_fir_init_f32(&inst, tap_count, coeff, state, block_size); in ZTEST() 78 arm_fir_f32(&inst, input, output, block_size); in ZTEST() 81 input += block_size; in ZTEST() 82 output += block_size; in ZTEST()
|
D | fir_q7.c | 24 size_t block_size, tap_count; in ZTEST() local 50 block_size = config[0]; in ZTEST() 67 arm_fir_init_q7(&inst, tap_count, coeff_padded, state, block_size); in ZTEST() 69 arm_fir_init_q7(&inst, tap_count, coeff, state, block_size); in ZTEST() 78 arm_fir_q7(&inst, input, output, block_size); in ZTEST() 81 input += block_size; in ZTEST() 82 output += block_size; in ZTEST()
|
D | fir_q15.c | 24 size_t block_size, tap_count; in ZTEST() local 50 block_size = config[0]; in ZTEST() 67 arm_fir_init_q15(&inst, tap_count, coeff_padded, state, block_size); in ZTEST() 69 arm_fir_init_q15(&inst, tap_count, coeff, state, block_size); in ZTEST() 78 arm_fir_q15(&inst, input, output, block_size); in ZTEST() 81 input += block_size; in ZTEST() 82 output += block_size; in ZTEST()
|
D | fir_q31.c | 24 size_t block_size, tap_count; in ZTEST() local 50 block_size = config[0]; in ZTEST() 67 arm_fir_init_q31(&inst, tap_count, coeff_padded, state, block_size); in ZTEST() 69 arm_fir_init_q31(&inst, tap_count, coeff, state, block_size); in ZTEST() 78 arm_fir_q31(&inst, input, output, block_size); in ZTEST() 81 input += block_size; in ZTEST() 82 output += block_size; in ZTEST()
|
D | biquad_q15.c | 23 size_t block_size = length / 2; in ZTEST() local 45 arm_biquad_cascade_df1_q15(&inst, input, output, block_size); in ZTEST() 48 input += block_size; in ZTEST() 49 output += block_size; in ZTEST()
|
/Zephyr-Core-3.4.0/kernel/ |
D | mem_slab.c | 34 CHECKIF(((slab->block_size | (uintptr_t)slab->buffer) & in create_free_list() 45 p += slab->block_size; in create_free_list() 77 size_t block_size, uint32_t num_blocks) in k_mem_slab_init() argument 82 slab->block_size = block_size; in k_mem_slab_init() 182 stats->allocated_bytes = slab->num_used * slab->block_size; in k_mem_slab_runtime_stats_get() 183 stats->free_bytes = (slab->num_blocks - slab->num_used) * slab->block_size; in k_mem_slab_runtime_stats_get() 185 stats->max_allocated_bytes = slab->max_used * slab->block_size; in k_mem_slab_runtime_stats_get()
|
/Zephyr-Core-3.4.0/subsys/portability/cmsis_rtos_v2/ |
D | mempool.c | 28 osMemoryPoolId_t osMemoryPoolNew(uint32_t block_count, uint32_t block_size, in osMemoryPoolNew() argument 41 if ((attr != NULL) && (attr->mp_size < block_count * block_size)) { in osMemoryPoolNew() 56 __ASSERT((block_count * block_size) <= in osMemoryPoolNew() 60 mslab->pool = k_calloc(block_count, block_size); in osMemoryPoolNew() 71 k_mem_slab_init(&mslab->z_mslab, mslab->pool, block_size, block_count); in osMemoryPoolNew() 181 return mslab->z_mslab.block_size; in osMemoryPoolGetBlockSize()
|
/Zephyr-Core-3.4.0/subsys/fs/ |
D | littlefs_fs.c | 175 size_t offset = block * c->block_size + off; in lfs_api_read() 186 size_t offset = block * c->block_size + off; in lfs_api_prog() 196 size_t offset = block * c->block_size; in lfs_api_erase() 198 int rc = flash_area_erase(fa, offset, c->block_size); in lfs_api_erase() 210 size / c->block_size); in lfs_api_read_blk() 219 int rc = disk_access_write(disk, buffer, block, size / c->block_size); in lfs_api_prog_blk() 563 stat->f_frsize = lfs->cfg->block_size; in littlefs_statvfs() 721 lfs_size_t block_size = lcp->block_size; in littlefs_init_cfg() local 729 if (block_size == 0) { in littlefs_init_cfg() 734 &block_size); in littlefs_init_cfg() [all …]
|
/Zephyr-Core-3.4.0/samples/subsys/fs/fat_fs/src/ |
D | main.c | 87 uint32_t block_size; in main() local 102 DISK_IOCTL_GET_SECTOR_SIZE, &block_size)) { in main() 106 printk("Sector size %u\n", block_size); in main() 108 memory_size_mb = (uint64_t)block_count * block_size; in main()
|
/Zephyr-Core-3.4.0/subsys/sd/ |
D | sd_ops.c | 209 data.block_size = 16; in sdmmc_spi_read_cxd() 265 sdmmc_decode_csd(&card_csd, csd, &card->block_count, &card->block_size); in sdmmc_read_csd() 266 LOG_DBG("Card block count %d, block size %d", card->block_count, card->block_size); in sdmmc_read_csd() 495 cmd.arg = start_block * card->block_size; in card_read() 504 data.block_size = card->block_size; in card_read() 556 if (sizeof(card->card_buffer) < card->block_size) { in card_read_blocks() 562 rlen = sizeof(card->card_buffer) / card->block_size; in card_read_blocks() 574 memcpy(buf_offset, card->card_buffer, rlen * card->block_size); in card_read_blocks() 577 buf_offset += rlen * card->block_size; in card_read_blocks() 614 data.block_size = 4U; in card_query_written() [all …]
|
/Zephyr-Core-3.4.0/drivers/dma/ |
D | dma_mcux_lpc.c | 138 if ((local_block.block_size / width > NXP_LPC_DMA_MAX_XFER) || in dma_mcux_lpc_queue_descriptors() 186 if (local_block.block_size / width > NXP_LPC_DMA_MAX_XFER) { in dma_mcux_lpc_queue_descriptors() 204 MIN(local_block.block_size, max_xfer)); in dma_mcux_lpc_queue_descriptors() 214 if (local_block.block_size / width > NXP_LPC_DMA_MAX_XFER) { in dma_mcux_lpc_queue_descriptors() 215 local_block.block_size -= max_xfer; in dma_mcux_lpc_queue_descriptors() 223 local_block.block_size = 0; in dma_mcux_lpc_queue_descriptors() 225 } while (local_block.block_size > 0); in dma_mcux_lpc_queue_descriptors() 244 MIN(local_block.block_size, max_xfer)); in dma_mcux_lpc_queue_descriptors() 464 if ((block_config->block_size / width > NXP_LPC_DMA_MAX_XFER) || in dma_mcux_lpc_configure() 469 if (block_config->block_size / width > NXP_LPC_DMA_MAX_XFER) { in dma_mcux_lpc_configure() [all …]
|
D | dma_nios2_msgdma.c | 97 if (cfg->head_block->block_size > MSGDMA_0_DESCRIPTOR_SLAVE_MAX_BYTE) { in nios2_msgdma_config() 99 cfg->head_block->block_size); in nios2_msgdma_config() 116 dma_block->block_size, in nios2_msgdma_config() 122 dma_block->block_size, in nios2_msgdma_config() 128 dma_block->block_size, in nios2_msgdma_config()
|