Lines Matching refs:val
752 static inline void MIi_SetReservation( MIWramPos wram, int num, int val) in MIi_SetReservation() argument
756 | (val<<MI_MAN_WRAM_RESERVE_SHIFT)); in MIi_SetReservation()
758 #define MIi_SetReservation_A(num,val) do{ MIi_SetReservation( MI_WRAM_A, (num), (val) ); } while(0) argument
759 #define MIi_SetReservation_B(num,val) do{ MIi_SetReservation( MI_WRAM_B, (num), (val) ); } while(0) argument
760 #define MIi_SetReservation_C(num,val) do{ MIi_SetReservation( MI_WRAM_C, (num), (val) ); } while(0) argument
770 static inline void MIi_SetMaster( MIWramPos wram, int num, int val) in MIi_SetMaster() argument
774 | (val<<MI_MAN_WRAM_MASTER_SHIFT)); in MIi_SetMaster()
776 #define MIi_SetMaster_A(num,val) do{ MIi_SetMaster( MI_WRAM_A, (num), (val) ); } while(0) argument
777 #define MIi_SetMaster_B(num,val) do{ MIi_SetMaster( MI_WRAM_B, (num), (val) ); } while(0) argument
778 #define MIi_SetMaster_C(num,val) do{ MIi_SetMaster( MI_WRAM_C, (num), (val) ); } while(0) argument
839 u8 val = MIi_GetWramBank_A(n); in MIi_InitWramManager() local
840 switch( val & 1 ) in MIi_InitWramManager()
856 u8 val = MIi_GetWramBank_B(n); in MIi_InitWramManager() local
857 switch( val & 3 ) in MIi_InitWramManager()
879 u8 val = MIi_GetWramBank_C(n); in MIi_InitWramManager() local
880 switch( val & 3 ) in MIi_InitWramManager()