Home
last modified time | relevance | path

Searched refs:blk (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/drivers/audio/
Ddmic_mcux.c307 for (uint32_t blk = 0; blk < CONFIG_DMIC_MCUX_DMA_BUFFERS; blk++) { in dmic_mcux_setup_dma() local
308 blk_cfg[blk].source_address = in dmic_mcux_setup_dma()
318 blk_cfg[blk].dest_address = in dmic_mcux_setup_dma()
320 blk_cfg[blk].dest_scatter_interval = in dmic_mcux_setup_dma()
322 blk_cfg[blk].dest_scatter_en = 1; in dmic_mcux_setup_dma()
323 blk_cfg[blk].source_addr_adj = DMA_ADDR_ADJ_NO_CHANGE; in dmic_mcux_setup_dma()
324 blk_cfg[blk].dest_addr_adj = DMA_ADDR_ADJ_INCREMENT; in dmic_mcux_setup_dma()
325 blk_cfg[blk].block_size = dma_buf_size; in dmic_mcux_setup_dma()
330 blk_cfg[blk].source_reload_en = 1; in dmic_mcux_setup_dma()
331 blk_cfg[blk].dest_reload_en = 1; in dmic_mcux_setup_dma()
[all …]
/Zephyr-latest/drivers/eeprom/
Deeprom_emulator.c110 uint8_t *blk, size_t len) in eeprom_emu_flash_read() argument
115 offset, blk, len); in eeprom_emu_flash_read()
122 const uint8_t *blk, size_t len) in eeprom_emu_flash_write() argument
128 offset, blk, len); in eeprom_emu_flash_write()
167 const uint8_t *blk) in eeprom_emu_get_address() argument
172 blk += dev_config->flash_cbs / 2; in eeprom_emu_get_address()
178 address += ((uint32_t)(*blk) << (8 * i)); in eeprom_emu_get_address()
179 blk++; in eeprom_emu_get_address()
190 uint8_t *blk) in eeprom_emu_set_change() argument
195 (*blk++) = (*data++); in eeprom_emu_set_change()
[all …]
/Zephyr-latest/lib/mem_blocks/
Dmem_blocks.c20 uint8_t *blk; in alloc_blocks() local
48 blk = mem_block->buffer + (offset << mem_block->info.blk_sz_shift); in alloc_blocks()
50 return blk; in alloc_blocks()
57 uint8_t *blk = ptr; in free_blocks() local
61 if (blk < mem_block->buffer) { in free_blocks()
66 offset = (blk - mem_block->buffer) >> mem_block->info.blk_sz_shift; in free_blocks()
/Zephyr-latest/subsys/fs/ext2/
Dext2_format.c300 struct ext2_block *blk = ext2_get_block(fs, itable_block_num + i); in ext2_format() local
302 memset(blk->data, 0, cfg->block_size); in ext2_format()
303 rc = ext2_write_block(fs, blk); in ext2_format()
304 ext2_drop_block(blk); in ext2_format()
Dext2_impl.c1145 uint32_t blk = offset / block_size; in ext2_del_direntry() local
1148 rc = ext2_fetch_inode_block(parent, blk); in ext2_del_direntry()
1162 uint32_t old_blk = parent->i_block[blk]; in ext2_del_direntry()
1167 parent->i_block[blk] = parent->i_block[last_blk]; in ext2_del_direntry()
1377 uint32_t blk = offset / block_size; in ext2_move_file() local
1382 rc = ext2_fetch_inode_block(fparent, blk); in ext2_move_file()
1409 rc = ext2_fetch_inode_block(fparent, blk); in ext2_move_file()
/Zephyr-latest/scripts/
Dcheckpatch.pl1395 my $blk = '';
1422 $blk .= $lines[$line] . "\n";
1423 $len = length($blk);
1432 if ($level == 0 && substr($blk, $off) =~ /^.\s*#\s*define/) {
1438 $c = substr($blk, $off, 1);
1439 $remainder = substr($blk, $off);
1492 if (substr($blk, $off + 1, 1) eq ';') {
1514 my $statement = substr($blk, $soff, $off - $soff + 1);
1515 my $condition = substr($blk, $soff, $coff - $soff + 1);
1602 my $blk = '';
[all …]