Is your feature request related to a problem? Please describe.
zephyr/include/zephyr/drivers/dma.h
typedef int (*dma_api_get_attribute)(const struct device *dev, uint32_t type, uint32_t *value);
This API requires the channel parameter because not all channels support the same maximum number of blocks.
Describe the solution you'd like
change to
typedef int (*dma_api_get_attribute)(const struct device *dev, uint32_t channel, uint32_t type, uint32_t *value);
Describe alternatives you've considered
No response
Is your feature request related to a problem? Please describe.
zephyr/include/zephyr/drivers/dma.h
This API requires the channel parameter because not all channels support the same maximum number of blocks.
Describe the solution you'd like
change to
Describe alternatives you've considered
No response