Lines Matching +full:dma +full:- +full:engine

1 /* SPDX-License-Identifier: ISC */
3 * Copyright (c) 2005-2011 Atheros Communications Inc.
4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc.
20 * Copy Engine support: low-level Target-side Copy Engine API.
38 #define CE_DESC_FLAGS_META_DATA_MASK ar->hw_values->ce_desc_meta_data_mask
39 #define CE_DESC_FLAGS_META_DATA_LSB ar->hw_values->ce_desc_meta_data_lsb
92 /* Start of DMA-coherent area reserved for descriptors */
100 * Aligned to descriptor-size boundary.
101 * Points into reserved DMA-coherent area, above.
133 /* Copy Engine settable attributes */
144 return (struct ath10k_ce *)ar->ce_priv; in ath10k_ce_priv()
163 * ce - which copy engine to use
164 * buffer - address of buffer
165 * nbytes - number of bytes to send
166 * transfer_id - arbitrary ID; reflected to destination
167 * flags - CE_SEND_FLAG_* values
201 /* Data is byte-swapped */
221 /*==================CE Engine Initialization=======================*/
230 /*==================CE Engine Shutdown=======================*/
233 * receive buffers. Target DMA must be stopped before using
246 * pending sends. Target DMA must be stopped before using
284 /* Attributes of an instance of a Copy Engine */
289 /* #entries in source ring - Must be a power of 2 */
298 /* #entries in destination ring - Must be a power of 2 */
341 return CE0_BASE_ADDRESS + (CE1_BASE_ADDRESS - CE0_BASE_ADDRESS) * ce_id; in ath10k_ce_base_address()
345 - CE0_BASE_ADDRESS) / (CE1_BASE_ADDRESS - CE0_BASE_ADDRESS))
361 (((int)(toidx) - (int)(fromidx)) & (nentries_mask))
368 ar->regs->ce_wrap_intr_sum_host_msi_lsb
370 ar->regs->ce_wrap_intr_sum_host_msi_mask
381 ce->bus_ops->read32((ar), CE_WRAPPER_BASE_ADDRESS + in ath10k_ce_interrupt_summary()
385 /* Host software's Copy Engine configuration. */
389 * Configuration information for a Copy Engine pipe.
411 * as with a WiFi Tx operation. This is somewhat awkward for the "middle-man"
416 #define PIPEDIR_IN 1 /* Target-->Host, WiFi Rx direction */
417 #define PIPEDIR_OUT 2 /* Host->Target, WiFi Tx direction */