M7350/qcom-opensource/kernel/kernel-tests/bam_dmux_loopback/loopback_a2.h

27 lines
854 B
C
Raw Normal View History

2024-09-09 08:57:42 +00:00
/* Copyright (c) 2013-2014, The Linux Foundation. All rights reserved.
2024-09-09 08:52:07 +00:00
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
2024-09-09 08:57:42 +00:00
#ifndef _LOOPBACK_A2_H_
#define _LOOPBACK_A2_H_
2024-09-09 08:52:07 +00:00
2024-09-09 08:57:42 +00:00
#include "../../../drivers/soc/qcom/bam_dmux_private.h"
2024-09-09 08:52:07 +00:00
2024-09-09 08:57:42 +00:00
int mock_a2_init(void);
2024-09-09 08:52:07 +00:00
2024-09-09 08:57:42 +00:00
int mock_a2_tx_list_pop(struct bam_mux_hdr *hdr, void *buff);
2024-09-09 08:52:07 +00:00
2024-09-09 08:57:42 +00:00
int mock_a2_rx_list_push(void *data, struct tx_pkt_info *pkt);
2024-09-09 08:52:07 +00:00
2024-09-09 08:57:42 +00:00
void mock_a2_clear_lists(void);
#endif /* _LOOPBACK_A2_H_ */