1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2005-2014 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
7 #ifndef __iwl_fw_api_paging_h__
8 #define __iwl_fw_api_paging_h__
10 #define NUM_OF_FW_PAGING_BLOCKS 33 /* 32 for data and 1 block for CSS */
13 * struct iwl_fw_paging_cmd - paging layout
15 * Send to FW the paging layout in the driver.
17 * @flags: various flags for the command
18 * @block_size: the block size in powers of 2
19 * @block_num: number of blocks specified in the command.
20 * @device_phy_addr: virtual addresses from device side
22 struct iwl_fw_paging_cmd
{
26 __le32 device_phy_addr
[NUM_OF_FW_PAGING_BLOCKS
];
27 } __packed
; /* FW_PAGING_BLOCK_CMD_API_S_VER_1 */
29 #endif /* __iwl_fw_api_paging_h__ */