Lines Matching +full:command +full:- +full:sequencer
3 � 1995-2003, 2004, 2005-2011 Freescale Semiconductor, Inc.
64 @Param[in] h_QmFqr A handle to an QM-FQR Module.
68 @Retval e_RX_STORE_RESPONSE_CONTINUE - order the driver to continue Rx
70 @Retval e_RX_STORE_RESPONSE_PAUSE - order the driver to stop Rx operation.
87 @Param[in] h_QmFqr A handle to an QM-FQR Module.
135 @Param[in] h_QmFqr A handle to an QM-FQR Module.
140 @Retval e_RX_STORE_RESPONSE_CONTINUE - order the driver to continue Rx
142 @Retval e_RX_STORE_RESPONSE_PAUSE - order the driver to stop Rx operation.
175 e_QM_EX_INVALID_COMMAND, /**< Invalid Command Verb Interrupt */
201 @Param[in] h_App - User's application descriptor.
202 @Param[in] exception - The exception.
218 Note that this is only "space-holder" for the Context-A. The "real"
219 Context-A is described in each specific driver (E.g. FM driver
220 has its own Context-A API).
223 uint32_t res[2]; /**< reserved size for context-a */
228 Note that this is only "space-holder" for the Context-B. The "real"
229 Context-B is described in each specific driver (E.g. FM driver
230 has its own Context-B API).
244 …uint32_t totalNumOfFqids; /**< Total number of frame-queue-ids in the system…
246 … NOTE: The memory partition must be non-cacheable and no-coherent area. */
248 … NOTE: The memory partition must be non-cacheable and no-coherent area. */
253 …uint32_t partFqidBase; /**< The first frame-queue-id dedicated to this pa…
255 …uint32_t partNumOfFqids; /**< Number of frame-queue-ids dedicated to this p…
276 @Param[in] p_QmParam - Pointer to data structure of parameters
287 @Param[in] h_Qm - A handle to the QM module
300 @Param[in] h_Qm - A handle to the QM module
327 @Description Change the run-time frames depth (i.e. the maximum total number
331 @Param[in] h_Qm - A handle to the QM module
332 @Param[in] rtFramesDepth - run-time max num of frames.
347 @Param[in] h_Qm - A handle to the QM module
348 @Param[in] threshold - threshold value.
362 @Param[in] h_Qm - A handle to the QM module
363 @Param[in] threshold - threshold value.
378 @Param[in] h_Qm - A handle to the QM module
379 @Param[in] id - DC Portal id.
380 @Param[in] p_Params - Destination parameters.
418 @Description structure representing QM FQ-Range reservation parameters
421 bool useForce; /**< TRUE - force reservation of specific fqids;
422 FALSE - reserve several fqids */
452 @Param[in] h_Qm - A handle to the QM Module.
453 @Param[in] p_QmFqrParams - A structure of parameters for defining the
455 @Param[out] p_BaseFqid - base-fqid on success; '0' code otherwise.
469 @Param[in] h_Qm - A handle to the QM Module.
483 @Param[in] h_Qm - A handle to the QM Module.
484 @Param[in] exception - The exception to be selected.
485 @Param[in] enable - TRUE to enable interrupt, FALSE to mask it.
490 This routine should NOT be called from guest-partition
498 @Description QM interrupt-service-routine for errors.
500 @Param[in] h_Qm - A handle to the QM module
503 This routine should NOT be called from guest-partition
513 @Param[in] h_Qm - A handle to the QM Module.
514 @Param[out] p_errInfo - the information will be loaded to this struct.
519 This routine should NOT be called from guest-partition
529 @Param[in] h_Qm - A handle to the QM Module.
530 @Param[in] counter - The requested counter.
568 @Param[in] h_Qm - A handle to the QM module
569 @Param[in] source - The selected frames type to poll
582 @Group QM_portal_grp QM-Portal API
590 @Group QM_portal_init_grp QM-Portal Initialization Unit
592 @Description QM-Portal Initialization Unit
598 @Description structure representing QM-Portal Stash parameters
604 … If 2-7, after 2-7 EQCR entries being consumed by QMAN a new stash transaction is performed. */
616 …by QMan if the target SRQ is almost full, to prevent QMan sequencer stalling. Stash transactions t…
619 …dropped by QMan. If the target SRQ is full a sequencer will stall until each stash transaction can…
623 @Description structure representing QM-Portal initialization parameters
626 …uintptr_t ceBaseAddress; /**< Cache-enabled base address (virtual) …
627 …uintptr_t ciBaseAddress; /**< Cache-inhibited base address (virtual…
641 @Description Creates descriptor for a QM-Portal module.
643 The routine returns a handle (descriptor) to a QM-Portal object.
645 QM-Portal function calls.
647 No actual initialization or configuration of QM-Portal hardware is
650 @Param[in] p_QmPortalParam - Pointer to data structure of parameters
652 @Retval Handle to a QM-Portal object, or NULL for Failure.
659 @Description Initializes a QM-Portal module
661 @Param[in] h_QmPortal - A handle to a QM-Portal module
670 @Description Frees all resources that were assigned to a QM-Portal module.
674 @Param[in] h_QmPortal - A handle to a QM-Portal module
681 @Group QM_portal_advanced_init_grp QM-Portal Advanced Configuration Unit
694 @Param[in] h_QmPortal - A handle to a QM-Portal module
695 @Param[in] enable - Enable/Disable DCA mode
708 @Param[in] h_QmPortal - A handle to a QM-Portal module
709 @Param[in] p_StashParams - Pointer to data structure of parameters
723 @Param[in] h_QmPortal - A handle to a QM-Portal module
724 @Param[in] pullMode - When TRUE, the Portal will work in pull mode.
737 @Group QM_portal_runtime_control_grp QM-Portal Runtime Control Unit
739 @Description QM-Portal Runtime control unit API functions, definitions and enums.
747 @Description Adding the pool channel to the SW-Portal's scheduler.
748 the sw-portal will get frames that came from the pool channel.
750 @Param[in] h_QmPortal - A handle to a QM-Portal module
751 @Param[in] poolChannelId - Pool channel id. must between '0' to QM_MAX_NUM_OF_POOL_CHANNELS
763 @Group QM_portal_runtime_data_grp QM-Portal Runtime Data Unit
765 @Description QM-Portal Runtime data unit API functions, definitions and enums.
783 @Description Poll frames from the specified sw-portal.
785 @Param[in] h_QmPortal - A handle to a QM-Portal module
786 @Param[in] source - The selected frames type to poll
797 @Description Poll frames from the specified sw-portal. will poll only data frames
799 @Param[in] h_QmPortal - A handle to a QM-Portal module
800 @Param[out] p_frameInfo - A structure to hold the dequeued frame information
814 @Group QM_fqr_grp QM Frame-Queue-Range API
816 @Description QM-FQR API functions, definitions and enums.
822 @Group QM_fqr_init_grp QM-FQR Initialization Unit
824 @Description QM-FQR Initialization Unit
831 @Description structure representing QM FQ-Range congestion group parameters
836 (may be negative), if 0 - disable feature */
837 uint32_t fqTailDropThreshold; /**< if not "0" - enable tail drop on this FQR */
841 @Description structure representing QM FQ-Range initialization parameters
848 …bool initParked; /**< This FQ-Range will be initialize in park state (un-schedu…
849 bool holdActive; /**< This FQ-Range can be parked (un-schedule);
851 …bool preferInCache; /**< Prefer this FQ-Range to be in QMAN's internal cache for a…
852 bool useContextAForStash;/**< This FQ-Range will use context A for stash */
859 Must be cacheline-aligned */
861 t_QmContextA *p_ContextA; /**< context-A field to be written in the FQ structure */
863 t_QmContextB *p_ContextB; /**< context-B field to be written in the FQ structure;
869 bool useForce; /**< TRUE - force allocation of specific fqids;
870 FALSE - allocate several fqids */
889 @Description Initializing and enabling a Frame-Queue-Range.
892 @Param[in] p_QmFqrParams - A structure of parameters for defining the
906 @Param[in] h_QmFqr - A handle to a QM-FQR Module.
920 @Param[in] h_QmFqr - A handle to a QM-FQR Module.
921 @Param[in] f_CompletionCB - Pointer to a completion callback to be used in non-blocking mode.
922 @Param[in] deliverFrame - TRUE for deliver the drained frames to the user;
924 @Param[in] f_CallBack - Pointer to a callback to handle the delivered frames.
925 @Param[in] h_App - User's application descriptor.
941 @Group QM_fqr_runtime_control_grp QM-FQR Runtime Control Unit
943 @Description QM-FQR Runtime control unit API functions, definitions and enums.
949 @Description enum for defining QM-FQR counters
959 @Description Register a callback routine to be called when a frame comes from this FQ-Range
961 @Param[in] h_QmFqr - A handle to a QM-FQR Module.
962 @Param[in] f_CallBack - An application callback
963 @Param[in] h_App - User's application descriptor
974 @Description Request to Re-Schedule this Fqid.
976 @Param[in] h_QmFqr - A handle to a QM-FQR Module.
977 @Param[in] h_QmPortal - A handle to a QM Portal Module;
979 @Param[in] fqidOffset - Fqid offset within the FQ-Range.
990 @Description Request to Un-Schedule this Fqid.
992 @Param[in] h_QmFqr - A handle to a QM-FQR Module.
993 @Param[in] h_QmPortal - A handle to a QM Portal Module;
995 @Param[in] fqidOffset - Fqid offset within the FQ-Range.
1006 @Description Returned the Fqid base of the FQ-Range
1008 @Param[in] h_QmFqr - A handle to a QM-FQR Module.
1019 @Description Reads one of the QM-FQR counters.
1021 @Param[in] h_QmFqr - A handle to a QM-FQR Module.
1022 @Param[in] h_QmPortal - A handle to a QM Portal Module;
1024 @Param[in] fqidOffset - Fqid offset within the FQ-Range.
1025 @Param[in] counter - The requested counter.
1037 @Group QM_fqr_runtime_data_grp QM-FQR Runtime Data Unit
1039 @Description QM-FQR Runtime data unit API functions, definitions and enums.
1049 @Param[in] h_QmFqr - A handle to a QM-FQR Module.
1050 @Param[in] h_QmPortal - A handle to a QM Portal Module;
1052 @Param[in] fqidOffset - Fqid offset within the FQ-Range.
1053 @Param[in] p_Frame - Pointer to the frame to be enqueued.
1064 @Description Perform a Pull command.
1066 @Param[in] h_QmFqr - A handle to a QM-FQR Module.
1067 @Param[in] h_QmPortal - A handle to a QM Portal Module;
1069 @Param[in] fqidOffset - Fqid offset within the FQ-Range.
1070 @Param[out] p_Frame - The Received Frame
1086 @Description QM-CG API functions, definitions and enums.
1092 @Group QM_cg_init_grp QM-Congestion Group Initialization Unit
1094 @Description QM-CG Initialization Unit
1103 uint32_t maxTh; /**< minimum threshold - below this level
1107 uint32_t minTh; /**< minimum threshold - below this level
1110 uint8_t probabilityDenominator; /**< 1-64, the fraction of packets dropped
1137 bool frameCount; /**< TRUE for frame count, FALSE - byte count */
1138 …bool wredEnable; /**< if TRUE - WRED enabled. Each color is enabled indepen…
1140 Tail drop - if enabled, or none. */
1142 bool tailDropEnable; /**< if TRUE - Tail drop enabled */
1143 … uint32_t threshold; /**< If Tail drop - used as Tail drop threshold, otherwise
1150 e_DpaaDcPortal dcPortalId; /**< relevant if notifyDcPortal=TRUE - DC Portal id */
1164 @Param[in] p_CgParams - CG parameters
1177 @Param[in] h_QmCg - A handle to a QM-CG Module.
1189 @Group QM_cg_runtime_control_grp QM-CG Runtime Control Unit
1191 @Description QM-CG Runtime control unit API functions, definitions and enums.
1220 @Param[in] h_QmCg - A handle to a QM-CG Module.
1221 @Param[in] exception - exception enum
1222 @Param[in] enable - TRUE to enable, FALSE to disable.
1238 @Param[in] h_QmCg - A handle to a QM-CG Module.
1239 @Param[in] p_QmCgModifyParams - A structure of new WRED parameters.
1255 @Param[in] h_QmCg - A handle to a QM-CG Module.
1256 @Param[in] threshold - New threshold.