Searched refs:expected_size (Results 1 – 4 of 4) sorted by relevance
/Zephyr-Core-3.5.0/tests/drivers/syscon/src/ |
D | main.c | 18 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/ |
D | main.c | 33 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/ |
D | blob_srv.c | 686 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/ |
D | ec_host_cmd_backend_spi_stm32.c | 240 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()
|