Lines Matching +full:target +full:- +full:supply
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.
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 */
205 * Supply data for the next completed unprocessed receive descriptor.
212 * Supply data for the next completed unprocessed send descriptor.
233 * receive buffers. Target DMA must be stopped before using
246 * pending sends. Target DMA must be stopped before using
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()
390 * Passed from Host to Target during startup (one per CE).
392 * NOTE: Structure is shared between Host software and Target firmware!
406 * between Host and Target.
409 * "coming IN over air through Target to Host" as with a WiFi Rx operation.
410 * Conversely, PIPEDIR_OUT means "going OUT from Host through Target over air"
411 * as with a WiFi Tx operation. This is somewhat awkward for the "middle-man"
412 * Target since things that are "PIPEDIR_OUT" are coming IN to the Target
416 #define PIPEDIR_IN 1 /* Target-->Host, WiFi Rx direction */
417 #define PIPEDIR_OUT 2 /* Host->Target, WiFi Tx direction */