WIP FPC-III support
[linux/fpc-iii.git] / drivers / net / wireless / intel / iwlwifi / fw / api / paging.h
blobdb59a1897fb110a7a38b313a7a0f5ebdbfca42e5
1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
2 /*
3 * Copyright (C) 2005-2014 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
6 */
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 */
12 /**
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 {
23 __le32 flags;
24 __le32 block_size;
25 __le32 block_num;
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__ */