#include <linux/bitfield.h>
#include <linux/export.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/videodev2.h>
#include "allegro-mail.h"
const char *msg_type_name(enum mcu_msg_type type)
{ … }
EXPORT_SYMBOL(…);
static ssize_t
allegro_enc_init(u32 *dst, struct mcu_msg_init_request *msg)
{ … }
static inline u32 settings_get_mcu_codec(struct create_channel_param *param)
{ … }
ssize_t
allegro_encode_config_blob(u32 *dst, struct create_channel_param *param)
{ … }
static ssize_t
allegro_enc_create_channel(u32 *dst, struct mcu_msg_create_channel *msg)
{ … }
ssize_t allegro_decode_config_blob(struct create_channel_param *param,
struct mcu_msg_create_channel_response *msg,
u32 *src)
{ … }
static ssize_t
allegro_enc_destroy_channel(u32 *dst, struct mcu_msg_destroy_channel *msg)
{ … }
static ssize_t
allegro_enc_push_buffers(u32 *dst, struct mcu_msg_push_buffers_internal *msg)
{ … }
static ssize_t
allegro_enc_put_stream_buffer(u32 *dst,
struct mcu_msg_put_stream_buffer *msg)
{ … }
static ssize_t
allegro_enc_encode_frame(u32 *dst, struct mcu_msg_encode_frame *msg)
{ … }
static ssize_t
allegro_dec_init(struct mcu_msg_init_response *msg, u32 *src)
{ … }
static ssize_t
allegro_dec_create_channel(struct mcu_msg_create_channel_response *msg,
u32 *src)
{ … }
static ssize_t
allegro_dec_destroy_channel(struct mcu_msg_destroy_channel_response *msg,
u32 *src)
{ … }
static ssize_t
allegro_dec_encode_frame(struct mcu_msg_encode_frame_response *msg, u32 *src)
{ … }
ssize_t allegro_encode_mail(u32 *dst, void *msg)
{ … }
int allegro_decode_mail(void *msg, u32 *src)
{ … }