soc: swr-mstr-ctrl: Add a uniq CMD_ID for every slave action

For all FIFO_WR/RD_CMDS, add function that increments cmd_id
every time for easier sw debugging.

Change-Id: I53d133d9b427dd6b80201aab3c6f367600e82bfc
Signed-off-by: Matthew Rice <quic_mrice@quicinc.com>
This commit is contained in:
Matthew Rice
2022-02-23 18:05:38 -08:00
committed by Gerrit - the friendly Code Review server
parent b6785ab5bc
commit 0aca66e5fe
2 changed files with 39 additions and 23 deletions

View File

@@ -136,6 +136,7 @@ struct swr_mstr_ctrl {
char __iomem *swrm_hctl_reg;
u8 rcmd_id;
u8 wcmd_id;
u8 cmd_id;
u32 master_id;
u32 ee_val;
u32 dynamic_port_map_supported;