Home
last modified time | relevance | path

Searched refs:rom (Results 1 – 25 of 64) sorted by relevance

123

/Zephyr-Core-3.5.0/include/zephyr/linker/
Dcommon-rom.ld3 #include <zephyr/linker/common-rom/common-rom-kernel-devices.ld>
5 #include <zephyr/linker/common-rom/common-rom-ztest.ld>
7 #include <zephyr/linker/common-rom/common-rom-cpp.ld>
9 #include <zephyr/linker/common-rom/common-rom-net.ld>
11 #include <zephyr/linker/common-rom/common-rom-bt.ld>
13 #include <zephyr/linker/common-rom/common-rom-logging.ld>
15 #include <zephyr/linker/common-rom/common-rom-debug.ld>
17 #include <zephyr/linker/common-rom/common-rom-misc.ld>
/Zephyr-Core-3.5.0/include/zephyr/drivers/sensor/
Dw1_sensor.h43 static inline void w1_rom_to_sensor_value(const struct w1_rom *rom, in w1_rom_to_sensor_value() argument
46 val->val1 = sys_get_be64((uint8_t *)rom) & BIT64_MASK(32); in w1_rom_to_sensor_value()
47 val->val2 = sys_get_be64((uint8_t *)rom) >> 32; in w1_rom_to_sensor_value()
57 struct w1_rom *rom) in w1_sensor_value_to_rom() argument
61 sys_put_be64(temp64, (uint8_t *)rom); in w1_sensor_value_to_rom()
/Zephyr-Core-3.5.0/samples/drivers/w1/scanner/src/
Dmain.c14 void w1_search_callback(struct w1_rom rom, void *user_data) in w1_search_callback() argument
16 LOG_INF("Device found; family: 0x%02x, serial: 0x%016llx", rom.family, in w1_search_callback()
17 w1_rom_to_uint64(&rom)); in w1_search_callback()
/Zephyr-Core-3.5.0/modules/canopennode/
Dcanopen_storage.c158 struct sCO_OD_ROM rom; in canopen_settings_set() local
160 len = read_cb(cb_arg, &rom, sizeof(rom)); in canopen_settings_set()
166 if ((rom.FirstWord == CO_OD_FIRST_LAST_WORD) && in canopen_settings_set()
167 (rom.LastWord == CO_OD_FIRST_LAST_WORD)) { in canopen_settings_set()
168 memcpy(&CO_OD_ROM, &rom, sizeof(CO_OD_ROM)); in canopen_settings_set()
/Zephyr-Core-3.5.0/tests/kernel/device/src/
Dmmio.c63 struct z_device_mmio_rom *rom; in ZTEST() local
70 rom = DEVICE_MMIO_ROM_PTR(dev); in ZTEST()
84 zassert_equal(rom->phys_addr, DT_INST_REG_ADDR(0), "bad phys_addr"); in ZTEST()
85 zassert_equal(rom->size, DT_INST_REG_SIZE(0), "bad size"); in ZTEST()
91 zassert_equal(rom->addr, DT_INST_REG_ADDR(0), "bad addr"); in ZTEST()
92 zassert_equal(regs, rom->addr, "bad regs"); in ZTEST()
/Zephyr-Core-3.5.0/drivers/sensor/ds18b20/
Dds18b20.c152 if (w1_rom_to_uint64(&data->config.rom) == 0ULL) { in ds18b20_configure()
153 (void)w1_read_rom(cfg->bus, &data->config.rom); in ds18b20_configure()
155 } else if (w1_rom_to_uint64(&data->config.rom) == 0ULL) { in ds18b20_configure()
161 if ((cfg->family != 0) && (cfg->family != data->config.rom.family)) { in ds18b20_configure()
173 w1_rom_to_uint64(&data->config.rom)); in ds18b20_configure()
188 w1_sensor_value_to_rom(thr, &data->config.rom); in ds18b20_attr_set()
208 w1_uint64_to_rom(0ULL, &data->config.rom); in ds18b20_init()
/Zephyr-Core-3.5.0/soc/xtensa/espressif_esp32/esp32s2/
Dmcuboot.ld111 #include <zephyr/linker/common-rom/common-rom-cpp.ld>
112 #include <zephyr/linker/common-rom/common-rom-kernel-devices.ld>
113 #include <zephyr/linker/common-rom/common-rom-ztest.ld>
114 #include <zephyr/linker/common-rom/common-rom-net.ld>
115 #include <zephyr/linker/common-rom/common-rom-bt.ld>
116 #include <zephyr/linker/common-rom/common-rom-debug.ld>
117 #include <zephyr/linker/common-rom/common-rom-misc.ld>
145 #include <zephyr/linker/cplusplus-rom.ld>
150 #include <zephyr/linker/common-rom/common-rom-logging.ld>
Ddefault.ld189 #include <zephyr/linker/common-rom/common-rom-cpp.ld>
190 #include <zephyr/linker/common-rom/common-rom-kernel-devices.ld>
191 #include <zephyr/linker/common-rom/common-rom-ztest.ld>
192 #include <zephyr/linker/common-rom/common-rom-net.ld>
193 #include <zephyr/linker/common-rom/common-rom-debug.ld>
194 #include <zephyr/linker/common-rom/common-rom-misc.ld>
401 #include <zephyr/linker/cplusplus-rom.ld>
411 #include <zephyr/linker/common-rom/common-rom-logging.ld>
/Zephyr-Core-3.5.0/soc/xtensa/espressif_esp32/esp32s3/
Ddefault_appcpu.ld184 #include <zephyr/linker/common-rom/common-rom-cpp.ld>
185 #include <zephyr/linker/common-rom/common-rom-kernel-devices.ld>
186 #include <zephyr/linker/common-rom/common-rom-ztest.ld>
187 #include <zephyr/linker/common-rom/common-rom-net.ld>
188 #include <zephyr/linker/common-rom/common-rom-bt.ld>
189 #include <zephyr/linker/common-rom/common-rom-debug.ld>
190 #include <zephyr/linker/common-rom/common-rom-misc.ld>
238 #include <zephyr/linker/cplusplus-rom.ld>
248 #include <zephyr/linker/common-rom/common-rom-logging.ld>
Dmcuboot.ld107 #include <zephyr/linker/common-rom/common-rom-cpp.ld>
108 #include <zephyr/linker/common-rom/common-rom-kernel-devices.ld>
109 #include <zephyr/linker/common-rom/common-rom-debug.ld>
110 #include <zephyr/linker/common-rom/common-rom-misc.ld>
137 #include <zephyr/linker/cplusplus-rom.ld>
142 #include <zephyr/linker/common-rom/common-rom-logging.ld>
Ddefault.ld225 #include <zephyr/linker/common-rom/common-rom-cpp.ld>
226 #include <zephyr/linker/common-rom/common-rom-kernel-devices.ld>
227 #include <zephyr/linker/common-rom/common-rom-ztest.ld>
228 #include <zephyr/linker/common-rom/common-rom-net.ld>
229 #include <zephyr/linker/common-rom/common-rom-bt.ld>
230 #include <zephyr/linker/common-rom/common-rom-debug.ld>
231 #include <zephyr/linker/common-rom/common-rom-misc.ld>
465 #include <zephyr/linker/cplusplus-rom.ld>
475 #include <zephyr/linker/common-rom/common-rom-logging.ld>
/Zephyr-Core-3.5.0/include/zephyr/drivers/
Dw1.h454 struct w1_rom rom; member
469 typedef void (*w1_search_callback_t)(struct w1_rom rom, void *user_data);
488 int w1_read_rom(const struct device *dev, struct w1_rom *rom);
656 static inline uint64_t w1_rom_to_uint64(const struct w1_rom *rom) in w1_rom_to_uint64() argument
658 return sys_get_be64((uint8_t *)rom); in w1_rom_to_uint64()
667 static inline void w1_uint64_to_rom(const uint64_t rom64, struct w1_rom *rom) in w1_uint64_to_rom() argument
669 sys_put_be64(rom64, (uint8_t *)rom); in w1_uint64_to_rom()
/Zephyr-Core-3.5.0/soc/xtensa/espressif_esp32/esp32_net/
Dlinker.ld208 #include <zephyr/linker/common-rom/common-rom-cpp.ld>
209 #include <zephyr/linker/common-rom/common-rom-kernel-devices.ld>
210 #include <zephyr/linker/common-rom/common-rom-ztest.ld>
211 #include <zephyr/linker/common-rom/common-rom-net.ld>
212 #include <zephyr/linker/common-rom/common-rom-bt.ld>
213 #include <zephyr/linker/common-rom/common-rom-debug.ld>
214 #include <zephyr/linker/common-rom/common-rom-misc.ld>
268 #include <zephyr/linker/cplusplus-rom.ld>
278 #include <zephyr/linker/common-rom/common-rom-logging.ld>
/Zephyr-Core-3.5.0/soc/riscv/espressif_esp32/esp32c3/
Dmcuboot.ld113 #include <zephyr/linker/common-rom/common-rom-cpp.ld>
114 #include <zephyr/linker/common-rom/common-rom-kernel-devices.ld>
115 #include <zephyr/linker/common-rom/common-rom-debug.ld>
116 #include <zephyr/linker/common-rom/common-rom-misc.ld>
143 #include <zephyr/linker/cplusplus-rom.ld>
150 #include <zephyr/linker/common-rom/common-rom-logging.ld>
Ddefault.ld193 #include <zephyr/linker/common-rom/common-rom-cpp.ld>
194 #include <zephyr/linker/common-rom/common-rom-kernel-devices.ld>
195 #include <zephyr/linker/common-rom/common-rom-ztest.ld>
196 #include <zephyr/linker/common-rom/common-rom-net.ld>
197 #include <zephyr/linker/common-rom/common-rom-bt.ld>
198 #include <zephyr/linker/common-rom/common-rom-debug.ld>
199 #include <zephyr/linker/common-rom/common-rom-misc.ld>
352 #include <zephyr/linker/cplusplus-rom.ld>
363 #include <zephyr/linker/common-rom/common-rom-logging.ld>
/Zephyr-Core-3.5.0/soc/xtensa/espressif_esp32/esp32/
Dmcuboot.ld110 #include <zephyr/linker/common-rom/common-rom-cpp.ld>
111 #include <zephyr/linker/common-rom/common-rom-kernel-devices.ld>
112 #include <zephyr/linker/common-rom/common-rom-debug.ld>
113 #include <zephyr/linker/common-rom/common-rom-misc.ld>
141 #include <zephyr/linker/cplusplus-rom.ld>
146 #include <zephyr/linker/common-rom/common-rom-logging.ld>
Ddefault.ld217 #include <zephyr/linker/common-rom/common-rom-cpp.ld>
218 #include <zephyr/linker/common-rom/common-rom-kernel-devices.ld>
219 #include <zephyr/linker/common-rom/common-rom-ztest.ld>
220 #include <zephyr/linker/common-rom/common-rom-net.ld>
221 #include <zephyr/linker/common-rom/common-rom-bt.ld>
222 #include <zephyr/linker/common-rom/common-rom-debug.ld>
223 #include <zephyr/linker/common-rom/common-rom-misc.ld>
277 #include <zephyr/linker/cplusplus-rom.ld>
287 #include <zephyr/linker/common-rom/common-rom-logging.ld>
/Zephyr-Core-3.5.0/arch/common/
Drom_start_address.ld9 * snippets-rom-start.ld. This variable is used in rom_start_offset.ld
/Zephyr-Core-3.5.0/drivers/w1/
Dw1_net.c204 int w1_read_rom(const struct device *dev, struct w1_rom *rom) in w1_read_rom() argument
222 ret = w1_read_block(dev, (uint8_t *)rom, sizeof(struct w1_rom)); in w1_read_rom()
226 if (w1_crc8((uint8_t *)rom, sizeof(struct w1_rom)) != 0) { in w1_read_rom()
259 ret = w1_write_block(dev, (uint8_t *)&config->rom, 8); in match_rom()
/Zephyr-Core-3.5.0/tests/net/lib/http_server/common/
DCMakeLists.txt10 zephyr_linker_sources(SECTIONS sections-rom.ld)
/Zephyr-Core-3.5.0/drivers/i2c/
Di2c_dw.c1014 const struct i2c_dw_rom_config * const rom = dev->config; in i2c_dw_initialize() local
1020 if (rom->reset.dev) { in i2c_dw_initialize()
1021 ret = reset_line_toggle_dt(&rom->reset); in i2c_dw_initialize()
1029 ret = pinctrl_apply_state(rom->pcfg, PINCTRL_STATE_DEFAULT); in i2c_dw_initialize()
1036 if (rom->pcie) { in i2c_dw_initialize()
1039 if (rom->pcie->bdf == PCIE_BDF_NONE) { in i2c_dw_initialize()
1043 pcie_probe_mbar(rom->pcie->bdf, 0, &mbar); in i2c_dw_initialize()
1044 pcie_set_cmd(rom->pcie->bdf, PCIE_CONF_CMDSTAT_MEM, true); in i2c_dw_initialize()
1049 pcie_set_cmd(rom->pcie->bdf, PCIE_CONF_CMDSTAT_MASTER, true); in i2c_dw_initialize()
1102 rom->config_func(dev); in i2c_dw_initialize()
[all …]
/Zephyr-Core-3.5.0/soc/arm/infineon_cat1/psoc6/
DCMakeLists.txt19 zephyr_linker_sources_ifdef(CONFIG_SOC_FAMILY_INFINEON_CAT1 RODATA SORT_KEY 0 rom.ld)
/Zephyr-Core-3.5.0/include/zephyr/arch/posix/
Dlinker.ld29 #include <snippets-rom-start.ld>
32 #include <zephyr/linker/common-rom.ld>
/Zephyr-Core-3.5.0/soc/sparc/leon3/
Dlinker.ld18 rom (rx) : ORIGIN = 0x00000000, LENGTH = 512M
/Zephyr-Core-3.5.0/include/zephyr/arch/x86/ia32/
Dlinker.ld98 #include <snippets-rom-start.ld>
184 #include <snippets-rom-start.ld>
213 #include <zephyr/linker/common-rom.ld>
225 #include <zephyr/linker/kobject-rom.ld>
315 #include <snippets-rom-start.ld>
348 #include <zephyr/linker/common-rom.ld>
370 #include <zephyr/linker/kobject-rom.ld>
374 #include <zephyr/linker/cplusplus-rom.ld>

123