/Zephyr-latest/tests/drivers/flash/common/src/ |
D | main.c | 79 page_info.start_offset = TEST_AREA_OFFSET; in flash_driver_before() 117 rc = flash_erase(flash_dev, page_info.start_offset, in flash_driver_before() 135 start = page_info.start_offset; in ZTEST() 137 rc = flash_erase(flash_dev, page_info.start_offset, in ZTEST() 191 rc = flash_erase(flash_dev, page_info.start_offset, in ZTEST() 198 rc = flash_fill(flash_dev, 0x55, page_info.start_offset, in ZTEST() 206 rc = flash_fill(flash_dev, 0xaa, page_info.start_offset, in ZTEST() 230 rc = flash_flatten(flash_dev, page_info.start_offset, in ZTEST() 238 rc = flash_fill(flash_dev, 0xaa, page_info.start_offset, in ZTEST() 266 rc = flash_write(flash_dev, page_info.start_offset, expected, EXPECTED_SIZE); in ZTEST() [all …]
|
/Zephyr-latest/drivers/wifi/nrf_wifi/src/ |
D | coex.c | 132 uint32_t start_offset = 0; in nrf_wifi_coex_config_non_pta() local 137 start_offset = ((EXT_SYS_WLANSYSCOEX_CH_TIME_REFERENCE - in nrf_wifi_coex_config_non_pta() 159 params.configbuf[index] = (start_offset << COEX_REG_CFG_OFFSET_SHIFT) | in nrf_wifi_coex_config_non_pta() 161 start_offset++; in nrf_wifi_coex_config_non_pta() 180 uint32_t start_offset = 0; in nrf_wifi_coex_config_pta() local 186 start_offset = ((EXT_SYS_WLANSYSCOEX_CH_NO_WINDOW_LOOKUP_0 - in nrf_wifi_coex_config_pta() 218 params.configbuf[index] = (start_offset << COEX_REG_CFG_OFFSET_SHIFT) | in nrf_wifi_coex_config_pta() 220 start_offset++; in nrf_wifi_coex_config_pta() 263 uint32_t start_offset = 0; in nrf_wifi_coex_hw_reset() local 274 start_offset = ((EXT_SYS_WLANSYSCOEX_CH_CONTROL - EXT_SYS_WLANSYSCOEX_CH_CONTROL) >> 2); in nrf_wifi_coex_hw_reset() [all …]
|
/Zephyr-latest/boards/native/nrf_bsim/common/ |
D | phy_sync_ctrl.c | 25 double start_offset; member 105 sync_args.start_offset = tmp_start_of; in cmd_start_of_found() 106 xo_model_set_toffset(sync_args.start_offset); in cmd_start_of_found() 240 if (((sync_args.start_offset > 0) && (sync_args.delay_init)) in phy_sync_ctrl_pre_boot2() 245 hwll_wait_for_phy_simu_time(BS_MAX(sync_args.start_offset, 0)); in phy_sync_ctrl_pre_boot2() 264 hwll_wait_for_phy_simu_time(BS_MAX(sync_args.start_offset, 0)); in phy_sync_ctrl_pre_boot3()
|
/Zephyr-latest/drivers/flash/ |
D | flash_page_layout.c | 19 info->start_offset = 0; in flash_get_page_info() 29 index_jmp = (offs - info->start_offset) / info->size; in flash_get_page_info() 33 info->start_offset += (index_jmp * info->size); in flash_get_page_info() 91 page_info.start_offset = off; in flash_page_foreach()
|
D | flash_sam.c | 183 if (offset != pages_info.start_offset) { in sam_flash_section_is_aligned_with_pages() 198 if ((offset + len) != pages_info.start_offset) { in sam_flash_section_is_aligned_with_pages() 318 page_index_start = info->start_offset / SAM_FLASH_WRITE_PAGE_SIZE; in sam_flash_unlock_page() 339 page_index = info->start_offset / SAM_FLASH_WRITE_PAGE_SIZE; in sam_flash_erase_page() 341 LOG_DBG("Erasing page at 0x%x of size 0x%x", (size_t)info->start_offset, info->size); in sam_flash_erase_page() 378 LOG_ERR("Failed to erase page at 0x%x of size 0x%x", (size_t)info->start_offset, in sam_flash_erase_page() 391 if (info->start_offset < erase_data->section_start) { in sam_flash_erase_foreach_page() 397 if (info->start_offset >= erase_data->section_end) { in sam_flash_erase_foreach_page()
|
D | flash_hp_ra.c | 131 if (offset != page_info_off.start_offset) { in flash_ra_erase() 150 if ((offset + len) != (page_info_len.start_offset)) { in flash_ra_erase()
|
D | flash_shell.c | 731 addr, info.start_offset, info.size, info.index); in cmd_page_info()
|
/Zephyr-latest/tests/drivers/flash/erase_blocks/src/ |
D | main.c | 133 off_t page_boundary = info->start_offset; in test_flash_write_across_page_boundary() 152 if (info->start_offset <= TEST_FLASH_PART_OFFSET) { in test_flash_write_across_page_boundaries() 157 if (info->start_offset >= TEST_FLASH_PART_END_OFFSET) { in test_flash_write_across_page_boundaries() 177 off_t page_offset = info->start_offset; in test_flash_erase_page() 193 if (info->start_offset < TEST_FLASH_PART_OFFSET) { in test_flash_erase_pages() 198 if (info->start_offset >= TEST_FLASH_PART_END_OFFSET) { in test_flash_erase_pages()
|
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/multilink_peripheral/test_scripts/ |
D | run.sh | 27 -d=1 -rs=169 -RealEncryption=1 -testid=central -delay_init -start_offset=1e3 29 -d=2 -rs=690 -RealEncryption=1 -testid=central -delay_init -start_offset=10e3
|
/Zephyr-latest/subsys/storage/flash_map/ |
D | flash_map_layout.c | 47 if (info->start_offset < data->area_off) { in should_bail() 50 } else if (info->start_offset >= data->area_off + data->area_len) { in should_bail() 72 ret[data->ret_idx].fs_off = info->start_offset - data->area_off; in get_sectors_cb()
|
/Zephyr-latest/tests/subsys/fs/multi-fs/src/ |
D | test_ram_backend.c | 33 (void)memset(rambuf + info.start_offset, 0xff, info.size); in test_flash_ram_erase() 34 offset = info.start_offset + info.size; in test_flash_ram_erase()
|
/Zephyr-latest/subsys/storage/stream/ |
D | stream_flash.c | 63 ctx->last_erased_page_start_offset = page.start_offset; in settings_direct_loader() 103 if (ctx->last_erased_page_start_offset == page.start_offset) { in stream_flash_erase_page() 107 LOG_DBG("Erasing page at offset 0x%08lx", (long)page.start_offset); in stream_flash_erase_page() 109 rc = flash_erase(ctx->fdev, page.start_offset, page.size); in stream_flash_erase_page() 114 ctx->last_erased_page_start_offset = page.start_offset; in stream_flash_erase_page()
|
/Zephyr-latest/tests/boards/espressif/cache_coex/src/ |
D | cache_coex.c | 100 rc = do_erase(page_info.start_offset, page_info.size); in page_erase() 117 page_info.start_offset + FLASH_PAGE_OFFSET, in page_read() 138 page_info.start_offset + FLASH_PAGE_OFFSET, in page_write()
|
/Zephyr-latest/scripts/pylib/twister/twisterlib/ |
D | size_calc.py | 337 def _get_lines_with_footprint(self, start_offset: int, file_content: list[str]) -> list[str]: 347 if start_offset > len(file_content) or start_offset <= 0: 350 info_line_idx_start = len(file_content) - start_offset 449 start_offset=data_line_start_idx,
|
/Zephyr-latest/tests/bsim/net/sockets/echo_test/tests_scripts/ |
D | echo_test_ot.sh | 21 -v=${verbosity_level} -s=${simulation_id} -start_offset=2e6 -d=0 -RealEncryption=1 \
|
/Zephyr-latest/samples/drivers/soc_flash_nrf/src/ |
D | main.c | 189 info.index, (unsigned long) info.start_offset); in main() 201 (unsigned long) info.start_offset); in main()
|
/Zephyr-latest/tests/subsys/dfu/mcuboot_multi/src/ |
D | main.c | 33 ret = flash_erase(sf_dev, page.start_offset, page.size); in erase_image_status_page()
|
/Zephyr-latest/subsys/dfu/img_util/ |
D | flash_img.c | 72 offset = info.start_offset; in scramble_mcuboot_trailer()
|
/Zephyr-latest/tests/drivers/flash/negative_tests/src/ |
D | main.c | 68 TC_PRINT("start_offset = 0x%lx\n", (unsigned long)page_info.start_offset); in flash_driver_setup()
|
/Zephyr-latest/tests/subsys/storage/flash_map/src/ |
D | main.c | 69 zassert_equal(fpi.start_offset, fs_sectors[i].fs_off + SLOT1_PARTITION_OFFSET); in layout_match()
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/img_mgmt/src/ |
D | zephyr_img_mgmt.c | 474 size_t erase_size = page.start_offset + page.size - fa->fa_off; in img_mgmt_erase_image_data() 498 off = page.start_offset - fa->fa_off; in img_mgmt_erase_image_data()
|
/Zephyr-latest/include/zephyr/drivers/ |
D | flash.h | 421 off_t start_offset; /* offset from the base of flash address */ member
|
/Zephyr-latest/drivers/sensor/adi/adxl367/ |
D | adxl367_decoder.c | 407 uint8_t start_offset = ((packet_size - 1) * 12) % 8; in adxl367_get_12b_temp() local 410 if (start_offset) { in adxl367_get_12b_temp()
|
/Zephyr-latest/drivers/disk/ |
D | flashdisk.c | 119 if (ctx->offset != page.start_offset) { in flashdisk_init_runtime()
|
/Zephyr-latest/subsys/net/ip/ |
D | tcp.c | 2627 uint32_t start_offset; in tcp_queue_recv_data() local 2654 start_offset = pending_seq - seq_start; in tcp_queue_recv_data() 2659 if ((start_offset < len) && (end_offset <= len)) { in tcp_queue_recv_data() 2675 start_offset, end_offset, len); in tcp_queue_recv_data()
|