Data Structures | |
struct | VICPSYNC_Params |
The module configuration structure for VICPSYNC implementation. More... | |
Defines | |
#define | VICPSYNC_GTNAME "ti.sdo.fc.vicpsync" |
Enumerations | |
enum | VICPSYNC_ResourceType { VICPSYNC_IMX0, VICPSYNC_IMX1, VICPSYNC_MJCP, VICPSYNC_NSF } |
Resource types for which the API can be called. More... | |
enum | VICPSYNC_InterruptLine { VICPSYNC_FIXED, VICPSYNC_FLEXIBLE } |
Interrupt line that can be specified for each Resource type. More... | |
enum | VICPSYNC_InterruptType { VICPSYNC_IRQ, VICPSYNC_FIQ } |
Interrupt type that can be specified for each Resource type. More... | |
enum | VICPSYNC_Status { VICPSYNC_OK, VICPSYNC_EFAIL, VICPSYNC_ENORESOURCE } |
Functions | |
VICPSYNC_Status | VICPSYNC_start (IALG_Handle handle, VICPSYNC_ResourceType res, VICPSYNC_InterruptType intType, VICPSYNC_InterruptLine intLine, IRES_VICP2_Handle vicpHandle) |
This is the top level function that allows ARM-side algorithms to mark beginning of the usage of individual functional units of VICP. | |
VICPSYNC_Status | VICPSYNC_wait (IRES_VICP2_Handle vicpHandle, VICPSYNC_ResourceType res) |
This is the top level function that allows the ARM-side algorithms to wait for interrupt corresponding to the functional unit of the VICP to fire. | |
Bool | VICPSYNC_done (IRES_VICP2_Handle vicpHandle, VICPSYNC_ResourceType res) |
This is the top level function that allows the ARM-side algorithms to query the status of the interrupt corresponding to the functional unit that was configured using VICPSYNC_start call. | |
VICPSYNC_Status | VICPSYNC_unregister (IRES_VICP2_Handle vicpHandle, VICPSYNC_ResourceType res) |
This is the top level function that allows the ARM-side algorithms to unregister the ISR associated with the VICP resource that may have been previously registered via a call to VICPSYNC_start. | |
Variables | |
VICPSYNC_Params | VICPSYNC_PARAMS |
Default module configuration structure (defined in vicpsync.c). |
This module is used by frameworks or applications which have xDAIS algorithms that use VICP hardware accelerators.
#define VICPSYNC_GTNAME "ti.sdo.fc.vicpsync" |
Name to identify the GT module
enum VICPSYNC_Status |
VICPSYNC_Status VICPSYNC_start | ( | IALG_Handle | handle, | |
VICPSYNC_ResourceType | res, | |||
VICPSYNC_InterruptType | intType, | |||
VICPSYNC_InterruptLine | intLine, | |||
IRES_VICP2_Handle | vicpHandle | |||
) |
This is the top level function that allows ARM-side algorithms to mark beginning of the usage of individual functional units of VICP.
handle | Algorithm handle | |
res | Particular function unit of the VICP to configure | |
intType | Type of interrupt (FIQ/IRQ) to configure | |
intLine | Interrupt line to use (Fixed/Flexible) | |
vicpHandle | void pointer to the vicp handle. |
VICPSYNC_Status VICPSYNC_wait | ( | IRES_VICP2_Handle | vicpHandle, | |
VICPSYNC_ResourceType | res | |||
) |
This is the top level function that allows the ARM-side algorithms to wait for interrupt corresponding to the functional unit of the VICP to fire.
vicpHandle | void pointer to the vicp handle. | |
res | Particular function unit of the VICP that has been configured to respond to interrupt. |
Bool VICPSYNC_done | ( | IRES_VICP2_Handle | vicpHandle, | |
VICPSYNC_ResourceType | res | |||
) |
This is the top level function that allows the ARM-side algorithms to query the status of the interrupt corresponding to the functional unit that was configured using VICPSYNC_start call.
vicpHandle | void pointer to the vicp handle. | |
res | Particular functional unit of the VICP to query for status of interrupt. |
VICPSYNC_Status VICPSYNC_unregister | ( | IRES_VICP2_Handle | vicpHandle, | |
VICPSYNC_ResourceType | res | |||
) |
This is the top level function that allows the ARM-side algorithms to unregister the ISR associated with the VICP resource that may have been previously registered via a call to VICPSYNC_start.
vicpHandle | void pointer to the vicp handle. | |
res | Particular functional unit of the VICP to query for status of interrupt. |
Default module configuration structure (defined in vicpsync.c).