dma: ti: k3-psil: Extend PSIL EP data extension for AM64
Extend PSIL EP data to include AM64 DMA specific information Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
This commit is contained in:
parent
035c679a77
commit
b00030e267
@ -50,6 +50,15 @@ enum psil_endpoint_type {
|
|||||||
* @channel_tpl: Desired throughput level for the channel
|
* @channel_tpl: Desired throughput level for the channel
|
||||||
* @pdma_acc32: ACC32 must be enabled on the PDMA side
|
* @pdma_acc32: ACC32 must be enabled on the PDMA side
|
||||||
* @pdma_burst: BURST must be enabled on the PDMA side
|
* @pdma_burst: BURST must be enabled on the PDMA side
|
||||||
|
* @mapped_channel_id: PKTDMA thread to channel mapping for mapped
|
||||||
|
* channels. The thread must be serviced by the specified
|
||||||
|
* channel if mapped_channel_id is >= 0 in case of PKTDMA
|
||||||
|
* @flow_start: PKTDMA flow range start of mapped channel. Unmapped
|
||||||
|
* channels use flow_id == chan_id
|
||||||
|
* @flow_num: PKTDMA flow count of mapped channel. Unmapped
|
||||||
|
* channels use flow_id == chan_id
|
||||||
|
* @default_flow_id: PKTDMA default (r)flow index of mapped channel.
|
||||||
|
* Must be within the flow range of the mapped channel.
|
||||||
*/
|
*/
|
||||||
struct psil_endpoint_config {
|
struct psil_endpoint_config {
|
||||||
enum psil_endpoint_type ep_type;
|
enum psil_endpoint_type ep_type;
|
||||||
@ -63,5 +72,12 @@ struct psil_endpoint_config {
|
|||||||
/* PDMA properties, valid for PSIL_EP_PDMA_* */
|
/* PDMA properties, valid for PSIL_EP_PDMA_* */
|
||||||
unsigned pdma_acc32:1;
|
unsigned pdma_acc32:1;
|
||||||
unsigned pdma_burst:1;
|
unsigned pdma_burst:1;
|
||||||
|
|
||||||
|
/* PKTDMA mapped channel */
|
||||||
|
int mapped_channel_id;
|
||||||
|
/* PKTDMA tflow and rflow ranges for mapped channel */
|
||||||
|
u16 flow_start;
|
||||||
|
u16 flow_num;
|
||||||
|
u16 default_flow_id;
|
||||||
};
|
};
|
||||||
#endif /* K3_PSIL_H_ */
|
#endif /* K3_PSIL_H_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user