162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (C) 2018, 2020-2022 Intel Corporation
462306a36Sopenharmony_ci */
562306a36Sopenharmony_ci#ifndef __iwl_context_info_file_gen3_h__
662306a36Sopenharmony_ci#define __iwl_context_info_file_gen3_h__
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci#include "iwl-context-info.h"
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ci#define CSR_CTXT_INFO_BOOT_CTRL         0x0
1162306a36Sopenharmony_ci#define CSR_CTXT_INFO_ADDR              0x118
1262306a36Sopenharmony_ci#define CSR_IML_DATA_ADDR               0x120
1362306a36Sopenharmony_ci#define CSR_IML_SIZE_ADDR               0x128
1462306a36Sopenharmony_ci#define CSR_IML_RESP_ADDR               0x12c
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ci#define UNFRAGMENTED_PNVM_PAYLOADS_NUMBER 2
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ci/* Set bit for enabling automatic function boot */
1962306a36Sopenharmony_ci#define CSR_AUTO_FUNC_BOOT_ENA          BIT(1)
2062306a36Sopenharmony_ci/* Set bit for initiating function boot */
2162306a36Sopenharmony_ci#define CSR_AUTO_FUNC_INIT              BIT(7)
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ci/**
2462306a36Sopenharmony_ci * enum iwl_prph_scratch_mtr_format - tfd size configuration
2562306a36Sopenharmony_ci * @IWL_PRPH_MTR_FORMAT_16B: 16 bit tfd
2662306a36Sopenharmony_ci * @IWL_PRPH_MTR_FORMAT_32B: 32 bit tfd
2762306a36Sopenharmony_ci * @IWL_PRPH_MTR_FORMAT_64B: 64 bit tfd
2862306a36Sopenharmony_ci * @IWL_PRPH_MTR_FORMAT_256B: 256 bit tfd
2962306a36Sopenharmony_ci */
3062306a36Sopenharmony_cienum iwl_prph_scratch_mtr_format {
3162306a36Sopenharmony_ci	IWL_PRPH_MTR_FORMAT_16B = 0x0,
3262306a36Sopenharmony_ci	IWL_PRPH_MTR_FORMAT_32B = 0x40000,
3362306a36Sopenharmony_ci	IWL_PRPH_MTR_FORMAT_64B = 0x80000,
3462306a36Sopenharmony_ci	IWL_PRPH_MTR_FORMAT_256B = 0xC0000,
3562306a36Sopenharmony_ci};
3662306a36Sopenharmony_ci
3762306a36Sopenharmony_ci/**
3862306a36Sopenharmony_ci * enum iwl_prph_scratch_flags - PRPH scratch control flags
3962306a36Sopenharmony_ci * @IWL_PRPH_SCRATCH_IMR_DEBUG_EN: IMR support for debug
4062306a36Sopenharmony_ci * @IWL_PRPH_SCRATCH_EARLY_DEBUG_EN: enable early debug conf
4162306a36Sopenharmony_ci * @IWL_PRPH_SCRATCH_EDBG_DEST_DRAM: use DRAM, with size allocated
4262306a36Sopenharmony_ci *	in hwm config.
4362306a36Sopenharmony_ci * @IWL_PRPH_SCRATCH_EDBG_DEST_INTERNAL: use buffer on SRAM
4462306a36Sopenharmony_ci * @IWL_PRPH_SCRATCH_EDBG_DEST_ST_ARBITER: use st arbiter, mainly for
4562306a36Sopenharmony_ci *	multicomm.
4662306a36Sopenharmony_ci * @IWL_PRPH_SCRATCH_EDBG_DEST_TB22DTF: route debug data to SoC HW
4762306a36Sopenharmony_ci * @IWL_PRPH_SCTATCH_RB_SIZE_4K: Use 4K RB size (the default is 2K)
4862306a36Sopenharmony_ci * @IWL_PRPH_SCRATCH_MTR_MODE: format used for completion - 0: for
4962306a36Sopenharmony_ci *	completion descriptor, 1 for responses (legacy)
5062306a36Sopenharmony_ci * @IWL_PRPH_SCRATCH_MTR_FORMAT: a mask for the size of the tfd.
5162306a36Sopenharmony_ci *	There are 4 optional values: 0: 16 bit, 1: 32 bit, 2: 64 bit,
5262306a36Sopenharmony_ci *	3: 256 bit.
5362306a36Sopenharmony_ci * @IWL_PRPH_SCRATCH_RB_SIZE_EXT_MASK: RB size full information, ignored
5462306a36Sopenharmony_ci *	by older firmware versions, so set IWL_PRPH_SCRATCH_RB_SIZE_4K
5562306a36Sopenharmony_ci *	appropriately; use the below values for this.
5662306a36Sopenharmony_ci * @IWL_PRPH_SCRATCH_RB_SIZE_EXT_8K: 8kB RB size
5762306a36Sopenharmony_ci * @IWL_PRPH_SCRATCH_RB_SIZE_EXT_12K: 12kB RB size
5862306a36Sopenharmony_ci * @IWL_PRPH_SCRATCH_RB_SIZE_EXT_16K: 16kB RB size
5962306a36Sopenharmony_ci */
6062306a36Sopenharmony_cienum iwl_prph_scratch_flags {
6162306a36Sopenharmony_ci	IWL_PRPH_SCRATCH_IMR_DEBUG_EN		= BIT(1),
6262306a36Sopenharmony_ci	IWL_PRPH_SCRATCH_EARLY_DEBUG_EN		= BIT(4),
6362306a36Sopenharmony_ci	IWL_PRPH_SCRATCH_EDBG_DEST_DRAM		= BIT(8),
6462306a36Sopenharmony_ci	IWL_PRPH_SCRATCH_EDBG_DEST_INTERNAL	= BIT(9),
6562306a36Sopenharmony_ci	IWL_PRPH_SCRATCH_EDBG_DEST_ST_ARBITER	= BIT(10),
6662306a36Sopenharmony_ci	IWL_PRPH_SCRATCH_EDBG_DEST_TB22DTF	= BIT(11),
6762306a36Sopenharmony_ci	IWL_PRPH_SCRATCH_RB_SIZE_4K		= BIT(16),
6862306a36Sopenharmony_ci	IWL_PRPH_SCRATCH_MTR_MODE		= BIT(17),
6962306a36Sopenharmony_ci	IWL_PRPH_SCRATCH_MTR_FORMAT		= BIT(18) | BIT(19),
7062306a36Sopenharmony_ci	IWL_PRPH_SCRATCH_RB_SIZE_EXT_MASK	= 0xf << 20,
7162306a36Sopenharmony_ci	IWL_PRPH_SCRATCH_RB_SIZE_EXT_8K		= 8 << 20,
7262306a36Sopenharmony_ci	IWL_PRPH_SCRATCH_RB_SIZE_EXT_12K	= 9 << 20,
7362306a36Sopenharmony_ci	IWL_PRPH_SCRATCH_RB_SIZE_EXT_16K	= 10 << 20,
7462306a36Sopenharmony_ci};
7562306a36Sopenharmony_ci
7662306a36Sopenharmony_ci/*
7762306a36Sopenharmony_ci * struct iwl_prph_scratch_version - version structure
7862306a36Sopenharmony_ci * @mac_id: SKU and revision id
7962306a36Sopenharmony_ci * @version: prph scratch information version id
8062306a36Sopenharmony_ci * @size: the size of the context information in DWs
8162306a36Sopenharmony_ci * @reserved: reserved
8262306a36Sopenharmony_ci */
8362306a36Sopenharmony_cistruct iwl_prph_scratch_version {
8462306a36Sopenharmony_ci	__le16 mac_id;
8562306a36Sopenharmony_ci	__le16 version;
8662306a36Sopenharmony_ci	__le16 size;
8762306a36Sopenharmony_ci	__le16 reserved;
8862306a36Sopenharmony_ci} __packed; /* PERIPH_SCRATCH_VERSION_S */
8962306a36Sopenharmony_ci
9062306a36Sopenharmony_ci/*
9162306a36Sopenharmony_ci * struct iwl_prph_scratch_control - control structure
9262306a36Sopenharmony_ci * @control_flags: context information flags see &enum iwl_prph_scratch_flags
9362306a36Sopenharmony_ci * @reserved: reserved
9462306a36Sopenharmony_ci */
9562306a36Sopenharmony_cistruct iwl_prph_scratch_control {
9662306a36Sopenharmony_ci	__le32 control_flags;
9762306a36Sopenharmony_ci	__le32 reserved;
9862306a36Sopenharmony_ci} __packed; /* PERIPH_SCRATCH_CONTROL_S */
9962306a36Sopenharmony_ci
10062306a36Sopenharmony_ci/*
10162306a36Sopenharmony_ci * struct iwl_prph_scratch_pnvm_cfg - PNVM scratch
10262306a36Sopenharmony_ci * @pnvm_base_addr: PNVM start address
10362306a36Sopenharmony_ci * @pnvm_size: the size of the PNVM image in bytes
10462306a36Sopenharmony_ci * @reserved: reserved
10562306a36Sopenharmony_ci */
10662306a36Sopenharmony_cistruct iwl_prph_scratch_pnvm_cfg {
10762306a36Sopenharmony_ci	__le64 pnvm_base_addr;
10862306a36Sopenharmony_ci	__le32 pnvm_size;
10962306a36Sopenharmony_ci	__le32 reserved;
11062306a36Sopenharmony_ci} __packed; /* PERIPH_SCRATCH_PNVM_CFG_S */
11162306a36Sopenharmony_ci
11262306a36Sopenharmony_ci/**
11362306a36Sopenharmony_ci * struct iwl_prph_scrath_mem_desc_addr_array
11462306a36Sopenharmony_ci * @mem_descs: array of dram addresses.
11562306a36Sopenharmony_ci * Each address is the beggining of a pnvm payload.
11662306a36Sopenharmony_ci */
11762306a36Sopenharmony_cistruct iwl_prph_scrath_mem_desc_addr_array {
11862306a36Sopenharmony_ci	__le64 mem_descs[IPC_DRAM_MAP_ENTRY_NUM_MAX];
11962306a36Sopenharmony_ci} __packed; /* PERIPH_SCRATCH_MEM_DESC_ADDR_ARRAY_S_VER_1 */
12062306a36Sopenharmony_ci/*
12162306a36Sopenharmony_ci * struct iwl_prph_scratch_hwm_cfg - hwm config
12262306a36Sopenharmony_ci * @hwm_base_addr: hwm start address
12362306a36Sopenharmony_ci * @hwm_size: hwm size in DWs
12462306a36Sopenharmony_ci * @debug_token_config: debug preset
12562306a36Sopenharmony_ci */
12662306a36Sopenharmony_cistruct iwl_prph_scratch_hwm_cfg {
12762306a36Sopenharmony_ci	__le64 hwm_base_addr;
12862306a36Sopenharmony_ci	__le32 hwm_size;
12962306a36Sopenharmony_ci	__le32 debug_token_config;
13062306a36Sopenharmony_ci} __packed; /* PERIPH_SCRATCH_HWM_CFG_S */
13162306a36Sopenharmony_ci
13262306a36Sopenharmony_ci/*
13362306a36Sopenharmony_ci * struct iwl_prph_scratch_rbd_cfg - RBDs configuration
13462306a36Sopenharmony_ci * @free_rbd_addr: default queue free RB CB base address
13562306a36Sopenharmony_ci * @reserved: reserved
13662306a36Sopenharmony_ci */
13762306a36Sopenharmony_cistruct iwl_prph_scratch_rbd_cfg {
13862306a36Sopenharmony_ci	__le64 free_rbd_addr;
13962306a36Sopenharmony_ci	__le32 reserved;
14062306a36Sopenharmony_ci} __packed; /* PERIPH_SCRATCH_RBD_CFG_S */
14162306a36Sopenharmony_ci
14262306a36Sopenharmony_ci/*
14362306a36Sopenharmony_ci * struct iwl_prph_scratch_uefi_cfg - prph scratch reduce power table
14462306a36Sopenharmony_ci * @base_addr: reduce power table address
14562306a36Sopenharmony_ci * @size: the size of the entire power table image
14662306a36Sopenharmony_ci */
14762306a36Sopenharmony_cistruct iwl_prph_scratch_uefi_cfg {
14862306a36Sopenharmony_ci	__le64 base_addr;
14962306a36Sopenharmony_ci	__le32 size;
15062306a36Sopenharmony_ci	__le32 reserved;
15162306a36Sopenharmony_ci} __packed; /* PERIPH_SCRATCH_UEFI_CFG_S */
15262306a36Sopenharmony_ci
15362306a36Sopenharmony_ci/*
15462306a36Sopenharmony_ci * struct iwl_prph_scratch_step_cfg - prph scratch step configuration
15562306a36Sopenharmony_ci * @mbx_addr_0: [0:7] revision,
15662306a36Sopenharmony_ci *		[8:15] cnvi_to_cnvr length,
15762306a36Sopenharmony_ci *		[16:23] cnvr_to_cnvi channel length,
15862306a36Sopenharmony_ci *		[24:31] radio1 reserved
15962306a36Sopenharmony_ci * @mbx_addr_1: [0:7] radio2 reserved
16062306a36Sopenharmony_ci */
16162306a36Sopenharmony_ci
16262306a36Sopenharmony_cistruct iwl_prph_scratch_step_cfg {
16362306a36Sopenharmony_ci	__le32 mbx_addr_0;
16462306a36Sopenharmony_ci	__le32 mbx_addr_1;
16562306a36Sopenharmony_ci} __packed;
16662306a36Sopenharmony_ci
16762306a36Sopenharmony_ci/*
16862306a36Sopenharmony_ci * struct iwl_prph_scratch_ctrl_cfg - prph scratch ctrl and config
16962306a36Sopenharmony_ci * @version: version information of context info and HW
17062306a36Sopenharmony_ci * @control: control flags of FH configurations
17162306a36Sopenharmony_ci * @pnvm_cfg: ror configuration
17262306a36Sopenharmony_ci * @hwm_cfg: hwm configuration
17362306a36Sopenharmony_ci * @rbd_cfg: default RX queue configuration
17462306a36Sopenharmony_ci * @step_cfg: step configuration
17562306a36Sopenharmony_ci */
17662306a36Sopenharmony_cistruct iwl_prph_scratch_ctrl_cfg {
17762306a36Sopenharmony_ci	struct iwl_prph_scratch_version version;
17862306a36Sopenharmony_ci	struct iwl_prph_scratch_control control;
17962306a36Sopenharmony_ci	struct iwl_prph_scratch_pnvm_cfg pnvm_cfg;
18062306a36Sopenharmony_ci	struct iwl_prph_scratch_hwm_cfg hwm_cfg;
18162306a36Sopenharmony_ci	struct iwl_prph_scratch_rbd_cfg rbd_cfg;
18262306a36Sopenharmony_ci	struct iwl_prph_scratch_uefi_cfg reduce_power_cfg;
18362306a36Sopenharmony_ci	struct iwl_prph_scratch_step_cfg step_cfg;
18462306a36Sopenharmony_ci} __packed; /* PERIPH_SCRATCH_CTRL_CFG_S */
18562306a36Sopenharmony_ci
18662306a36Sopenharmony_ci/*
18762306a36Sopenharmony_ci * struct iwl_prph_scratch - peripheral scratch mapping
18862306a36Sopenharmony_ci * @ctrl_cfg: control and configuration of prph scratch
18962306a36Sopenharmony_ci * @dram: firmware images addresses in DRAM
19062306a36Sopenharmony_ci * @reserved: reserved
19162306a36Sopenharmony_ci */
19262306a36Sopenharmony_cistruct iwl_prph_scratch {
19362306a36Sopenharmony_ci	struct iwl_prph_scratch_ctrl_cfg ctrl_cfg;
19462306a36Sopenharmony_ci	__le32 reserved[10];
19562306a36Sopenharmony_ci	struct iwl_context_info_dram dram;
19662306a36Sopenharmony_ci} __packed; /* PERIPH_SCRATCH_S */
19762306a36Sopenharmony_ci
19862306a36Sopenharmony_ci/*
19962306a36Sopenharmony_ci * struct iwl_prph_info - peripheral information
20062306a36Sopenharmony_ci * @boot_stage_mirror: reflects the value in the Boot Stage CSR register
20162306a36Sopenharmony_ci * @ipc_status_mirror: reflects the value in the IPC Status CSR register
20262306a36Sopenharmony_ci * @sleep_notif: indicates the peripheral sleep status
20362306a36Sopenharmony_ci * @reserved: reserved
20462306a36Sopenharmony_ci */
20562306a36Sopenharmony_cistruct iwl_prph_info {
20662306a36Sopenharmony_ci	__le32 boot_stage_mirror;
20762306a36Sopenharmony_ci	__le32 ipc_status_mirror;
20862306a36Sopenharmony_ci	__le32 sleep_notif;
20962306a36Sopenharmony_ci	__le32 reserved;
21062306a36Sopenharmony_ci} __packed; /* PERIPH_INFO_S */
21162306a36Sopenharmony_ci
21262306a36Sopenharmony_ci/*
21362306a36Sopenharmony_ci * struct iwl_context_info_gen3 - device INIT configuration
21462306a36Sopenharmony_ci * @version: version of the context information
21562306a36Sopenharmony_ci * @size: size of context information in DWs
21662306a36Sopenharmony_ci * @config: context in which the peripheral would execute - a subset of
21762306a36Sopenharmony_ci *	capability csr register published by the peripheral
21862306a36Sopenharmony_ci * @prph_info_base_addr: the peripheral information structure start address
21962306a36Sopenharmony_ci * @cr_head_idx_arr_base_addr: the completion ring head index array
22062306a36Sopenharmony_ci *	start address
22162306a36Sopenharmony_ci * @tr_tail_idx_arr_base_addr: the transfer ring tail index array
22262306a36Sopenharmony_ci *	start address
22362306a36Sopenharmony_ci * @cr_tail_idx_arr_base_addr: the completion ring tail index array
22462306a36Sopenharmony_ci *	start address
22562306a36Sopenharmony_ci * @tr_head_idx_arr_base_addr: the transfer ring head index array
22662306a36Sopenharmony_ci *	start address
22762306a36Sopenharmony_ci * @cr_idx_arr_size: number of entries in the completion ring index array
22862306a36Sopenharmony_ci * @tr_idx_arr_size: number of entries in the transfer ring index array
22962306a36Sopenharmony_ci * @mtr_base_addr: the message transfer ring start address
23062306a36Sopenharmony_ci * @mcr_base_addr: the message completion ring start address
23162306a36Sopenharmony_ci * @mtr_size: number of entries which the message transfer ring can hold
23262306a36Sopenharmony_ci * @mcr_size: number of entries which the message completion ring can hold
23362306a36Sopenharmony_ci * @mtr_doorbell_vec: the doorbell vector associated with the message
23462306a36Sopenharmony_ci *	transfer ring
23562306a36Sopenharmony_ci * @mcr_doorbell_vec: the doorbell vector associated with the message
23662306a36Sopenharmony_ci *	completion ring
23762306a36Sopenharmony_ci * @mtr_msi_vec: the MSI which shall be generated by the peripheral after
23862306a36Sopenharmony_ci *	completing a transfer descriptor in the message transfer ring
23962306a36Sopenharmony_ci * @mcr_msi_vec: the MSI which shall be generated by the peripheral after
24062306a36Sopenharmony_ci *	completing a completion descriptor in the message completion ring
24162306a36Sopenharmony_ci * @mtr_opt_header_size: the size of the optional header in the transfer
24262306a36Sopenharmony_ci *	descriptor associated with the message transfer ring in DWs
24362306a36Sopenharmony_ci * @mtr_opt_footer_size: the size of the optional footer in the transfer
24462306a36Sopenharmony_ci *	descriptor associated with the message transfer ring in DWs
24562306a36Sopenharmony_ci * @mcr_opt_header_size: the size of the optional header in the completion
24662306a36Sopenharmony_ci *	descriptor associated with the message completion ring in DWs
24762306a36Sopenharmony_ci * @mcr_opt_footer_size: the size of the optional footer in the completion
24862306a36Sopenharmony_ci *	descriptor associated with the message completion ring in DWs
24962306a36Sopenharmony_ci * @msg_rings_ctrl_flags: message rings control flags
25062306a36Sopenharmony_ci * @prph_info_msi_vec: the MSI which shall be generated by the peripheral
25162306a36Sopenharmony_ci *	after updating the Peripheral Information structure
25262306a36Sopenharmony_ci * @prph_scratch_base_addr: the peripheral scratch structure start address
25362306a36Sopenharmony_ci * @prph_scratch_size: the size of the peripheral scratch structure in DWs
25462306a36Sopenharmony_ci * @reserved: reserved
25562306a36Sopenharmony_ci */
25662306a36Sopenharmony_cistruct iwl_context_info_gen3 {
25762306a36Sopenharmony_ci	__le16 version;
25862306a36Sopenharmony_ci	__le16 size;
25962306a36Sopenharmony_ci	__le32 config;
26062306a36Sopenharmony_ci	__le64 prph_info_base_addr;
26162306a36Sopenharmony_ci	__le64 cr_head_idx_arr_base_addr;
26262306a36Sopenharmony_ci	__le64 tr_tail_idx_arr_base_addr;
26362306a36Sopenharmony_ci	__le64 cr_tail_idx_arr_base_addr;
26462306a36Sopenharmony_ci	__le64 tr_head_idx_arr_base_addr;
26562306a36Sopenharmony_ci	__le16 cr_idx_arr_size;
26662306a36Sopenharmony_ci	__le16 tr_idx_arr_size;
26762306a36Sopenharmony_ci	__le64 mtr_base_addr;
26862306a36Sopenharmony_ci	__le64 mcr_base_addr;
26962306a36Sopenharmony_ci	__le16 mtr_size;
27062306a36Sopenharmony_ci	__le16 mcr_size;
27162306a36Sopenharmony_ci	__le16 mtr_doorbell_vec;
27262306a36Sopenharmony_ci	__le16 mcr_doorbell_vec;
27362306a36Sopenharmony_ci	__le16 mtr_msi_vec;
27462306a36Sopenharmony_ci	__le16 mcr_msi_vec;
27562306a36Sopenharmony_ci	u8 mtr_opt_header_size;
27662306a36Sopenharmony_ci	u8 mtr_opt_footer_size;
27762306a36Sopenharmony_ci	u8 mcr_opt_header_size;
27862306a36Sopenharmony_ci	u8 mcr_opt_footer_size;
27962306a36Sopenharmony_ci	__le16 msg_rings_ctrl_flags;
28062306a36Sopenharmony_ci	__le16 prph_info_msi_vec;
28162306a36Sopenharmony_ci	__le64 prph_scratch_base_addr;
28262306a36Sopenharmony_ci	__le32 prph_scratch_size;
28362306a36Sopenharmony_ci	__le32 reserved;
28462306a36Sopenharmony_ci} __packed; /* IPC_CONTEXT_INFO_S */
28562306a36Sopenharmony_ci
28662306a36Sopenharmony_ciint iwl_pcie_ctxt_info_gen3_init(struct iwl_trans *trans,
28762306a36Sopenharmony_ci				 const struct fw_img *fw);
28862306a36Sopenharmony_civoid iwl_pcie_ctxt_info_gen3_free(struct iwl_trans *trans, bool alive);
28962306a36Sopenharmony_ci
29062306a36Sopenharmony_ciint iwl_trans_pcie_ctx_info_gen3_load_pnvm(struct iwl_trans *trans,
29162306a36Sopenharmony_ci					   const struct iwl_pnvm_image *pnvm_payloads,
29262306a36Sopenharmony_ci					   const struct iwl_ucode_capabilities *capa);
29362306a36Sopenharmony_civoid iwl_trans_pcie_ctx_info_gen3_set_pnvm(struct iwl_trans *trans,
29462306a36Sopenharmony_ci					   const struct iwl_ucode_capabilities *capa);
29562306a36Sopenharmony_ciint
29662306a36Sopenharmony_ciiwl_trans_pcie_ctx_info_gen3_load_reduce_power(struct iwl_trans *trans,
29762306a36Sopenharmony_ci					       const struct iwl_pnvm_image *payloads,
29862306a36Sopenharmony_ci					       const struct iwl_ucode_capabilities *capa);
29962306a36Sopenharmony_civoid
30062306a36Sopenharmony_ciiwl_trans_pcie_ctx_info_gen3_set_reduce_power(struct iwl_trans *trans,
30162306a36Sopenharmony_ci					      const struct iwl_ucode_capabilities *capa);
30262306a36Sopenharmony_ciint iwl_trans_pcie_ctx_info_gen3_set_step(struct iwl_trans *trans,
30362306a36Sopenharmony_ci					  u32 mbx_addr_0_step, u32 mbx_addr_1_step);
30462306a36Sopenharmony_ci#endif /* __iwl_context_info_file_gen3_h__ */
305