Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
31 lines
787 B
C
31 lines
787 B
C
/*
|
|
* Header for Bestcomm ATA task driver
|
|
*
|
|
*
|
|
* Copyright (C) 2006 Freescale - John Rigby
|
|
* Copyright (C) 2006 Sylvain Munaut <tnt@246tNt.com>
|
|
*
|
|
* This file is licensed under the terms of the GNU General Public License
|
|
* version 2. This program is licensed "as is" without any warranty of any
|
|
* kind, whether express or implied.
|
|
*/
|
|
|
|
#ifndef __BESTCOMM_ATA_H__
|
|
#define __BESTCOMM_ATA_H__
|
|
|
|
|
|
struct bcom_ata_bd {
|
|
u32 status;
|
|
u32 src_pa;
|
|
u32 dst_pa;
|
|
};
|
|
|
|
extern struct bcom_task * bcom_ata_init(int queue_len, int maxbufsize);
|
|
extern void bcom_ata_rx_prepare(struct bcom_task *tsk);
|
|
extern void bcom_ata_tx_prepare(struct bcom_task *tsk);
|
|
extern void bcom_ata_reset_bd(struct bcom_task *tsk);
|
|
extern void bcom_ata_release(struct bcom_task *tsk);
|
|
|
|
#endif /* __BESTCOMM_ATA_H__ */
|
|
|