Home
last modified time | relevance | path

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

1234

/Zephyr-latest/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-init.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-interrupt-controllers.ld>
19 #include <zephyr/linker/common-rom/common-rom-misc.ld>
/Zephyr-latest/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-latest/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-latest/drivers/i2c/
Di2c_dw.c76 const struct i2c_dw_rom_config *const rom = dev->config; in cb_i2c_idma_transfer() local
79 dma_stop(rom->dma_dev, channel); in cb_i2c_idma_transfer()
107 const struct i2c_dw_rom_config *const rom = dev->config; in i2c_dw_idma_rx_transfer() local
112 if (!device_is_ready(rom->dma_dev)) { in i2c_dw_idma_rx_transfer()
135 if (dma_config(rom->dma_dev, DMA_INTEL_LPSS_RX_CHAN, &dma_cfg)) { in i2c_dw_idma_rx_transfer()
140 if (dma_start(rom->dma_dev, DMA_INTEL_LPSS_RX_CHAN)) { in i2c_dw_idma_rx_transfer()
153 const struct i2c_dw_rom_config *const rom = dev->config; in i2c_dw_idma_tx_transfer() local
159 if (!device_is_ready(rom->dma_dev)) { in i2c_dw_idma_tx_transfer()
182 if (dma_config(rom->dma_dev, DMA_INTEL_LPSS_TX_CHAN, &dma_cfg)) { in i2c_dw_idma_tx_transfer()
187 if (dma_start(rom->dma_dev, DMA_INTEL_LPSS_TX_CHAN)) { in i2c_dw_idma_tx_transfer()
[all …]
/Zephyr-latest/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-latest/tests/kernel/device/src/
Dmmio.c63 const 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-latest/soc/espressif/esp32c2/
Dmcuboot.ld220 #include <zephyr/linker/common-rom/common-rom-init.ld>
221 #include <zephyr/linker/common-rom/common-rom-kernel-devices.ld>
222 #include <zephyr/linker/common-rom/common-rom-debug.ld>
223 #include <zephyr/linker/common-rom/common-rom-misc.ld>
226 #include <zephyr/linker/cplusplus-rom.ld>
233 #include <zephyr/linker/common-rom/common-rom-logging.ld>
Ddefault.ld542 #include <zephyr/linker/common-rom/common-rom-logging.ld>
725 #include <zephyr/linker/cplusplus-rom.ld>
726 #include <zephyr/linker/common-rom/common-rom-init.ld>
727 #include <zephyr/linker/common-rom/common-rom-kernel-devices.ld>
728 #include <zephyr/linker/common-rom/common-rom-ztest.ld>
729 #include <zephyr/linker/common-rom/common-rom-net.ld>
730 #include <zephyr/linker/common-rom/common-rom-bt.ld>
731 #include <zephyr/linker/common-rom/common-rom-debug.ld>
732 #include <zephyr/linker/common-rom/common-rom-misc.ld>
/Zephyr-latest/soc/espressif/esp32c3/
Dmcuboot.ld220 #include <zephyr/linker/common-rom/common-rom-init.ld>
221 #include <zephyr/linker/common-rom/common-rom-kernel-devices.ld>
222 #include <zephyr/linker/common-rom/common-rom-debug.ld>
223 #include <zephyr/linker/common-rom/common-rom-misc.ld>
226 #include <zephyr/linker/cplusplus-rom.ld>
233 #include <zephyr/linker/common-rom/common-rom-logging.ld>
/Zephyr-latest/soc/espressif/esp32c6/
Dmcuboot.ld218 #include <zephyr/linker/common-rom/common-rom-init.ld>
219 #include <zephyr/linker/common-rom/common-rom-kernel-devices.ld>
220 #include <zephyr/linker/common-rom/common-rom-debug.ld>
221 #include <zephyr/linker/common-rom/common-rom-misc.ld>
224 #include <zephyr/linker/cplusplus-rom.ld>
231 #include <zephyr/linker/common-rom/common-rom-logging.ld>
/Zephyr-latest/include/zephyr/drivers/
Dw1.h456 struct w1_rom rom; member
471 typedef void (*w1_search_callback_t)(struct w1_rom rom, void *user_data);
490 int w1_read_rom(const struct device *dev, struct w1_rom *rom);
658 static inline uint64_t w1_rom_to_uint64(const struct w1_rom *rom) in w1_rom_to_uint64() argument
660 return sys_get_be64((uint8_t *)rom); in w1_rom_to_uint64()
669 static inline void w1_uint64_to_rom(const uint64_t rom64, struct w1_rom *rom) in w1_uint64_to_rom() argument
671 sys_put_be64(rom64, (uint8_t *)rom); in w1_uint64_to_rom()
/Zephyr-latest/soc/espressif/esp32s2/
Dmcuboot.ld195 #include <zephyr/linker/common-rom/common-rom-init.ld>
196 #include <zephyr/linker/common-rom/common-rom-kernel-devices.ld>
197 #include <zephyr/linker/common-rom/common-rom-debug.ld>
198 #include <zephyr/linker/common-rom/common-rom-misc.ld>
227 #include <zephyr/linker/cplusplus-rom.ld>
232 #include <zephyr/linker/common-rom/common-rom-logging.ld>
/Zephyr-latest/soc/espressif/esp32s3/
Ddefault_appcpu.ld285 #include <zephyr/linker/common-rom/common-rom-logging.ld>
367 #include <zephyr/linker/cplusplus-rom.ld>
368 #include <zephyr/linker/common-rom/common-rom-init.ld>
369 #include <zephyr/linker/common-rom/common-rom-kernel-devices.ld>
370 #include <zephyr/linker/common-rom/common-rom-ztest.ld>
371 #include <zephyr/linker/common-rom/common-rom-net.ld>
372 #include <zephyr/linker/common-rom/common-rom-bt.ld>
373 #include <zephyr/linker/common-rom/common-rom-debug.ld>
374 #include <zephyr/linker/common-rom/common-rom-misc.ld>
Dmcuboot.ld222 #include <zephyr/linker/common-rom/common-rom-kernel-devices.ld>
223 #include <zephyr/linker/common-rom/common-rom-debug.ld>
224 #include <zephyr/linker/common-rom/common-rom-misc.ld>
227 #include <zephyr/linker/cplusplus-rom.ld>
232 #include <zephyr/linker/common-rom/common-rom-logging.ld>
/Zephyr-latest/drivers/sensor/maxim/ds18b20/
Dds18b20.c271 if (w1_rom_to_uint64(&data->config.rom) == 0ULL) { in ds18b20_configure()
272 (void)w1_read_rom(cfg->bus, &data->config.rom); in ds18b20_configure()
274 } else if (w1_rom_to_uint64(&data->config.rom) == 0ULL) { in ds18b20_configure()
280 if ((cfg->family != 0) && (cfg->family != data->config.rom.family)) { in ds18b20_configure()
294 w1_rom_to_uint64(&data->config.rom)); in ds18b20_configure()
309 w1_sensor_value_to_rom(thr, &data->config.rom); in ds18b20_attr_set()
329 w1_uint64_to_rom(0ULL, &data->config.rom); in ds18b20_init()
/Zephyr-latest/soc/espressif/esp32/
Ddefault_appcpu.ld301 #include <zephyr/linker/common-rom/common-rom-logging.ld>
378 #include <zephyr/linker/cplusplus-rom.ld>
379 #include <zephyr/linker/common-rom/common-rom-init.ld>
380 #include <zephyr/linker/common-rom/common-rom-kernel-devices.ld>
381 #include <zephyr/linker/common-rom/common-rom-ztest.ld>
382 #include <zephyr/linker/common-rom/common-rom-net.ld>
383 #include <zephyr/linker/common-rom/common-rom-bt.ld>
384 #include <zephyr/linker/common-rom/common-rom-debug.ld>
385 #include <zephyr/linker/common-rom/common-rom-misc.ld>
Dmcuboot.ld216 #include <zephyr/linker/common-rom/common-rom-kernel-devices.ld>
217 #include <zephyr/linker/common-rom/common-rom-debug.ld>
218 #include <zephyr/linker/common-rom/common-rom-misc.ld>
221 #include <zephyr/linker/cplusplus-rom.ld>
226 #include <zephyr/linker/common-rom/common-rom-logging.ld>
/Zephyr-latest/include/zephyr/arch/posix/
Dlinker.ld33 #include <snippets-rom-start.ld>
36 #include <zephyr/linker/common-rom.ld>
40 #include <snippets-rom-sections.ld>
/Zephyr-latest/arch/common/
Drom_start_address.ld9 * snippets-rom-start.ld. This variable is used in rom_start_offset.ld
/Zephyr-latest/drivers/w1/
Dw1_net.c206 int w1_read_rom(const struct device *dev, struct w1_rom *rom) in w1_read_rom() argument
224 ret = w1_read_block(dev, (uint8_t *)rom, sizeof(struct w1_rom)); in w1_read_rom()
228 if (w1_crc8((uint8_t *)rom, sizeof(struct w1_rom)) != 0) { in w1_read_rom()
261 ret = w1_write_block(dev, (uint8_t *)&config->rom, 8); in match_rom()
/Zephyr-latest/tests/net/lib/http_server/common/
DCMakeLists.txt10 zephyr_linker_sources(SECTIONS sections-rom.ld)
/Zephyr-latest/include/zephyr/arch/x86/ia32/
Dlinker.ld102 #include <snippets-rom-start.ld>
188 #include <snippets-rom-start.ld>
217 #include <zephyr/linker/common-rom.ld>
221 #include <snippets-rom-sections.ld>
233 #include <zephyr/linker/kobject-rom.ld>
323 #include <snippets-rom-start.ld>
356 #include <zephyr/linker/common-rom.ld>
360 #include <snippets-rom-sections.ld>
382 #include <zephyr/linker/kobject-rom.ld>
386 #include <zephyr/linker/cplusplus-rom.ld>
/Zephyr-latest/soc/andestech/ae350/
Dlinker.ld123 #include <snippets-rom-start.ld>
158 #include <zephyr/linker/common-rom.ld>
162 #include <snippets-rom-sections.ld>
179 #include <zephyr/linker/kobject-rom.ld>
183 #include <zephyr/linker/cplusplus-rom.ld>
416 /* Fill last section with a word to ensure location counter and actual rom
430 * __rom_region_size is used to configure the MPU region, but the actual rom
440 /* To provide the rom region size as a const expression,
/Zephyr-latest/tests/net/lib/http_server/core/
DCMakeLists.txt17 zephyr_linker_sources(SECTIONS sections-rom.ld)
/Zephyr-latest/include/zephyr/arch/sparc/
Dlinker.ld48 #include <zephyr/linker/common-rom.ld>
52 #include <snippets-rom-sections.ld>
70 #include <zephyr/linker/cplusplus-rom.ld>

1234