struct gbaudio_module_info *module, int id)
{
int module_state, ret = 0;
- uint16_t data_cport, i2s_port, cportid;
+ u16 data_cport, i2s_port, cportid;
u8 sig_bits, channels;
uint32_t format, rate;
struct gbaudio_data_connection *data;
static int gbaudio_module_disable_tx(struct gbaudio_module_info *module, int id)
{
int ret;
- uint16_t data_cport, cportid, i2s_port;
+ u16 data_cport, cportid, i2s_port;
int module_state;
struct gbaudio_data_connection *data;
struct gbaudio_module_info *module, int id)
{
int module_state, ret = 0;
- uint16_t data_cport, i2s_port, cportid;
+ u16 data_cport, i2s_port, cportid;
u8 sig_bits, channels;
uint32_t format, rate;
struct gbaudio_data_connection *data;
static int gbaudio_module_disable_rx(struct gbaudio_module_info *module, int id)
{
int ret;
- uint16_t data_cport, cportid, i2s_port;
+ u16 data_cport, cportid, i2s_port;
int module_state;
struct gbaudio_data_connection *data;
static void gbaudio_codec_clean_data_tx(struct gbaudio_data_connection *data)
{
- uint16_t i2s_port, cportid;
+ u16 i2s_port, cportid;
int ret;
if (list_is_singular(&gbcodec->module_list)) {
static void gbaudio_codec_clean_data_rx(struct gbaudio_data_connection *data)
{
- uint16_t i2s_port, cportid;
+ u16 i2s_port, cportid;
int ret;
if (list_is_singular(&gbcodec->module_list)) {
extern int gb_audio_gb_disable_widget(struct gb_connection *connection,
u8 widget_id);
extern int gb_audio_gb_get_pcm(struct gb_connection *connection,
- uint16_t data_cport, uint32_t *format,
+ u16 data_cport, uint32_t *format,
uint32_t *rate, u8 *channels,
u8 *sig_bits);
extern int gb_audio_gb_set_pcm(struct gb_connection *connection,
- uint16_t data_cport, uint32_t format,
+ u16 data_cport, uint32_t format,
uint32_t rate, u8 channels,
u8 sig_bits);
extern int gb_audio_gb_set_tx_data_size(struct gb_connection *connection,
- uint16_t data_cport, uint16_t size);
+ u16 data_cport, u16 size);
extern int gb_audio_gb_activate_tx(struct gb_connection *connection,
- uint16_t data_cport);
+ u16 data_cport);
extern int gb_audio_gb_deactivate_tx(struct gb_connection *connection,
- uint16_t data_cport);
+ u16 data_cport);
extern int gb_audio_gb_set_rx_data_size(struct gb_connection *connection,
- uint16_t data_cport, uint16_t size);
+ u16 data_cport, u16 size);
extern int gb_audio_gb_activate_rx(struct gb_connection *connection,
- uint16_t data_cport);
+ u16 data_cport);
extern int gb_audio_gb_deactivate_rx(struct gb_connection *connection,
- uint16_t data_cport);
+ u16 data_cport);
extern int gb_audio_apbridgea_set_config(struct gb_connection *connection,
__u16 i2s_port, __u32 format,
__u32 rate, __u32 mclk_freq);
{
struct gb_audio_get_topology_size_response size_resp;
struct gb_audio_topology *topo;
- uint16_t size;
+ u16 size;
int ret;
ret = gb_operation_sync(connection, GB_AUDIO_TYPE_GET_TOPOLOGY_SIZE,
}
EXPORT_SYMBOL_GPL(gb_audio_gb_disable_widget);
-int gb_audio_gb_get_pcm(struct gb_connection *connection, uint16_t data_cport,
+int gb_audio_gb_get_pcm(struct gb_connection *connection, u16 data_cport,
uint32_t *format, uint32_t *rate, u8 *channels,
u8 *sig_bits)
{
}
EXPORT_SYMBOL_GPL(gb_audio_gb_get_pcm);
-int gb_audio_gb_set_pcm(struct gb_connection *connection, uint16_t data_cport,
+int gb_audio_gb_set_pcm(struct gb_connection *connection, u16 data_cport,
uint32_t format, uint32_t rate, u8 channels,
u8 sig_bits)
{
EXPORT_SYMBOL_GPL(gb_audio_gb_set_pcm);
int gb_audio_gb_set_tx_data_size(struct gb_connection *connection,
- uint16_t data_cport, uint16_t size)
+ u16 data_cport, u16 size)
{
struct gb_audio_set_tx_data_size_request req;
EXPORT_SYMBOL_GPL(gb_audio_gb_set_tx_data_size);
int gb_audio_gb_activate_tx(struct gb_connection *connection,
- uint16_t data_cport)
+ u16 data_cport)
{
struct gb_audio_activate_tx_request req;
EXPORT_SYMBOL_GPL(gb_audio_gb_activate_tx);
int gb_audio_gb_deactivate_tx(struct gb_connection *connection,
- uint16_t data_cport)
+ u16 data_cport)
{
struct gb_audio_deactivate_tx_request req;
EXPORT_SYMBOL_GPL(gb_audio_gb_deactivate_tx);
int gb_audio_gb_set_rx_data_size(struct gb_connection *connection,
- uint16_t data_cport, uint16_t size)
+ u16 data_cport, u16 size)
{
struct gb_audio_set_rx_data_size_request req;
EXPORT_SYMBOL_GPL(gb_audio_gb_set_rx_data_size);
int gb_audio_gb_activate_rx(struct gb_connection *connection,
- uint16_t data_cport)
+ u16 data_cport)
{
struct gb_audio_activate_rx_request req;
EXPORT_SYMBOL_GPL(gb_audio_gb_activate_rx);
int gb_audio_gb_deactivate_rx(struct gb_connection *connection,
- uint16_t data_cport)
+ u16 data_cport)
{
struct gb_audio_deactivate_rx_request req;