ipa_cmd.h (98817a84ff1c755c347ac633ff017a623a631fad) ipa_cmd.h (6cb63ea6a39eac9640d109f274a237b34350c183)
1/* SPDX-License-Identifier: GPL-2.0 */
2
3/* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
4 * Copyright (C) 2019-2020 Linaro Ltd.
5 */
6#ifndef _IPA_CMD_H_
7#define _IPA_CMD_H_
8

--- 158 unchanged lines hidden (view full) ---

167 * ipa_cmd_tag_process_add_count() - Number of commands in a tag process
168 *
169 * @Return: The number of elements to allocate in a transaction
170 * to hold tag process commands
171 */
172u32 ipa_cmd_tag_process_count(void);
173
174/**
1/* SPDX-License-Identifier: GPL-2.0 */
2
3/* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
4 * Copyright (C) 2019-2020 Linaro Ltd.
5 */
6#ifndef _IPA_CMD_H_
7#define _IPA_CMD_H_
8

--- 158 unchanged lines hidden (view full) ---

167 * ipa_cmd_tag_process_add_count() - Number of commands in a tag process
168 *
169 * @Return: The number of elements to allocate in a transaction
170 * to hold tag process commands
171 */
172u32 ipa_cmd_tag_process_count(void);
173
174/**
175 * ipa_cmd_tag_process() - Perform a tag process
176 *
177 * @Return: The number of elements to allocate in a transaction
178 * to hold tag process commands
179 */
180void ipa_cmd_tag_process(struct ipa *ipa);
181
182/**
175 * ipa_cmd_trans_alloc() - Allocate a transaction for the command TX endpoint
176 * @ipa: IPA pointer
177 * @tre_count: Number of elements in the transaction
178 *
179 * @Return: A GSI transaction structure, or a null pointer if all
180 * available transactions are in use
181 */
182struct gsi_trans *ipa_cmd_trans_alloc(struct ipa *ipa, u32 tre_count);
183
184#endif /* _IPA_CMD_H_ */
183 * ipa_cmd_trans_alloc() - Allocate a transaction for the command TX endpoint
184 * @ipa: IPA pointer
185 * @tre_count: Number of elements in the transaction
186 *
187 * @Return: A GSI transaction structure, or a null pointer if all
188 * available transactions are in use
189 */
190struct gsi_trans *ipa_cmd_trans_alloc(struct ipa *ipa, u32 tre_count);
191
192#endif /* _IPA_CMD_H_ */