/Zephyr-latest/subsys/bluetooth/mesh/ |
D | large_comp_data_srv.c | 49 uint8_t page; in handle_large_comp_data_get() local 57 page = bt_mesh_comp_parse_page(buf); in handle_large_comp_data_get() 60 LOG_DBG("page %u offset %u", page, offset); in handle_large_comp_data_get() 63 net_buf_simple_add_u8(&rsp, page); in handle_large_comp_data_get() 66 if (atomic_test_bit(bt_mesh.flags, BT_MESH_COMP_DIRTY) && page < 128) { in handle_large_comp_data_get() 70 err = bt_mesh_comp_read(&temp_buf, page); in handle_large_comp_data_get() 72 LOG_ERR("Could not read comp data p%d, err: %d", page, err); in handle_large_comp_data_get() 86 total_size = bt_mesh_comp_page_size(page); in handle_large_comp_data_get() 90 err = bt_mesh_comp_data_get_page(&rsp, page, offset); in handle_large_comp_data_get() 92 LOG_ERR("Could not read comp data p%d, err: %d", page, err); in handle_large_comp_data_get() [all …]
|
D | large_comp_data_cli.c | 42 uint8_t page; in data_status() local 50 page = net_buf_simple_pull_u8(buf); in data_status() 55 rsp->page = page; in data_status() 69 .page = page, in data_status() 126 static int data_get(uint16_t net_idx, uint16_t addr, uint32_t op, uint32_t status_op, uint8_t page, in data_get() argument 139 net_buf_simple_add_u8(&msg, page); in data_get() 145 int bt_mesh_large_comp_data_get(uint16_t net_idx, uint16_t addr, uint8_t page, in bt_mesh_large_comp_data_get() argument 149 page, offset, rsp); in bt_mesh_large_comp_data_get() 152 int bt_mesh_models_metadata_get(uint16_t net_idx, uint16_t addr, uint8_t page, in bt_mesh_models_metadata_get() argument 156 page, offset, rsp); in bt_mesh_models_metadata_get()
|
/Zephyr-latest/doc/kernel/memory_management/ |
D | demand_paging.rst | 8 conceptually divided in page-sized page frames as regions to hold data. 10 * When the processor tries to access data and the data page exists in 11 one of the page frames, the execution continues without any interruptions. 13 * When the processor tries to access the data page that does not exist 14 in any page frames, a page fault occurs. The paging code then brings in 15 the corresponding data page from backing store into physical memory if 16 there is a free page frame. If there is no more free page frames, 17 the eviction algorithm is invoked to select a data page to be paged out, 18 thus freeing up a page frame for new data to be paged in. If this data 19 page has been modified after it is first paged in, the data will be [all …]
|
/Zephyr-latest/samples/drivers/soc_flash_nand/src/ |
D | main.c | 26 struct flash_pages_info page; in main() local 48 ret = flash_get_page_info_by_offs(nand_dev, 0x00, &page); in main() 54 printk("The Page size of %lx\n", page.size); in main() 56 w_Page_buffer = (uint8_t *)k_malloc(page.size * NAND_NUM_PAGES); in main() 58 r_Page_buffer = (uint8_t *)k_malloc(page.size * NAND_NUM_PAGES); in main() 62 for (int index = 0; index < page.size * NAND_NUM_PAGES; index++) { in main() 72 memset(r_Page_buffer, 0x55, page.size * NAND_NUM_PAGES); in main() 89 ret = flash_write(nand_dev, OFFSET_PAGE, w_Page_buffer, page.size * NAND_NUM_PAGES); in main() 98 ret = flash_read(nand_dev, OFFSET_PAGE, r_Page_buffer, page.size * NAND_NUM_PAGES); in main() 108 ret = memcmp(w_Page_buffer, r_Page_buffer, page.size * NAND_NUM_PAGES); in main() [all …]
|
/Zephyr-latest/drivers/flash/ |
D | flash_stm32g0x.c | 110 int page; in erase_page() local 131 page = offset / STM32G0_FLASH_PAGE_SIZE; in erase_page() 137 if ((page >= STM32G0_PAGES_PER_BANK) != swap_enabled) { in erase_page() 138 page = (page % STM32G0_PAGES_PER_BANK) + STM32G0_BANK2_START_PAGE_NR; in erase_page() 140 LOG_DBG("Erase page %d on bank 2", page); in erase_page() 142 page = page % STM32G0_PAGES_PER_BANK; in erase_page() 144 LOG_DBG("Erase page %d on bank 1", page); in erase_page() 151 tmp |= ((page << FLASH_CR_PNB_Pos) & FLASH_CR_PNB_Msk); in erase_page()
|
D | flash_stm32g4x.c | 153 int page; in erase_page() local 175 page = offset / FLASH_PAGE_SIZE; in erase_page() 176 LOG_DBG("Erase page %d on bank 1", page); in erase_page() 180 page = (offset - BANK2_OFFSET) / FLASH_PAGE_SIZE; in erase_page() 181 LOG_DBG("Erase page %d on bank 1", page); in erase_page() 185 page = offset / FLASH_PAGE_SIZE; in erase_page() 186 LOG_DBG("Erase page %d on bank 2", page); in erase_page() 190 page = (offset - BANK2_OFFSET) / FLASH_PAGE_SIZE; in erase_page() 191 LOG_DBG("Erase page %d on bank 2", page); in erase_page() 197 page = offset / FLASH_PAGE_SIZE; in erase_page() [all …]
|
D | flash_stm32l5x.c | 229 int page; in erase_page() local 252 page = offset / FLASH_PAGE_SIZE; in erase_page() 253 LOG_DBG("Erase page %d on bank 1", page); in erase_page() 257 page = (offset - BANK2_OFFSET) / FLASH_PAGE_SIZE; in erase_page() 258 LOG_DBG("Erase page %d on bank 1", page); in erase_page() 262 page = offset / FLASH_PAGE_SIZE; in erase_page() 263 LOG_DBG("Erase page %d on bank 2", page); in erase_page() 267 page = (offset - BANK2_OFFSET) / FLASH_PAGE_SIZE; in erase_page() 268 LOG_DBG("Erase page %d on bank 2", page); in erase_page() 274 page = offset / FLASH_PAGE_SIZE_128_BITS; in erase_page() [all …]
|
/Zephyr-latest/subsys/bluetooth/mesh/shell/ |
D | large_comp_data.c | 25 "%s [0x%04x]: page: %u offset: %u total size: %u", msg, addr, rsp->page, in status_print() 36 uint8_t page; in cmd_large_comp_data_get() local 42 page = shell_strtoul(argv[1], 0, &err); in cmd_large_comp_data_get() 51 bt_mesh_shell_target_ctx.dst, page, offset, &rsp); in cmd_large_comp_data_get() 63 uint8_t page; in cmd_models_metadata_get() local 69 page = shell_strtoul(argv[1], 0, &err); in cmd_models_metadata_get() 78 bt_mesh_shell_target_ctx.dst, page, offset, &rsp); in cmd_models_metadata_get()
|
/Zephyr-latest/subsys/demand_paging/eviction/ |
D | Kconfig | 20 bool "Not Recently Used (NRU) page eviction algorithm" 22 This implements a Not Recently Used page eviction algorithm. 24 When a page frame needs to be evicted, the algorithm will prefer to 25 evict page frames using an ascending order of priority: 33 bool "Least Recently Used (LRU) page eviction algorithm" 36 This implements a Least Recently Used page eviction algorithm. 39 the page eviction queue. This is more efficient than the NRU 41 one page at a time and only when there is a page eviction request. 51 pages that are capable of being paged out. At eviction time, if a page 59 Selected by eviction algorithms which needs page tracking and need to
|
/Zephyr-latest/doc/hardware/arch/ |
D | x86.rst | 9 This page contains information on certain aspects when developing for 15 During very early boot, page tables are loaded so technically the kernel 36 possible as the page table generation script 38 at the page directory level, in addition to mapping virtual addresses 40 the entries for identity mapping at the page directory level are 45 is done at the page directory level, there is no need to allocate 46 additional space for the page table. However, additional space may 47 still be required for additional page directory table. 52 required as the entries in page directory table will be cleared. 79 The page table generation script (:file:`arch/x86/gen_mmu.py`) generates [all …]
|
/Zephyr-latest/doc/ |
D | 404.rst | 14 Sorry, the page you requested was not found on this site. 20 document.write("<p>Sorry, the page you requested: " + 24 document.write("<p>Sorry, the page you requested was not found on this site.</p>") 31 It's also possible we've removed or renamed the page you're looking for. 33 Please try using the navigation links on the left of this page to navigate
|
/Zephyr-latest/samples/subsys/usb/webusb/ |
D | README.rst | 5 Receive and echo data from a web page using WebUSB API. 18 based web application (web page) running in the browser at host. 44 This sample application requires the latest Google Chrome, a web page 46 http server running on localhost to serve the web page. 49 only to secure origins. This means the web page/site that is used to 56 #. Implement a web app (web page) using WebUSB API and run 62 This sample web page demonstrates how to create and use a WebUSB 66 There are two ways to access this sample page: 70 * Host the demo page locally: Start a web server 83 to open demo page. [all …]
|
/Zephyr-latest/arch/xtensa/core/ |
D | README_MMU.txt | 23 and data spaces, but the hardware page table refill mechanism (see 47 extremely confusing) "page table" format. The simplest was to begin 53 10 bits with the bottom two bits set to zero" (i.e. the page frame 59 memory fetch vs. e.g. the 2-5 fetches required to walk a page table on 64 physical address. Which means that the page tables occupy a 4M region 70 contains the 1024 PTE entries for the 4M page table itself, pointed to 73 Obviously, the page table memory being virtual means that the fetch 74 can fail: there are 1024 possible pages in a complete page table 77 page translation we want (NOT for the original requested address, we 84 an entry for the page table page we want. And the simplest way to do [all …]
|
/Zephyr-latest/dts/arm/gd/gd32l23x/ |
D | gd32l233rc.dtsi | 36 /* GD32L23X DataSheet not defined the maximum page erase time 38 * From other GD32 DataSheets, we can find 1KB page normally have a 41 * time to 4 times of 1KB page. 44 page-size = <DT_SIZE_K(4)>;
|
/Zephyr-latest/include/zephyr/bluetooth/mesh/ |
D | large_comp_data_cli.h | 27 uint8_t page; member 113 int bt_mesh_large_comp_data_get(uint16_t net_idx, uint16_t addr, uint8_t page, 137 int bt_mesh_models_metadata_get(uint16_t net_idx, uint16_t addr, uint8_t page,
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/tests_scripts/large_comp_data/ |
D | get_comp128_data_split.sh | 24 lcd_srv_comp_data_status_respond lcd_cli_split_comp_data_request -- -argstest page=128 28 lcd_srv_comp_data_status_respond lcd_cli_split_comp_data_request -- -argstest page=128
|
D | get_comp129_data_split.sh | 24 lcd_srv_comp_data_status_respond lcd_cli_split_comp_data_request -- -argstest page=129 28 lcd_srv_comp_data_status_respond lcd_cli_split_comp_data_request -- -argstest page=129
|
D | get_comp130_data_split.sh | 24 lcd_srv_comp_data_status_respond lcd_cli_split_comp_data_request -- -argstest page=130 28 lcd_srv_comp_data_status_respond lcd_cli_split_comp_data_request -- -argstest page=130
|
D | get_comp2_data_split.sh | 24 lcd_srv_comp_data_status_respond lcd_cli_split_comp_data_request -- -argstest page=2 28 lcd_srv_comp_data_status_respond lcd_cli_split_comp_data_request -- -argstest page=2
|
D | get_comp0_data_split.sh | 24 lcd_srv_comp_data_status_respond lcd_cli_split_comp_data_request -- -argstest page=0 28 lcd_srv_comp_data_status_respond lcd_cli_split_comp_data_request -- -argstest page=0
|
D | get_comp1_data_split.sh | 24 lcd_srv_comp_data_status_respond lcd_cli_split_comp_data_request -- -argstest page=1 28 lcd_srv_comp_data_status_respond lcd_cli_split_comp_data_request -- -argstest page=1
|
D | get_comp0_data_split_dfu.sh | 26 lcd_cli_split_comp_data_request -- -argstest page=0 comp-changed-mode=1 31 lcd_cli_split_comp_data_request -- -argstest page=0 comp-changed-mode=1
|
D | get_comp128_data_split_dfu.sh | 26 lcd_cli_split_comp_data_request -- -argstest page=128 comp-changed-mode=1 31 lcd_cli_split_comp_data_request -- -argstest page=128 comp-changed-mode=1
|
D | get_comp129_data_split_dfu.sh | 26 lcd_cli_split_comp_data_request -- -argstest page=129 comp-changed-mode=1 31 lcd_cli_split_comp_data_request -- -argstest page=129 comp-changed-mode=1
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/ |
D | test_lcd.c | 189 ASSERT_EQUAL(page_local, srv_rsp->page); in verify_status_fields() 201 struct net_buf_simple *local_data, uint8_t page, in rsp_equals_local_data_assert() argument 207 verify_status_fields(srv_rsp, page, offset, total_size); in rsp_equals_local_data_assert() 236 uint8_t page = 0; in test_cli_max_sdu_comp_data_request() local 266 ASSERT_OK(bt_mesh_large_comp_data_get(0, SRV_ADDR, page, offset, &srv_rsp)); in test_cli_max_sdu_comp_data_request() 268 rsp_equals_local_data_assert(SRV_ADDR, &srv_rsp, &local_comp, page, offset, total_size, in test_cli_max_sdu_comp_data_request() 335 uint8_t page = 0; in test_cli_max_sdu_metadata_request() local 365 ASSERT_OK(bt_mesh_models_metadata_get(0, SRV_ADDR, page, offset, &srv_rsp)); in test_cli_max_sdu_metadata_request() 367 rsp_equals_local_data_assert(SRV_ADDR, &srv_rsp, &local_metadata, page, offset, total_size, in test_cli_max_sdu_metadata_request() 375 uint8_t page = 0; in test_cli_split_metadata_request() local [all …]
|