summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2022-07-14 17:17:51 -0500
committerAlex Elder <elder@linaro.org>2022-07-14 17:44:35 -0500
commit5199c061d13665a79a8b45fe181860026655135c (patch)
treebf6fc5264f46175348f3e4fab9cef8d0229a3c84
parent7a4eb363b0c47489deb7d77cb65c03edd916ad53 (diff)
regs: define the IPA_REG_ENDP_STATUS_N register
Define the IPA_REG_ENDP_STATUS_N register offset and fields for each IPA version. Signed-off-by: Alex Elder <elder@linaro.org>
-rw-r--r--ipa_reg-v3.0.c8
-rw-r--r--ipa_reg-v3.1.c8
-rw-r--r--ipa_reg-v3.5.1.c8
-rw-r--r--ipa_reg-v3.5.c9
-rw-r--r--ipa_reg-v4.0.c8
-rw-r--r--ipa_reg-v4.1.c8
-rw-r--r--ipa_reg-v4.11.c8
-rw-r--r--ipa_reg-v4.2.c8
-rw-r--r--ipa_reg-v4.5.c8
-rw-r--r--ipa_reg-v4.7.c8
-rw-r--r--ipa_reg-v4.9.c8
-rw-r--r--ipa_reg_new.h6
12 files changed, 95 insertions, 0 deletions
diff --git a/ipa_reg-v3.0.c b/ipa_reg-v3.0.c
index e8032f3..9054f8b 100644
--- a/ipa_reg-v3.0.c
+++ b/ipa_reg-v3.0.c
@@ -330,6 +330,13 @@ static const u32 ipa_reg_endp_init_seq_n_field[] = {
};
IPA_REG_STRIDE_FIELDS(ENDP_INIT_SEQ_N, endp_init_seq_n, 0x0000083c, 0x0070);
+static const u32 ipa_reg_endp_status_n_field[] = {
+ [STATUS_EN] = BIT(0),
+ [STATUS_ENDP] = GENMASK(5, 1),
+ /* Bits 6-31 reserved */
+};
+IPA_REG_STRIDE_FIELDS(ENDP_STATUS_N, endp_status_n, 0x00000840, 0x0070);
+
static const struct ipa_reg *ipa_reg[] = {
[IPA_REG_COMP_CFG] = &ipa_reg_comp_cfg,
[IPA_REG_CLKON_CFG] = &ipa_reg_clkon_cfg,
@@ -374,6 +381,7 @@ static const struct ipa_reg *ipa_reg[] = {
[IPA_REG_ENDP_INIT_DEAGGR_N] = &ipa_reg_endp_init_deaggr_n,
[IPA_REG_ENDP_INIT_RSRC_GRP_N] = &ipa_reg_endp_init_rsrc_grp_n,
[IPA_REG_ENDP_INIT_SEQ_N] = &ipa_reg_endp_init_seq_n,
+ [IPA_REG_ENDP_STATUS_N] = &ipa_reg_endp_status_n,
};
const struct ipa_regs ipa_regs_v3_0 = {
diff --git a/ipa_reg-v3.1.c b/ipa_reg-v3.1.c
index e9ee0b3..bb89a83 100644
--- a/ipa_reg-v3.1.c
+++ b/ipa_reg-v3.1.c
@@ -330,6 +330,13 @@ static const u32 ipa_reg_endp_init_seq_n_field[] = {
};
IPA_REG_STRIDE_FIELDS(ENDP_INIT_SEQ_N, endp_init_seq_n, 0x0000083c, 0x0070);
+static const u32 ipa_reg_endp_status_n_field[] = {
+ [STATUS_EN] = BIT(0),
+ [STATUS_ENDP] = GENMASK(5, 1),
+ /* Bits 6-31 reserved */
+};
+IPA_REG_STRIDE_FIELDS(ENDP_STATUS_N, endp_status_n, 0x00000840, 0x0070);
+
static const struct ipa_reg *ipa_reg[] = {
[IPA_REG_COMP_CFG] = &ipa_reg_comp_cfg,
[IPA_REG_CLKON_CFG] = &ipa_reg_clkon_cfg,
@@ -374,6 +381,7 @@ static const struct ipa_reg *ipa_reg[] = {
[IPA_REG_ENDP_INIT_DEAGGR_N] = &ipa_reg_endp_init_deaggr_n,
[IPA_REG_ENDP_INIT_RSRC_GRP_N] = &ipa_reg_endp_init_rsrc_grp_n,
[IPA_REG_ENDP_INIT_SEQ_N] = &ipa_reg_endp_init_seq_n,
+ [IPA_REG_ENDP_STATUS_N] = &ipa_reg_endp_status_n,
};
const struct ipa_regs ipa_regs_v3_1 = {
diff --git a/ipa_reg-v3.5.1.c b/ipa_reg-v3.5.1.c
index 58ed116..c82f4cc 100644
--- a/ipa_reg-v3.5.1.c
+++ b/ipa_reg-v3.5.1.c
@@ -366,6 +366,13 @@ static const u32 ipa_reg_endp_init_seq_n_field[] = {
};
IPA_REG_STRIDE_FIELDS(ENDP_INIT_SEQ_N, endp_init_seq_n, 0x0000083c, 0x0070);
+static const u32 ipa_reg_endp_status_n_field[] = {
+ [STATUS_EN] = BIT(0),
+ [STATUS_ENDP] = GENMASK(5, 1),
+ /* Bits 6-31 reserved */
+};
+IPA_REG_STRIDE_FIELDS(ENDP_STATUS_N, endp_status_n, 0x00000840, 0x0070);
+
static const struct ipa_reg *ipa_reg[] = {
[IPA_REG_COMP_CFG] = &ipa_reg_comp_cfg,
[IPA_REG_CLKON_CFG] = &ipa_reg_clkon_cfg,
@@ -413,6 +420,7 @@ static const struct ipa_reg *ipa_reg[] = {
[IPA_REG_ENDP_INIT_DEAGGR_N] = &ipa_reg_endp_init_deaggr_n,
[IPA_REG_ENDP_INIT_RSRC_GRP_N] = &ipa_reg_endp_init_rsrc_grp_n,
[IPA_REG_ENDP_INIT_SEQ_N] = &ipa_reg_endp_init_seq_n,
+ [IPA_REG_ENDP_STATUS_N] = &ipa_reg_endp_status_n,
};
const struct ipa_regs ipa_regs_v3_5_1 = {
diff --git a/ipa_reg-v3.5.c b/ipa_reg-v3.5.c
index 0fe735d..73776a5 100644
--- a/ipa_reg-v3.5.c
+++ b/ipa_reg-v3.5.c
@@ -365,6 +365,13 @@ static const u32 ipa_reg_endp_init_seq_n_field[] = {
};
IPA_REG_STRIDE_FIELDS(ENDP_INIT_SEQ_N, endp_init_seq_n, 0x0000083c, 0x0070);
+static const u32 ipa_reg_endp_status_n_field[] = {
+ [STATUS_EN] = BIT(0),
+ [STATUS_ENDP] = GENMASK(5, 1),
+ /* Bits 6-31 reserved */
+};
+IPA_REG_STRIDE_FIELDS(ENDP_STATUS_N, endp_status_n, 0x00000840, 0x0070);
+
static const struct ipa_reg *ipa_reg[] = {
[IPA_REG_COMP_CFG] = &ipa_reg_comp_cfg,
[IPA_REG_CLKON_CFG] = &ipa_reg_clkon_cfg,
@@ -412,6 +419,8 @@ static const struct ipa_reg *ipa_reg[] = {
[IPA_REG_ENDP_INIT_DEAGGR_N] = &ipa_reg_endp_init_deaggr_n,
[IPA_REG_ENDP_INIT_RSRC_GRP_N] = &ipa_reg_endp_init_rsrc_grp_n,
[IPA_REG_ENDP_INIT_SEQ_N] = &ipa_reg_endp_init_seq_n,
+ [IPA_REG_ENDP_STATUS_N] = &ipa_reg_endp_status_n,
+ [IPA_REG_ENDP_STATUS_N] = &ipa_reg_endp_status_n,
};
const struct ipa_regs ipa_regs_v3_5 = {
diff --git a/ipa_reg-v4.0.c b/ipa_reg-v4.0.c
index 6620b6f..494f735 100644
--- a/ipa_reg-v4.0.c
+++ b/ipa_reg-v4.0.c
@@ -392,6 +392,13 @@ static const u32 ipa_reg_endp_init_seq_n_field[] = {
};
IPA_REG_STRIDE_FIELDS(ENDP_INIT_SEQ_N, endp_init_seq_n, 0x0000083c, 0x0070);
+static const u32 ipa_reg_endp_status_n_field[] = {
+ [STATUS_EN] = BIT(0),
+ [STATUS_ENDP] = GENMASK(5, 1),
+ /* Bits 6-31 reserved */
+};
+IPA_REG_STRIDE_FIELDS(ENDP_STATUS_N, endp_status_n, 0x00000840, 0x0070);
+
static const struct ipa_reg *ipa_reg[] = {
[IPA_REG_COMP_CFG] = &ipa_reg_comp_cfg,
[IPA_REG_CLKON_CFG] = &ipa_reg_clkon_cfg,
@@ -439,6 +446,7 @@ static const struct ipa_reg *ipa_reg[] = {
[IPA_REG_ENDP_INIT_DEAGGR_N] = &ipa_reg_endp_init_deaggr_n,
[IPA_REG_ENDP_INIT_RSRC_GRP_N] = &ipa_reg_endp_init_rsrc_grp_n,
[IPA_REG_ENDP_INIT_SEQ_N] = &ipa_reg_endp_init_seq_n,
+ [IPA_REG_ENDP_STATUS_N] = &ipa_reg_endp_status_n,
};
const struct ipa_regs ipa_regs_v4_0 = {
diff --git a/ipa_reg-v4.1.c b/ipa_reg-v4.1.c
index 3925405..d0aad31 100644
--- a/ipa_reg-v4.1.c
+++ b/ipa_reg-v4.1.c
@@ -392,6 +392,13 @@ static const u32 ipa_reg_endp_init_seq_n_field[] = {
};
IPA_REG_STRIDE_FIELDS(ENDP_INIT_SEQ_N, endp_init_seq_n, 0x0000083c, 0x0070);
+static const u32 ipa_reg_endp_status_n_field[] = {
+ [STATUS_EN] = BIT(0),
+ [STATUS_ENDP] = GENMASK(5, 1),
+ /* Bits 6-31 reserved */
+};
+IPA_REG_STRIDE_FIELDS(ENDP_STATUS_N, endp_status_n, 0x00000840, 0x0070);
+
static const struct ipa_reg *ipa_reg[] = {
[IPA_REG_COMP_CFG] = &ipa_reg_comp_cfg,
[IPA_REG_CLKON_CFG] = &ipa_reg_clkon_cfg,
@@ -439,6 +446,7 @@ static const struct ipa_reg *ipa_reg[] = {
[IPA_REG_ENDP_INIT_DEAGGR_N] = &ipa_reg_endp_init_deaggr_n,
[IPA_REG_ENDP_INIT_RSRC_GRP_N] = &ipa_reg_endp_init_rsrc_grp_n,
[IPA_REG_ENDP_INIT_SEQ_N] = &ipa_reg_endp_init_seq_n,
+ [IPA_REG_ENDP_STATUS_N] = &ipa_reg_endp_status_n,
};
const struct ipa_regs ipa_regs_v4_1 = {
diff --git a/ipa_reg-v4.11.c b/ipa_reg-v4.11.c
index 4dd07e0..0e578d6 100644
--- a/ipa_reg-v4.11.c
+++ b/ipa_reg-v4.11.c
@@ -415,6 +415,13 @@ static const u32 ipa_reg_endp_init_seq_n_field[] = {
};
IPA_REG_STRIDE_FIELDS(ENDP_INIT_SEQ_N, endp_init_seq_n, 0x0000083c, 0x0070);
+static const u32 ipa_reg_endp_status_n_field[] = {
+ [STATUS_EN] = BIT(0),
+ [STATUS_ENDP] = GENMASK(5, 1),
+ /* Bits 6-31 reserved */
+};
+IPA_REG_STRIDE_FIELDS(ENDP_STATUS_N, endp_status_n, 0x00000840, 0x0070);
+
static const struct ipa_reg *ipa_reg[] = {
[IPA_REG_COMP_CFG] = &ipa_reg_comp_cfg,
[IPA_REG_CLKON_CFG] = &ipa_reg_clkon_cfg,
@@ -464,6 +471,7 @@ static const struct ipa_reg *ipa_reg[] = {
[IPA_REG_ENDP_INIT_DEAGGR_N] = &ipa_reg_endp_init_deaggr_n,
[IPA_REG_ENDP_INIT_RSRC_GRP_N] = &ipa_reg_endp_init_rsrc_grp_n,
[IPA_REG_ENDP_INIT_SEQ_N] = &ipa_reg_endp_init_seq_n,
+ [IPA_REG_ENDP_STATUS_N] = &ipa_reg_endp_status_n,
};
const struct ipa_regs ipa_regs_v4_11 = {
diff --git a/ipa_reg-v4.2.c b/ipa_reg-v4.2.c
index 784de0a..330cb34 100644
--- a/ipa_reg-v4.2.c
+++ b/ipa_reg-v4.2.c
@@ -395,6 +395,13 @@ static const u32 ipa_reg_endp_init_seq_n_field[] = {
};
IPA_REG_STRIDE_FIELDS(ENDP_INIT_SEQ_N, endp_init_seq_n, 0x0000083c, 0x0070);
+static const u32 ipa_reg_endp_status_n_field[] = {
+ [STATUS_EN] = BIT(0),
+ [STATUS_ENDP] = GENMASK(5, 1),
+ /* Bits 6-31 reserved */
+};
+IPA_REG_STRIDE_FIELDS(ENDP_STATUS_N, endp_status_n, 0x00000840, 0x0070);
+
static const struct ipa_reg *ipa_reg[] = {
[IPA_REG_COMP_CFG] = &ipa_reg_comp_cfg,
[IPA_REG_CLKON_CFG] = &ipa_reg_clkon_cfg,
@@ -443,6 +450,7 @@ static const struct ipa_reg *ipa_reg[] = {
[IPA_REG_ENDP_INIT_DEAGGR_N] = &ipa_reg_endp_init_deaggr_n,
[IPA_REG_ENDP_INIT_RSRC_GRP_N] = &ipa_reg_endp_init_rsrc_grp_n,
[IPA_REG_ENDP_INIT_SEQ_N] = &ipa_reg_endp_init_seq_n,
+ [IPA_REG_ENDP_STATUS_N] = &ipa_reg_endp_status_n,
};
const struct ipa_regs ipa_regs_v4_2 = {
diff --git a/ipa_reg-v4.5.c b/ipa_reg-v4.5.c
index db14f25..f0289e2 100644
--- a/ipa_reg-v4.5.c
+++ b/ipa_reg-v4.5.c
@@ -409,6 +409,13 @@ static const u32 ipa_reg_endp_init_seq_n_field[] = {
};
IPA_REG_STRIDE_FIELDS(ENDP_INIT_SEQ_N, endp_init_seq_n, 0x0000083c, 0x0070);
+static const u32 ipa_reg_endp_status_n_field[] = {
+ [STATUS_EN] = BIT(0),
+ [STATUS_ENDP] = GENMASK(5, 1),
+ /* Bits 6-31 reserved */
+};
+IPA_REG_STRIDE_FIELDS(ENDP_STATUS_N, endp_status_n, 0x00000840, 0x0070);
+
static const struct ipa_reg *ipa_reg[] = {
[IPA_REG_COMP_CFG] = &ipa_reg_comp_cfg,
[IPA_REG_CLKON_CFG] = &ipa_reg_clkon_cfg,
@@ -458,6 +465,7 @@ static const struct ipa_reg *ipa_reg[] = {
[IPA_REG_ENDP_INIT_DEAGGR_N] = &ipa_reg_endp_init_deaggr_n,
[IPA_REG_ENDP_INIT_RSRC_GRP_N] = &ipa_reg_endp_init_rsrc_grp_n,
[IPA_REG_ENDP_INIT_SEQ_N] = &ipa_reg_endp_init_seq_n,
+ [IPA_REG_ENDP_STATUS_N] = &ipa_reg_endp_status_n,
};
const struct ipa_regs ipa_regs_v4_5 = {
diff --git a/ipa_reg-v4.7.c b/ipa_reg-v4.7.c
index 05c4a6f..fa4061c 100644
--- a/ipa_reg-v4.7.c
+++ b/ipa_reg-v4.7.c
@@ -410,6 +410,13 @@ static const u32 ipa_reg_endp_init_seq_n_field[] = {
};
IPA_REG_STRIDE_FIELDS(ENDP_INIT_SEQ_N, endp_init_seq_n, 0x0000083c, 0x0070);
+static const u32 ipa_reg_endp_status_n_field[] = {
+ [STATUS_EN] = BIT(0),
+ [STATUS_ENDP] = GENMASK(5, 1),
+ /* Bits 6-31 reserved */
+};
+IPA_REG_STRIDE_FIELDS(ENDP_STATUS_N, endp_status_n, 0x00000840, 0x0070);
+
static const struct ipa_reg *ipa_reg[] = {
[IPA_REG_COMP_CFG] = &ipa_reg_comp_cfg,
[IPA_REG_CLKON_CFG] = &ipa_reg_clkon_cfg,
@@ -459,6 +466,7 @@ static const struct ipa_reg *ipa_reg[] = {
[IPA_REG_ENDP_INIT_DEAGGR_N] = &ipa_reg_endp_init_deaggr_n,
[IPA_REG_ENDP_INIT_RSRC_GRP_N] = &ipa_reg_endp_init_rsrc_grp_n,
[IPA_REG_ENDP_INIT_SEQ_N] = &ipa_reg_endp_init_seq_n,
+ [IPA_REG_ENDP_STATUS_N] = &ipa_reg_endp_status_n,
};
const struct ipa_regs ipa_regs_v4_7 = {
diff --git a/ipa_reg-v4.9.c b/ipa_reg-v4.9.c
index f412abf..b9f2af3 100644
--- a/ipa_reg-v4.9.c
+++ b/ipa_reg-v4.9.c
@@ -415,6 +415,13 @@ static const u32 ipa_reg_endp_init_seq_n_field[] = {
};
IPA_REG_STRIDE_FIELDS(ENDP_INIT_SEQ_N, endp_init_seq_n, 0x0000083c, 0x0070);
+static const u32 ipa_reg_endp_status_n_field[] = {
+ [STATUS_EN] = BIT(0),
+ [STATUS_ENDP] = GENMASK(5, 1),
+ /* Bits 6-31 reserved */
+};
+IPA_REG_STRIDE_FIELDS(ENDP_STATUS_N, endp_status_n, 0x00000840, 0x0070);
+
static const struct ipa_reg *ipa_reg[] = {
[IPA_REG_COMP_CFG] = &ipa_reg_comp_cfg,
[IPA_REG_CLKON_CFG] = &ipa_reg_clkon_cfg,
@@ -464,6 +471,7 @@ static const struct ipa_reg *ipa_reg[] = {
[IPA_REG_ENDP_INIT_DEAGGR_N] = &ipa_reg_endp_init_deaggr_n,
[IPA_REG_ENDP_INIT_RSRC_GRP_N] = &ipa_reg_endp_init_rsrc_grp_n,
[IPA_REG_ENDP_INIT_SEQ_N] = &ipa_reg_endp_init_seq_n,
+ [IPA_REG_ENDP_STATUS_N] = &ipa_reg_endp_status_n,
};
const struct ipa_regs ipa_regs_v4_9 = {
diff --git a/ipa_reg_new.h b/ipa_reg_new.h
index 560b46f..5e3027e 100644
--- a/ipa_reg_new.h
+++ b/ipa_reg_new.h
@@ -59,6 +59,7 @@ enum ipa_reg_name {
IPA_REG_ENDP_INIT_DEAGGR_N, /* TX only */
IPA_REG_ENDP_INIT_RSRC_GRP_N,
IPA_REG_ENDP_INIT_SEQ_N, /* TX only */
+ IPA_REG_ENDP_STATUS_N,
};
#define IPA_REG(__NAME, __name, __offset) \
@@ -460,6 +461,11 @@ enum ipa_reg_endp_init_seq_n_field_name {
SEQ_REP_TYPE,
};
+enum ipa_reg_endp_status_n_field_name {
+ STATUS_EN,
+ STATUS_ENDP,
+};
+
extern const struct ipa_regs ipa_regs_v3_0;
extern const struct ipa_regs ipa_regs_v3_1;
extern const struct ipa_regs ipa_regs_v3_5;