Skip to content

Cleanup udma #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: next
Choose a base branch
from
Open

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