fw-api: Add QCA6390 Hardware header files
Header update as per wcss_r43 version. Change-Id: Ia254ce19ff0740cbaf46bc2c19329c43a97344cb CRs-Fixed: 2262786
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
c02847b52f
commit
d9b2e528a7
65
hw/qca6390/v1/wbm_buffer_ring.h
Normal file
65
hw/qca6390/v1/wbm_buffer_ring.h
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright (c) 2018 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
* above copyright notice and this permission notice appear in all
|
||||
* copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
|
||||
* WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
|
||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
|
||||
* AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
|
||||
* DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
|
||||
* PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
||||
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
#ifndef _WBM_BUFFER_RING_H_
|
||||
#define _WBM_BUFFER_RING_H_
|
||||
#if !defined(__ASSEMBLER__)
|
||||
#endif
|
||||
|
||||
#include "buffer_addr_info.h"
|
||||
|
||||
// ################ START SUMMARY #################
|
||||
//
|
||||
// Dword Fields
|
||||
// 0-1 struct buffer_addr_info buf_addr_info;
|
||||
//
|
||||
// ################ END SUMMARY #################
|
||||
|
||||
#define NUM_OF_DWORDS_WBM_BUFFER_RING 2
|
||||
|
||||
struct wbm_buffer_ring {
|
||||
struct buffer_addr_info buf_addr_info;
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
struct buffer_addr_info buf_addr_info
|
||||
|
||||
Consumer: WBM
|
||||
|
||||
Producer: WBM
|
||||
|
||||
|
||||
|
||||
Details of the physical address of the buffer + source
|
||||
buffer owner + some SW meta data.
|
||||
|
||||
All modules getting this buffer address info, shall keep
|
||||
all the 64 bits of info in this descriptor together and
|
||||
eventually all 64 bits shall be given back to WMB when the
|
||||
buffer is released.
|
||||
*/
|
||||
|
||||
#define WBM_BUFFER_RING_0_BUFFER_ADDR_INFO_BUF_ADDR_INFO_OFFSET 0x00000000
|
||||
#define WBM_BUFFER_RING_0_BUFFER_ADDR_INFO_BUF_ADDR_INFO_LSB 0
|
||||
#define WBM_BUFFER_RING_0_BUFFER_ADDR_INFO_BUF_ADDR_INFO_MASK 0xffffffff
|
||||
#define WBM_BUFFER_RING_1_BUFFER_ADDR_INFO_BUF_ADDR_INFO_OFFSET 0x00000004
|
||||
#define WBM_BUFFER_RING_1_BUFFER_ADDR_INFO_BUF_ADDR_INFO_LSB 0
|
||||
#define WBM_BUFFER_RING_1_BUFFER_ADDR_INFO_BUF_ADDR_INFO_MASK 0xffffffff
|
||||
|
||||
|
||||
#endif // _WBM_BUFFER_RING_H_
|
Reference in New Issue
Block a user