Home
last modified time | relevance | path

Searched refs:sb (Results 1 – 25 of 51) sorted by relevance

123

/Zephyr-latest/subsys/fs/ext2/
Dext2_format.c209 struct ext2_disk_superblock *sb = in ext2_format() local
212 memset(sb, 0, 1024); in ext2_format()
213 sb->s_inodes_count = sys_cpu_to_le32(inodes_count); in ext2_format()
214 sb->s_blocks_count = sys_cpu_to_le32(blocks_count); in ext2_format()
215 sb->s_r_blocks_count = sys_cpu_to_le32(0); in ext2_format()
216 sb->s_free_blocks_count = sys_cpu_to_le32(free_blocks); in ext2_format()
217 sb->s_free_inodes_count = sys_cpu_to_le32(inodes_count - used_inodes); in ext2_format()
218 sb->s_first_data_block = sys_cpu_to_le32(first_data_block); in ext2_format()
219 sb->s_log_block_size = sys_cpu_to_le32(block_log_size); in ext2_format()
220 sb->s_log_frag_size = sys_cpu_to_le32(block_log_size); in ext2_format()
[all …]
Dext2_diskops.c32 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 …]
Dext2_impl.c233 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 …]
Dext2_disk_access.c117 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()
Dext2_impl.h83 int ext2_verify_disk_superblock(struct ext2_disk_superblock *sb);
Dext2_struct.h223 int (*read_superblock)(struct ext2_data *fs, struct ext2_disk_superblock *sb);
/Zephyr-latest/soc/ite/ec/common/
Dvector.S34 sb t1, 0(t0)
39 sb t1, 0(t0)
41 sb t1, 1(t0)
43 sb t1, 4(t0)
45 sb t1, 5(t0)
47 sb t1, 6(t0)
51 sb t1, 0(t0)
70 sb t1, 0(t0)
/Zephyr-latest/soc/microchip/mec/common/spigen/
Dmec_spi_gen.py442 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-latest/samples/boards/microchip/mec172xevb_assy6906/qmspi_ldma/src/
Dmain.c370 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-latest/boards/st/nucleo_n657x0_q/
Dnucleo_n657x0_q_stm32n657xx_sb.dts12 compatible = "st,stm32n657x0-q-nucleo-sb";
/Zephyr-latest/drivers/serial/
Duart_numicro.c52 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()
Duart_silabs_eusart.c253 enum uart_config_stop_bits sb) in uart_silabs_eusart_cfg2ll_stopbits() argument
255 switch (sb) { in uart_silabs_eusart_cfg2ll_stopbits()
270 EUSART_Stopbits_TypeDef sb) in uart_silabs_eusart_ll2cfg_stopbits() argument
272 switch (sb) { in uart_silabs_eusart_ll2cfg_stopbits()
Duart_numaker.c95 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()
Duart_gecko.c453 static inline USART_Stopbits_TypeDef uart_gecko_cfg2ll_stopbits(enum uart_config_stop_bits sb) in uart_gecko_cfg2ll_stopbits() argument
455 switch (sb) { in uart_gecko_cfg2ll_stopbits()
469 static inline enum uart_config_stop_bits uart_gecko_ll2cfg_stopbits(USART_Stopbits_TypeDef sb) in uart_gecko_ll2cfg_stopbits() argument
471 switch (sb) { in uart_gecko_ll2cfg_stopbits()
Duart_silabs_usart.c835 enum uart_config_stop_bits sb) in uart_silabs_cfg2ll_stopbits() argument
837 switch (sb) { in uart_silabs_cfg2ll_stopbits()
897 static inline enum uart_config_stop_bits uart_silabs_ll2cfg_stopbits(USART_Stopbits_TypeDef sb) in uart_silabs_ll2cfg_stopbits() argument
899 switch (sb) { in uart_silabs_ll2cfg_stopbits()
/Zephyr-latest/arch/riscv/core/
Disr.S179 sb zero, %tprel_lo(is_user_mode)(t0)
312 sb t1, _thread_offset_to_exception_depth(t0)
441 sb t1, _thread_offset_to_exception_depth(a0)
445 sb t1, _thread_offset_to_exception_depth(a1)
739 sb t1, _thread_offset_to_exception_depth(t0)
776 sb t1, %tprel_lo(is_user_mode)(t0)
/Zephyr-latest/boards/st/stm32n6570_dk/doc/
Dindex.rst183 Build and load an application using ``stm32n6570_dk/stm32n657xx/sb`` target (you
184 can also use the shortened form: ``stm32n6570_dk//sb``)
188 :board: stm32n6570_dk//sb
227 board target, it is only possible to run twister tests campaign on ``stm32n6570_dk/stm32n657xx/sb``
233 - platform: stm32n6570_dk/stm32n657xx/sb
/Zephyr-latest/boards/st/nucleo_n657x0_q/doc/
Dindex.rst180 Build and load an application using ``nucleo_n657x0_q/stm32n657xx/sb`` target (you
181 can also use the shortened form: ``nucleo_n657x0_q//sb``)
224 board target, it is only possible to run twister tests campaign on ``nucleo_n657x0_q/stm32n657xx/sb
230 - platform: nucleo_n657x0_q/stm32n657xx/sb
/Zephyr-latest/boards/nxp/frdm_mcxw71/doc/
Dindex.rst218 blhost.exe -p COMxx -- receive-sb-file mcxw71_nbu_ble.sb3
225 ./blhost -p /dev/ttyxx -- receive-sb-file mcxw71_nbu_ble.sb3
232 blhost.exe -p COMxx -- receive-sb-file mcxw71_nbu_ble_15_4_dyn.sb3
239 ./blhost -p /dev/ttyxx -- receive-sb-file mcxw71_nbu_ble_15_4_dyn.sb3
/Zephyr-latest/samples/boards/intel/adsp/code_relocation/
Dlinker_xtensa_intel_adsp_cavs.ld65 *(.gnu.linkonce.sb.*)
/Zephyr-latest/soc/espressif/esp32/
Dmcuboot.ld235 *(.gnu.linkonce.sb.*)
/Zephyr-latest/soc/espressif/esp32c2/
Dmcuboot.ld244 *(.gnu.linkonce.sb.*)
/Zephyr-latest/soc/espressif/esp32c3/
Dmcuboot.ld244 *(.gnu.linkonce.sb.*)
/Zephyr-latest/soc/espressif/esp32c6/
Dmcuboot.ld244 *(.gnu.linkonce.sb.*)
/Zephyr-latest/soc/espressif/esp32s2/
Dmcuboot.ld241 *(.gnu.linkonce.sb.*)

123