Home
last modified time | relevance | path

Searched refs:page_offset (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/drivers/eeprom/
Deeprom_emulator.c94 off_t page_offset; member
239 direct_address = dev_data->page_offset + address; in eeprom_emu_word_read()
255 rc = eeprom_emu_flash_read(dev, dev_data->page_offset + offset, in eeprom_emu_word_read()
317 (ptrdiff_t)dev_data->page_offset); in eeprom_emu_compactor()
319 next_page_offset = dev_data->page_offset + dev_config->page_size; in eeprom_emu_compactor()
402 rc = eeprom_emu_page_invalidate(dev, dev_data->page_offset); in eeprom_emu_compactor()
407 dev_data->page_offset = next_page_offset; in eeprom_emu_compactor()
425 direct_address = dev_data->page_offset + address; in eeprom_emu_word_write()
456 rc = eeprom_emu_flash_write(dev, dev_data->page_offset + in eeprom_emu_word_write()
654 dev_data->page_offset = 0U; in eeprom_emu_init()
[all …]
Deeprom_mb85rcxx.c47 off_t page_offset = offset % cfg->pagesize; in mb85rcxx_translate_address() local
50 sys_put_be16(page_offset, addr); in mb85rcxx_translate_address()
53 addr[0] = page_offset & BIT_MASK(cfg->addr_width); in mb85rcxx_translate_address()
62 off_t page_offset = offset % cfg->pagesize; in mb85rcxx_remaining_len_in_page() local
63 size_t rem = cfg->pagesize - page_offset; in mb85rcxx_remaining_len_in_page()
/Zephyr-latest/tests/drivers/flash/erase_blocks/src/
Dmain.c177 off_t page_offset = info->start_offset; in test_flash_erase_page() local
182 (size_t)page_offset, page_size, page_index); in test_flash_erase_page()
184 zassert_ok(flash_erase(flash_controller, page_offset, page_size), in test_flash_erase_page()
187 zassert_true(test_flash_is_erased(page_offset, page_size), in test_flash_erase_page()
/Zephyr-latest/subsys/mgmt/mcumgr/grp/img_mgmt/src/
Dzephyr_img_mgmt.c465 off_t page_offset = fa->fa_off + num_bytes - 1; in img_mgmt_erase_image_data() local
467 rc = flash_get_page_info_by_offs(dev, page_offset, &page); in img_mgmt_erase_image_data()
469 LOG_ERR("bad offset (0x%lx)", (long)page_offset); in img_mgmt_erase_image_data()
/Zephyr-latest/drivers/display/
Dssd1306.c50 uint8_t page_offset; member
512 .page_offset = DT_PROP(node_id, page_offset), \
/Zephyr-latest/drivers/flash/
Dflash_cadence_qspi_nor_ll.c780 uint32_t page_offset = offset & (CAD_QSPI_PAGE_SIZE - 1); in cad_qspi_write_bank() local
781 uint32_t write_size = MIN(size, CAD_QSPI_PAGE_SIZE - page_offset); in cad_qspi_write_bank()
/Zephyr-latest/drivers/tee/optee/
Doptee.c918 uint32_t page_offset = (uintptr_t)buf & (page_size - 1); in optee_construct_page_list() local
932 num_pages = ROUND_UP(page_offset + len, page_size) / page_size; in optee_construct_page_list()
961 *phys_buf = k_mem_phys_addr(pl) | page_offset; in optee_construct_page_list()