Home
last modified time | relevance | path

Searched refs:cache_size (Results 1 – 14 of 14) sorted by relevance

/Zephyr-latest/soc/espressif/esp32s2/
Dsoc_cache.c43 cache_size_t cache_size; in esp_config_instruction_cache_mode() local
54 cache_size = ESP32S2_ICACHE_SIZE; in esp_config_instruction_cache_mode()
59 esp_rom_Cache_Set_ICache_Mode(cache_size, cache_ways, cache_line_size); in esp_config_instruction_cache_mode()
66 cache_size_t cache_size; in esp_config_data_cache_mode() local
93 cache_size = ESP32S2_DCACHE_SIZE; in esp_config_data_cache_mode()
97 esp_rom_Cache_Set_DCache_Mode(cache_size, cache_ways, cache_line_size); in esp_config_data_cache_mode()
Dsoc.h49 extern void esp_rom_Cache_Set_ICache_Mode(cache_size_t cache_size, cache_ways_t ways,
57 extern void esp_rom_Cache_Set_DCache_Mode(cache_size_t cache_size, cache_ways_t ways,
63 extern void esp_rom_Cache_Set_DCache_Mode(cache_size_t cache_size, cache_ways_t ways,
/Zephyr-latest/subsys/net/lib/dns/
Ddns_cache.h43 #define DNS_CACHE_DEFINE(name, cache_size) \ argument
45 static struct dns_cache_entry name##_entries[cache_size]; \
47 .entries = name##_entries, .size = cache_size, .lock = &name##_mutex};
/Zephyr-latest/tests/subsys/fs/littlefs/src/
Dtest_lfs_perf.c62 lcp->read_size, lcp->prog_size, lcp->cache_size, lcp->lookahead_size); in write_read()
178 if (lcp->cache_size == 0) { in custom_write_test()
179 lcp->cache_size = CONFIG_FS_LITTLEFS_CACHE_SIZE; in custom_write_test()
185 lcp->read_buffer = malloc(lcp->cache_size); in custom_write_test()
186 lcp->prog_buffer = malloc(lcp->cache_size); in custom_write_test()
219 .cache_size = LARGE_CACHE_SIZE, in small_8_1K_cust()
Dtestfs_lfs.c46 .cache_size = LARGE_CACHE_SIZE,
/Zephyr-latest/subsys/fs/
Dlittlefs_fs.c305 fdp->cache_block = fc_allocate(lfs->cfg->cache_size); in littlefs_open()
780 lfs_size_t cache_size = lcp->cache_size; in littlefs_init_cfg() local
782 if (cache_size == 0) { in littlefs_init_cfg()
783 cache_size = CONFIG_FS_LITTLEFS_CACHE_SIZE; in littlefs_init_cfg()
829 read_size, prog_size, cache_size, lookahead_size); in littlefs_init_cfg()
835 __ASSERT_NO_MSG(cache_size != 0); in littlefs_init_cfg()
841 __ASSERT((block_size % cache_size) == 0, in littlefs_init_cfg()
857 if (cache_size < new_cache_size) { in littlefs_init_cfg()
858 LOG_ERR("Configured cache size is too small: %d < %d", cache_size, in littlefs_init_cfg()
862 lcp->cache_size = new_cache_size; in littlefs_init_cfg()
[all …]
/Zephyr-latest/drivers/disk/
Dflashdisk.c33 const size_t cache_size; member
112 if (ctx->cache_size == 0) { in flashdisk_init_runtime()
146 if (ctx->page_size > ctx->cache_size) { in flashdisk_init_runtime()
148 ctx->cache_size, ctx->page_size); in flashdisk_init_runtime()
357 if (ctx->cache_size == 0) { in disk_flash_access_write()
476 #define CACHE_SIZE(n) (DT_INST_PROP(n, cache_size) * !DT_PROP(PARTITION_PHANDLE(n), read_only))
491 .cache_size = sizeof(flashdisk##n##_cache), \
503 (BUILD_ASSERT(DT_INST_PROP(n, cache_size) != 0, \
509 BUILD_ASSERT(DT_INST_PROP(n, cache_size) % DT_INST_PROP(n, sector_size) == 0, \
/Zephyr-latest/include/zephyr/fs/
Dlittlefs.h95 .cache_size = (cache_sz), \
/Zephyr-latest/drivers/gpio/
Dgpio_pca_series.c149 uint8_t cache_size; member
729 data->cache, cfg->part_cfg->cache_size); in gpio_pca_series_debug_dump()
840 uint32_t cache_size = gpio_pca_series_reg_size(dev, reg_type); in gpio_pca_series_cache_test() local
853 expected_offset += cache_size; in gpio_pca_series_cache_test()
855 LOG_WRN("testing reg %d size %d", reg_type, cache_size); in gpio_pca_series_cache_test()
1956 .cache_size = GPIO_PCA_GET_CACHE_SIZE_BY_PART_NO(PCA_PART_NO_PCA9538),
1978 .cache_size = GPIO_PCA_GET_CACHE_SIZE_BY_PART_NO(PCA_PART_NO_PCA9554),
2020 .cache_size = GPIO_PCA_GET_CACHE_SIZE_BY_PART_NO(PCA_PART_NO_PCA9539),
2042 .cache_size = GPIO_PCA_GET_CACHE_SIZE_BY_PART_NO(PCA_PART_NO_PCA9555),
2135 .cache_size = GPIO_PCA_GET_CACHE_SIZE_BY_PART_NO(PCA_PART_NO_PCAL6524),
[all …]
/Zephyr-latest/subsys/logging/
Dlog_mgmt.c215 size_t cache_size = sname_cache.item_size; in link_source_name_get() local
232 cached, &cache_size); in link_source_name_get()
267 size_t cache_size = dname_cache.item_size; in link_domain_name_get() local
279 err = log_link_get_domain_name(link, rel_domain_id, cached, &cache_size); in link_domain_name_get()
/Zephyr-latest/samples/subsys/fs/littlefs/
DREADME.rst57 …lfs -d -s -f --read_size=512 --prog_size=512 --block_size=512 --cache_size=512 --lookahead_size=81…
58 …lfs -d -s -f --read_size=512 --prog_size=512 --block_size=512 --cache_size=512 --lookahead_size=81…
/Zephyr-latest/subsys/sd/
Dmmc.c618 ext->cache_size = in mmc_decode_ext_csd()
628 if (card_ext_csd->cache_size == 0) { in mmc_set_cache()
/Zephyr-latest/samples/subsys/usb/mass/
DREADME.rst232 --cache_size=64 \
271 * ``--cache_size`` comes from the ``ca`` size and is 64;
/Zephyr-latest/include/zephyr/sd/
Dsd_spec.h691 uint32_t cache_size; member