Home
last modified time | relevance | path

Searched refs:block_num (Results 1 – 12 of 12) sorted by relevance

/Zephyr-Core-3.7.0/subsys/net/lib/lwm2m/
Dlwm2m_rw_opaque.c68 uint32_t block_num = in get_opaque() local
73 if (block_num == 0) { in get_opaque()
Dlwm2m_message_handling.c106 STATIC int build_msg_block_for_send(struct lwm2m_message *msg, uint16_t block_num,
264 STATIC int build_msg_block_for_send(struct lwm2m_message *msg, uint16_t block_num, in build_msg_block_for_send() argument
279 if (block_num * block_size_bytes >= complete_payload_len) { in build_msg_block_for_send()
283 if (block_num == 0) { in build_msg_block_for_send()
332 if (block_num == 0) { in build_msg_block_for_send()
349 msg->out.block_ctx->current = block_num * block_size_bytes; in build_msg_block_for_send()
363 payload_size = MIN(complete_payload_len - block_num * block_size_bytes, block_size_bytes); in build_msg_block_for_send()
365 complete_payload + (block_num * block_size_bytes), payload_size); in build_msg_block_for_send()
2032 int block_opt, block_num; in parse_write_op() local
2060 block_num = GET_BLOCK_NUM(block_opt); in parse_write_op()
[all …]
/Zephyr-Core-3.7.0/subsys/fs/ext2/
Dext2_diskops.c450 if (inode->flags & INODE_FETCHED_BLOCK && inode->block_num == block) { in ext2_fetch_inode_block()
454 LOG_DBG("inode:%d cur_blk:%d fetch_blk:%d", inode->i_id, inode->block_num, block); in ext2_fetch_inode_block()
471 inode->block_num = block; in ext2_fetch_inode_block()
497 static int64_t delete_blocks(struct ext2_data *fs, uint32_t block_num, int lvl, in delete_blocks() argument
500 __ASSERT(block_num != 0, "Can't delete zero block"); in delete_blocks()
519 list_block = ext2_get_block(fs, block_num); in delete_blocks()
585 LOG_DBG("free block %d (lvl %d)", block_num, lvl); in delete_blocks()
592 ret = ext2_free_block(fs, block_num); in delete_blocks()
844 LOG_DBG("inode:%d current_blk:%d", inode->i_id, inode->block_num); in ext2_commit_inode_block()
Dext2_format.c334 uint32_t block_num = itable_block_num + lost_found_inode / inodes_per_block; in ext2_format() local
336 itable_block2 = ext2_get_block(fs, block_num); in ext2_format()
Dext2_struct.h180 uint32_t block_num; /* relative number of fetched block */ member
/Zephyr-Core-3.7.0/drivers/spi/
Dspi_ifx_cat1.c200 en_clk_dst_t clk_idx = _cyhal_scb_get_clock_index(spi_init_cfg.resource->block_num); in spi_config()
305 data->hw_resource.block_num = get_hw_block_num(config->reg_addr); in ifx_cat1_spi_init()
/Zephyr-Core-3.7.0/drivers/serial/
Duart_ifx_cat1.c449 data->hw_resource.block_num = _get_hw_block_num(config->reg_addr); in ifx_cat1_uart_init()
465 en_clk_dst_t clk_idx = _cyhal_scb_get_clock_index(uart_init_cfg.resource->block_num); in ifx_cat1_uart_init()
/Zephyr-Core-3.7.0/drivers/i2c/
Di2c_ifx_cat1.c391 data->hw_resource.block_num = _get_hw_block_num(config->reg_addr); in ifx_cat1_i2c_init()
419 en_clk_dst_t clk_idx = _cyhal_scb_get_clock_index(i2c_init_cfg.resource->block_num); in ifx_cat1_i2c_init()
/Zephyr-Core-3.7.0/subsys/net/lib/coap/
Dcoap_client.c639 int block_num; in handle_response() local
757 block_num = (block_option > 0) ? GET_BLOCK_NUM(block_option) : 0; in handle_response()
759 if (block_num == 0) { in handle_response()
/Zephyr-Core-3.7.0/drivers/sdhc/
Difx_cat1_sdio.c287 data->hw_resource.block_num = _get_hw_block_num(config->reg_addr); in ifx_cat1_sdio_init()
/Zephyr-Core-3.7.0/tests/net/lib/lwm2m/block_transfer/src/
Dmain.c14 int build_msg_block_for_send(struct lwm2m_message *msg, uint16_t block_num,
/Zephyr-Core-3.7.0/drivers/counter/
Dcounter_ifx_cat1.c79 hw_resource->block_num = i; in get_hw_block_info()