Searched refs:curbank (Results 1 – 2 of 2) sorted by relevance
348 struct mtk_iommu_bank_data *curbank; in mtk_iommu_tlb_flush_range_sync() local379 curbank = &data->bank[bank->id]; in mtk_iommu_tlb_flush_range_sync()380 base = curbank->base; in mtk_iommu_tlb_flush_range_sync()382 spin_lock_irqsave(&curbank->tlb_lock, flags); in mtk_iommu_tlb_flush_range_sync()397 spin_unlock_irqrestore(&curbank->tlb_lock, flags); in mtk_iommu_tlb_flush_range_sync()
65 int curbank; in eip197_trc_cache_banksel() local67 curbank = addrmid >> 16; in eip197_trc_cache_banksel()68 if (curbank != *actbank) { in eip197_trc_cache_banksel()71 (curbank << EIP197_CS_BANKSEL_OFS); in eip197_trc_cache_banksel()73 *actbank = curbank; in eip197_trc_cache_banksel()