brintos

brintos / linux-shallow public Read only

0
0
Text · 881 B · db59a18 Raw
30 lines · c
1/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */2/*3 * Copyright (C) 2005-2014 Intel Corporation4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH5 * Copyright (C) 2016-2017 Intel Deutschland GmbH6 */7#ifndef __iwl_fw_api_paging_h__8#define __iwl_fw_api_paging_h__9 10#define NUM_OF_FW_PAGING_BLOCKS	33 /* 32 for data and 1 block for CSS */11 12/**13 * struct iwl_fw_paging_cmd - paging layout14 *15 * Send to FW the paging layout in the driver.16 *17 * @flags: various flags for the command18 * @block_size: the block size in powers of 219 * @block_num: number of blocks specified in the command.20 * @device_phy_addr: virtual addresses from device side21 */22struct 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 */28 29#endif /* __iwl_fw_api_paging_h__ */30