Lines Matching defs:size
152 * 2. Send over the size of the payload on Channel 1. It is the very first
163 enum mhu_error_t mhu_send_data(const uint8_t *send_buffer, size_t size)
182 /* First send over the size of the actual message */
183 err = mhu_v2_x_channel_send(dev, chan, (uint32_t)size);
190 for (i = 0; i < size; i += 4) {
224 * 1. Read the size of the payload from Channel 1. It is the very first
236 enum mhu_error_t mhu_receive_data(uint8_t *receive_buffer, size_t *size)
248 * - the buffer size to be a multiple of 4.
250 if (((uintptr_t)receive_buffer & 0x3U) || (*size & 0x3U)) {
267 if (message_len > *size) {
269 *size = message_len;
299 *size = message_len;