Path: blob/main/sys/contrib/dev/iwlwifi/fw/api/paging.h
48425 views
/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */1/*2* Copyright (C) 2005-2014 Intel Corporation3* Copyright (C) 2013-2015 Intel Mobile Communications GmbH4* Copyright (C) 2016-2017 Intel Deutschland GmbH5*/6#ifndef __iwl_fw_api_paging_h__7#define __iwl_fw_api_paging_h__89#define NUM_OF_FW_PAGING_BLOCKS 33 /* 32 for data and 1 block for CSS */1011/**12* struct iwl_fw_paging_cmd - paging layout13*14* Send to FW the paging layout in the driver.15*16* @flags: various flags for the command17* @block_size: the block size in powers of 218* @block_num: number of blocks specified in the command.19* @device_phy_addr: virtual addresses from device side20*/21struct iwl_fw_paging_cmd {22__le32 flags;23__le32 block_size;24__le32 block_num;25__le32 device_phy_addr[NUM_OF_FW_PAGING_BLOCKS];26} __packed; /* FW_PAGING_BLOCK_CMD_API_S_VER_1 */2728#endif /* __iwl_fw_api_paging_h__ */293031