summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2018-10-23 06:53:29 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2018-10-23 06:53:28 -0700
commitd8bc349f5414150a5d59ea73b2d0a2b1fa270043 (patch)
treef0dba248b871492887caa1ead5200f2939d73a10 /include/linux
parent869b2c41ea91b68f0e8af0d1cb7c004f390dd622 (diff)
parentdd24e947d5dafbe7759d862d44a53954ab3c4719 (diff)
Merge "msm: ipa: Check ep empty before reset"
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ipa.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/linux/ipa.h b/include/linux/ipa.h
index 623d0f08cdf9..2586395886a3 100644
--- a/include/linux/ipa.h
+++ b/include/linux/ipa.h
@@ -1164,6 +1164,28 @@ struct ipa_gsi_ep_config {
int ee;
};
+/**
+ * union ipa_bam_sw_peer_desc - IPA sps sw peer desc
+ *
+ * @sw_dsc_ofst: software desc offset
+ * @sw_ofst_in_desc: offset in desc
+ * @p_dsc_fifo_peer_ofst: peer desc offset
+ * @p_bytes_consumed: bytes consumed
+ */
+union ipa_bam_sw_peer_desc {
+ struct sw_ofsts_reg {
+ u32 sw_dsc_ofst:16;
+ u32 sw_ofst_in_desc:15;
+ } sw_desc;
+
+ struct evnt_reg {
+ u32 p_dsc_fifo_peer_ofst:16;
+ u32 p_bytes_consumed:15;
+ } peer_desc;
+
+ u32 read_reg;
+};
+
#if defined CONFIG_IPA || defined CONFIG_IPA3
/*