/* Establish a mapping between a service/direction and a pipe. *ConfigurationinformationforaCopyEnginepipeandservices. *PassedfromHosttoTargetthroughQMImessageandmustbein *littleendianformat.
*/ struct service_to_pipe {
__le32 service_id;
__le32 pipedir;
__le32 pipenum;
};
/* Configuration information for a Copy Engine pipe. *PassedfromHosttoTargetthroughQMImessageduringstartup(oneperCE). * *NOTE:StructureissharedbetweenHostsoftwareandTargetfirmware!
*/ struct ce_pipe_config {
__le32 pipenum;
__le32 pipedir;
__le32 nentries;
__le32 nbytes_max;
__le32 flags;
__le32 reserved;
};
struct ath12k_ce_ring { /* Number of entries in this ring; must be power of 2 */ unsignedint nentries; unsignedint nentries_mask;
/* For dest ring, this is the next index to be processed *bysoftwareafteritwas/isreceivedinto. * *Forsrcring,thisisthelastdescriptorthatwassent *andcompletionprocessedbysoftware. * *Regardlessofsrcordestring,thisisaninvariant *(moduloringsize): *writeindex>=readindex>=sw_index
*/ unsignedint sw_index; /* cached copy */ unsignedint write_index;
/* Start of DMA-coherent area reserved for descriptors */ /* Host address space */ void *base_addr_owner_space_unaligned; /* CE address space */
dma_addr_t base_addr_ce_space_unaligned;
/* Actual start of descriptors. *Alignedtodescriptor-sizeboundary. *PointsintoreservedDMA-coherentarea,above.
*/ /* Host address space */ void *base_addr_owner_space;
/* CE address space */
dma_addr_t base_addr_ce_space;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.