Lines Matching refs:memory_region
59 struct ffa_mtd *memory_region, ffa_endpoint_id16_t sender, in ffa_memory_region_init_header() argument
66 memory_region->emad_offset = sizeof(struct ffa_mtd); in ffa_memory_region_init_header()
67 memory_region->emad_size = sizeof(struct ffa_emad_v1_0); in ffa_memory_region_init_header()
69 ((uint8_t *) memory_region + in ffa_memory_region_init_header()
70 memory_region->emad_offset); in ffa_memory_region_init_header()
71 memory_region->sender_id = sender; in ffa_memory_region_init_header()
72 memory_region->memory_region_attributes = attributes; in ffa_memory_region_init_header()
73 memory_region->reserved_36_39 = 0; in ffa_memory_region_init_header()
74 memory_region->flags = flags; in ffa_memory_region_init_header()
75 memory_region->handle = handle; in ffa_memory_region_init_header()
76 memory_region->tag = tag; in ffa_memory_region_init_header()
77 memory_region->reserved_40_47 = 0; in ffa_memory_region_init_header()
78 memory_region->emad_count = receiver_count; in ffa_memory_region_init_header()
95 struct ffa_mtd *memory_region, uint64_t handle, in ffa_memory_retrieve_request_init() argument
101 ffa_memory_region_init_header(memory_region, sender, attributes, flags, in ffa_memory_retrieve_request_init()
106 memory_region->emad_count * sizeof(struct ffa_emad_v1_0); in ffa_memory_retrieve_request_init()
152 struct ffa_mtd *memory_region = (struct ffa_mtd *)mb->tx_buffer; in memory_retrieve() local
160 memset(memory_region, 0, PAGE_SIZE); in memory_retrieve()
166 memory_region, handle, sender, receivers, receiver_count, 0, flags, in memory_retrieve()