/Zephyr-Core-3.5.0/subsys/fs/ext2/ |
D | ext2_format.c | 207 struct ext2_disk_superblock *sb = in ext2_format() local 210 memset(sb, 0, 1024); in ext2_format() 211 sb->s_inodes_count = sys_cpu_to_le32(inodes_count); in ext2_format() 212 sb->s_blocks_count = sys_cpu_to_le32(blocks_count); in ext2_format() 213 sb->s_r_blocks_count = sys_cpu_to_le32(0); in ext2_format() 214 sb->s_free_blocks_count = sys_cpu_to_le32(free_blocks); in ext2_format() 215 sb->s_free_inodes_count = sys_cpu_to_le32(inodes_count - used_inodes); in ext2_format() 216 sb->s_first_data_block = sys_cpu_to_le32(first_data_block); in ext2_format() 217 sb->s_log_block_size = sys_cpu_to_le32(block_log_size); in ext2_format() 218 sb->s_log_frag_size = sys_cpu_to_le32(block_log_size); in ext2_format() [all …]
|
D | ext2_diskops.c | 32 static void fill_sblock(struct ext2_superblock *sb, struct ext2_disk_superblock *disk_sb) in fill_sblock() argument 34 sb->s_inodes_count = sys_le32_to_cpu(disk_sb->s_inodes_count); in fill_sblock() 35 sb->s_blocks_count = sys_le32_to_cpu(disk_sb->s_blocks_count); in fill_sblock() 36 sb->s_free_blocks_count = sys_le32_to_cpu(disk_sb->s_free_blocks_count); in fill_sblock() 37 sb->s_free_inodes_count = sys_le32_to_cpu(disk_sb->s_free_inodes_count); in fill_sblock() 38 sb->s_first_data_block = sys_le32_to_cpu(disk_sb->s_first_data_block); in fill_sblock() 39 sb->s_log_block_size = sys_le32_to_cpu(disk_sb->s_log_block_size); in fill_sblock() 40 sb->s_log_frag_size = sys_le32_to_cpu(disk_sb->s_log_frag_size); in fill_sblock() 41 sb->s_blocks_per_group = sys_le32_to_cpu(disk_sb->s_blocks_per_group); in fill_sblock() 42 sb->s_frags_per_group = sys_le32_to_cpu(disk_sb->s_frags_per_group); in fill_sblock() [all …]
|
D | ext2_impl.c | 233 int ext2_verify_disk_superblock(struct ext2_disk_superblock *sb) in ext2_verify_disk_superblock() argument 236 if (sys_le16_to_cpu(sb->s_magic) != EXT2_MAGIC_NUMBER) { in ext2_verify_disk_superblock() 237 LOG_ERR("Wrong file system magic number (%x)", sb->s_magic); in ext2_verify_disk_superblock() 242 if (sys_le32_to_cpu(sb->s_log_block_size) != sb->s_log_frag_size) { in ext2_verify_disk_superblock() 248 if (sys_le32_to_cpu(sb->s_rev_level) != EXT2_DYNAMIC_REV) { in ext2_verify_disk_superblock() 249 LOG_ERR("Filesystem with revision %d is not supported", sb->s_rev_level); in ext2_verify_disk_superblock() 253 if (sys_le16_to_cpu(sb->s_inode_size) != EXT2_GOOD_OLD_INODE_SIZE) { in ext2_verify_disk_superblock() 254 LOG_ERR("Filesystem with inode size %d is not supported", sb->s_inode_size); in ext2_verify_disk_superblock() 259 if (sys_le16_to_cpu(sb->s_state) == EXT2_ERROR_FS) { in ext2_verify_disk_superblock() 261 switch (sys_le16_to_cpu(sb->s_errors)) { in ext2_verify_disk_superblock() [all …]
|
D | ext2_disk_access.c | 117 static int disk_access_read_superblock(struct ext2_data *fs, struct ext2_disk_superblock *sb) in disk_access_read_superblock() argument 128 return disk_read(disk->name, (uint8_t *)sb, sector_start, sector_count); in disk_access_read_superblock()
|
D | ext2_impl.h | 83 int ext2_verify_disk_superblock(struct ext2_disk_superblock *sb);
|
D | ext2_struct.h | 223 int (*read_superblock)(struct ext2_data *fs, struct ext2_disk_superblock *sb);
|
/Zephyr-Core-3.5.0/soc/arm/microchip_mec/common/spigen/ |
D | mec_spi_gen.py | 442 for sb in spi_bufs: 443 … print("buf[{0}]: {1} location=0x{2:0x} length=0x{3:0x}".format(i, sb[0], sb[1], len(sb[2]))) 452 for sb in spi_bufs: 454 print("sb: {0} location=0x{1:0x} len=0x{2:0x}".format(sb[0], sb[1], len(sb[2]))) 455 if loc < sb[1]: 456 fill_len = sb[1] - loc 467 print("loc = 0x{0:0x}: write {1} len=0x{2:0x}".format(loc, sb[0], len(sb[2]))) 468 fout.write(sb[2]) 469 loc = loc + len(sb[2])
|
/Zephyr-Core-3.5.0/samples/boards/mec172xevb_assy6906/qmspi_ldma/src/ |
D | main.c | 370 static struct spi_buf sb[NUM_ASYNC_SPI_BUFS]; variable 404 sb[cnt].buf = spi_async_txbuf; in spi_flash_read_fd_async() 405 sb[cnt++].len = param_len + 1; in spi_flash_read_fd_async() 408 sb[cnt].buf = NULL; /* 8 clocks with output tri-stated */ in spi_flash_read_fd_async() 409 sb[cnt++].len = 1; in spi_flash_read_fd_async() 412 sb[cnt].buf = data; in spi_flash_read_fd_async() 413 sb[cnt++].len = datasz; in spi_flash_read_fd_async() 415 txbs.buffers = &sb[0]; in spi_flash_read_fd_async() 418 rxbs.buffers = &sb[0]; in spi_flash_read_fd_async() 453 memset(sb, 0, sizeof(sb)); in main()
|
/Zephyr-Core-3.5.0/soc/riscv/riscv-ite/common/ |
D | vector.S | 45 sb t1, 0(t0)
|
/Zephyr-Core-3.5.0/drivers/serial/ |
D | uart_numicro.c | 52 static inline int32_t uart_numicro_convert_stopbit(enum uart_config_stop_bits sb) in uart_numicro_convert_stopbit() argument 54 switch (sb) { in uart_numicro_convert_stopbit()
|
D | uart_numaker.c | 95 static inline int32_t uart_numaker_convert_stopbit(enum uart_config_stop_bits sb) in uart_numaker_convert_stopbit() argument 97 switch (sb) { in uart_numaker_convert_stopbit()
|
D | uart_stm32.c | 311 enum uart_config_stop_bits sb) in uart_stm32_cfg2ll_stopbits() argument 313 switch (sb) { in uart_stm32_cfg2ll_stopbits() 344 static inline enum uart_config_stop_bits uart_stm32_ll2cfg_stopbits(uint32_t sb) in uart_stm32_ll2cfg_stopbits() argument 346 switch (sb) { in uart_stm32_ll2cfg_stopbits()
|
/Zephyr-Core-3.5.0/arch/riscv/core/ |
D | isr.S | 139 sb zero, %tprel_lo(is_user_mode)(t0) 251 sb t1, _thread_offset_to_exception_depth(t0) 614 sb t1, _thread_offset_to_exception_depth(t0) 644 sb t1, %tprel_lo(is_user_mode)(t0)
|
/Zephyr-Core-3.5.0/samples/boards/intel_adsp/code_relocation/ |
D | linker_xtensa_intel_adsp_cavs.ld | 65 *(.gnu.linkonce.sb.*)
|
/Zephyr-Core-3.5.0/soc/riscv/espressif_esp32/esp32c3/ |
D | mcuboot.ld | 170 *(.gnu.linkonce.sb.*)
|
/Zephyr-Core-3.5.0/soc/xtensa/nxp_adsp/imx8/ |
D | linker.ld | 419 *(.gnu.linkonce.sb.*)
|
/Zephyr-Core-3.5.0/soc/xtensa/nxp_adsp/imx8m/ |
D | linker.ld | 425 *(.gnu.linkonce.sb.*)
|
/Zephyr-Core-3.5.0/soc/xtensa/espressif_esp32/esp32/ |
D | mcuboot.ld | 274 *(.gnu.linkonce.sb.*)
|
/Zephyr-Core-3.5.0/soc/xtensa/espressif_esp32/esp32s3/ |
D | mcuboot.ld | 273 *(.gnu.linkonce.sb.*)
|
D | default_appcpu.ld | 274 *(.gnu.linkonce.sb.*)
|
/Zephyr-Core-3.5.0/soc/xtensa/espressif_esp32/esp32s2/ |
D | mcuboot.ld | 277 *(.gnu.linkonce.sb.*)
|
/Zephyr-Core-3.5.0/soc/xtensa/intel_adsp/ace/ |
D | ace-link.ld | 376 *(.gnu.linkonce.sb.*)
|
/Zephyr-Core-3.5.0/soc/xtensa/intel_adsp/cavs/include/ |
D | xtensa-cavs-linker.ld | 408 *(.gnu.linkonce.sb.*)
|
/Zephyr-Core-3.5.0/soc/xtensa/sample_controller/include/ |
D | xtensa-sample-controller.ld | 577 *(.gnu.linkonce.sb.*)
|
/Zephyr-Core-3.5.0/soc/xtensa/dc233c/include/ |
D | xtensa-dc233c.ld | 453 *(.gnu.linkonce.sb.*)
|