Skip to content

Conversation

@Nithyaa25
Copy link
Collaborator

Remove typecasting to different object types and use of void*

- Remove DMA related function pointers and replace
with absolute function calls.

Fixes: SITSW-7155

Signed-off-by: Nithyaa shri R B <n-rb@ti.com>
- Remove void* pointers and use fixed pointer
types

- Replace the switch cases with actual functions
calls based on channel types.

Fixes: SITSW-7155

Signed-off-by: Nithyaa shri R B <n-rb@ti.com>
defs public

- Remove all structure defintions in priv.h and
define it in udma_types.h to use the appropriate
structure pointer types in source files.

- Include necessary headers for required
csl struct types.

- Replace all void* typedefs with actual pointer
types.

Fixes: SITSW-7155

Signed-off-by: Nithyaa shri R B <n-rb@ti.com>
- Remove usage of EventHandle, RingHandle,
chHandle, DrvHandle and FlowHandle(void*)
from drivers.

- Replace function returning void* pointer return
types with actual pointer types.

Fixes: SITSW-7155

Signed-off-by: Nithyaa shri R B <n-rb@ti.com>
- Remove Drvobj, chobj, eventobj, flowobj and
ringobj created by the application and use actual
structures defined.

- Replace all the typecasts as actual structure
object memories are passed by the application.

Fixes: SITSW-7155

Signed-off-by: Nithyaa shri R B <n-rb@ti.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant