Parcourir la source

qcacmn: Add QDF IPA abstraction for WDI UL params

Add QDF abstraction for WDI UL params used for IPA
WDI RX configuration.

Change-Id: If9daee345fbbd730e49fd236381273045919737e
CRS-Fixed: 2199017
Sravan Kumar Kairam il y a 7 ans
Parent
commit
3738db4d3f
1 fichiers modifiés avec 11 ajouts et 0 suppressions
  1. 11 0
      qdf/linux/src/i_qdf_ipa.h

+ 11 - 0
qdf/linux/src/i_qdf_ipa.h

@@ -313,12 +313,23 @@ typedef struct ipa_wdi_in_params __qdf_ipa_wdi_in_params_t;
 	(((struct ipa_wdi_in_params *)(pipe_in))->u.ul_smmu.rdy_comp_ring_wp_pa)
 #define QDF_IPA_PIPE_IN_UL_SMMU_RDY_COMP_RING_WP_VA(pipe_in)	\
 	(((struct ipa_wdi_in_params *)(pipe_in))->u.ul_smmu.rdy_comp_ring_wp_va)
+
 #define QDF_IPA_PIPE_IN_UL_RDY_RING_BASE_PA(pipe_in)	\
 	(((struct ipa_wdi_in_params *)(pipe_in))->u.ul.rdy_ring_base_pa)
 #define QDF_IPA_PIPE_IN_UL_RDY_RING_SIZE(pipe_in)	\
 	(((struct ipa_wdi_in_params *)(pipe_in))->u.ul.rdy_ring_size)
 #define QDF_IPA_PIPE_IN_UL_RDY_RING_RP_PA(pipe_in)	\
 	(((struct ipa_wdi_in_params *)(pipe_in))->u.ul.rdy_ring_rp_pa)
+#define QDF_IPA_PIPE_IN_UL_RDY_RING_RP_VA(pipe_in)	\
+	(((struct ipa_wdi_in_params *)(pipe_in))->u.ul.rdy_ring_rp_va)
+#define QDF_IPA_PIPE_IN_UL_RDY_COMP_RING(pipe_in)	\
+	(((struct ipa_wdi_in_params *)(pipe_in))->u.ul.rdy_comp_ring_base_pa)
+#define QDF_IPA_PIPE_IN_UL_RDY_COMP_RING_SIZE(pipe_in)	\
+	(((struct ipa_wdi_in_params *)(pipe_in))->u.ul.rdy_comp_ring_size)
+#define QDF_IPA_PIPE_IN_UL_RDY_COMP_RING_WP_PA(pipe_in)	\
+	(((struct ipa_wdi_in_params *)(pipe_in))->u.ul.rdy_comp_ring_wp_pa)
+#define QDF_IPA_PIPE_IN_UL_RDY_COMP_RING_WP_VA(pipe_in)	\
+	(((struct ipa_wdi_in_params *)(pipe_in))->u.ul.rdy_comp_ring_wp_va)
 
 /**
  * __qdf_ipa_wdi_out_params_t - information provided to WDI client