/Zephyr-latest/subsys/demand_paging/backing_store/ |
D | ram.c | 59 static void *location_to_slab(uintptr_t location) in location_to_slab() argument 61 __ASSERT(location % CONFIG_MMU_PAGE_SIZE == 0, in location_to_slab() 62 "unaligned location 0x%lx", location); in location_to_slab() 63 __ASSERT(location < in location_to_slab() 65 "bad location 0x%lx, past bounds of backing store", location); in location_to_slab() 67 return backing_store + location; in location_to_slab() 86 uintptr_t *location, in k_mem_paging_backing_store_location_get() argument 101 *location = slab_to_location(slab); in k_mem_paging_backing_store_location_get() 107 void k_mem_paging_backing_store_location_free(uintptr_t location) in k_mem_paging_backing_store_location_free() argument 109 void *slab = location_to_slab(location); in k_mem_paging_backing_store_location_free() [all …]
|
D | backing_store_qemu_x86_tiny.c | 25 void *location_to_flash(uintptr_t location) in location_to_flash() argument 27 uintptr_t ptr = location; in location_to_flash() 44 uintptr_t *location, 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() 53 void k_mem_paging_backing_store_location_free(uintptr_t location) in k_mem_paging_backing_store_location_free() argument 58 void k_mem_paging_backing_store_page_out(uintptr_t location) in k_mem_paging_backing_store_page_out() argument 60 (void)memcpy(location_to_flash(location), K_MEM_SCRATCH_PAGE, in k_mem_paging_backing_store_page_out() 64 void k_mem_paging_backing_store_page_in(uintptr_t location) in k_mem_paging_backing_store_page_in() argument 66 (void)memcpy(K_MEM_SCRATCH_PAGE, location_to_flash(location), in k_mem_paging_backing_store_page_in() 71 uintptr_t location) in k_mem_paging_backing_store_page_finalize() argument
|
D | backing_store_ondemand_semihost.c | 19 uintptr_t *location, in k_mem_paging_backing_store_location_get() argument 24 k_mem_page_frame_to_virt(pf), location); in k_mem_paging_backing_store_location_get() 31 void k_mem_paging_backing_store_location_free(uintptr_t location) in k_mem_paging_backing_store_location_free() argument 35 void k_mem_paging_backing_store_page_out(uintptr_t location) in k_mem_paging_backing_store_page_out() argument 41 void k_mem_paging_backing_store_page_in(uintptr_t location) in k_mem_paging_backing_store_page_in() argument 45 if (semihost_seek(semih_fd, (long)location) != 0 || in k_mem_paging_backing_store_page_in() 52 uintptr_t location) in k_mem_paging_backing_store_page_finalize() argument 57 int k_mem_paging_backing_store_location_query(void *addr, uintptr_t *location) in k_mem_paging_backing_store_location_query() argument 64 *location = file_offset; in k_mem_paging_backing_store_location_query()
|
/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | lwm2m_obj_location.c | 45 static struct lwm2m_engine_obj location; variable 96 location.obj_id = LWM2M_OBJECT_LOCATION_ID; in ipso_location_init() 97 location.version_major = LOCATION_VERSION_MAJOR; in ipso_location_init() 98 location.version_minor = LOCATION_VERSION_MINOR; in ipso_location_init() 99 location.is_core = true; in ipso_location_init() 100 location.fields = fields; in ipso_location_init() 101 location.field_count = ARRAY_SIZE(fields); in ipso_location_init() 102 location.max_instance_count = 1U; in ipso_location_init() 103 location.create_cb = location_create; in ipso_location_init() 104 lwm2m_register_obj(&location); in ipso_location_init()
|
/Zephyr-latest/boards/silabs/starter_kits/slstk3701a/ |
D | slstk3701a.dts | 78 location-rx = <GECKO_LOCATION(18) GECKO_PORT_D GECKO_PIN(11)>; 79 location-tx = <GECKO_LOCATION(18) GECKO_PORT_D GECKO_PIN(10)>; 107 location-swo = <0>; 158 location-mdio = <GECKO_LOCATION(1)>; 159 location-phy_mdc = <GECKO_LOCATION(1) GECKO_PORT_D GECKO_PIN(14)>; 160 location-phy_mdio = <GECKO_LOCATION(1) GECKO_PORT_D GECKO_PIN(13)>; 163 location-rmii = <GECKO_LOCATION(1)>; 164 location-rmii_refclk = <GECKO_LOCATION(5) GECKO_PORT_D GECKO_PIN(10)>; 165 location-rmii_crs_dv = <GECKO_LOCATION(1) GECKO_PORT_D GECKO_PIN(11)>; 166 location-rmii_txd0 = <GECKO_LOCATION(1) GECKO_PORT_F GECKO_PIN(7)>; [all …]
|
/Zephyr-latest/boards/silabs/radio_boards/slwrb4321a/ |
D | slwrb4321a.dts | 94 location-swo = <0>; 127 location-mdio = <GECKO_LOCATION(3)>; 128 location-phy_mdc = <GECKO_LOCATION(3) GECKO_PORT_A GECKO_PIN(6)>; 129 location-phy_mdio = <GECKO_LOCATION(3) GECKO_PORT_A GECKO_PIN(15)>; 132 location-rmii = <GECKO_LOCATION(0)>; 133 location-rmii_refclk = <GECKO_LOCATION(0) GECKO_PORT_A GECKO_PIN(3)>; 134 location-rmii_crs_dv = <GECKO_LOCATION(0) GECKO_PORT_A GECKO_PIN(4)>; 135 location-rmii_txd0 = <GECKO_LOCATION(0) GECKO_PORT_E GECKO_PIN(15)>; 136 location-rmii_txd1 = <GECKO_LOCATION(0) GECKO_PORT_E GECKO_PIN(14)>; 137 location-rmii_tx_en = <GECKO_LOCATION(0) GECKO_PORT_A GECKO_PIN(0)>; [all …]
|
/Zephyr-latest/include/zephyr/kernel/mm/ |
D | demand_paging.h | 358 uintptr_t *location, 371 void k_mem_paging_backing_store_location_free(uintptr_t location); 387 int k_mem_paging_backing_store_location_query(void *addr, uintptr_t *location); 400 void k_mem_paging_backing_store_page_out(uintptr_t location); 413 void k_mem_paging_backing_store_page_in(uintptr_t location); 436 uintptr_t location);
|
/Zephyr-latest/boards/silabs/dev_kits/sltb004a/ |
D | sltb004a.dts | 89 location-rx = <GECKO_LOCATION(30) GECKO_PORT_K GECKO_PIN(2)>; 90 location-tx = <GECKO_LOCATION(29) GECKO_PORT_K GECKO_PIN(0)>; 91 location-clk = <GECKO_LOCATION(18) GECKO_PORT_F GECKO_PIN(7)>; 114 location-rx = <GECKO_LOCATION(27) GECKO_PORT_F GECKO_PIN(4)>; 115 location-tx = <GECKO_LOCATION(27) GECKO_PORT_F GECKO_PIN(3)>; 161 location-sda = <GECKO_LOCATION(17) GECKO_PORT_C GECKO_PIN(4)>; 162 location-scl = <GECKO_LOCATION(17) GECKO_PORT_C GECKO_PIN(5)>; 167 location-sda = <GECKO_LOCATION(8) GECKO_PORT_B GECKO_PIN(8)>; 168 location-scl = <GECKO_LOCATION(8) GECKO_PORT_B GECKO_PIN(9)>; 182 pin-location = <GECKO_LOCATION(17) GECKO_PORT_D GECKO_PIN(9)>; [all …]
|
/Zephyr-latest/include/zephyr/bluetooth/audio/ |
D | vocs.h | 75 uint32_t location; member 185 uint32_t location); 225 bt_vocs_location_cb location; member 285 int bt_vocs_location_set(struct bt_vocs *inst, uint32_t location);
|
/Zephyr-latest/subsys/bluetooth/audio/ |
D | vocs.c | 116 notify(inst, NOTIFY_LOCATION, BT_UUID_VOCS_LOCATION, &inst->location, in notify_work_handler() 117 sizeof(inst->location)); in notify_work_handler() 144 if (len != sizeof(inst->location)) { in write_location() 155 if (new_location != inst->location) { in write_location() 156 inst->location = new_location; in write_location() 160 if (inst->cb && inst->cb->location) { in write_location() 161 inst->cb->location(&inst->vocs, 0, inst->location); in write_location() 174 LOG_DBG("0x%08x", inst->location); in read_location() 175 return bt_gatt_attr_read(conn, attr, buf, len, offset, &inst->location, in read_location() 176 sizeof(inst->location)); in read_location() [all …]
|
D | vocs_internal.h | 58 uint32_t location; member 90 uint32_t location; member 104 int bt_vocs_client_location_set(struct bt_vocs_client *inst, uint32_t location);
|
D | vocs_client.c | 107 if (length == sizeof(inst->location)) { in vocs_client_notify_handler() 108 memcpy(&inst->location, data, length); in vocs_client_notify_handler() 109 LOG_DBG("Inst %p: Location %u", inst, inst->location); in vocs_client_notify_handler() 110 if (inst->cb && inst->cb->location) { in vocs_client_notify_handler() 111 inst->cb->location(&inst->vocs, 0, inst->location); in vocs_client_notify_handler() 182 if (length == sizeof(inst->location)) { in vocs_client_read_location_cb() 183 memcpy(&inst->location, data, length); in vocs_client_read_location_cb() 184 LOG_DBG("Location %u", inst->location); in vocs_client_read_location_cb() 187 sizeof(inst->location)); in vocs_client_read_location_cb() 195 if (inst->cb && inst->cb->location) { in vocs_client_read_location_cb() [all …]
|
D | pacs.c | 399 uint32_t location = sys_cpu_to_le32(pacs_snk_location); in snk_loc_read() local 403 return bt_gatt_attr_read(conn, attr, buf, len, offset, &location, in snk_loc_read() 404 sizeof(location)); in snk_loc_read() 430 static void set_snk_location(enum bt_audio_location location) in set_snk_location() argument 441 enum bt_audio_location location; in snk_loc_write() local 447 if (len != sizeof(location)) { in snk_loc_write() 451 location = (enum bt_audio_location)sys_get_le32(data); in snk_loc_write() 452 if (location > BT_AUDIO_LOCATION_MASK) { in snk_loc_write() 453 LOG_DBG("Invalid location value: 0x%08X", location); in snk_loc_write() 457 set_snk_location(location); in snk_loc_write() [all …]
|
/Zephyr-latest/boards/nxp/frdm_mcxn947/ |
D | board.cmake | 12 board_runner_args(linkserver "--override=/device/memory/1/location=0x10000000") 15 board_runner_args(linkserver "--override=/device/memory/-=\{\"location\":\"0x30000000\",\ 17 board_runner_args(linkserver "--override=/device/memory/-=\{\"location\":\"0x30060000\",\ 20 board_runner_args(linkserver "--override=/device/memory/-=\{\"location\":\"0x50000000\",\
|
/Zephyr-latest/samples/boards/intel/adsp/code_relocation/ |
D | README.rst | 33 main location: 0xbe0105e4 35 Relocated code! reloc location 0xbe008010 36 maybe_bss location: 0x9e004218 maybe_bss value: 0
|
/Zephyr-latest/drivers/mm/ |
D | mm_drv_intel_adsp_mtl_tlb.c | 820 uint8_t *location = (uint8_t *) storage_buffer; in adsp_mm_save_context() local 823 memcpy(location, UINT_TO_POINTER(TLB_BASE), TLB_SIZE); in adsp_mm_save_context() 824 location += TLB_SIZE; in adsp_mm_save_context() 865 *((uint32_t *) location) = phys_addr; in adsp_mm_save_context() 866 location += sizeof(uint32_t); in adsp_mm_save_context() 869 memcpy(location, in adsp_mm_save_context() 872 location += CONFIG_MM_DRV_PAGE_SIZE; in adsp_mm_save_context() 876 *((uint32_t *) location) = 0; in adsp_mm_save_context() 877 location += sizeof(uint32_t); in adsp_mm_save_context() 881 (uint32_t)location - (uint32_t)storage_buffer); in adsp_mm_save_context() [all …]
|
/Zephyr-latest/boards/silabs/dev_kits/sltb009a/ |
D | sltb009a.dts | 69 location-rx = <GECKO_LOCATION(0) GECKO_PORT_B GECKO_PIN(8)>; 70 location-tx = <GECKO_LOCATION(0) GECKO_PORT_B GECKO_PIN(7)>; 76 location-rx = <GECKO_LOCATION(1) GECKO_PORT_B GECKO_PIN(14)>; 77 location-tx = <GECKO_LOCATION(1) GECKO_PORT_B GECKO_PIN(13)>; 109 location-swo = <0>;
|
/Zephyr-latest/boards/nxp/frdm_mcxn236/ |
D | board.cmake | 11 board_runner_args(linkserver "--override=/device/memory/1/location=0x10000000") 14 board_runner_args(linkserver "--override=/device/memory/-=\{\"location\":\"0x30000000\",\ 17 board_runner_args(linkserver "--override=/device/memory/-=\{\"location\":\"0x50000000\",\
|
/Zephyr-latest/kernel/include/ |
D | kernel_arch_interface.h | 400 void arch_mem_page_out(void *addr, uintptr_t location); 478 enum arch_page_location arch_page_location_get(void *addr, uintptr_t *location); 563 uintptr_t arch_page_info_get(void *addr, uintptr_t *location,
|
/Zephyr-latest/drivers/pwm/ |
D | pwm_gecko.c | 21 uint8_t location; member 39 cfg->location << _TIMER_ROUTE_LOCATION_SHIFT); in pwm_gecko_set_cycles() 45 cfg->location << (channel * _TIMER_ROUTELOC0_CC1LOC_SHIFT)); in pwm_gecko_set_cycles() 107 .location = DT_INST_PROP_BY_IDX(index, pin_location, 0), \
|
/Zephyr-latest/include/zephyr/kernel/ |
D | mm.h | 236 static inline void *k_mem_map_unpaged(uintptr_t location, size_t size, uint32_t flags) in k_mem_map_unpaged() argument 239 return k_mem_map_phys_guard(location, size, flags, false); in k_mem_map_unpaged()
|
/Zephyr-latest/kernel/ |
D | mmu.c | 507 static inline void do_backing_store_page_in(uintptr_t location); 508 static inline void do_backing_store_page_out(uintptr_t location); 529 uintptr_t location; in map_anon_page() local 538 ret = page_frame_prepare_locked(pf, &dirty, false, &location); in map_anon_page() 543 do_backing_store_page_out(location); in map_anon_page() 724 uintptr_t location; in k_mem_unmap_phys_guard() local 726 status = arch_page_location_get(pos, &location); in k_mem_unmap_phys_guard() 735 k_mem_paging_backing_store_location_free(location); in k_mem_unmap_phys_guard() 745 phys = location; in k_mem_unmap_phys_guard() 1060 uintptr_t location; in z_paging_ondemand_section_map() local [all …]
|
/Zephyr-latest/boards/silabs/starter_kits/slstk3402a/ |
D | slstk3402a_common.dtsi | 82 location-rx = <GECKO_LOCATION(18) GECKO_PORT_D GECKO_PIN(11)>; 83 location-tx = <GECKO_LOCATION(18) GECKO_PORT_D GECKO_PIN(10)>; 103 pin-location = <GECKO_LOCATION(28) GECKO_PORT_F GECKO_PIN(4)>; 109 location-swo = <0>;
|
/Zephyr-latest/soc/nxp/common/ |
D | Kconfig.flexspi_xip | 41 prompt "Flexspi drivers memory location" 44 Select the location to run the FlexSPI drivers when using
|
/Zephyr-latest/boards/silabs/starter_kits/slstk3401a/ |
D | slstk3401a-common.dtsi | 71 location-rx = <GECKO_LOCATION(18) GECKO_PORT_D GECKO_PIN(11)>; 72 location-tx = <GECKO_LOCATION(18) GECKO_PORT_D GECKO_PIN(10)>; 88 location-swo = <0>;
|