|
qualcomm/qbox
|


Classes | |
| struct | DmaDmi |
| struct | DmaDmiMiss |
| struct | IOMMUTLBEntry |
Public Types | |
| enum | IOMMUAccessFlags { IOMMU_NONE = 0 , IOMMU_RO = 1 , IOMMU_WO = 2 , IOMMU_RW = 3 } |
| Public Types inherited from gs::smmu500_gen | |
| using | reg_bank = gs::gs_register<gs::gs_bank_of<uint32_t>> |
Public Member Functions | |
| smmu500 (sc_core::sc_module_name name) | |
| uint16_t | smmu500_resolve_stream_id (uint32_t topology_id, uint64_t addr, int *cb, bool *stream_match_conflict=nullptr, uint32_t *s2cr_type=nullptr, bool address_carries_csid=true) |
| IOMMUTLBEntry | smmu500_translate (tlm::tlm_generic_payload &txn, uint64_t sid, bool transport_stream_address=false, bool record_fault=true) |
| int | smmu500_stream_id_match (uint32_t stream_id, bool *stream_match_conflict=nullptr, uint32_t *s2cr_type=nullptr) |
| void | start_of_simulation () |
| void | before_end_of_elaboration () |
| Public Member Functions inherited from gs::smmu500_gen | |
| void | set_cb_bank_base (uint64_t base) |
| void | bind_regs (gs::json_module &jm) |
Public Attributes | |
| cci::cci_param< uint32_t > | p_pamax |
| cci::cci_param< uint16_t > | p_num_smr |
| cci::cci_param< uint16_t > | p_num_cb |
| cci::cci_param< uint16_t > | p_num_pages |
| cci::cci_param< bool > | p_ato |
| cci::cci_param< uint8_t > | p_version |
| cci::cci_param< uint32_t > | p_idr2 |
| cci::cci_param< uint8_t > | p_num_tbu |
| tlm_utils::multi_passthrough_target_socket< smmu500, BUSWIDTH > | socket |
| tlm_utils::simple_initiator_socket< smmu500 > | dma_socket |
| gs::runonsysc | m_dma_on_sysc |
| InitiatorSignalSocket< bool > | irq_global |
| sc_core::sc_vector< InitiatorSignalSocket< bool > > | irq_context |
| TargetSignalSocket< bool > | reset |
| std::vector< smmu500_tbu< BUSWIDTH > * > | tbus |
| Public Attributes inherited from gs::smmu500_gen | |
| gs::gs_register< uint32_t > | SMMU_SCR0 |
| gs::gs_field< uint32_t > | SCR0_CLIENTPD |
| gs::gs_field< uint32_t > | SCR0_GFRE |
| gs::gs_field< uint32_t > | SCR0_GFIE |
| gs::gs_field< uint32_t > | SCR0_GCFGFRE |
| gs::gs_field< uint32_t > | SCR0_GCFGFIE |
| gs::gs_field< uint32_t > | SCR0_USFCFG |
| gs::gs_field< uint32_t > | SCR0_SMCFCFG |
| gs::gs_register< uint32_t > | SMMU_NSCR0 |
| gs::gs_register< uint32_t > | SMMU_SCR1 |
| gs::gs_field< uint32_t > | SCR1_NSNUMCBO |
| gs::gs_field< uint32_t > | SCR1_NSNUMSMRGO |
| gs::gs_register< uint32_t > | SMMU_SACR |
| gs::gs_register< uint32_t > | SMMU_SIDR0 |
| gs::gs_field< uint32_t > | SIDR0_NUMSMRG |
| gs::gs_field< uint32_t > | SIDR0_ATOSNS |
| gs::gs_register< uint32_t > | SMMU_SIDR1 |
| gs::gs_field< uint32_t > | SIDR1_NUMCB |
| gs::gs_field< uint32_t > | SIDR1_NUMPAGENDXB |
| gs::gs_register< uint32_t > | SMMU_SIDR2 |
| gs::gs_register< uint32_t > | SMMU_SIDR7 |
| gs::gs_register< uint32_t > | SMMU_SGFSR |
| gs::gs_field< uint32_t > | SGFSR_ICF |
| gs::gs_field< uint32_t > | SGFSR_USF |
| gs::gs_field< uint32_t > | SGFSR_SMCF |
| gs::gs_register< uint32_t > | SMMU_NSGFSR |
| gs::gs_register< uint32_t > | SMMU_STLBIALL |
| gs::gs_register< uint32_t > | SMMU_TLBIVMID |
| gs::gs_register< uint32_t > | SMMU_TLBIALLNSNH |
| gs::gs_register< uint32_t > | SMMU_TLBIALLH |
| gs::gs_register< uint32_t > | SMMU_TLBIVAH_LOW |
| gs::gs_register< uint32_t > | SMMU_STLBIVALM_LOW |
| gs::gs_register< uint32_t > | SMMU_STLBIVALM_HIGH |
| gs::gs_register< uint32_t > | SMMU_STLBIVAM_LOW |
| gs::gs_register< uint32_t > | SMMU_STLBIVAM_HIGH |
| gs::gs_register< uint32_t > | SMMU_TLBIVALH64_LOW |
| gs::gs_register< uint32_t > | SMMU_TLBIVALH64_HIGH |
| gs::gs_register< uint32_t > | SMMU_TLBIVMIDS1 |
| gs::gs_register< uint32_t > | SMMU_STLBIALLM |
| gs::gs_register< uint32_t > | SMMU_TLBIVAH64_LOW |
| gs::gs_register< uint32_t > | SMMU_TLBIVAH64_HIGH |
| gs::gs_register< uint32_t > | SMMU_SMR |
| gs::gs_field< uint32_t > | SMR_ID |
| gs::gs_field< uint32_t > | SMR_MASK |
| gs::gs_field< uint32_t > | SMR_VALID |
| gs::gs_register< uint32_t > | SMMU_S2CR |
| gs::gs_field< uint32_t > | S2CR_CBNDX_VMID |
| gs::gs_field< uint32_t > | S2CR_TYPE |
| gs::gs_register< uint32_t > | SMMU_CBAR |
| gs::gs_field< uint32_t > | CBAR_VMID |
| gs::gs_field< uint32_t > | CBAR_S2_CBNDX |
| gs::gs_field< uint32_t > | CBAR_TYPE |
| gs::gs_register< uint32_t > | SMMU_CBA2R |
| gs::gs_field< uint32_t > | CBA2R_VA64 |
| gs::gs_register< uint32_t > | SMMU_GATS1PR |
| gs::gs_register< uint32_t > | SMMU_GATS1PR_H |
| gs::gs_register< uint32_t > | SMMU_GATS1PW |
| gs::gs_register< uint32_t > | SMMU_GATS1PW_H |
| gs::gs_register< uint32_t > | SMMU_GATS1UR |
| gs::gs_register< uint32_t > | SMMU_GATS1UR_H |
| gs::gs_register< uint32_t > | SMMU_GATS1UW |
| gs::gs_register< uint32_t > | SMMU_GATS1UW_H |
| gs::gs_register< uint32_t > | SMMU_GATS12PR |
| gs::gs_register< uint32_t > | SMMU_GATS12PR_H |
| gs::gs_register< uint32_t > | SMMU_GATS12PW |
| gs::gs_register< uint32_t > | SMMU_GATS12PW_H |
| gs::gs_register< uint32_t > | SMMU_GATS12UR |
| gs::gs_register< uint32_t > | SMMU_GATS12UR_H |
| gs::gs_register< uint32_t > | SMMU_GATS12UW |
| gs::gs_register< uint32_t > | SMMU_GATS12UW_H |
| gs::gs_register< uint32_t > | SMMU_GPAR |
| gs::gs_register< uint32_t > | SMMU_GPAR_H |
| gs::gs_register< uint32_t > | SMMU_TBU_PWR_STATUS |
| reg_bank | SMMU_CB_SCTLR |
| reg_bank | SMMU_CB_ACTLR |
| reg_bank | SMMU_CB_RESUME |
| reg_bank | SMMU_CB_TCR2 |
| reg_bank | SMMU_CB_TTBR0_LOW |
| reg_bank | SMMU_CB_TTBR0_HIGH |
| reg_bank | SMMU_CB_TTBR1_LOW |
| reg_bank | SMMU_CB_TTBR1_HIGH |
| reg_bank | SMMU_CB_TCR_LPAE |
| reg_bank | SMMU_CB_CONTEXTIDR |
| reg_bank | SMMU_CB_PRRR_MAIR0 |
| reg_bank | SMMU_CB_NMRR_MAIR1 |
| reg_bank | SMMU_CB_FSR |
| reg_bank | SMMU_CB_FSRRESTORE |
| reg_bank | SMMU_CB_FAR_LOW |
| reg_bank | SMMU_CB_FAR_HIGH |
| reg_bank | SMMU_CB_FSYNR0 |
| reg_bank | SMMU_CB_FSYNR1 |
| reg_bank | SMMU_CB_IPAFAR_LOW |
| reg_bank | SMMU_CB_IPAFAR_HIGH |
| reg_bank | SMMU_CB_TLBIVA_LOW |
| reg_bank | SMMU_CB_TLBIVA_HIGH |
| reg_bank | SMMU_CB_TLBIVAA_LOW |
| reg_bank | SMMU_CB_TLBIVAA_HIGH |
| reg_bank | SMMU_CB_TLBIASID |
| reg_bank | SMMU_CB_TLBIALL |
| reg_bank | SMMU_CB_TLBIVAL_LOW |
| reg_bank | SMMU_CB_TLBIVAL_HIGH |
| reg_bank | SMMU_CB_TLBIVAAL_LOW |
| reg_bank | SMMU_CB_TLBIVAAL_HIGH |
| reg_bank | SMMU_CB_TLBIIPAS2_LOW |
| reg_bank | SMMU_CB_TLBIIPAS2_HIGH |
| reg_bank | SMMU_CB_TLBIIPAS2L_LOW |
| reg_bank | SMMU_CB_TLBIIPAS2L_HIGH |
| reg_bank | SMMU_CB_TLBSYNC |
| reg_bank | SMMU_CB_TLBSTATUS |
| gs::gs_field< uint32_t > | CB_SCTLR_M |
| gs::gs_field< uint32_t > | CB_SCTLR_CFIE |
| gs::gs_field< uint32_t > | CB_FSR_TF |
| gs::gs_field< uint32_t > | CB_FSR_AFF |
| gs::gs_field< uint32_t > | CB_FSR_PF |
| gs::gs_field< uint32_t > | CB_FSR_EF |
| gs::gs_field< uint32_t > | CB_FSR_ASF |
| gs::gs_field< uint32_t > | CB_FSR_MULTI |
| gs::gs_field< uint32_t > | CB_FSYNR0_PLVL |
| gs::gs_field< uint32_t > | CB_FSYNR0_WNR |
| gs::gs_field< uint32_t > | CB_FSYNR0_PNU |
| gs::gs_field< uint32_t > | CB_FSYNR0_IND |
| gs::gs_field< uint32_t > | CB_FSYNR0_NSATTR |
| gs::gs_field< uint32_t > | CB_FSYNR0_ATOF |
| gs::gs_field< uint32_t > | CB_FSYNR0_PTWF |
| gs::gs_field< uint32_t > | CB_FSYNR0_AFR |
| gs::gs_field< uint32_t > | CB_FSYNR0_S1CBNDX |
| gs::gs_field< uint32_t > | CB_FSYNR1_MID |
| gs::gs_field< uint32_t > | CB_FSYNR1_PID |
| gs::gs_field< uint32_t > | CB_FSYNR1_BID |
Static Public Attributes | |
| static constexpr uint32_t | SMMU_STREAM_ID_MASK = 0x7FFFu |
| static constexpr uint64_t | SMMU_DSP_WINDOW_START = 0x90000000ULL |
| static constexpr uint64_t | SMMU_DSP_WINDOW_END = 0xa0000000ULL |
| Static Public Attributes inherited from gs::smmu500_gen | |
| static constexpr uint32_t | CB_BANK_COUNT = 128 |