Home
last modified time | relevance | path

Searched refs:p2a (Results 1 – 2 of 2) sorted by relevance

/arm-trusted-firmware-2.8.0/drivers/scmi-msg/
A Dbase.c137 struct scmi_base_discover_list_protocols_p2a p2a = { in discover_list_protocols() local
154 count = MIN(count - a2p->skip, msg->out_size - sizeof(p2a)); in discover_list_protocols()
159 p2a.num_protocols = count; in discover_list_protocols()
161 memcpy(msg->out, &p2a, sizeof(p2a)); in discover_list_protocols()
162 memcpy(msg->out + sizeof(p2a), list + a2p->skip, count); in discover_list_protocols()
163 msg->out_size_out = sizeof(p2a) + round_up(count, sizeof(uint32_t)); in discover_list_protocols()
A Dclock.c280 struct scmi_clock_describe_rates_p2a p2a = { in scmi_clock_describe_rates() local
312 write_rate_desc_array_in_buffer(msg->out + sizeof(p2a), in scmi_clock_describe_rates()
315 p2a.num_rates_flags = SCMI_RATES_BY_ARRAY(ret_nb, in scmi_clock_describe_rates()
317 p2a.status = SCMI_SUCCESS; in scmi_clock_describe_rates()
319 memcpy(msg->out, &p2a, sizeof(p2a)); in scmi_clock_describe_rates()
320 msg->out_size_out = sizeof(p2a) + in scmi_clock_describe_rates()
330 write_rate_desc_array_in_buffer(msg->out + sizeof(p2a), in scmi_clock_describe_rates()
333 p2a.num_rates_flags = SCMI_RATES_BY_STEP; in scmi_clock_describe_rates()
334 p2a.status = SCMI_SUCCESS; in scmi_clock_describe_rates()
336 memcpy(msg->out, &p2a, sizeof(p2a)); in scmi_clock_describe_rates()
[all …]

Completed in 4 milliseconds