Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
0002 /*
0003  * Copyright (C) 2005-2014 Intel Corporation
0004  * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
0005  * Copyright (C) 2016-2017 Intel Deutschland GmbH
0006  */
0007 #ifndef __iwl_fw_api_paging_h__
0008 #define __iwl_fw_api_paging_h__
0009 
0010 #define NUM_OF_FW_PAGING_BLOCKS 33 /* 32 for data and 1 block for CSS */
0011 
0012 /**
0013  * struct iwl_fw_paging_cmd - paging layout
0014  *
0015  * Send to FW the paging layout in the driver.
0016  *
0017  * @flags: various flags for the command
0018  * @block_size: the block size in powers of 2
0019  * @block_num: number of blocks specified in the command.
0020  * @device_phy_addr: virtual addresses from device side
0021  */
0022 struct iwl_fw_paging_cmd {
0023     __le32 flags;
0024     __le32 block_size;
0025     __le32 block_num;
0026     __le32 device_phy_addr[NUM_OF_FW_PAGING_BLOCKS];
0027 } __packed; /* FW_PAGING_BLOCK_CMD_API_S_VER_1 */
0028 
0029 #endif /* __iwl_fw_api_paging_h__ */