/Zephyr-latest/tests/drivers/flash/common/src/ |
D | main.c | 81 page_info.start_offset = TEST_AREA_OFFSET; in flash_driver_before() 119 rc = flash_erase(flash_dev, page_info.start_offset, in flash_driver_before() 137 start = page_info.start_offset; in ZTEST() 139 rc = flash_erase(flash_dev, page_info.start_offset, in ZTEST() 193 rc = flash_erase(flash_dev, page_info.start_offset, in ZTEST() 200 rc = flash_fill(flash_dev, 0x55, page_info.start_offset, in ZTEST() 208 rc = flash_fill(flash_dev, 0xaa, page_info.start_offset, in ZTEST() 232 rc = flash_flatten(flash_dev, page_info.start_offset, in ZTEST() 240 rc = flash_fill(flash_dev, 0xaa, page_info.start_offset, in ZTEST() 268 rc = flash_write(flash_dev, page_info.start_offset, expected, EXPECTED_SIZE); in ZTEST() [all …]
|
/Zephyr-latest/drivers/bbram/ |
D | bbram_rts5912.c | 36 size_t start_offset, bytes_to_read; in bbram_rts5912_read() local 48 start_offset = (offset + i) % 4; in bbram_rts5912_read() 49 bytes_to_read = MIN(4 - start_offset, size - i); in bbram_rts5912_read() 50 memcpy(&data[i], ((uint8_t *)&word) + start_offset, bytes_to_read); in bbram_rts5912_read() 63 size_t start_offset, bytes_to_write; in bbram_rts5912_write() local 75 start_offset = (offset + i) % 4; in bbram_rts5912_write() 76 bytes_to_write = MIN(4 - start_offset, size - i); in bbram_rts5912_write() 77 memcpy(((uint8_t *)&word) + start_offset, &data[i], bytes_to_write); in bbram_rts5912_write()
|
/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 | 124 if (offset != page_info_off.start_offset) { in flash_ra_erase() 152 if ((offset + len) != (page_info_len.start_offset)) { in flash_ra_erase()
|
/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/subsys/storage/stream/ |
D | stream_flash.c | 63 ctx->erased_up_to = page.start_offset + page.size - ctx->offset; in settings_direct_loader() 119 LOG_DBG("Erasing page at offset 0x%08lx", (long)page.start_offset); in stream_flash_erase_to_append() 121 rc = flash_erase(ctx->fdev, page.start_offset, page.size); in stream_flash_erase_to_append() 165 if (ctx->erased_up_to >= page.start_offset + page.size) { in stream_flash_erase_page() 169 LOG_DBG("Erasing page at offset 0x%08lx", (long)page.start_offset); in stream_flash_erase_page() 171 rc = flash_erase(ctx->fdev, page.start_offset, page.size); in stream_flash_erase_page() 176 ctx->erased_up_to = page.start_offset + page.size; in stream_flash_erase_page()
|
/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/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/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/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/bluetooth/audio/test_scripts/ |
D | bap_broadcast_audio_assistant.sh | 28 -start_offset=2e3 -argstest subgroup_cnt 1 streams_per_subgroup_cnt 2
|
D | cap_broadcast_reception.sh | 28 -RealEncryption=1 -rs=69 -D=${NR_OF_DEVICES} -start_offset=7e3
|
/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/bluetooth/mesh/ |
D | blob_io_flash.c | 89 start = page.start_offset; in erase_device_block()
|
/Zephyr-latest/tests/drivers/flash/negative_tests/src/ |
D | main.c | 71 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/dfu/img_util/ |
D | flash_img.c | 85 offset = info.start_offset; in scramble_mcuboot_trailer()
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/img_mgmt/src/ |
D | zephyr_img_mgmt.c | 477 erase_size = page.start_offset + page.size - fa->fa_off; in img_mgmt_erase_image_data() 501 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
|