Lines Matching refs:version

99 static inline u32 arbitration_lock_disable_encoded(enum ipa_version version,  in arbitration_lock_disable_encoded()  argument
102 WARN_ON(version < IPA_VERSION_4_0); in arbitration_lock_disable_encoded()
104 if (version < IPA_VERSION_4_9) in arbitration_lock_disable_encoded()
107 if (version == IPA_VERSION_4_9) in arbitration_lock_disable_encoded()
114 static inline u32 full_flush_rsc_closure_en_encoded(enum ipa_version version, in full_flush_rsc_closure_en_encoded() argument
119 WARN_ON(version < IPA_VERSION_4_5); in full_flush_rsc_closure_en_encoded()
121 if (version == IPA_VERSION_4_5 || version == IPA_VERSION_4_7) in full_flush_rsc_closure_en_encoded()
190 static inline u32 ipa_reg_filt_rout_hash_en_offset(enum ipa_version version) in ipa_reg_filt_rout_hash_en_offset() argument
192 if (version < IPA_VERSION_4_0) in ipa_reg_filt_rout_hash_en_offset()
198 static inline u32 ipa_reg_filt_rout_hash_flush_offset(enum ipa_version version) in ipa_reg_filt_rout_hash_flush_offset() argument
200 if (version < IPA_VERSION_4_0) in ipa_reg_filt_rout_hash_flush_offset()
213 static inline u32 ipa_reg_state_aggr_active_offset(enum ipa_version version) in ipa_reg_state_aggr_active_offset() argument
215 if (version < IPA_VERSION_4_0) in ipa_reg_state_aggr_active_offset()
242 static inline u32 proc_cntxt_base_addr_encoded(enum ipa_version version, in proc_cntxt_base_addr_encoded() argument
245 if (version < IPA_VERSION_4_5) in proc_cntxt_base_addr_encoded()
288 static inline u32 ipa_reg_idle_indication_cfg_offset(enum ipa_version version) in ipa_reg_idle_indication_cfg_offset() argument
290 if (version >= IPA_VERSION_4_2) in ipa_reg_idle_indication_cfg_offset()
404 static inline u32 ipa_header_size_encoded(enum ipa_version version, in ipa_header_size_encoded() argument
411 if (version < IPA_VERSION_4_5) { in ipa_header_size_encoded()
424 static inline u32 ipa_metadata_offset_encoded(enum ipa_version version, in ipa_metadata_offset_encoded() argument
431 if (version < IPA_VERSION_4_5) { in ipa_metadata_offset_encoded()
573 static inline u32 rsrc_grp_encoded(enum ipa_version version, u32 rsrc_grp) in rsrc_grp_encoded() argument
575 if (version < IPA_VERSION_3_5 || version == IPA_VERSION_4_5) in rsrc_grp_encoded()
578 if (version == IPA_VERSION_4_2 || version == IPA_VERSION_4_7) in rsrc_grp_encoded()
662 static inline u32 ipa_reg_irq_stts_ee_n_offset(enum ipa_version version, in ipa_reg_irq_stts_ee_n_offset() argument
665 if (version < IPA_VERSION_4_9) in ipa_reg_irq_stts_ee_n_offset()
671 static inline u32 ipa_reg_irq_stts_offset(enum ipa_version version) in ipa_reg_irq_stts_offset() argument
673 return ipa_reg_irq_stts_ee_n_offset(version, GSI_EE_AP); in ipa_reg_irq_stts_offset()
676 static inline u32 ipa_reg_irq_en_ee_n_offset(enum ipa_version version, u32 ee) in ipa_reg_irq_en_ee_n_offset() argument
678 if (version < IPA_VERSION_4_9) in ipa_reg_irq_en_ee_n_offset()
684 static inline u32 ipa_reg_irq_en_offset(enum ipa_version version) in ipa_reg_irq_en_offset() argument
686 return ipa_reg_irq_en_ee_n_offset(version, GSI_EE_AP); in ipa_reg_irq_en_offset()
689 static inline u32 ipa_reg_irq_clr_ee_n_offset(enum ipa_version version, u32 ee) in ipa_reg_irq_clr_ee_n_offset() argument
691 if (version < IPA_VERSION_4_9) in ipa_reg_irq_clr_ee_n_offset()
697 static inline u32 ipa_reg_irq_clr_offset(enum ipa_version version) in ipa_reg_irq_clr_offset() argument
699 return ipa_reg_irq_clr_ee_n_offset(version, GSI_EE_AP); in ipa_reg_irq_clr_offset()
777 static inline u32 ipa_reg_irq_uc_ee_n_offset(enum ipa_version version, u32 ee) in ipa_reg_irq_uc_ee_n_offset() argument
779 if (version < IPA_VERSION_4_9) in ipa_reg_irq_uc_ee_n_offset()
785 static inline u32 ipa_reg_irq_uc_offset(enum ipa_version version) in ipa_reg_irq_uc_offset() argument
787 return ipa_reg_irq_uc_ee_n_offset(version, GSI_EE_AP); in ipa_reg_irq_uc_offset()
794 ipa_reg_irq_suspend_info_ee_n_offset(enum ipa_version version, u32 ee) in ipa_reg_irq_suspend_info_ee_n_offset() argument
796 if (version == IPA_VERSION_3_0) in ipa_reg_irq_suspend_info_ee_n_offset()
799 if (version < IPA_VERSION_4_9) in ipa_reg_irq_suspend_info_ee_n_offset()
806 ipa_reg_irq_suspend_info_offset(enum ipa_version version) in ipa_reg_irq_suspend_info_offset() argument
808 return ipa_reg_irq_suspend_info_ee_n_offset(version, GSI_EE_AP); in ipa_reg_irq_suspend_info_offset()
813 ipa_reg_irq_suspend_en_ee_n_offset(enum ipa_version version, u32 ee) in ipa_reg_irq_suspend_en_ee_n_offset() argument
815 WARN_ON(version == IPA_VERSION_3_0); in ipa_reg_irq_suspend_en_ee_n_offset()
817 if (version < IPA_VERSION_4_9) in ipa_reg_irq_suspend_en_ee_n_offset()
824 ipa_reg_irq_suspend_en_offset(enum ipa_version version) in ipa_reg_irq_suspend_en_offset() argument
826 return ipa_reg_irq_suspend_en_ee_n_offset(version, GSI_EE_AP); in ipa_reg_irq_suspend_en_offset()
831 ipa_reg_irq_suspend_clr_ee_n_offset(enum ipa_version version, u32 ee) in ipa_reg_irq_suspend_clr_ee_n_offset() argument
833 WARN_ON(version == IPA_VERSION_3_0); in ipa_reg_irq_suspend_clr_ee_n_offset()
835 if (version < IPA_VERSION_4_9) in ipa_reg_irq_suspend_clr_ee_n_offset()
842 ipa_reg_irq_suspend_clr_offset(enum ipa_version version) in ipa_reg_irq_suspend_clr_offset() argument
844 return ipa_reg_irq_suspend_clr_ee_n_offset(version, GSI_EE_AP); in ipa_reg_irq_suspend_clr_offset()