Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0-only */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3)  * Aic94xx SAS/SATA driver sequencer interface header file.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)  * Copyright (C) 2005 Adaptec, Inc.  All rights reserved.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6)  * Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) #ifndef _AIC94XX_SEQ_H_
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #define _AIC94XX_SEQ_H_
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) #define CSEQ_NUM_VECS	3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #define LSEQ_NUM_VECS	11
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) #define SAS_RAZOR_SEQUENCER_FW_FILE "aic94xx-seq.fw"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) #define SAS_RAZOR_SEQUENCER_FW_MAJOR	1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) /* Note:  All quantites in the sequencer file are little endian */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) struct sequencer_file_header {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 	/* Checksum of the entire contents of the sequencer excluding
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 	 * these four bytes */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 	u32	csum;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 	/* numeric major version */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 	u32	major;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 	/* numeric minor version */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 	u32	minor;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 	/* version string printed by driver */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 	char	version[16];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 	u32	cseq_table_offset;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 	u32	cseq_table_size;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 	u32	lseq_table_offset;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 	u32	lseq_table_size;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 	u32	cseq_code_offset;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 	u32	cseq_code_size;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 	u32	lseq_code_offset;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 	u32	lseq_code_size;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 	u16	mode2_task;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) 	u16	cseq_idle_loop;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 	u16	lseq_idle_loop;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) } __attribute__((packed));
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) #ifdef __KERNEL__
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) int asd_init_seqs(struct asd_ha_struct *asd_ha);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) int asd_start_seqs(struct asd_ha_struct *asd_ha);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) int asd_release_firmware(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) void asd_update_port_links(struct asd_ha_struct *asd_ha, struct asd_phy *phy);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) #endif