mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 13:43:28 +00:00
185f812c41
Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
29 lines
705 B
C
29 lines
705 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright 2018 Google LLC
|
|
* Written by Simon Glass <sjg@chromium.org>
|
|
*/
|
|
|
|
#ifndef __TEGRA_I2S_PRIV_H
|
|
#define __TEGRA_I2S_PRIV_H
|
|
|
|
enum {
|
|
/* Set i2s device (in buf) */
|
|
AHUB_MISCOP_SET_I2S,
|
|
};
|
|
|
|
/*
|
|
* tegra_i2s_set_cif_tx_ctrl() - Set the I2C port to send to
|
|
*
|
|
* The CIF is not really part of I2S -- it's for Audio Hub to control
|
|
* the interface between I2S and Audio Hub. However since it's put in
|
|
* the I2S registers domain instead of the Audio Hub, we need to export
|
|
* this as a function.
|
|
*
|
|
* @dev: I2S device
|
|
* @value: Value to write to CIF_TX_CTRL register
|
|
* Return: 0
|
|
*/
|
|
int tegra_i2s_set_cif_tx_ctrl(struct udevice *dev, u32 value);
|
|
|
|
#endif
|