}
EXPORT_SYMBOL_GPL(gb_audio_apbridgea_set_tx_data_size);
-int gb_audio_apbridgea_get_tx_delay(struct gb_connection *connection,
- __u16 i2s_port, __u32 *delay)
-{
- /* TODO: implement */
- return -EOPNOTSUPP;
-}
-EXPORT_SYMBOL_GPL(gb_audio_apbridgea_get_tx_delay);
-
int gb_audio_apbridgea_prepare_tx(struct gb_connection *connection,
__u16 i2s_port)
{
}
EXPORT_SYMBOL_GPL(gb_audio_apbridgea_set_rx_data_size);
-int gb_audio_apbridgea_get_rx_delay(struct gb_connection *connection,
- __u16 i2s_port, __u32 *delay)
-{
- /* TODO: implement */
- return -EOPNOTSUPP;
-}
-EXPORT_SYMBOL_GPL(gb_audio_apbridgea_get_rx_delay);
-
int gb_audio_apbridgea_prepare_rx(struct gb_connection *connection,
__u16 i2s_port)
{
#define AUDIO_APBRIDGEA_TYPE_REGISTER_CPORT 0x02
#define AUDIO_APBRIDGEA_TYPE_UNREGISTER_CPORT 0x03
#define AUDIO_APBRIDGEA_TYPE_SET_TX_DATA_SIZE 0x04
-#define AUDIO_APBRIDGEA_TYPE_GET_TX_DELAY 0x05
+ /* 0x05 unused */
#define AUDIO_APBRIDGEA_TYPE_PREPARE_TX 0x06
#define AUDIO_APBRIDGEA_TYPE_START_TX 0x07
#define AUDIO_APBRIDGEA_TYPE_STOP_TX 0x08
#define AUDIO_APBRIDGEA_TYPE_SHUTDOWN_TX 0x09
#define AUDIO_APBRIDGEA_TYPE_SET_RX_DATA_SIZE 0x0a
-#define AUDIO_APBRIDGEA_TYPE_GET_RX_DELAY 0x0b
+ /* 0x0b unused */
#define AUDIO_APBRIDGEA_TYPE_PREPARE_RX 0x0c
#define AUDIO_APBRIDGEA_TYPE_START_RX 0x0d
#define AUDIO_APBRIDGEA_TYPE_STOP_RX 0x0e
__le16 size;
} __packed;
-struct audio_apbridgea_get_tx_delay_request {
- struct audio_apbridgea_hdr hdr;
-} __packed;
-
-struct audio_apbridgea_get_tx_delay_response {
- struct audio_apbridgea_hdr hdr;
- __le16 delay;
-} __packed;
-
struct audio_apbridgea_prepare_tx_request {
struct audio_apbridgea_hdr hdr;
} __packed;
__le16 size;
} __packed;
-struct audio_apbridgea_get_rx_delay_request {
- struct audio_apbridgea_hdr hdr;
-} __packed;
-
-struct audio_apbridgea_get_rx_delay_response {
- struct audio_apbridgea_hdr hdr;
- __le16 delay;
-} __packed;
-
struct audio_apbridgea_prepare_rx_request {
struct audio_apbridgea_hdr hdr;
} __packed;
__u8 direction);
extern int gb_audio_apbridgea_set_tx_data_size(struct gb_connection *connection,
__u16 i2s_port, __u16 size);
-extern int gb_audio_apbridgea_get_tx_delay(struct gb_connection *connection,
- __u16 i2s_port, __u32 *delay);
extern int gb_audio_apbridgea_prepare_tx(struct gb_connection *connection,
__u16 i2s_port);
extern int gb_audio_apbridgea_start_tx(struct gb_connection *connection,
__u16 i2s_port);
extern int gb_audio_apbridgea_set_rx_data_size(struct gb_connection *connection,
__u16 i2s_port, __u16 size);
-extern int gb_audio_apbridgea_get_rx_delay(struct gb_connection *connection,
- __u16 i2s_port, __u32 *delay);
extern int gb_audio_apbridgea_prepare_rx(struct gb_connection *connection,
__u16 i2s_port);
extern int gb_audio_apbridgea_start_rx(struct gb_connection *connection,