Home
last modified time | relevance | path

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

/trusted-services/components/messaging/ffa/libsp/test/
A Dtest_ffa_memory_descriptors.cpp87 UNSIGNED_LONGS_EQUAL(0, tx_buffer.used); in TEST()
160 tx_buffer.used); in TEST()
175 tx_buffer.used); in TEST()
214 tx_buffer.used); in TEST()
256 tx_buffer.used); in TEST()
274 tx_buffer.used); in TEST()
332 tx_buffer.used); in TEST()
524 tx_buffer.used = 0x100000000ULL; in TEST()
525 tx_buffer.length = 0x200000000ULL; in TEST()
624 ffa_get_memory_region(&tx_buffer); in TEST()
[all …]
A Dtest_sp_rxtx.cpp60 void *tx_buffer = NULL; in TEST() local
70 void *tx_buffer = (void *)0x12340000; in TEST() local
80 void *tx_buffer = (void *)0x12340000; in TEST() local
90 void *tx_buffer = (void *)0x12340000; in TEST() local
103 void *tx_buffer = (void *)2048; in TEST() local
115 void *tx_buffer = (void *)8192; in TEST() local
127 void *tx_buffer = (void *)32768; in TEST() local
139 void *tx_buffer = (void *)0x12350000; in TEST() local
151 void *tx_buffer = (void *)0x12350000; in TEST() local
163 void *tx_buffer = (void *)0x12350000; in TEST() local
[all …]
A Dtest_sp_memory_management.cpp41 static void *tx_buffer = tx_buffer_area; variable
217 expect_sp_rxtx_buffer_tx_get(&tx_buffer, &buffer_size, result); in TEST()
360 expect_ffa_mem_donate(expected_size, expected_size, tx_buffer, in TEST()
382 expect_ffa_mem_donate(expected_size, expected_size, tx_buffer, in TEST()
505 expect_sp_rxtx_buffer_tx_get(&tx_buffer, &buffer_size, result); in TEST()
662 expect_ffa_mem_lend(expected_size, expected_size, tx_buffer, in TEST()
684 expect_ffa_mem_lend(expected_size, expected_size, tx_buffer, in TEST()
807 expect_sp_rxtx_buffer_tx_get(&tx_buffer, &buffer_size, result); in TEST()
966 expect_ffa_mem_share(expected_size, expected_size, tx_buffer, in TEST()
988 expect_ffa_mem_share(expected_size, expected_size, tx_buffer, in TEST()
[all …]
A Dtest_ffa_api.cpp224 const uint64_t tx_buffer = 0xfedcba9876543210ULL; in TEST() local
229 expect_ffa_svc(0xc4000066, tx_buffer, rx_buffer, page_count, 0, 0, 0, 0, in TEST()
232 ffa_result result = ffa_rxtx_map((const void *)tx_buffer, in TEST()
239 const uint64_t tx_buffer = 0xfedcba9876543210ULL; in TEST() local
244 expect_ffa_svc(0xc4000066, tx_buffer, rx_buffer, page_count, 0, 0, 0, 0, in TEST()
247 ffa_result result = ffa_rxtx_map((const void *)tx_buffer, in TEST()
254 const uint64_t tx_buffer = 0xfedcba9876543210ULL; in TEST() local
260 expect_ffa_svc(0xc4000066, tx_buffer, rx_buffer, page_count, 0, 0, 0, 0, in TEST()
264 ffa_rxtx_map((const void *)tx_buffer, (const void *)rx_buffer, in TEST()
271 const uint64_t tx_buffer = 0xfedcba9876543210ULL; in TEST() local
[all …]
/trusted-services/components/messaging/ffa/libsp/mock/
A Dmock_sp_rxtx.cpp9 void expect_sp_rxtx_buffer_map(void *tx_buffer, const void *rx_buffer, in expect_sp_rxtx_buffer_map() argument
13 .withPointerParameter("tx_buffer", tx_buffer) in expect_sp_rxtx_buffer_map()
19 sp_result sp_rxtx_buffer_map(void *tx_buffer, const void *rx_buffer, in sp_rxtx_buffer_map() argument
24 .withPointerParameter("tx_buffer", tx_buffer) in sp_rxtx_buffer_map()
A Dmock_sp_rxtx.h11 void expect_sp_rxtx_buffer_map(void *tx_buffer, const void *rx_buffer,
13 sp_result sp_rxtx_buffer_map(void *tx_buffer, const void *rx_buffer,
A Dmock_ffa_api.cpp57 void expect_ffa_rxtx_map(const void *tx_buffer, const void *rx_buffer, in expect_ffa_rxtx_map() argument
61 .withConstPointerParameter("tx_buffer", tx_buffer) in expect_ffa_rxtx_map()
67 ffa_result ffa_rxtx_map(const void *tx_buffer, const void *rx_buffer, in ffa_rxtx_map() argument
72 .withConstPointerParameter("tx_buffer", tx_buffer) in ffa_rxtx_map()
A Dmock_ffa_api.h21 void expect_ffa_rxtx_map(const void *tx_buffer, const void *rx_buffer,
/trusted-services/components/messaging/ffa/libsp/
A Dsp_rxtx.c16 sp_result sp_rxtx_buffer_map(void *tx_buffer, const void *rx_buffer, in sp_rxtx_buffer_map() argument
25 if (!tx_buffer || !rx_buffer || !size) in sp_rxtx_buffer_map()
41 if (((uintptr_t)tx_buffer & alignment_mask) != 0 || in sp_rxtx_buffer_map()
52 result = ffa_rxtx_map(tx_buffer, rx_buffer, page_count); in sp_rxtx_buffer_map()
57 ffa_tx_buffer = tx_buffer; in sp_rxtx_buffer_map()
A Dsp_memory_management.c532 struct ffa_mem_transaction_buffer tx_buffer = { 0 }; in sp_memory_retrieve() local
548 sp_res = get_tx_buffer(&tx_buffer); in sp_memory_retrieve()
560 setup_descriptors(&tx_buffer, descriptor, acc_desc, 1, regions, in sp_memory_retrieve()
563 ffa_res = ffa_mem_retrieve_req_rxtx(tx_buffer.used, tx_buffer.used, in sp_memory_retrieve()
A Dffa.c136 ffa_result ffa_rxtx_map(const void *tx_buffer, const void *rx_buffer, in ffa_rxtx_map() argument
146 ffa_svc(FFA_RXTX_MAP_64, (uintptr_t)tx_buffer, (uintptr_t)rx_buffer, in ffa_rxtx_map()
/trusted-services/components/messaging/ffa/libsp/include/
A Dsp_rxtx.h33 sp_result sp_rxtx_buffer_map(void *tx_buffer, const void *rx_buffer,
A Dffa_api.h73 ffa_result ffa_rxtx_map(const void *tx_buffer, const void *rx_buffer,
/trusted-services/deployments/internal-trusted-storage/env/commonsp/
A Dits_sp.c19 static uint8_t tx_buffer[4096] __aligned(4096); variable
38 result = sp_rxtx_buffer_map(tx_buffer, rx_buffer, sizeof(rx_buffer)); in sp_main()
/trusted-services/deployments/protected-storage/env/commonsp/
A Dps_sp.c19 static uint8_t tx_buffer[4096] __aligned(4096); variable
38 result = sp_rxtx_buffer_map(tx_buffer, rx_buffer, sizeof(rx_buffer)); in sp_main()
/trusted-services/deployments/logging/env/commonsp/
A Dlogging_sp.c123 static uint8_t tx_buffer[4096] __aligned(4096); in sp_init() local
126 sp_res = sp_rxtx_buffer_map(tx_buffer, rx_buffer, sizeof(rx_buffer)); in sp_init()
/trusted-services/deployments/block-storage/env/commonsp/
A Dblock_storage_sp.c133 static uint8_t tx_buffer[4096] __aligned(4096); in sp_init() local
136 sp_res = sp_rxtx_buffer_map(tx_buffer, rx_buffer, sizeof(rx_buffer)); in sp_init()
/trusted-services/deployments/env-test/env/commonsp/
A Denv_test_sp.c124 static uint8_t tx_buffer[4096] __aligned(4096); in sp_init() local
127 sp_res = sp_rxtx_buffer_map(tx_buffer, rx_buffer, sizeof(rx_buffer)); in sp_init()
/trusted-services/components/service/spm_test/
A Dsp.c24 static volatile uint8_t tx_buffer[4096] __aligned(4096); variable
151 IMSG("Testing ffa_rxtx_map(%p %p, 1)\n", tx_buffer, rx_buffer); in test_ffa_rxtx_map()
153 result = sp_rxtx_buffer_map((void*)tx_buffer,(void*)rx_buffer, in test_ffa_rxtx_map()
466 t_buf->buffer = (void*)tx_buffer; in set_rxtx_buf()
779 memset((void *)tx_buffer, 0x00, sizeof(tx_buffer)); in test_mem_sharing_invalid()
781 transaction = (struct ffa_mem_transaction_desc *)tx_buffer; in test_mem_sharing_invalid()
803 transaction->mem_access_desc_count = sizeof(tx_buffer); in test_mem_sharing_invalid()
810 transaction->mem_access_desc_offset = sizeof(tx_buffer); in test_mem_sharing_invalid()
816 acc_desc = (struct ffa_mem_access_desc *)(tx_buffer + len); in test_mem_sharing_invalid()
849 comp_desc->total_page_count = sizeof(tx_buffer); in test_mem_sharing_invalid()
[all …]
/trusted-services/deployments/crypto/env/commonsp/
A Dcrypto_sp.c159 static uint8_t tx_buffer[4096] __aligned(4096); in sp_init() local
162 sp_res = sp_rxtx_buffer_map(tx_buffer, rx_buffer, sizeof(rx_buffer)); in sp_init()
/trusted-services/deployments/se-proxy/env/commonsp/
A Dse_proxy_sp.c160 static uint8_t tx_buffer[4096] __aligned(4096); in sp_init() local
163 sp_res = sp_rxtx_buffer_map(tx_buffer, rx_buffer, sizeof(rx_buffer)); in sp_init()
/trusted-services/deployments/smm-gateway/env/commonsp/
A Dsmm_gateway_sp.c149 static uint8_t tx_buffer[4096] __aligned(4096); in sp_init() local
152 sp_res = sp_rxtx_buffer_map(tx_buffer, rx_buffer, sizeof(rx_buffer)); in sp_init()
/trusted-services/deployments/fwu/env/commonsp/
A Dfwu_sp.c171 static uint8_t tx_buffer[4096] __aligned(4096); in sp_init() local
174 sp_result sp_res = sp_rxtx_buffer_map(tx_buffer, rx_buffer, sizeof(rx_buffer)); in sp_init()
/trusted-services/deployments/attestation/env/commonsp/
A Dattestation_sp.c201 static uint8_t tx_buffer[4096] __aligned(4096); in sp_init() local
204 sp_res = sp_rxtx_buffer_map(tx_buffer, rx_buffer, sizeof(rx_buffer)); in sp_init()
/trusted-services/components/messaging/ffa/libsp/mock/test/
A Dtest_mock_ffa_api.cpp60 const char tx_buffer = 0; in TEST() local
64 expect_ffa_rxtx_map(&tx_buffer, &rx_buffer, page_count, result); in TEST()
65 LONGS_EQUAL(result, ffa_rxtx_map(&tx_buffer, &rx_buffer, page_count)); in TEST()

Completed in 102 milliseconds