linux/drivers/staging/greybus/audio_gb.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Greybus Audio Device Class Protocol helpers
 *
 * Copyright 2015-2016 Google Inc.
 */

#include <linux/greybus.h>
#include "audio_codec.h"

/* TODO: Split into separate calls */
int gb_audio_gb_get_topology(struct gb_connection *connection,
			     struct gb_audio_topology **topology)
{}
EXPORT_SYMBOL_GPL();

int gb_audio_gb_get_control(struct gb_connection *connection,
			    u8 control_id, u8 index,
			    struct gb_audio_ctl_elem_value *value)
{}
EXPORT_SYMBOL_GPL();

int gb_audio_gb_set_control(struct gb_connection *connection,
			    u8 control_id, u8 index,
			    struct gb_audio_ctl_elem_value *value)
{}
EXPORT_SYMBOL_GPL();

int gb_audio_gb_enable_widget(struct gb_connection *connection,
			      u8 widget_id)
{}
EXPORT_SYMBOL_GPL();

int gb_audio_gb_disable_widget(struct gb_connection *connection,
			       u8 widget_id)
{}
EXPORT_SYMBOL_GPL();

int gb_audio_gb_get_pcm(struct gb_connection *connection, u16 data_cport,
			u32 *format, u32 *rate, u8 *channels,
			u8 *sig_bits)
{}
EXPORT_SYMBOL_GPL();

int gb_audio_gb_set_pcm(struct gb_connection *connection, u16 data_cport,
			u32 format, u32 rate, u8 channels,
			u8 sig_bits)
{}
EXPORT_SYMBOL_GPL();

int gb_audio_gb_set_tx_data_size(struct gb_connection *connection,
				 u16 data_cport, u16 size)
{}
EXPORT_SYMBOL_GPL();

int gb_audio_gb_activate_tx(struct gb_connection *connection,
			    u16 data_cport)
{}
EXPORT_SYMBOL_GPL();

int gb_audio_gb_deactivate_tx(struct gb_connection *connection,
			      u16 data_cport)
{}
EXPORT_SYMBOL_GPL();

int gb_audio_gb_set_rx_data_size(struct gb_connection *connection,
				 u16 data_cport, u16 size)
{}
EXPORT_SYMBOL_GPL();

int gb_audio_gb_activate_rx(struct gb_connection *connection,
			    u16 data_cport)
{}
EXPORT_SYMBOL_GPL();

int gb_audio_gb_deactivate_rx(struct gb_connection *connection,
			      u16 data_cport)
{}
EXPORT_SYMBOL_GPL();

MODULE_LICENSE();
MODULE_ALIAS();
MODULE_DESCRIPTION();
MODULE_AUTHOR();