diff options
Diffstat (limited to 'drivers/net/ipa/ipa_cmd.h')
| -rw-r--r-- | drivers/net/ipa/ipa_cmd.h | 19 | 
1 files changed, 13 insertions, 6 deletions
| diff --git a/drivers/net/ipa/ipa_cmd.h b/drivers/net/ipa/ipa_cmd.h index 6dd3d35cf315..b99262281f41 100644 --- a/drivers/net/ipa/ipa_cmd.h +++ b/drivers/net/ipa/ipa_cmd.h @@ -20,11 +20,18 @@ struct gsi_channel;  /**   * enum ipa_cmd_opcode:	IPA immediate commands   * - * All immediate commands are issued using the AP command TX endpoint. - * The numeric values here are the opcodes for IPA v3.5.1 hardware. + * @IPA_CMD_IP_V4_FILTER_INIT:	Initialize IPv4 filter table + * @IPA_CMD_IP_V6_FILTER_INIT:	Initialize IPv6 filter table + * @IPA_CMD_IP_V4_ROUTING_INIT:	Initialize IPv4 routing table + * @IPA_CMD_IP_V6_ROUTING_INIT:	Initialize IPv6 routing table + * @IPA_CMD_HDR_INIT_LOCAL:	Initialize IPA-local header memory + * @IPA_CMD_REGISTER_WRITE:	Register write performed by IPA + * @IPA_CMD_IP_PACKET_INIT:	Set up next packet's destination endpoint + * @IPA_CMD_DMA_SHARED_MEM:	DMA command performed by IPA + * @IPA_CMD_IP_PACKET_TAG_STATUS: Have next packet generate tag * status + * @IPA_CMD_NONE:		Special (invalid) "not a command" value   * - * IPA_CMD_NONE is a special (invalid) value that's used to indicate - * a request is *not* an immediate command. + * All immediate commands are issued using the AP command TX endpoint.   */  enum ipa_cmd_opcode {  	IPA_CMD_NONE			= 0x0, @@ -96,7 +103,7 @@ static inline bool ipa_cmd_data_valid(struct ipa *ipa)   *   * Return:	0 if successful, or a negative error code   */ -int ipa_cmd_pool_init(struct gsi_channel *gsi_channel, u32 tre_count); +int ipa_cmd_pool_init(struct gsi_channel *channel, u32 tre_count);  /**   * ipa_cmd_pool_exit() - Inverse of ipa_cmd_pool_init() @@ -124,7 +131,7 @@ void ipa_cmd_table_init_add(struct gsi_trans *trans, enum ipa_cmd_opcode opcode,  /**   * ipa_cmd_hdr_init_local_add() - Add a header init command to a transaction - * @ipa:	IPA structure + * @trans:	GSI transaction   * @offset:	Offset of header memory in IPA local space   * @size:	Size of header memory   * @addr:	DMA address of buffer to be written from | 
