Home
last modified time | relevance | path

Searched refs:pf (Results 1 – 17 of 17) sorted by relevance

/Zephyr-Core-3.7.0/kernel/include/
Dmmu.h193 static inline bool k_mem_page_frame_is_free(struct k_mem_page_frame *pf) in k_mem_page_frame_is_free() argument
195 return (pf->va_and_flags & K_MEM_PAGE_FRAME_FREE) != 0U; in k_mem_page_frame_is_free()
198 static inline bool k_mem_page_frame_is_pinned(struct k_mem_page_frame *pf) in k_mem_page_frame_is_pinned() argument
200 return (pf->va_and_flags & K_MEM_PAGE_FRAME_PINNED) != 0U; in k_mem_page_frame_is_pinned()
203 static inline bool k_mem_page_frame_is_reserved(struct k_mem_page_frame *pf) in k_mem_page_frame_is_reserved() argument
205 return (pf->va_and_flags & K_MEM_PAGE_FRAME_RESERVED) != 0U; in k_mem_page_frame_is_reserved()
208 static inline bool k_mem_page_frame_is_mapped(struct k_mem_page_frame *pf) in k_mem_page_frame_is_mapped() argument
210 return (pf->va_and_flags & K_MEM_PAGE_FRAME_MAPPED) != 0U; in k_mem_page_frame_is_mapped()
213 static inline bool k_mem_page_frame_is_busy(struct k_mem_page_frame *pf) in k_mem_page_frame_is_busy() argument
215 return (pf->va_and_flags & K_MEM_PAGE_FRAME_BUSY) != 0U; in k_mem_page_frame_is_busy()
[all …]
/Zephyr-Core-3.7.0/kernel/
Dmmu.c82 static void page_frame_dump(struct k_mem_page_frame *pf) in page_frame_dump() argument
84 if (k_mem_page_frame_is_free(pf)) { in page_frame_dump()
87 } else if (k_mem_page_frame_is_reserved(pf)) { in page_frame_dump()
90 } else if (k_mem_page_frame_is_busy(pf)) { in page_frame_dump()
93 } else if (k_mem_page_frame_is_pinned(pf)) { in page_frame_dump()
96 } else if (k_mem_page_frame_is_available(pf)) { in page_frame_dump()
99 } else if (k_mem_page_frame_is_mapped(pf)) { in page_frame_dump()
117 struct k_mem_page_frame *pf = &k_mem_page_frames[i]; in k_mem_page_frames_dump() local
119 page_frame_dump(pf); in k_mem_page_frames_dump()
394 #define PF_ASSERT(pf, expr, fmt, ...) \ argument
[all …]
/Zephyr-Core-3.7.0/subsys/demand_paging/eviction/
Dnru.c30 struct k_mem_page_frame *pf; in nru_periodic_update() local
33 K_MEM_PAGE_FRAME_FOREACH(phys, pf) { in nru_periodic_update()
34 if (!k_mem_page_frame_is_evictable(pf)) { in nru_periodic_update()
39 (void)arch_page_info_get(k_mem_page_frame_to_virt(pf), in nru_periodic_update()
49 struct k_mem_page_frame *last_pf = NULL, *pf; in k_mem_paging_eviction_select() local
61 pf = &k_mem_page_frames[pf_idx]; in k_mem_paging_eviction_select()
66 if (!k_mem_page_frame_is_evictable(pf)) { in k_mem_paging_eviction_select()
70 flags = arch_page_info_get(k_mem_page_frame_to_virt(pf), NULL, false); in k_mem_paging_eviction_select()
85 last_pf = pf; in k_mem_paging_eviction_select()
92 last_pf = pf; in k_mem_paging_eviction_select()
[all …]
Dlru.c69 static inline uint32_t pf_to_idx(struct k_mem_page_frame *pf) in pf_to_idx() argument
71 return (pf - k_mem_page_frames) + 1; in pf_to_idx()
116 struct k_mem_page_frame *pf = idx_to_pf(LRU_PF_HEAD); in lru_pf_remove() local
117 uintptr_t flags = arch_page_info_get(k_mem_page_frame_to_virt(pf), NULL, true); in lru_pf_remove()
125 void k_mem_paging_eviction_add(struct k_mem_page_frame *pf) in k_mem_paging_eviction_add() argument
127 uint32_t pf_idx = pf_to_idx(pf); in k_mem_paging_eviction_add()
130 __ASSERT(k_mem_page_frame_is_evictable(pf), ""); in k_mem_paging_eviction_add()
136 void k_mem_paging_eviction_remove(struct k_mem_page_frame *pf) in k_mem_paging_eviction_remove() argument
138 uint32_t pf_idx = pf_to_idx(pf); in k_mem_paging_eviction_remove()
148 struct k_mem_page_frame *pf = k_mem_phys_to_page_frame(phys); in k_mem_paging_eviction_accessed() local
[all …]
/Zephyr-Core-3.7.0/include/zephyr/kernel/mm/
Ddemand_paging.h233 void k_mem_paging_eviction_add(struct k_mem_page_frame *pf);
248 void k_mem_paging_eviction_remove(struct k_mem_page_frame *pf);
336 int k_mem_paging_backing_store_location_get(struct k_mem_page_frame *pf,
398 void k_mem_paging_backing_store_page_finalize(struct k_mem_page_frame *pf,
/Zephyr-Core-3.7.0/subsys/demand_paging/backing_store/
Dbacking_store_qemu_x86_tiny.c43 int k_mem_paging_backing_store_location_get(struct k_mem_page_frame *pf, in k_mem_paging_backing_store_location_get() argument
48 *location = POINTER_TO_UINT(k_mem_page_frame_to_virt(pf)); in k_mem_paging_backing_store_location_get()
70 void k_mem_paging_backing_store_page_finalize(struct k_mem_page_frame *pf, in k_mem_paging_backing_store_page_finalize() argument
Dram.c85 int k_mem_paging_backing_store_location_get(struct k_mem_page_frame *pf, in k_mem_paging_backing_store_location_get() argument
127 void k_mem_paging_backing_store_page_finalize(struct k_mem_page_frame *pf, in k_mem_paging_backing_store_page_finalize() argument
/Zephyr-Core-3.7.0/soc/intel/intel_socfpga_std/cyclonev/
Dsoc.c32 struct k_mem_page_frame *pf = k_mem_phys_to_page_frame(pos); in arch_reserved_pages_update() local
34 k_mem_page_frame_set(pf, K_MEM_PAGE_FRAME_RESERVED); in arch_reserved_pages_update()
/Zephyr-Core-3.7.0/drivers/display/
Dssd1306.c64 enum display_pixel_format pf; member
358 caps->current_pixel_format = data->pf; in ssd1306_get_capabilities()
364 const enum display_pixel_format pf) in ssd1306_set_pixel_format() argument
370 if (pf == data->pf) { in ssd1306_set_pixel_format()
374 if (pf == PIXEL_FORMAT_MONO10) { in ssd1306_set_pixel_format()
376 } else if (pf == PIXEL_FORMAT_MONO01) { in ssd1306_set_pixel_format()
388 data->pf = pf; in ssd1306_set_pixel_format()
404 data->pf = config->color_inversion ? PIXEL_FORMAT_MONO10 : PIXEL_FORMAT_MONO01; in ssd1306_init_device()
Dls0xx.c218 const enum display_pixel_format pf) in ls0xx_set_pixel_format() argument
220 if (pf == PIXEL_FORMAT_MONO01) { in ls0xx_set_pixel_format()
Duc81xx.c481 const enum display_pixel_format pf) in uc81xx_set_pixel_format() argument
483 if (pf == PIXEL_FORMAT_MONO10) { in uc81xx_set_pixel_format()
Dssd16xx.c578 const enum display_pixel_format pf) in ssd16xx_set_pixel_format() argument
580 if (pf == PIXEL_FORMAT_MONO10) { in ssd16xx_set_pixel_format()
/Zephyr-Core-3.7.0/subsys/bluetooth/host/classic/
Drfcomm_internal.h156 #define BT_RFCOMM_SET_CTRL(type, pf) (((type) & 0xef) | ((pf) << 4)) argument
Drfcomm.c1409 struct net_buf *buf, uint8_t dlci, uint8_t pf) in rfcomm_handle_data() argument
1414 LOG_DBG("dlci %d, pf %d", dlci, pf); in rfcomm_handle_data()
1429 if (pf == BT_RFCOMM_PF_UIH_CREDIT) { in rfcomm_handle_data()
/Zephyr-Core-3.7.0/subsys/modem/
Dmodem_cmux.c133 frame->cr, frame->pf, modem_cmux_frame_type_to_str(frame->type), frame->data_len); in modem_cmux_log_frame()
285 buf[2] = frame->type | (frame->pf << 4); in modem_cmux_transmit_frame()
517 .pf = cmux->frame.pf, in modem_cmux_connect_response_transmit()
777 cmux->frame.pf = (byte & MODEM_CMUX_PF) ? true : false; in modem_cmux_process_received_byte()
998 .pf = true, in modem_cmux_connect_handler()
1027 .pf = false, in modem_cmux_disconnect_handler()
1106 .pf = false, in modem_cmux_dlci_pipe_api_transmit()
1181 .pf = true, in modem_cmux_dlci_open_handler()
1210 .pf = true, in modem_cmux_dlci_close_handler()
/Zephyr-Core-3.7.0/subsys/net/pkt_filter/
Dbase.c52 static struct npf_rule_list *get_ip_rules(uint8_t pf) in get_ip_rules() argument
54 switch (pf) { in get_ip_rules()
/Zephyr-Core-3.7.0/include/zephyr/modem/
Dcmux.h116 bool pf; member