Home
last modified time | relevance | path

Searched refs:expected_size (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-3.5.0/tests/drivers/syscon/src/
Dmain.c18 const size_t expected_size = DT_REG_SIZE(DT_NODELABEL(syscon)); in ZTEST() local
23 zassert_equal(size, expected_size, "size(0x%x) != expected_size(0x%x)", size, in ZTEST()
24 expected_size); in ZTEST()
/Zephyr-Core-3.5.0/tests/drivers/coredump/coredump_api/src/
Dmain.c33 uint32_t expected_size = DT_PROP_BY_IDX(DT_NODELABEL(coredump_devicecb), memory_regions, 1); in test_coredump_callback() local
35 zassert_equal(dump_area_size, expected_size, "Size in callback doesn't match device tree"); in test_coredump_callback()
/Zephyr-Core-3.5.0/subsys/bluetooth/mesh/
Dblob_srv.c686 size_t expected_size = 0; in handle_chunk() local
703 expected_size = srv->block.size % srv->state.xfer.chunk_size; in handle_chunk()
706 if (expected_size == 0) { in handle_chunk()
707 expected_size = srv->state.xfer.chunk_size; in handle_chunk()
710 if (chunk.size != expected_size) { in handle_chunk()
711 LOG_ERR("Unexpected size: %u != %u", expected_size, chunk.size); in handle_chunk()
/Zephyr-Core-3.5.0/subsys/mgmt/ec_host_cmd/backends/
Dec_host_cmd_backend_spi_stm32.c240 static int expected_size(const struct ec_host_cmd_request_header *header) in expected_size() function
620 exp_size = expected_size((struct ec_host_cmd_request_header *)hc_spi->rx_ctx->buf); in gpio_cb_nss()