Lines Matching +full:ipa +full:- +full:reg
1 /* SPDX-License-Identifier: GPL-2.0 */
3 /* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved.
4 * Copyright (C) 2018-2023 Linaro Ltd.
30 * function-like macro that takes a parameter used in the computation.
38 * (though the actual limit is hardware-dependent).
42 * (though the actual limit is hardware-dependent).
45 /* enum gsi_reg_id - GSI register IDs */
47 INTER_EE_SRC_CH_IRQ_MSK, /* IPA v3.5+ */
48 INTER_EE_SRC_EV_CH_IRQ_MSK, /* IPA v3.5+ */
77 HW_PARAM_2, /* IPA v3.5.1+ */
78 HW_PARAM_4, /* IPA v5.0+ */
109 CHTYPE_PROTOCOL_MSB, /* IPA v4.5-4.11 */
110 ERINDEX, /* Not IPA v5.0+ */
115 /** enum gsi_channel_type - CHTYPE_PROTOCOL field values in CH_C_CNTXT_0 */
132 CH_ERINDEX, /* IPA v5.0+ */
140 USE_ESCAPE_BUF_ONLY, /* IPA v4.0-4.2 */
141 PREFETCH_MODE, /* IPA v4.5+ */
142 EMPTY_LVL_THRSHOLD, /* IPA v4.5+ */
143 DB_IN_BYTES, /* IPA v4.9+ */
144 LOW_LATENCY_EN, /* IPA v5.0+ */
147 /** enum gsi_prefetch_mode - PREFETCH_MODE field in CH_C_QOS */
188 /** enum gsi_ch_cmd_opcode - CH_OPCODE field values in CH_CMD */
204 /** enum gsi_evt_cmd_opcode - EV_OPCODE field values in EV_CH_CMD */
216 GENERIC_PARAMS, /* IPA v4.11+ */
219 /** enum gsi_generic_cmd_opcode - GENERIC_OPCODE field values in GENERIC_CMD */
223 GSI_GENERIC_ENABLE_FLOW_CONTROL = 0x3, /* IPA v4.2+ */
224 GSI_GENERIC_DISABLE_FLOW_CONTROL = 0x4, /* IPA v4.2+ */
225 GSI_GENERIC_QUERY_FLOW_CONTROL = 0x5, /* IPA v4.11+ */
228 /* HW_PARAM_2 register */ /* IPA v3.5.1+ */
232 NUM_EV_PER_EE, /* Not IPA v5.0+ */
235 GSI_USE_SDMA, /* IPA v4.0+ */
236 GSI_SDMA_N_INT, /* IPA v4.0+ */
237 GSI_SDMA_MAX_BURST, /* IPA v4.0+ */
238 GSI_SDMA_N_IOVEC, /* IPA v4.0+ */
239 GSI_USE_RD_WR_ENG, /* IPA v4.2+ */
240 GSI_USE_INTER_EE, /* IPA v4.2+ */
243 /** enum gsi_iram_size - IRAM_SIZE field values in HW_PARAM_2 */
247 /* The next two values are available for IPA v4.0 and above */
250 /* The next two values are available for IPA v4.5 and above */
255 /* HW_PARAM_4 register */ /* IPA v5.0+ */
267 * @GSI_INTER_EE_CH_CTRL: Remote-issued stop/reset (unused)
268 * @GSI_INTER_EE_EV_CTRL: Remote-issued event reset (unused)
279 /* IRQ types 7-31 (and their bit values) are reserved */
288 /* Global IRQ types 4-31 (and their bit values) are reserved */
297 /* General IRQ types 4-31 (and their bit values) are reserved */
316 /** enum gsi_err_code - ERR_CODE field values in EE_ERR_LOG */
328 /** enum gsi_err_type - ERR_TYPE field values in EE_ERR_LOG */
341 /** enum gsi_generic_ee_result - GENERIC_EE_RESULT field values in SCRATCH_0 */
361 * gsi_reg() - Return the structure describing a GSI register
365 const struct reg *gsi_reg(struct gsi *gsi, enum gsi_reg_id reg_id);
368 * gsi_reg_init() - Perform GSI register initialization
370 * @pdev: GSI (IPA) platform device
378 * gsi_reg_exit() - Inverse of gsi_reg_init()